/* Additions of the new site to the old styles (style.min.css stays as on the old site). */

/* Fira Sans, local copy instead of Google Fonts (@fontsource/fira-sans 5.3.0, SIL OFL — fonts/OFL-fira-sans.txt). */
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:300;src:url("../fonts/fira-sans-cyrillic-300-normal.9f8ef26a160a.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:400;src:url("../fonts/fira-sans-cyrillic-400-normal.2504429986fe.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:600;src:url("../fonts/fira-sans-cyrillic-600-normal.f47eca08133e.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:700;src:url("../fonts/fira-sans-cyrillic-700-normal.95a8341a5ba8.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:300;src:url("../fonts/fira-sans-latin-300-normal.aeb66f4f2c7c.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:400;src:url("../fonts/fira-sans-latin-400-normal.d26e1b11589f.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:600;src:url("../fonts/fira-sans-latin-600-normal.beb3d7395726.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fira Sans';font-style:normal;font-display:swap;font-weight:700;src:url("../fonts/fira-sans-latin-700-normal.43eb5ca3942e.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Pictures as <img> (WebP, lazy) instead of CSS backgrounds: the image fills its block like background-size: cover. */
.has-cover{position:relative;overflow:hidden}
/* !important: the carousel's `.owl-carousel .owl-item img{width:inherit}` would shrink it to its width attribute. */
.cover-img{position:absolute;top:0;left:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center}
/* Picture in the slider: the slide is as tall as before (min-vh-70). */
#slider-main .cover-img{z-index:0}
/* Place of the BiletDV search form (plan §1.5): the module draws itself 1–4 s after the page; without this
   the page below it jumps. Heights of the module measured 14.10.2026 (370 / 250 / 70 px at Bootstrap's 768 / 1200). */
.ticket-module .Content{min-height:370px}
@media (min-width:768px){.ticket-module .Content{min-height:250px}}
@media (min-width:1200px){.ticket-module .Content{min-height:70px}}

/* Inner-page header («Правки · Сайт», variant A): the homepage photo under a dark blue gradient, white logo and
   texts — the same first-screen look as the homepage. The mobile header gets a smaller copy of the photo. */
.site-header{
	background-color:#002a4b;
	background-image:linear-gradient(100deg,rgba(0,27,49,.93) 0%,rgba(0,43,76,.82) 52%,rgba(2,73,116,.55) 100%),url("../images/header-inner.74a4cad7b536.webp");
	background-position:center,center 42%;
	background-size:auto,cover;
	background-repeat:no-repeat;
}
@media (max-width:991.98px){
	.site-header{background-image:linear-gradient(180deg,rgba(0,27,49,.9) 0%,rgba(0,43,76,.8) 100%),url("../images/header-inner-mobile.c420cd5a9a31.webp")}
}

/* Phones in the header and the footer: the number never breaks at its hyphens («51-51-» / «51», plan §7, item 7).
   At lg (992–1199 px) the wide phone block does not fit its column: the number gets a little smaller, so the row
   stays on one line and the icon keeps its place. */
#top .h3,#footer .h3,#top .t-25,#footer .t-25{white-space:nowrap}
@media (min-width:992px) and (max-width:1199.98px){
	#top .open-list .h3,#top .open-list .t-25{font-size:1.4rem}
}

/* Opening hours under the phones on the contacts page: quieter than the phone list (the block inherits 24 px). */
.contact-hours{font-size:1rem;line-height:1.5;margin:1rem 0 1.5rem;padding-top:.75rem;border-top:1px solid #e3e9f2}
.contact-hours-title{margin:0 0 .35rem;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7a8794}
.contact-hours dt{font-weight:600}
.contact-hours dd{margin-bottom:.1rem}
/* On a narrow phone the 24 px phone list does not fit its column and the label runs into the number. */
@media (max-width:575.98px){
	.contact-info dl.row{font-size:1rem}
	.contact-info dl.row dt{padding-right:.5rem}
}

/* Cookie consent (PDn, 09.11.2026): three equal choices in the first layer, the switches in the second one.
   The old banner had a single «Хорошо» button; the classes stay, the layout becomes a column of full-width buttons. */
.cookie-alert[hidden]{display:none}
.cookie-alert__title{margin:0 0 .35rem;font-size:16px;font-weight:700}
.cookie-alert__text p{margin:0 0 .5rem}
.cookie-alert__text p:last-child{margin-bottom:0}
.cookie-alert-button-container{display:grid;gap:8px}
.cookie-alert-button-container[hidden]{display:none}
.cookie-alert__button{cursor:pointer}
.cookie-alert__button.is-secondary{background:#fff;color:#0277bd;border:1px solid #0277bd}
.cookie-alert__button.is-secondary:hover,.cookie-alert__button.is-secondary:active{background:#eaf5fc;color:#0277bd}
.cookie-alert__button.is-link{background:none;border:0;color:#0277bd;padding:6px 0;text-decoration:underline}
.cookie-alert__button.is-link:hover,.cookie-alert__button.is-link:active{background:none;color:#078fe3}
.cookie-settings{margin-top:16px;padding-top:16px;border-top:1px solid #e3e9f2}
.cookie-settings[hidden]{display:none}
.cookie-settings__title{margin:0 0 10px;font-size:16px;font-weight:700}
.cookie-settings__row{display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;font-size:14px;line-height:20px;cursor:pointer}
.cookie-settings__row input{flex:0 0 auto;margin-top:2px}
.cookie-settings .cookie-alert__button{margin-top:4px}
.cookie-settings-link{background:none;border:0;padding:0;color:inherit;text-align:left;cursor:pointer}
.cookie-settings-link:hover,.cookie-settings-link:focus{text-decoration:underline}


/* Legal pages (PDn texts, 17.11.2026): policy, consent, cookie, MAX-bot rules, hub. */
.legal-body{font-size:16px;line-height:26px}
.legal-body h3{margin:36px 0 16px;font-size:22px;line-height:30px;font-weight:700;color:#0277bd}
.legal-body h4{margin:26px 0 12px;font-size:18px;line-height:26px;font-weight:700;color:#123a5a}
.legal-body p{margin:0 0 14px}
.legal-body ul,.legal-body ol{margin:0 0 18px;padding-left:24px}
.legal-body li{margin:0 0 8px}
.legal-body .legal-meta{margin:0 0 28px;padding:18px 22px;border-left:4px solid #0277bd;background:#f4f9fd;border-radius:0 10px 10px 0}
.legal-body .legal-meta p{margin:0 0 10px}
.legal-body .legal-meta p:last-child{margin-bottom:0}
.legal-body .table-responsive{margin:0 0 22px}
.legal-body .legal-table{border-collapse:collapse;width:100%;margin:0;font-size:14px;line-height:20px}
.legal-body .legal-table th,.legal-body .legal-table td{border:1px solid #dfe7ef;padding:12px 14px;vertical-align:top;text-align:left}
.legal-body .legal-table th{background:#eef6fc;font-weight:700;color:#123a5a}
.legal-body .legal-table code{white-space:normal;word-break:break-word}
.legal-body .legal-table a{word-break:break-word}
.legal-body code{padding:1px 4px;border-radius:4px;background:#f1f4f7;font-size:.92em}
.legal-body blockquote{margin:0 0 16px;padding:12px 18px;border-left:3px solid #b9cfe2;background:#f7fafc}
.legal-body .cookie-settings-link{color:#0277bd;text-decoration:underline}
@media screen and (max-width:767.98px){
	.legal-body{font-size:15px;line-height:24px}
	.legal-body .legal-table{font-size:13px;line-height:19px}
	.legal-body .legal-table th,.legal-body .legal-table td{padding:9px 10px}
}
