/*
Theme Name: Novi Istok
Author: Juka
Version: 1.7.1
Text Domain: novi-istok
*/

:root {
    --bg: #f6f3ed;
    --surface: #ffffff;
    --navy: #061d2d;
    --navy-2: #0b2b40;
    --gold: #c89436;
    --gold-soft: #e7cf9e;
    --text: #0e1f2b;
    --muted: #68727a;
    --line: rgba(6, 29, 45, .15);
    --serif: "Noto Serif", Georgia, serif;
    --sans: Inter, Arial, sans-serif;
    --container: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow-container { width: min(100%, 920px); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-main { min-height: 55vh; }

/* Header */
.site-header { position: relative; z-index: 100; background: linear-gradient(90deg, #061b2a, #08263a); color: white; border-bottom: 1px solid rgba(255,255,255,.09); }
.site-header__inner { min-height: 124px; display: grid; grid-template-columns: minmax(250px, 340px) 1fr auto; align-items: center; gap: 34px; }
.site-branding { min-width: 0; }
.custom-logo-link img { width: auto; max-width: 300px; max-height: 96px; object-fit: contain; }
.brand-fallback { display: flex; align-items: center; gap: 15px; }
.brand-mark { font: 4.4rem/1 var(--serif); color: white; }
.brand-copy strong { display: block; font: 2rem/1.1 var(--serif); }
.brand-copy small { display: block; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: clamp(20px, 2vw, 38px); }
.primary-menu > li { position: relative; }
.primary-menu a, .rubrike-toggle { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 18px 0; border: 0; background: none; color: rgba(255,255,255,.94); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; background: var(--gold); transition: right .2s ease; }
.primary-menu a:hover::after, .current-menu-item > a::after, .current-menu-item .rubrike-trigger > a::after { right: 0; }
.rubrike-trigger { display: flex; align-items: center; }
.rubrike-toggle { margin-left: 7px; }
.rubrike-toggle:hover, .rubrike-toggle:focus-visible { color: var(--gold-soft); }
.sub-menu { display: none; position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%); z-index: 30; min-width: 310px; margin: 0; padding: 14px 18px; list-style: none; background: var(--navy); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.sub-menu li + li { border-top: 1px solid rgba(255,255,255,.08); }
.sub-menu a { display: block; padding: 11px 4px; font-size: .74rem; }
.rubrike-menu:hover > .sub-menu, .rubrike-menu.is-open > .sub-menu { display: block; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle, .menu-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; color: white; cursor: pointer; font-size: 1.25rem; }
.menu-toggle { display: none; }
.script-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; overflow: hidden; }
.script-switch__button { border: 0; background: transparent; color: white; padding: 7px 10px; font-size: .72rem; font-weight: 700; cursor: pointer; }
.script-switch__button.is-active { background: var(--gold); color: var(--navy); }
.mobile-nav-tools { display: none; }
.mobile-search-toggle { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: white; cursor: pointer; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.search-panel { display: none; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-field { flex: 1; min-height: 48px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: white; padding: 0 16px; }
.search-submit { border: 0; background: var(--gold); color: var(--navy); padding: 0 22px; font-weight: 800; }

/* Shared editorial elements */
.section-kicker, .eyebrow, .post-card__category, .latest-meta span { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-title { margin: 0 0 20px; display: flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.text-link { color: var(--gold); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.text-link::after { content: " →"; }
.placeholder-image { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg,#d8c9ae,#f0e9dd); color: rgba(6,29,45,.32); font: 1.6rem var(--serif); }

/* Home */
.quote-strip { background: rgba(255,255,255,.72); border-bottom: 1px solid var(--line); }
.quote-strip__inner { min-height: 128px; display: grid; grid-template-columns: auto minmax(0,1fr) minmax(230px,.35fr); align-items: center; gap: clamp(24px, 3vw, 52px); }
.quote-mark { color: #d8c6a6; font: 4rem/1 var(--serif); }
.quote-strip blockquote { margin: 6px 0 0; font: italic 1.05rem/1.55 var(--serif); }
.quote-author { padding-left: 22px; border-left: 1px solid var(--line); color: var(--muted); font-family: var(--serif); }
.hero-section { padding-bottom: 26px; }
.hero-layout { display: grid; grid-template-columns: minmax(0,2.2fr) minmax(310px,.85fr); gap: 28px; }
.hero-feature { position: relative; min-height: 640px; overflow: hidden; background: var(--navy); touch-action: pan-y; }
.hero-feature:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero-track { display: flex; min-height: 640px; transition: transform .45s ease; will-change: transform; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; min-height: 640px; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,20,31,.94),rgba(3,20,31,.55) 50%,rgba(3,20,31,.08)); }
.hero-content { position: relative; z-index: 2; max-width: 700px; min-height: 640px; padding: 76px 62px; display: flex; flex-direction: column; justify-content: center; color: white; }
.hero-content h1 { margin: 14px 0 18px; font: 500 clamp(2.8rem,5vw,5.2rem)/1.08 var(--serif); letter-spacing: -.025em; }
.hero-content p { max-width: 590px; margin: 0 0 28px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; align-items: center; gap: 18px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--gold); color: white; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.bookmark-button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: transparent; color: white; font-size: 1.35rem; }
.hero-arrow { position: absolute; z-index: 4; top: 50%; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(6,29,45,.5); color: white; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, border-color .2s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { border-color: var(--gold); background: var(--gold); }
.hero-arrow:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.hero-arrow span { font: 2rem/1 var(--serif); transform: translateY(-2px); }
.hero-arrow--previous { left: 14px; }
.hero-arrow--next { right: 14px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 12px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; }
.hero-dot:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.hero-dots .active { background: var(--gold); }
.latest-panel { padding-top: 26px; }
.latest-list { list-style: none; margin: 0; padding: 0; }
.latest-list li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.latest-thumb { aspect-ratio: 1; overflow: hidden; background: #eee6d9; }
.latest-thumb img, .latest-thumb .placeholder-image { width: 100%; height: 100%; object-fit: cover; }
.latest-meta { display: flex; justify-content: space-between; gap: 12px; }
.latest-meta time { color: var(--muted); font-size: .72rem; }
.latest-title { display: block; margin-top: 4px; font: 1rem/1.35 var(--serif); }
.featured-section { padding: 10px 0 32px; }
.featured-section__footer { margin-top: 22px; text-align: right; }
.post-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.post-card { min-width: 0; }
.post-card__image-link { display: block; aspect-ratio: 1.52 / 1; overflow: hidden; background: #eee6d9; }
.post-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__image { transform: scale(1.03); }
.post-card__body { padding-top: 15px; }
.post-card__title { margin: 6px 0 10px; font: 1.35rem/1.3 var(--serif); }
.post-card__excerpt { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.post-card__author { margin: -2px 0 12px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .025em; }
.editorial-promos { padding-bottom: 34px; }
.promo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.promo-card { position: relative; min-height: 320px; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; }
.promo-content { position: relative; z-index: 2; padding: 40px; }
.promo-card h2 { margin: 10px 0 14px; font: 2rem/1.2 var(--serif); }
.promo-card p { opacity: .82; }
.promo-dark { background: var(--navy); color: white; }
.promo-light { background: #efe3d2; }
.promo-media { position: relative; }
.promo-media img, .promo-media .placeholder-image { width: 100%; height: 100%; object-fit: cover; }
.promo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--navy),transparent); }
.promo-light .promo-media::after { background: linear-gradient(90deg,#efe3d2,rgba(239,227,210,.05)); }
.promo-play { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; }
.promo-play > span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: white; }
.promo-play strong, .promo-play small { display: block; }
.category-section { padding: 24px 0 38px; }
.category-section__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.category-section__title { margin: 0 0 10px; font: 600 1.85rem/1.2 var(--serif); }
.category-section__header .text-link { margin-bottom: 11px; }
.category-posts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.category-posts .post-card:first-child .post-card__title { font-size: 1.5rem; }
.benefits-section { padding: 8px 0 46px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 26px; border-top: 1px solid var(--line); }
.benefit { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 0 20px; border-right: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { border-right: 0; }
.benefit > span { font-size: 1.5rem; }
.benefit strong { display: block; font-size: .8rem; text-transform: uppercase; }
.benefit small { display: block; margin-top: 8px; color: var(--muted); }

/* Single posts and pages */
.single-page, .page-view { padding-bottom: 72px; }
.single-header, .standard-page__header { padding: 64px 24px 32px; text-align: center; }
.single-header__inner { width: min(100%, 980px); margin-inline: auto; }
.single-title, .standard-page__title { margin: 12px auto 16px; font: 500 clamp(2.5rem,5vw,4.7rem)/1.12 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.single-excerpt { max-width: 760px; margin: 0 auto 18px; color: var(--muted); font: 1.08rem/1.65 var(--serif); }
.single-meta { display: flex; justify-content: center; align-items: center; gap: 9px; color: var(--muted); font-size: .84rem; }
.single-featured { width: min(calc(100% - 48px), 1180px); margin: 0 auto 44px; }
.single-featured img { width: 100%; max-height: 720px; object-fit: cover; }
.single-body { width: min(calc(100% - 48px), 820px); margin-inline: auto; }
.single-reading-layout { width: min(calc(100% - 48px), 1180px); margin-inline: auto; display: grid; grid-template-columns: 270px minmax(0, 820px); gap: 56px; align-items: start; }
.single-reading-layout .single-body { width: 100%; }
.article-toc { position: sticky; top: 24px; padding: 22px 20px 24px; border-top: 2px solid var(--gold); background: #f1eadf; }
.article-toc summary { color: var(--navy); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc__active-title, .article-toc__chevron { display: none; }
.article-toc ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 17px; }
.article-toc a { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; color: var(--navy); font: .93rem/1.42 var(--serif); }
.article-toc a:hover { color: var(--gold); }
.article-toc__number { color: var(--gold); font: 700 .74rem/1.7 var(--sans); letter-spacing: .06em; }
.entry-content { font: 1.12rem/1.95 var(--serif); }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: 2em; scroll-margin-top: 32px; font-size: 1.85rem; line-height: 1.3; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.45rem; line-height: 1.35; }
.entry-content blockquote { margin: 2em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--gold); font-size: 1.3rem; }
.entry-content img { margin: 2em auto; }
.article-pagination { margin-top: 64px; padding: 24px 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-pagination__status { margin: 0 0 15px; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .055em; text-align: center; text-transform: uppercase; }
.article-pagination__links { display: grid; grid-template-columns: minmax(120px,1fr) auto minmax(120px,1fr); align-items: center; gap: 18px; }
.article-pagination__direction-slot { display: flex; }
.article-pagination__direction-slot--next { justify-content: flex-end; }
.article-pagination__direction { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .025em; }
.article-pagination__numbers { display: flex; justify-content: center; gap: 5px; }
.article-pagination .post-page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 700; }
.article-pagination .post-page-numbers.current { border-color: var(--gold); background: rgba(200,148,54,.11); box-shadow: inset 0 -2px 0 var(--gold); }
.article-pagination a.post-page-numbers:hover, .article-pagination__direction:hover { border-color: rgba(200,148,54,.72); color: var(--gold); }
.article-pagination a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.single-article__footer { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: .86rem; }
.single-footer-label { display: block; margin-bottom: 8px; color: var(--text); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.single-share { display: flex; align-items: end; gap: 10px; }
.single-share .single-footer-label { margin-right: 8px; }
.single-share a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.standard-page__header { padding-bottom: 38px; }

/* Editorial pages */
.editorial-page-header { padding: 72px 24px 58px; text-align: center; border-bottom: 1px solid var(--line); }
.editorial-page-header__inner { max-width: 940px; }
.editorial-page-title { margin: 0; color: var(--navy); font: 500 clamp(2.8rem,5vw,4.8rem)/1.1 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.editorial-page-subtitle { margin: 18px 0 0; color: var(--muted); font: italic 1.25rem/1.6 var(--serif); }
.about-page__content { width: min(calc(100% - 48px), 980px); }
.about-section { padding: 64px 0; }
.about-section + .about-section { border-top: 1px solid var(--line); }
.about-section__title { margin: 0 0 34px; color: var(--navy); font: 600 clamp(1.75rem,3vw,2.3rem)/1.2 var(--serif); letter-spacing: .01em; }
.about-prose { max-width: 820px; color: #243642; font: 1.08rem/1.92 var(--serif); }
.about-prose p { margin: 0 0 1.45em; }
.about-prose p:last-child { margin-bottom: 0; }
.about-role { margin: 0 0 48px; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); }
.about-role__label { margin-bottom: 7px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.about-role__name { color: var(--navy); font: 600 1.55rem/1.35 var(--serif); }
.about-subheading { margin: 44px 0 18px; color: var(--navy); font: 600 1.5rem/1.3 var(--serif); }
.about-people-list, .about-council-list, .about-principles-list { list-style: none; margin: 0; padding: 0; }
.about-people-list li { display: grid; grid-template-columns: minmax(190px,.38fr) minmax(0,1fr); gap: 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.about-people-list li:last-child { border-bottom: 1px solid var(--line); }
.about-people-list strong { color: var(--navy); font: 600 1rem/1.55 var(--serif); }
.about-people-list span { color: var(--muted); }
.about-structure-note { max-width: 820px; margin: 46px 0 0; color: #243642; font: 1.05rem/1.85 var(--serif); }
.about-structure-note--last { margin-top: 0; }
.about-council-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 42px; }
.about-council-list li { padding: 17px 0; border-top: 1px solid var(--line); color: var(--navy); font-family: var(--serif); }
.about-council-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.about-principles-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; }
.about-principles-list li { position: relative; padding: 20px 0 20px 28px; border-top: 1px solid var(--line); color: var(--navy); font: 600 1.06rem/1.55 var(--serif); }
.about-principles-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.rubrics-page__sections { padding: 20px 0 12px; }
.rubrics-page__section { padding: 42px 0 54px; }
.rubrics-page__section + .rubrics-page__section { padding-top: 54px; }
.rubrics-page .category-section__header { margin-bottom: 26px; }
.rubrics-page .category-section__title { font-size: clamp(1.85rem,3vw,2.35rem); }

/* Partners */
.partners-page__header { padding-bottom: 50px; }
.partners-page .editorial-page-title, .partner-identity__title { text-transform: uppercase; }
.partners-page__intro { max-width: 820px; margin: 22px auto 0; color: #344651; font: 1.08rem/1.78 var(--serif); text-wrap: balance; }
.partners-page__intro > :first-child { margin-top: 0; }
.partners-page__intro > :last-child { margin-bottom: 0; }
.partners-page__sections { padding-bottom: 10px; }
.partner-section { padding: 72px 0 76px; }
.partner-section + .partner-section { border-top: 1px solid var(--line); }
.partner-introduction { display: grid; grid-template-columns: minmax(340px,.78fr) minmax(0,1fr); align-items: center; gap: clamp(54px,7vw,108px); }
.partner-visual { position: relative; min-height: 330px; padding: 38px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: rgba(255,255,255,.48); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-visual::after { content: ""; position: absolute; right: 0; top: 15%; bottom: 15%; width: 2px; background: var(--gold); opacity: .7; }
.partner-visual__image { width: 100%; max-width: 520px; max-height: 270px; object-fit: contain; }
.partner-section--zaduzbina .partner-visual { background: rgba(255,255,255,.62); }
.partner-section--zaduzbina .partner-visual__image { max-width: 300px; max-height: 300px; }
.partner-visual__fallback { width: min(230px,80%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--navy); background: rgba(231,207,158,.18); }
.partner-visual__fallback span { font: 500 clamp(3.4rem,7vw,6rem)/1 var(--serif); letter-spacing: -.04em; }
.partner-identity { max-width: 700px; }
.partner-identity__title { max-width: 680px; margin: 12px 0 22px; color: var(--navy); font: 600 clamp(2.2rem,3.7vw,3.45rem)/1.15 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.partner-identity__description { max-width: 650px; margin: 0; color: #344651; font: 1.08rem/1.85 var(--serif); }
.partner-external-link { min-height: 44px; margin-top: 22px; padding: 8px 0; display: inline-flex; align-items: center; border-bottom: 1px solid rgba(200,148,54,.55); }
.partner-posts { margin-top: 58px; }
.partner-posts__header { margin-bottom: 26px; }
.partner-posts__title { font-size: clamp(1.65rem,2.4vw,2.05rem); }
.partner-posts__empty { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--serif); }
.partner-archive__empty { grid-column: 1 / -1; color: var(--muted); font-family: var(--serif); }

/* Podcast */
.podcast-page { padding-bottom: 72px; }
.podcast-header { border-bottom: 2px solid var(--gold); background: linear-gradient(115deg,var(--navy),var(--navy-2)); color: white; }
.podcast-header__inner { min-height: 330px; padding-block: 64px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 48px; }
.podcast-header__title { margin: 10px 0 12px; font: 500 clamp(3.2rem,7vw,6.5rem)/.98 var(--serif); letter-spacing: -.035em; }
.podcast-header__intro { max-width: 710px; margin: 0; color: rgba(255,255,255,.76); font: 1.18rem/1.65 var(--serif); }
.podcast-header__youtube { min-height: 44px; display: inline-flex; align-items: center; color: var(--gold-soft); white-space: nowrap; }
.podcast-feature-section { padding: 56px 0 66px; border-bottom: 1px solid var(--line); }
.podcast-feature { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(330px,.72fr); background: var(--surface); box-shadow: 0 18px 42px rgba(6,29,45,.08); }
.podcast-feature__visual { position: relative; aspect-ratio: 16 / 9; min-width: 0; overflow: hidden; background: var(--navy); }
.podcast-feature__image { width: 100%; height: 100%; object-fit: cover; }
.podcast-feature__content { padding: clamp(32px,4vw,58px); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.podcast-feature__eyebrow { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.podcast-feature__meta, .podcast-card__meta { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .025em; }
.podcast-feature__meta { margin-top: 12px; }
.podcast-feature__title { margin: 14px 0 16px; color: var(--navy); font: 500 clamp(2rem,3.4vw,3.45rem)/1.13 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.podcast-feature__excerpt { margin: 0; color: var(--muted); font-family: var(--serif); }
.podcast-feature__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.podcast-action { min-height: 48px; padding: 10px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--navy); font-size: .72rem; font-weight: 850; letter-spacing: .045em; line-height: 1.3; text-transform: uppercase; transition: background .2s ease,color .2s ease,border-color .2s ease; }
.podcast-action--primary { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.podcast-action--secondary { color: var(--navy); }
.podcast-action:hover, .podcast-action:focus-visible { border-color: var(--navy); background: var(--navy); color: white; }
.podcast-play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; background: rgba(6,29,45,.68); box-shadow: 0 8px 24px rgba(0,0,0,.18); transform: translate(-50%,-50%); }
.podcast-play-icon::before { width: 0; height: 0; margin-left: 5px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid white; content: ""; }
.podcast-play-icon--small { width: 48px; height: 48px; }
.podcast-play-icon--small::before { margin-left: 4px; border-top-width: 7px; border-bottom-width: 7px; border-left-width: 12px; }
.podcast-conversations { padding: 58px 0 66px; }
.podcast-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px 28px; }
.podcast-card__image-link { position: relative; aspect-ratio: 16 / 9; }
.podcast-badge { position: absolute; left: 12px; top: 12px; padding: 5px 8px; background: rgba(6,29,45,.86); color: var(--gold-soft); font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.podcast-card__meta { margin-top: 7px; }
.podcast-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.podcast-card__youtube { color: var(--navy); }
.podcast-empty { padding: 56px 0 10px; }
.podcast-empty p { margin: 0; color: var(--muted); font: 1.18rem/1.7 var(--serif); }
.podcast-channel-strip { margin-top: 4px; margin-bottom: 62px; padding: 34px 40px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; border-left: 4px solid var(--gold); background: var(--navy); color: var(--bg); }
.podcast-channel-strip__title { color: var(--gold-soft); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.podcast-channel-strip p { max-width: 760px; margin: 8px 0 0; color: rgba(255,255,255,.72); font-family: var(--serif); }
.podcast-channel-strip__link { min-height: 46px; padding: 9px 0; display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--gold); color: var(--gold-soft); font-size: .74rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.podcast-pagination { margin-top: -24px; }
.podcast-episode-player { width: min(calc(100% - 48px), 1180px); margin: 0 auto 44px; }
.podcast-episode-player__embed { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.podcast-episode-player__embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.single-article--podcast .single-meta { flex-wrap: wrap; }

/* Archives */
.archive-header { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.archive-header__inner { max-width: 1180px; }
.archive-title { margin: 10px 0 0; font: 500 clamp(2.7rem,5vw,4.8rem)/1.12 var(--serif); letter-spacing: -.025em; }
.archive-description { max-width: 780px; margin-top: 18px; color: var(--muted); }
.archive-grid { padding: 34px 0 68px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 28px; }
.pagination { margin-bottom: 62px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); }
.page-numbers.current, .page-numbers:hover { background: var(--navy); color: white; }

/* Footer */
.site-footer { background: var(--navy); color: white; }
.footer-main { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 54px; padding: 58px 0; }
.footer-brand { font: 2.2rem/1.2 var(--serif); }
.footer-copy { max-width: 460px; color: rgba(255,255,255,.66); }
.footer-heading { margin: 0 0 16px; color: var(--gold-soft); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a, .footer-main p, .footer-main a { color: rgba(255,255,255,.82); }
.footer-nav a:hover, .footer-main a:hover { color: var(--gold-soft); }
.footer-bottom { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.56); font-size: .76rem; }

@media (max-width: 1100px) {
    .site-header__inner { grid-template-columns: 1fr auto; min-height: 98px; }
    .primary-nav { display: none; grid-column: 1 / -1; padding-bottom: 18px; }
    .primary-nav.is-open { display: block; }
    .primary-menu { display: grid; justify-content: stretch; gap: 0; }
    .primary-menu a, .rubrike-toggle { width: 100%; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
    .rubrike-trigger { border-top: 1px solid rgba(255,255,255,.12); }
    .rubrike-trigger > a { flex: 1; width: auto; border-top: 0; }
    .rubrike-trigger .rubrike-toggle { width: 44px; margin: 0; padding-left: 16px; border-top: 0; justify-content: flex-end; }
    .menu-toggle { display: grid; }
    .sub-menu { position: static; transform: none; min-width: 0; padding: 0 0 8px 18px; border: 0; box-shadow: none; background: transparent; }
    .rubrike-menu.is-open > .sub-menu { display: block; }
    .rubrike-menu:hover > .sub-menu { display: none; }
    .rubrike-menu.is-open:hover > .sub-menu { display: block; }
    .quote-strip__inner { grid-template-columns: auto minmax(0,1fr); padding: 22px 0; gap: 10px 18px; }
    .quote-author { grid-column: 2; padding-left: 0; border-left: 0; font-size: .9rem; }
    .hero-layout, .promo-grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .category-posts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .podcast-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .podcast-feature { grid-template-columns: 1fr; }
    .podcast-feature__content { border-top: 1px solid var(--line); border-left: 0; }
    .single-reading-layout { width: min(calc(100% - 48px), 820px); grid-template-columns: 1fr; gap: 30px; }
    .article-toc { position: static; }
    .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
    .benefit { padding: 0; border-right: 0; }
    .benefit:last-child { grid-column: 1 / -1; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .container, .single-featured, .single-body { width: min(calc(100% - 28px), var(--container)); }
    .site-header__inner { min-height: 84px; gap: 14px; }
    .custom-logo-link img { max-width: 210px; max-height: 70px; }
    .header-actions { gap: 3px; }
    .header-actions > .script-switch, .header-actions > .search-toggle { display: none; }
    .mobile-nav-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 2px; border-top: 1px solid rgba(255,255,255,.12); }
    .mobile-search-toggle { padding: 0 4px; }
    .mobile-search-toggle > span[aria-hidden="true"] { font-size: 1.2rem; }
    .script-switch__button { padding: 6px 8px; }
    .quote-strip__inner { min-height: 0; align-items: start; padding-block: 20px; }
    .quote-mark { font-size: 3rem; }
    .hero-feature, .hero-track, .hero-slide, .hero-content { min-height: 560px; }
    .hero-content { justify-content: flex-end; padding: 34px 24px 66px; }
    .hero-overlay { background: linear-gradient(0deg,rgba(3,20,31,.96),rgba(3,20,31,.18)); }
    .hero-content h1 { font-size: 2.55rem; }
    .hero-arrow { display: none; }
    .post-grid, .category-posts, .archive-grid { grid-template-columns: 1fr; }
    .podcast-header__inner { min-height: 290px; padding-block: 46px; grid-template-columns: 1fr; align-items: start; gap: 24px; }
    .podcast-header__title { font-size: 3.35rem; }
    .podcast-header__intro { font-size: 1.02rem; }
    .podcast-feature-section { padding: 42px 0 48px; }
    .podcast-feature { grid-template-columns: 1fr; }
    .podcast-feature__content { padding: 28px 22px 30px; border-top: 1px solid var(--line); border-left: 0; }
    .podcast-feature__title { font-size: 2.2rem; }
    .podcast-feature__actions { align-items: stretch; flex-direction: column; }
    .podcast-action { width: 100%; min-height: 52px; }
    .podcast-play-icon { width: 60px; height: 60px; }
    .podcast-conversations { padding: 44px 0 50px; }
    .podcast-grid { grid-template-columns: 1fr; }
    .podcast-channel-strip { margin-bottom: 52px; padding: 28px 24px; grid-template-columns: 1fr; gap: 22px; }
    .podcast-channel-strip__link { justify-self: start; white-space: normal; }
    .podcast-episode-player { width: min(calc(100% - 28px), 1180px); margin-bottom: 30px; }
    .promo-card { grid-template-columns: 1fr; }
    .promo-media { min-height: 220px; }
    .category-section__header { align-items: center; }
    .benefits-grid { grid-template-columns: 1fr; }
    .single-header, .standard-page__header { padding: 46px 14px 25px; }
    .single-title, .standard-page__title { font-size: 2.45rem; }
    .single-reading-layout { width: min(calc(100% - 28px), 820px); gap: 24px; }
    .article-toc { position: sticky; top: var(--article-toc-sticky-top, 0); z-index: 90; padding: 0; border-bottom: 1px solid var(--line); background: #f1eadf; }
    .article-toc__details { position: relative; }
    .article-toc summary { min-height: 54px; padding: 9px 14px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; list-style: none; letter-spacing: 0; text-transform: none; }
    .article-toc:not(.is-expanded) summary { grid-template-columns: minmax(0,1fr) auto; }
    .article-toc:not(.is-expanded) .article-toc__label { display: none; }
    .article-toc summary::marker { content: ""; }
    .article-toc summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
    .article-toc__label { font: 900 .7rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
    .article-toc.has-active-section .article-toc__label::after { margin-left: 9px; color: var(--gold); content: "·"; }
    .article-toc__active-title { min-width: 0; display: block; overflow: hidden; font: 500 .9rem/1.35 var(--serif); letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
    .article-toc__active-title[hidden] { display: none; }
    .article-toc__chevron { display: block; color: var(--gold); font: 700 1rem/1 var(--sans); transition: transform .16s ease; }
    .article-toc__details[open] .article-toc__chevron { transform: rotate(180deg); }
    .article-toc nav { position: absolute; top: 100%; left: -1px; right: -1px; max-height: 52vh; max-height: min(52vh, calc(100dvh - var(--article-toc-sticky-top, 0px) - 70px)); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-top: 0; background: #f1eadf; box-shadow: 0 16px 28px rgba(6,29,45,.13); scrollbar-width: thin; }
    .article-toc ol { margin: 0; gap: 0; }
    .article-toc li + li { border-top: 1px solid rgba(6,29,45,.09); }
    .article-toc a { padding: 12px 14px 12px 12px; border-left: 2px solid transparent; font-size: .9rem; }
    .article-toc li.is-active > a { border-left-color: var(--gold); font-weight: 600; }
    .entry-content h2 { scroll-margin-top: var(--article-mobile-heading-offset, 70px); }
    .editorial-page-header { padding: 50px 14px 42px; }
    .editorial-page-title { font-size: 2.7rem; }
    .editorial-page-subtitle { margin-top: 12px; font-size: 1.08rem; }
    .about-page__content { width: min(calc(100% - 28px), 980px); }
    .about-section { padding: 46px 0; }
    .about-section__title { margin-bottom: 27px; }
    .about-people-list li { grid-template-columns: 1fr; gap: 5px; padding: 16px 0; }
    .about-council-list, .about-principles-list { grid-template-columns: 1fr; }
    .about-council-list li:nth-last-child(2) { border-bottom: 0; }
    .about-structure-note { margin-top: 36px; }
    .about-structure-note--last { margin-top: 0; }
    .rubrics-page__sections { padding-top: 8px; }
    .rubrics-page__section, .rubrics-page__section + .rubrics-page__section { padding: 38px 0 44px; }
    .rubrics-page .category-section__header { align-items: flex-start; flex-direction: column; gap: 4px; }
    .rubrics-page .category-section__header .text-link { margin-bottom: 11px; }
    .partners-page__header { padding-bottom: 40px; }
    .partners-page__intro { font-size: 1rem; line-height: 1.72; }
    .partner-section { padding: 48px 0 52px; }
    .partner-introduction { grid-template-columns: 1fr; gap: 34px; }
    .partner-visual { min-height: 230px; padding: 24px; }
    .partner-visual::after { top: auto; left: 12%; right: 12%; bottom: 0; width: auto; height: 2px; }
    .partner-visual__image { max-height: 210px; }
    .partner-section--zaduzbina .partner-visual__image { max-width: 220px; max-height: 220px; }
    .partner-visual__fallback { width: min(190px,70%); }
    .partner-identity__title { margin-bottom: 17px; font-size: 2.08rem; }
    .partner-identity__description { font-size: 1rem; line-height: 1.75; }
    .partner-posts { margin-top: 42px; }
    .partner-posts__header { align-items: flex-start; flex-direction: column; gap: 4px; }
    .partner-posts__header .text-link { margin-bottom: 11px; }
    .single-featured { margin-bottom: 30px; }
    .entry-content { font-size: 1.04rem; line-height: 1.85; }
    .article-pagination { margin-top: 48px; padding-block: 20px; }
    .article-pagination__links { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 7px; }
    .article-pagination__numbers { justify-content: flex-start; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
    .article-pagination .post-page-numbers { min-width: 42px; }
    .article-pagination__direction { width: 44px; justify-content: center; }
    .article-pagination__direction-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .single-article__footer { flex-direction: column; }
    .archive-header { padding: 42px 0 24px; }
    .archive-title { font-size: 2.65rem; }
    .footer-main { grid-template-columns: 1fr; padding: 44px 0; }
    .footer-about { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-track { transition: none; }
}
