/*
Theme Name: Meydan Haber
Description: Meydan üniversite haber portalı için yayın teması.
Version: 0.17.0
Requires PHP: 8.3
Text Domain: meydan-haber
*/

:root {
    --ink: #12201e;
    --deep: #0b2824;
    --green: #11624f;
    --lime: #d4fa56;
    --paper: #f5f6ef;
    --surface: #fffef9;
    --line: #ccd3c9;
    --muted: #52635b;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Segoe UI', system-ui, sans-serif;
}

.meydan-result-list { list-style: none; padding: 0; margin: 1.2rem 0; max-width: 54rem; }
.meydan-result-list li { border-bottom: 1px solid #dfe7e2; padding-block: .95rem; }
.meydan-result-list h2 { margin: .25rem 0; font-size: clamp(1.05rem, 2.5vw, 1.45rem); }
.meydan-result-list p { margin: .25rem 0; }
.meydan-result-time { display: inline-block; margin-top: .25rem; color: var(--green); text-decoration: underline; }
.meydan-result-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.meydan-result-filters a { border: 1px solid #c7d8cf; padding: .35rem .65rem; border-radius: .25rem; }
.meydan-result-filters a[aria-current="page"] { color: var(--deep); background: var(--lime); border-color: var(--deep); font-weight: 700; }
.meydan-correction { margin: 1.5rem 0; padding: 1rem 1.15rem; border-inline-start: 4px solid var(--green); background: var(--surface); }
.meydan-correction h2 { margin: 0; font-size: 1rem; }
.meydan-correction time { color: var(--muted); font-size: .875rem; }
.meydan-correction p { margin: .4rem 0 0; }
.meydan-transcript-filter { margin-block: .85rem; }
.meydan-transcript-filter label { display: block; font-weight: 700; }
.meydan-transcript-filter input { width: min(100%, 26rem); padding: .4rem .55rem; }
.meydan-transcript-filter p:empty { display: none; }
.meydan-photo-comparison { margin-block: 2rem; }
.meydan-compare-images { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.meydan-compare-images figure { position: relative; margin: 0; }
.meydan-compare-images img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.meydan-compare-images figcaption { position: absolute; inset: auto auto .5rem .5rem; padding: .25rem .5rem; background: var(--deep); color: white; }
.meydan-compare-after figcaption { inset: auto .5rem .5rem auto; }
.meydan-compare-ready .meydan-compare-images { display: block; position: relative; }
.meydan-compare-ready .meydan-compare-before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--meydan-compare-position)) 0 0); }
.meydan-compare-ready .meydan-compare-images::after { content: ""; position: absolute; inset: 0 auto 0 var(--meydan-compare-position); z-index: 2; border-inline-start: 2px solid white; pointer-events: none; }
.meydan-photo-comparison label { margin-top: .75rem; font-weight: 700; }
.meydan-photo-comparison label:not([hidden]) { display: grid; gap: .4rem; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #479d77; outline-offset: 4px; }
.frame { width: min(100% - 3.5rem, 1240px); margin-inline: auto; }
.sr-only, .screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--lime); color: var(--deep); }

