/* ОУ „Васил Априлов“ – Информационен мост. Mobile-first; точки на прекъсване 720 / 1024 / 1180. */
:root {
	--navy: #1f3f7f;
	--deep: #14295a;
	--accent: #f29a1f;
	--accent-ink: #3a2400;
	--sky: #eef3fb;
	--line: #d8e0ee;
	--ink: #1b2333;
	--muted: #556075;
	--white: #fff;
	--ok: #1d7a4a;
	--warn-bg: #fff4d6;
	--warn-ink: #6b4a00;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(20, 41, 90, .06), 0 6px 20px rgba(20, 41, 90, .07);
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--serif: Georgia, "PT Serif", "Times New Roman", serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: var(--deep); margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.o-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.o-muted { color: var(--muted); }
.o-ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

.o-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
.o-skip:focus { top: 12px; color: #fff; }

/* Спешно съобщение */
.o-alert { background: var(--sky); border-bottom: 1px solid var(--line); }
.o-alert--warn { background: var(--warn-bg); color: var(--warn-ink); }
.o-alert__inner { display: flex; gap: 10px; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
.o-alert p { margin: 0; font-weight: 600; }

/* Горна лента */
.o-topbar { background: var(--deep); color: #dfe7f5; font-size: .9rem; }
.o-topbar__inner { display: flex; gap: 22px; align-items: center; min-height: 38px; }
.o-topbar a { color: #dfe7f5; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.o-topbar a:hover { color: #fff; text-decoration: underline; }
.o-hide-sm { display: none !important; }

/* Хедър */
.o-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.o-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.o-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); }
.o-brand__logo { width: 60px; height: 60px; object-fit: contain; flex: none; }
.o-brand__mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .02em; box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--navy); font-family: var(--serif); font-size: 1.15rem; }
.o-brand__name { display: block; font-weight: 800; font-size: 1.1rem; line-height: 1.15; white-space: nowrap; }
.o-brand__sub { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.o-hero__card { display: none; }
.o-burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--deep); cursor: pointer; }

.o-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 20px; max-height: calc(100vh - 110px); overflow: auto; }
.o-nav.is-open { display: block; }
.o-nav__list { list-style: none; margin: 0; padding: 0; }
.o-nav__list > li { border-bottom: 1px solid var(--line); }
.o-nav__list a { display: block; padding: 13px 4px; text-decoration: none; color: var(--ink); font-weight: 600; }
.o-nav__list .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; }
.o-nav__list .sub-menu a { font-weight: 400; padding: 8px 4px; color: var(--navy); }
.o-nav__list .current-menu-item > a, .o-nav__list .current-menu-ancestor > a { color: var(--navy); }
.o-nav__extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.o-search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: 1 1 220px; }
.o-search input { border: 0; padding: 10px 14px; font: inherit; flex: 1; min-width: 0; }
.o-search button { border: 0; background: var(--sky); color: var(--deep); padding: 0 14px; cursor: pointer; }