.site-header { background: var(--deep); color: white; }
.topbar { border-bottom: 1px solid #436057; }
.topbar-inner, .masthead, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.topbar-inner { min-height: 2.65rem; color: #e0eae0; font-size: .875rem; }
.topbar-tools, .portal-language { display: flex; align-items: center; gap: .4rem; }
.topbar-tools { gap: .7rem; flex-shrink: 0; }
.portal-language a { padding: .25rem .38rem; border: 1px solid #688476; border-radius: .25rem; color: inherit; font-weight: 700; line-height: 1.2; }
.portal-language a[aria-current], .portal-language a:hover { background: var(--lime); border-color: var(--lime); color: var(--deep); text-decoration: none; }
.portal-language a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.masthead { padding-block: 1.6rem 1.8rem; }
.wordmark { display: inline-block; color: inherit; font: 950 clamp(2.7rem, 7.5vw, 6.3rem)/.9 var(--sans); letter-spacing: -.105em; text-decoration: none; padding-right: .13em; }
.wordmark span { color: var(--lime); }
.custom-logo-link img { display: block; max-width: min(48vw, 320px); max-height: 86px; object-fit: contain; }
.site-search { position: relative; display: flex; min-width: 0; border: 1px solid #678377; }
.site-search input { width: clamp(8rem, 18vw, 14rem); min-width: 0; border: 0; background: transparent; color: white; padding: .62rem .85rem; }
.site-search input::placeholder { color: #c4d0c8; }
.site-search button { border: 0; background: var(--lime); color: var(--deep); padding: .62rem .9rem; font-weight: 750; }
.search-suggestions { position: absolute; inset: 100% 0 auto auto; z-index: 12; width: min(24rem, calc(100vw - 2rem)); max-height: min(48dvh, 22rem); overflow: auto; padding: 0; margin: 0; list-style: none; border: 1px solid var(--line); border-top: .2rem solid var(--lime); background: var(--surface); color: var(--deep); box-shadow: 0 .5rem 1.5rem #0b282445; }
.search-suggestions a { display: grid; gap: .2rem; padding: .55rem .75rem; font-weight: 750; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.search-suggestions li + li { border-top: 1px solid var(--line); }
.search-suggestions a span { color: var(--green); font-size: .8rem; }
.search-suggestions a:hover, .search-suggestions [aria-selected="true"] { background: var(--deep); color: white; }
.search-suggestions a:hover span, .search-suggestions [aria-selected="true"] span { color: var(--lime); }
.site-nav { position: relative; z-index: 8; background: var(--lime); color: var(--deep); }
.site-nav .frame > ul, .site-footer ul { display: flex; gap: clamp(1rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.site-nav .frame > ul { flex-wrap: wrap; row-gap: 0; }
.site-nav a, .week-menu > summary { display: block; padding: .78rem 0 .6rem; text-decoration: none; white-space: nowrap; font-weight: 750; font-size: .9rem; border-bottom: .2rem solid transparent; }
.site-nav a:hover, .site-nav [aria-current="page"] { border-color: var(--deep); }
.week-menu { position: relative; }
.week-menu > summary { display: flex; align-items: center; gap: .4rem; cursor: pointer; list-style: none; }
.week-menu > summary::-webkit-details-marker { display: none; }
.week-chevron { width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.1rem) rotate(45deg); }
.week-menu[open] > summary, .week-menu > summary:hover { border-color: var(--deep); }
.week-dropdown { position: absolute; top: 100%; left: 0; z-index: 5; margin: 0; padding: 0; list-style: none; min-width: 5rem; width: max-content; max-height: min(70dvh, 33rem); overflow-y: auto; overscroll-behavior: contain; color: white; background: var(--deep); box-shadow: 0 .35rem .7rem #0b282425; }
.week-dropdown li + li { border-top: 1px solid #436057; }
.week-dropdown a { padding: .5rem .65rem; border: 0; }
.week-dropdown a:hover, .week-dropdown a:focus-visible { background: var(--lime); color: var(--deep); }
.week-dropdown a:focus-visible { outline: 2px solid var(--deep); outline-offset: -3px; }
.week-deck { margin-block: 2rem; max-width: 62rem; }
.week-deck-slide { margin-top: .8rem; background: var(--deep); touch-action: pan-y pinch-zoom; }
.week-deck-slide img { display: block; width: 100%; max-height: 72vh; object-fit: contain; }
.week-deck-actions:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: .45rem; padding: .65rem; color: white; background: var(--deep); }
.week-deck-actions button { min-height: 44px; padding: .35rem .7rem; border: 1px solid var(--lime); border-radius: .25rem; background: var(--lime); color: var(--deep); font-weight: 700; }
.week-deck-actions button:disabled { opacity: .45; cursor: default; }
.week-deck-actions [data-slide-counter] { white-space: nowrap; font-variant-numeric: tabular-nums; }

.newsroom { padding-block: clamp(1.2rem, 2.8vw, 2.25rem) 4.5rem; }
.breaking { display: flex; align-items: stretch; background: #e7ebdf; margin-bottom: 1.65rem; min-width: 0; border-block: 1px solid var(--line); }
.breaking span { display: flex; align-items: center; padding: .55rem .9rem; background: var(--deep); color: var(--lime); font-size: .875rem; font-weight: 850; text-transform: uppercase; letter-spacing: .045em; flex: 0 0 auto; }
.breaking a { padding: .55rem .9rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.breaking a:hover { text-decoration: underline; }
.section-title { display: flex; align-items: center; gap: .85rem; margin: 0 0 1rem; color: var(--deep); font-size: clamp(1.15rem, 2.4vw, 1.9rem); font-weight: 900; letter-spacing: -.035em; }
.section-title::before { content: ''; flex: 0 0 .45rem; height: .8em; background: var(--green); }
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.medipol-news { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .7rem 1.25rem; margin-bottom: 1.25rem; padding: .55rem .75rem; background: #e7ebdf; scroll-margin-top: 3rem; }
.medipol-news > .section-title { margin: 0; font-size: 1rem; letter-spacing: -.015em; }
.medipol-news > .section-title::before, .medipol-news > .section-title::after { content: none; }
.medipol-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; }
.medipol-tabs a { display: grid; place-items: center; min-height: 2.5rem; padding: .35rem .4rem; border: 1px solid transparent; background: var(--surface); color: var(--deep); text-align: center; text-decoration: none; font-size: .875rem; font-weight: 750; }
.medipol-tabs a:hover, .medipol-tabs [aria-current="page"] { border-color: var(--deep); background: var(--deep); color: var(--lime); }
.medipol-results { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); padding: 1rem; }
.medipol-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; }
.medipol-results-head h3 { margin: 0; font: 700 1.35rem/1.15 var(--serif); }
.medipol-results-head a, .medipol-results li a:hover { color: var(--green); }
.medipol-results ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; margin: .65rem 0; padding: 0; list-style: none; }
.medipol-results li { padding: .65rem 0; border-top: 1px solid var(--line); }
.medipol-results li a { display: block; font-weight: 650; overflow-wrap: anywhere; text-underline-offset: .16em; }
.medipol-date, .medipol-source { color: var(--muted); font-size: .875rem; }
.medipol-source { margin-bottom: 0; }
.spotlight { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: .75rem; }
.spotlight-solo { grid-template-columns: 1fr; }
.spotlight-side { display: grid; grid-auto-rows: 1fr; gap: .75rem; }
.story { min-width: 0; }
.story-link { display: block; height: 100%; text-decoration: none; }
.story-link h3 { overflow-wrap: anywhere; margin: .45rem 0; text-wrap: pretty; }
.story-media { position: relative; overflow: hidden; background: var(--deep); }
.story-media img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .35s ease; }
.story-link:hover img { transform: scale(1.035); }
.media-mark { position: absolute; inset: 0 0 0 auto; width: 58%; display: grid; place-items: center; color: var(--lime); font: 950 clamp(10rem, 21vw, 19rem)/1 var(--sans); opacity: .2; transform: skewX(-8deg); }
.story-category { display: inline-block; align-self: flex-start; color: var(--green); font-size: .875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.story-lead .story-link { position: relative; display: flex; align-items: center; isolation: isolate; min-height: clamp(25rem, 41vw, 33rem); color: white; background: var(--deep); }
.story-lead .story-media { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 82% 20%, #277762, var(--deep) 68%); }
.story-lead .story-link::before { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(90deg, #061d19ef, #061d19d8 40%, #061d1950 78%, #061d1914), linear-gradient(0deg, #061d1980, transparent 65%); }
.story-lead .story-copy { width: 100%; padding: clamp(1.2rem, 3.5vw, 2.8rem); }
.story-lead .story-category { padding: .18rem .6rem; background: var(--lime); color: var(--deep); }
.story-lead h3 { max-width: 19ch; font: 700 clamp(2.35rem, 5.2vw, 4.65rem)/1.02 var(--serif); letter-spacing: -.045em; }
.story-lead p { color: #eff5ed; max-width: 54ch; margin: .65rem 0 .4rem; }
.story-lead .story-link time { color: #d2e4dc; }
.story-lead .story-link:hover h3, .story-lead .story-link:focus-visible h3 { color: var(--lime); }
.story-lead .story-link:focus-visible { outline-color: var(--lime); outline-offset: -5px; }
.story-brief .story-link { display: grid; align-items: center; min-height: 10rem; border: 1px solid var(--line); border-inline-start: .24rem solid var(--green); background: var(--surface); }
.story-brief.story-with-image .story-link { grid-template-columns: minmax(0, 1fr) clamp(4.2rem, 8vw, 7.2rem); }
.story-brief .story-media { grid-area: 1 / 2; aspect-ratio: 1; margin-inline-end: .7rem; }
.story-brief .story-copy { grid-area: 1 / 1; min-width: 0; padding: clamp(.85rem, 2.1vw, 1.65rem); }
.story-brief h3 { font: 700 clamp(1.45rem, 2.7vw, 2.4rem)/1.08 var(--serif); letter-spacing: -.025em; }
.latest { margin-top: clamp(2.6rem, 5vw, 4.25rem); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.story-standard .story-link { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.story-standard:not(.story-with-image) .story-link { border-top: .2rem solid #a6b9a7; }
.story-standard .story-media { aspect-ratio: 16 / 9; }
.story-standard .story-copy { display: flex; flex: 1; flex-direction: column; min-height: 10rem; padding: clamp(.9rem, 2vw, 1.35rem); }
.story-standard h3 { font: 700 clamp(1.3rem, 2vw, 1.85rem)/1.13 var(--serif); letter-spacing: -.015em; }
.story-standard p { color: var(--muted); margin: .15rem 0 .65rem; }
.story-standard time { margin-top: auto; padding-top: .45rem; }
.story-brief .story-link:hover, .story-standard .story-link:hover { border-color: var(--green); }
.story-brief .story-link:hover h3, .story-standard .story-link:hover h3 { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: .15em; }
.story time, .byline, .article-hero figcaption, .archive-description { color: var(--muted); }
.story time { font-size: .875rem; }
.category-shelf { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 3fr); gap: 1.35rem; margin-top: 1.5rem; border-block-start: 1px solid var(--line); padding-top: 1.15rem; }
.category-shelf + .category-shelf { margin-top: 1.25rem; }
.latest + .category-shelf { margin-top: 3.5rem; }
.category-shelf-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .55rem; background: var(--deep); color: white; padding: 1.15rem; overflow-wrap: anywhere; }
.category-shelf-head h2 { margin: 0 0 .5rem; font: 700 clamp(1.55rem, 3vw, 2.5rem)/1.05 var(--serif); letter-spacing: -.04em; }
.category-shelf-head a { color: var(--lime); font-weight: 700; text-underline-offset: .2em; font-size: .875rem; }
.category-shelf-head a:focus-visible { outline-color: var(--lime); }
.category-shelf-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem 1rem; }
.category-shelf-stories article { border-left: 1px solid var(--line); padding: .35rem 0 .45rem 1rem; overflow-wrap: anywhere; }
.category-shelf-stories h3 { margin: 0 0 .45rem; font: 700 clamp(1.1rem, 2vw, 1.45rem)/1.18 var(--serif); }
.category-shelf-stories a { text-decoration: none; }
.category-shelf-stories a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: .15em; }
.category-shelf-stories time { color: var(--muted); font-size: .875rem; }
.pagination { margin-top: 1.8rem; }
.pagination .nav-links, .tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.page-numbers, .tags a, .home-link { border: 1px solid var(--line); padding: .45rem .72rem; text-decoration: none; }
.page-numbers.current, .page-numbers:hover, .tags a:hover, .home-link:hover { background: var(--lime); }
.empty-state { background: #e7ebdf; margin: 0 0 1rem; padding: 1.1rem; }
.listing { min-height: 42vh; }

.article-shell { padding-block: clamp(2rem, 6vw, 5rem); }
.article-head, .prose { max-width: 48rem; margin-inline: auto; }
.article-head { padding-bottom: 1.6rem; }
.article-categories { color: var(--green); font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.article-head h1 { margin: .5rem 0 .8rem; font: 700 clamp(2.35rem, 6.4vw, 5.35rem)/.99 var(--serif); letter-spacing: -.052em; overflow-wrap: anywhere; }
.standfirst { font-size: clamp(1.1rem, 2.6vw, 1.42rem); margin: 0 0 1rem; }
.byline { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding-top: .65rem; font-size: .9rem; }
.article-hero { max-width: 62rem; margin: 0 auto 2rem; }
.article-hero img { display: block; width: 100%; }
.article-hero figcaption { margin-top: .5rem; font-size: .9rem; }
.prose { font: 1.2rem/1.75 var(--serif); overflow-wrap: anywhere; }
.prose h2, .prose h3 { color: var(--deep); line-height: 1.16; text-wrap: pretty; }
.prose a { color: var(--green); text-decoration-thickness: .07em; text-underline-offset: .17em; }
.prose figure { max-width: 100%; margin-inline: 0; }
.prose blockquote { border-left: .3rem solid var(--green); margin-inline: 0; padding-left: 1rem; }
.prose .tags { font: .9rem/1.4 var(--sans); }
.case-study-steps { display: flex; flex-wrap: wrap; gap: .35rem; padding: .6rem; margin: 1.25rem 0 0; border-bottom: .24rem solid var(--lime); background: var(--deep); }
.case-study-steps button { min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid #6e9b8a; background: transparent; color: white; font: 750 .92rem/1.3 var(--sans); overflow-wrap: anywhere; }
.case-study-steps button[aria-selected="true"], .case-study-steps button:hover { border-color: var(--lime); background: var(--lime); color: var(--deep); }
.case-study-steps button:focus-visible { outline-color: white; outline-offset: 1px; }
.case-study-step { padding: clamp(1rem, 4vw, 2.2rem); border: 1px solid var(--line); background: var(--surface); }
.case-study-step h2:first-child { margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.podcast-featured { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 4vw, 2.5rem); margin-bottom: 2rem; padding: clamp(1.2rem, 4vw, 3rem); color: white; background: var(--deep); }
.podcast-featured-art { flex: 0 0 min(100%, 16rem); }
.podcast-featured-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.podcast-featured-copy { flex: 1 1 17rem; min-width: 0; }
.podcast-featured-copy p { margin: .6rem 0; }
.podcast-featured-copy .podcast-featured-label { color: var(--lime); font-size: .875rem; font-weight: 800; }
.podcast-featured h2 { margin: 0; font: 700 clamp(2rem, 4.5vw, 3.6rem)/1.04 var(--serif); overflow-wrap: anywhere; }
.podcast-featured h2 a { text-decoration: none; }
.podcast-featured h2 a:hover { text-decoration: underline; }
.podcast-listen { display: inline-block; margin-top: .75rem; padding: .55rem .85rem; background: var(--lime); color: var(--deep); text-decoration: none; font-weight: 800; }
.podcast-featured a:focus-visible { outline-color: var(--lime); }
.podcast-list { margin-top: 1rem; }
.podcast-list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; }
.podcast-list-head .section-title { flex: 1 1 12rem; }
.podcast-list-head > a { white-space: nowrap; color: var(--green); font-weight: 700; }
.podcast-search { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.podcast-search input, .podcast-search button, .podcast-player-controls button, .podcast-player-controls select { background: white; color: var(--deep); border: 1px solid var(--line); border-radius: .18rem; padding: .5rem .65rem; }
.podcast-search input { flex: 0 1 18rem; width: 100%; }
.podcast-search button, .podcast-player-controls button { font-weight: 750; }
.podcast-search button:hover, .podcast-player-controls button:hover { background: var(--lime); }
.podcast-episode-card { display: flex; align-items: flex-start; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.podcast-cover { flex: 0 0 6rem; }
.podcast-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.podcast-meta { display: flex; gap: .7rem; color: var(--muted); font-size: .875rem; }
.podcast-episode-card h3 { margin: .25rem 0; font: 700 clamp(1.35rem, 2.5vw, 2rem)/1.16 var(--serif); overflow-wrap: anywhere; }
.podcast-episode-card h3 a { text-decoration-thickness: 1px; text-underline-offset: .15em; }
.podcast-episode-card p { margin: .3rem 0 0; }
.podcast-player { display: flex; flex-wrap: wrap; gap: 1rem; max-width: 48rem; margin: 0 auto 1.8rem; padding: clamp(1rem, 3vw, 1.5rem); color: white; background: var(--deep); }
.podcast-player-body { flex: 1 1 16rem; min-width: 0; }
.podcast-player-body p { margin: 0 0 .65rem; }
.podcast-player-body p:last-child { margin: .75rem 0 0; }
.podcast-player-body span { color: var(--lime); margin-inline-start: .5rem; }
.podcast-player-body a { color: var(--lime); }
.podcast-player audio { display: block; width: 100%; }
.podcast-player-controls:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .65rem; }
.podcast-player-controls select { font: inherit; }
.podcast-position-link { width: 100%; margin-top: .55rem; border: 1px solid var(--line); background: var(--surface); color: var(--deep); padding: .55rem .65rem; }
.podcast-position-status:not(:empty) { margin-top: .6rem; color: #d2e4dc; font-size: .875rem; }
.podcast-position-status:empty { display: none; }
.podcast-chapters:not([hidden]) { display: block; margin-top: 1rem; }
.podcast-chapters summary { width: fit-content; cursor: pointer; font-weight: 700; }
.podcast-chapters ol { list-style: none; margin: .45rem 0 .75rem; padding: 0; }
.podcast-chapters li + li { border-top: 1px solid #436057; }
.podcast-chapters button { display: flex; gap: .65rem; align-items: baseline; width: 100%; padding: .55rem .25rem; border: 0; background: transparent; color: white; text-align: start; }
.podcast-chapters button:hover { text-decoration: underline; }
.podcast-chapters time { color: var(--lime); font-variant-numeric: tabular-nums; }
.podcast-chapters button[aria-current="true"] { background: #244a40; box-shadow: inset .2rem 0 var(--lime); padding-inline-start: .65rem; font-weight: 750; }
.podcast-timed-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.podcast-timed-lines li + li { border-top: 1px solid var(--line); }
.podcast-timed-lines button { display: flex; gap: .75rem; width: 100%; text-align: left; padding: .75rem .8rem; border: 0; background: transparent; color: var(--ink); overflow-wrap: anywhere; }
.podcast-timed-lines button time { flex: 0 0 auto; color: var(--green); font: 800 .875rem/1.75 var(--sans); }
.podcast-timed-lines button:hover:not(:disabled), .podcast-timed-lines button[aria-current="true"] { background: #e3eddc; box-shadow: inset .2rem 0 var(--green); }
.podcast-timed-lines button:disabled { cursor: default; }
.podcast-player-message { margin-top: .65rem; }
.podcast-player-message:empty { height: 0; margin: 0; overflow: hidden; }
.podcast-player :focus-visible { outline-color: var(--lime); }
.podcast-mini { position: fixed; z-index: 8; inset: auto max(1rem, (100% - 1240px) / 2) max(.8rem, env(safe-area-inset-bottom)) auto; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: .45rem; width: min(100% - 2rem, 39rem); padding: .65rem; border: 1px solid #487064; border-top: .2rem solid var(--lime); background: var(--deep); color: white; box-shadow: 0 .5rem 2rem #071f1b6b; }
.podcast-mini[hidden] { display: none; }
.podcast-mini-active { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
.podcast-mini-info { min-width: 0; padding-inline: .25rem; }
.podcast-mini-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podcast-mini-info > div { display: flex; align-items: center; gap: .6rem; color: #d6e6dc; font-size: .875rem; font-variant-numeric: tabular-nums; }
.podcast-mini progress { flex: 1 1 3rem; min-width: 0; height: .42rem; appearance: none; border: 0; border-radius: 1rem; overflow: hidden; background: #5e8276; color: var(--lime); }
.podcast-mini progress::-webkit-progress-bar { background: #5e8276; }
.podcast-mini progress::-webkit-progress-value { background: var(--lime); }
.podcast-mini progress::-moz-progress-bar { background: var(--lime); }
.podcast-mini button { min-height: 2.65rem; padding: .32rem .62rem; border: 1px solid #71978b; background: var(--deep); color: white; font-size: .875rem; font-weight: 750; }
.podcast-mini .podcast-mini-toggle, .podcast-mini button:hover { border-color: var(--lime); background: var(--lime); color: var(--deep); }
.podcast-mini :focus-visible { outline-color: var(--lime); outline-offset: 2px; }
.site-footer { background: var(--deep); color: white; }
.footer-inner { padding-block: 2rem; align-items: flex-start; }
.site-footer .wordmark { font-size: clamp(2.5rem, 6vw, 4rem); }
.footer-inner p { margin-bottom: 0; }
.site-footer ul { flex-wrap: wrap; gap: .65rem 1.25rem; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { color: #d2dfd7; border-top: 1px solid #436057; padding-block: .85rem; font-size: .875rem; }

@media (max-width: 820px) {
    .medipol-news { grid-template-columns: 1fr; }
    .spotlight { grid-template-columns: 1fr; }
    .spotlight-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spotlight-side .story:only-child { grid-column: 1 / -1; }
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .frame { width: calc(100% - 1.7rem); }
    .topbar-inner { gap: .4rem; font-size: .8rem; }
    .masthead { align-items: stretch; flex-direction: column; padding-block: 1.2rem; gap: .85rem; }
    .site-search input { flex: 1; width: 100%; }
    .breaking span, .breaking a { padding-inline: .6rem; }
    .story-lead .story-link { min-height: clamp(20rem, 105vw, 26rem); }
    .story-lead .story-link::before { background: linear-gradient(0deg, #061d19, #061d19db 46%, #061d1957 85%, #061d1914); }
    .story-lead h3 { font-size: clamp(2.05rem, 9.5vw, 3rem); }
    .spotlight-side { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .story-brief .story-link { min-height: 7.75rem; }
    .story-standard .story-copy { min-height: 0; }
    .story-grid { grid-template-columns: 1fr; }
    .medipol-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .medipol-results ul { grid-template-columns: 1fr; }
    .category-shelf { grid-template-columns: 1fr; gap: .75rem; }
    .footer-inner { flex-direction: column; }
    .podcast-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); inset-inline: .5rem; width: auto; }
    .podcast-mini-info { grid-column: 1 / -1; }
    .podcast-mini-active { padding-bottom: calc(7.5rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    .story-link:hover img { transform: none; }
    .story-media img { transition: none; }
}