/* Бутони */
.o-btn, .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 2px solid var(--navy); padding: 11px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.2; cursor: pointer; font-size: 1rem; min-height: 44px; }
.o-btn:hover, .wp-block-button__link:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.o-btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.o-btn--accent:hover { background: #e08a0f; border-color: #e08a0f; color: var(--accent-ink); }
.o-btn--ghost { background: transparent; color: var(--navy); }
.o-btn--ghost:hover { background: var(--navy); color: #fff; }
.o-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; }
.o-link:hover { text-decoration: underline; }
.o-chip { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--sky); color: var(--deep); vertical-align: middle; letter-spacing: .01em; }
.o-chip--warn { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed #d9a400; }
.o-chip--accent { background: var(--accent); color: var(--accent-ink); }
.o-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: .5em; }
.o-kicker a { color: inherit; }
.o-notice { background: var(--warn-bg); color: var(--warn-ink); padding: 12px 16px; border-radius: 10px; }
.o-notice--ok { background: #e3f4ea; color: var(--ok); }
.o-notice--err { background: #fde8e8; color: #8a1c1c; }

/* Начало */
.o-hero { background: linear-gradient(135deg, var(--deep), var(--navy) 60%, #2e5aa8); color: #fff; padding: 36px 0 84px; position: relative; overflow: hidden; }
.o-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(242, 154, 31, .18); }
.o-hero__inner { display: grid; gap: 24px; position: relative; z-index: 1; }
.o-hero h1 { color: #fff; max-width: 18ch; }
.o-hero .o-kicker { color: #ffd59a; }
.o-hero__lead { font-size: 1.1rem; color: #e3eaf7; max-width: 52ch; }
.o-hero__card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 18px 20px; backdrop-filter: blur(4px); }
.o-hero__card p { margin: 0 0 .6em; color: #e8eefa; }
.o-hero__card-title { font-weight: 800; color: #fff !important; }
.o-hero__card a { color: #fff; }
.o-hero__phone { font-size: 1.25rem; font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

.o-quick { margin-top: -56px; position: relative; z-index: 2; }
.o-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.o-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; min-height: 120px; }
.o-tile:hover { transform: translateY(-2px); border-color: var(--navy); color: var(--ink); }
.o-tile__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--navy); }
.o-tile__ico .o-ico { width: 24px; height: 24px; }
.o-tile:nth-child(odd) .o-tile__ico { background: #fff1dc; color: #a35d00; }
.o-tiles li:nth-child(2n) .o-tile__ico { background: #fff1dc; color: #a35d00; }
.o-tiles li:nth-child(2n+1) .o-tile__ico { background: var(--sky); color: var(--navy); }
.o-tile__title { font-weight: 800; line-height: 1.25; color: var(--deep); }
.o-tile__desc { font-size: .88rem; color: var(--muted); }
.o-tiles--small { margin-top: 24px; }

.o-home-grid { display: grid; gap: 24px; margin-top: 40px; margin-bottom: 48px; }
.o-panel { background: #fff; }
.o-side .o-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.o-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.o-panel__head h2 { margin: 0; }

.o-news { display: grid; gap: 16px; }
.o-ncard { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.o-ncard__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.o-ncard__body { padding: 16px 18px; }
.o-ncard__meta { font-size: .85rem; color: var(--muted); margin-bottom: .35em; }
.o-ncard__title { font-size: 1.12rem; margin-bottom: .35em; }
.o-ncard__title a { text-decoration: none; color: var(--deep); }
.o-ncard__title a:hover { text-decoration: underline; }
.o-ncard__text { color: var(--muted); margin: 0; font-size: .96rem; }

.o-events { list-style: none; margin: 0 0 4px; padding: 0; }
.o-event { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.o-event:last-child { border-bottom: 0; }
.o-event__date { width: 54px; flex: none; text-align: center; background: var(--sky); border-radius: 10px; padding: 6px 0; font-size: .78rem; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.o-event__date b { display: block; font-size: 1.35rem; color: var(--deep); }
.o-event__body a { font-weight: 700; text-decoration: none; color: var(--deep); }
.o-event__body a:hover { text-decoration: underline; }
.o-event__meta { display: block; font-size: .88rem; color: var(--muted); }
.o-events--full .o-event { padding: 16px 0; }

.o-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .97rem; }
.o-table caption { text-align: left; font-weight: 700; padding-bottom: 8px; color: var(--deep); }
.o-table th, .o-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.o-table thead th { background: var(--sky); color: var(--deep); font-size: .88rem; }
.o-table--places td { font-weight: 700; }
.o-table--places tr.is-free td { color: var(--ok); }
.o-side .o-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.o-band { background: var(--sky); padding: 40px 0; }
.o-band__grid { display: grid; gap: 28px; }
.o-quote { background: var(--deep); color: #fff; border-radius: var(--radius); padding: 26px; }
.o-quote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: #e8eefa; }
.o-quote .o-btn--ghost { color: #fff; border-color: #fff; }
.o-quote .o-btn--ghost:hover { background: #fff; color: var(--deep); }

/* Вътрешни страници */
.o-pagehead { background: var(--sky); border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.o-pagehead h1 { margin-bottom: .2em; }
.o-pagehead__lead { color: var(--muted); font-size: 1.08rem; max-width: 64ch; margin: 0; }
.o-crumbs ol { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; color: var(--muted); }
.o-crumbs li + li::before { content: "›"; margin-right: 4px; color: #93a0b8; }
.o-crumbs a { color: var(--muted); }
.o-content { padding-top: 28px; padding-bottom: 56px; }
.o-prose { max-width: 760px; }
.o-prose > * + h2 { margin-top: 1.6em; }
.o-prose ul, .o-prose ol { padding-left: 1.3em; }
.o-prose li { margin-bottom: .35em; }
.o-featured { border-radius: var(--radius); margin-bottom: 20px; }
.o-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.o-filters a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; }
.o-filters a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.o-news--grid { grid-template-columns: 1fr; }
.o-postnav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.o-postlist { list-style: none; padding: 0; margin: 0; }
.o-postlist li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.o-postlist time { color: var(--muted); font-size: .9rem; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.nav-links .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Карти на раздели */
.o-cards { display: grid; gap: 12px; margin: 8px 0 24px; }
.o-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 48px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.o-card:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--ink); }
.o-card__title { font-weight: 800; color: var(--deep); }
.o-card__text { font-size: .92rem; color: var(--muted); }
.o-card .o-ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--navy); }
.o-prose:has(.o-cards), .o-prose:has(.o-staff), .o-prose:has(.o-contact) { max-width: none; }

/* Документи */
.o-doclist { list-style: none; margin: 0 0 16px; padding: 0; }
.o-doc { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.o-doc__ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.o-doc__body { flex: 1; min-width: 0; }
.o-doc__title { font-weight: 700; text-decoration: none; color: var(--deep); overflow-wrap: anywhere; }
.o-doc__title:hover { text-decoration: underline; }
.o-doc__ext { font-weight: 400; color: var(--muted); font-size: .85rem; }
.o-doc__meta { display: block; font-size: .86rem; color: var(--muted); }
.o-doc__dl { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); }
.o-doc__dl:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.o-doc.is-archive .o-doc__ico { background: #f1f1f1; color: #777; }
.o-doclist--compact .o-doc { padding: 9px 0; }
.o-doclist--compact .o-doc__dl { display: none; }
.o-docfilter { display: grid; gap: 4px 16px; background: var(--sky); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 6px; margin-bottom: 20px; }
.o-docfilter label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 4px; color: var(--deep); }
.o-docfilter input, .o-docfilter select, .o-form input, .o-form select, .o-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9c4d8; border-radius: 10px; background: #fff; min-height: 44px; }
.o-docfilter__btn { align-self: end; }

/* Разписание */
.o-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 32px; }
.o-grade { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.o-grade__h { font-size: 1rem; margin-bottom: 10px; }
.o-grade ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.o-classbtn { display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 12px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.o-classbtn:hover { background: var(--deep); color: #fff; }
.o-tt { display: none; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.o-tt__table { width: 100%; border-collapse: collapse; min-width: 760px; }
.o-tt__table th, .o-tt__table td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; font-size: .95rem; }
.o-tt__table thead th { background: var(--sky); color: var(--deep); }
.o-tt__table tbody th { width: 72px; color: var(--deep); }
.o-tt__table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.o-tt__table .is-today { background: #fff7ea; }
.o-tt__table thead .is-today { background: #ffe9c7; }
.o-ttday { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.o-ttday summary { padding: 14px 16px; font-weight: 800; color: var(--deep); cursor: pointer; min-height: 44px; }
.o-ttday[open] summary { border-bottom: 1px solid var(--line); }
.o-ttday ol { margin: 0; padding: 10px 16px 12px 40px; }
.o-ttday li { padding: 4px 0; }
.o-ttday small { color: var(--muted); }
.o-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Екип */
.o-staff { display: grid; gap: 12px; margin-bottom: 20px; }
.o-person { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.o-person__name { margin-bottom: .2em; font-size: 1.08rem; }
.o-person__role { font-weight: 700; color: var(--navy); margin-bottom: .3em; }
.o-person__meta { font-size: .93rem; color: var(--muted); margin-bottom: .2em; display: flex; gap: 6px; align-items: center; }

/* Контакти и форма */
.o-contact { display: grid; gap: 8px 32px; background: var(--sky); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 28px; }
.o-contact h3 { font-size: .95rem; margin: .8em 0 .25em; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.o-contact p { margin-bottom: .3em; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.o-form { max-width: 640px; }
.o-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.o-form__gdpr label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.o-form__gdpr input { width: 22px; min-height: 22px; margin-top: 3px; flex: none; }
.o-hp { position: absolute; left: -9999px; }
.o-facts { display: grid; gap: 10px; margin: 0 0 24px; }
.o-facts div { background: var(--sky); border-radius: 10px; padding: 12px 14px; }
.o-facts dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.o-facts dd { margin: 0; font-weight: 700; color: var(--deep); }

/* Футър */
.o-footer { background: var(--deep); color: #d5ddee; margin-top: 0; }
.o-footer a { color: #fff; }
.o-footer__grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
.o-footer__h { color: #fff; font-size: 1.05rem; }
.o-footer .o-muted { color: #aab6cf; }
.o-footer__links { list-style: none; margin: 0; padding: 0; }
.o-footer__links li { margin-bottom: 8px; }
.o-helpline { display: flex; flex-direction: column; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); text-decoration: none; }
.o-helpline strong { font-size: 1.5rem; color: var(--accent); }
.o-helpline span { font-size: .88rem; color: #d5ddee; }
.o-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.o-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.o-footer__bottom p { margin: 0; }
.o-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }

/* Блокове от редактора */
.wp-block-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1em; }
.wp-block-image img { border-radius: 10px; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: 8px 10px; }

/* ≥ 720 */
@media (min-width: 720px) {
	.o-hide-sm { display: inline-flex !important; }
	.o-hero__card { display: block; }
	.o-tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
	.o-hero { padding: 48px 0 96px; }
	.o-news--grid { grid-template-columns: repeat(2, 1fr); }
	.o-cards { grid-template-columns: repeat(2, 1fr); }
	.o-staff { grid-template-columns: repeat(2, 1fr); }
	.o-contact { grid-template-columns: 1fr 1fr; }
	.o-docfilter { grid-template-columns: 2fr 1.4fr 1fr 1fr auto; }
	.o-tt { display: block; }
	.o-ttdays { display: none; }
	.o-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
	.o-facts { grid-template-columns: repeat(4, 1fr); }
	.o-ncard { grid-template-columns: 200px 1fr; }
	.o-ncard:not(:has(.o-ncard__img)) { grid-template-columns: 1fr; }
	.o-news--grid .o-ncard { grid-template-columns: 1fr; }
}

/* ≥ 1024 – хоризонтално меню */
@media (min-width: 1024px) {
	.o-burger { display: none; }
	.o-nav { display: flex !important; position: static; box-shadow: none; border: 0; padding: 0; align-items: center; gap: 18px; max-height: none; overflow: visible; }
	.o-nav__list { display: flex; gap: 2px; }
	.o-nav__list > li { border: 0; position: relative; }
	.o-nav__list > li > a { padding: 24px 9px; font-size: .96rem; }
	.o-nav__list > li > a:hover, .o-nav__list > li.current-menu-item > a, .o-nav__list > li.current-menu-ancestor > a { color: var(--navy); box-shadow: inset 0 -3px 0 var(--accent); }
	.o-nav__list .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; margin: 0; }
	.o-nav__list li:hover > .sub-menu, .o-nav__list li:focus-within > .sub-menu { display: block; }
	.o-nav__list .sub-menu a { padding: 9px 12px; border-radius: 8px; }
	.o-nav__list .sub-menu a:hover { background: var(--sky); }
	.o-nav__extra { margin: 0; flex-wrap: nowrap; }
	.o-search { flex: 0 1 150px; }
	.o-brand__sub { font-size: .76rem; }
	.o-hero__inner { grid-template-columns: 1.6fr 1fr; align-items: end; }
	.o-home-grid { grid-template-columns: 1.7fr 1fr; }
	.o-band__grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
	.o-news--grid { grid-template-columns: repeat(3, 1fr); }
	.o-cards { grid-template-columns: repeat(3, 1fr); }
	.o-staff { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1180px) {
	.o-nav__list > li > a { padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.o-topbar, .o-header, .o-footer, .o-alert, .o-quick, .o-docfilter { display: none !important; }
	.o-tt { display: block !important; border: 0; }
	.o-ttdays { display: none !important; }
	a { color: #000; }
}

/* Кутийки от шаблоните за новини */
.is-style-ouva-info, .is-style-ouva-warn { border-radius: 14px; padding: 14px 18px; margin: 0 0 1.2em; border-left: 5px solid #1f3f7f; background: #eef3fb; }
.is-style-ouva-warn { border-left-color: #f29a1f; background: #fff4d6; }
.is-style-ouva-info p, .is-style-ouva-warn p { margin: 0 0 .35em; }
.is-style-ouva-info p:last-child, .is-style-ouva-warn p:last-child { margin-bottom: 0; }
