/* Climate Times theme. Simple and sleek: black, white, one teal. */

:root {
    --ink: #111111;
    --text: #222222;
    --muted: #555555;
    --rule: #111111;
    --soft-rule: #d6d6d6;
    --teal: #1F5A5C;
    --dark: #14292A;
    --light: #ffffff;
    --serif: var(--gh-font-body, 'Newsreader', Georgia, serif);
    --display: var(--gh-font-heading, 'Libre Caslon Display', Georgia, serif);
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --wrap: 1328px;
    --gutter: clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 400; margin: 0; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px; z-index: 10; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Shared type */
.label { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; display: inline-block; }
.meta, .caps-small { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--muted); }
.meta { display: block; margin-top: 10px; }
.meta-light, .light { color: #cfcfcf; }
.caps-link { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; }
.caps-link.light { color: #fff; }
.standfirst { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--text); margin: 16px 0 0; }
.empty-note { font-size: 16px; color: var(--muted); font-style: italic; }
.empty-note.light { color: #cfcfcf; }
.caption { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* Buttons */
.weekly-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 14px; padding: 0 24px; min-height: 48px; }
.weekly-btn:hover { text-decoration: none; background: #174647; }
.outline-btn { display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 13px; min-height: 48px; margin-top: 22px; }
.outline-btn.light { border-color: #fff; color: #fff; }

/* Header */
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1.5px solid var(--rule); gap: 12px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .weekly-btn { min-height: 64px; }
.menu-toggle { width: 44px; height: 44px; background: none; border: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); }
.search-btn { width: 44px; height: 44px; background: none; border: 0; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.masthead { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr); align-items: center; padding: 28px 0 24px; gap: 24px; }
.masthead-left { display: flex; align-items: center; gap: 14px; }
.masthead-note { font-size: 17px; line-height: 1.35; }
.masthead-right { text-align: right; justify-self: end; max-width: 240px; }
.site-title { text-align: center; font-family: var(--display); font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.site-title:hover { text-decoration: none; }
.site-nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.site-nav .nav { list-style: none; margin: 0; padding: 14px 0; display: flex; justify-content: center; flex-wrap: wrap; row-gap: 8px; }
.site-nav .nav-item a { display: block; padding: 2px 14px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px; white-space: nowrap; }
.site-nav .nav-item + .nav-item a { border-left: 1px solid var(--rule); }
.site-nav .nav-current a { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* Front page */
.front { display: flex; padding-top: 44px; align-items: flex-start; }
.front-lead { flex: 1 1 auto; min-width: 0; }
.front-middle { flex: 0 0 380px; }
.front-watch { flex: 0 0 340px; }
.front > :last-child { border-right: 0; }
.front-lead { padding-right: 36px; border-right: 1px solid var(--rule); }
.front-middle { padding: 0 32px; border-right: 1px solid var(--rule); }
.front-middle .card + .card { border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 28px; }
.front-watch { margin-left: 32px; }
.lead-link { display: block; }
.lead-link:hover { text-decoration: none; }
.lead-link:hover .lead-title { text-decoration: underline; text-decoration-thickness: 1px; }
.lead-title { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.08; margin-top: 12px; }
.lead-img { margin-top: 28px; width: 100%; aspect-ratio: 3 / 2; max-height: 560px; object-fit: cover; }

.dark-panel { background: var(--dark); color: #fff; }
.front-watch, .section-watch { padding: 24px; }
.panel-title { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.04em; font-size: 26px; margin-bottom: 16px; }
.vcard { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #2d4445; color: #fff; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(17,17,17,0) 0%, rgba(17,17,17,0.85) 100%); }
.play { position: absolute; top: 14px; left: 14px; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.vcard-text { position: absolute; left: 18px; right: 18px; bottom: 18px; display: block; }
.vcard-title { display: block; font-size: 23px; line-height: 1.2; margin-top: 6px; }
.vcard:hover { text-decoration: none; }
.watch-item { display: flex; gap: 16px; align-items: center; border-top: 1px solid #4a5f60; padding-top: 16px; margin-top: 16px; }
.watch-item img { width: 64px; height: 100px; object-fit: cover; flex: none; }
.watch-item-title { display: block; font-size: 18px; line-height: 1.25; }

/* Cards */
.card-link { display: block; }
.card-link:hover { text-decoration: none; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.card-title { font-size: 25px; line-height: 1.2; margin-top: 8px; }
.card-excerpt { font-size: 17px; color: var(--text); margin: 10px 0 0; }

/* Chart of the week card */
.chart-card-head { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; color: #fff; background: var(--teal); display: inline-block; padding: 7px 12px; margin-bottom: 14px; }
.chart-card-img { display: block; width: 100%; max-height: 340px; object-fit: contain; object-position: center top; background: #f4f6f5; border: 1px solid var(--soft-rule); margin-bottom: 14px; }
.chart-card .card-excerpt { display: none; }
.chart-card .card-title { font-size: 22px; }
.newsletter-solo { max-width: 760px; margin: 88px auto 0; }

/* Strip */
.strip { margin-top: 56px; border-top: 4px solid var(--rule); padding-top: 22px; }
.strip-head, .block-head, .band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numbered li + li { border-left: 1px solid var(--rule); padding-left: 24px; }
.numbered a { display: flex; gap: 14px; }
.num { font-size: 40px; line-height: 0.9; }
.numbered-title { display: block; font-size: 19px; line-height: 1.3; }

/* People */
.people-band { margin-top: 72px; padding: 0 0 72px; }
.people-band .band-head { border-top: 4px solid #fff; padding-top: 34px; margin-bottom: 40px; }
.band-title { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(34px, 3.5vw, 48px); }
.band-sub { font-size: 19px; color: #cfcfcf; margin: 8px 0 0; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person { display: block; color: #fff; }
.person + .person { border-left: 1px solid #4a5f60; padding-left: 32px; }
.person:hover { text-decoration: none; }
.person-top { display: flex; gap: 22px; align-items: flex-start; }
.person-top img { width: 120px; height: 150px; object-fit: cover; flex: none; }
.person-name { font-size: 26px; line-height: 1.2; }
.person-quote { font-size: 22px; line-height: 1.4; font-style: italic; color: #e6e6e6; margin: 22px 0 18px; }

/* Blocks */
.section-block { margin-top: 72px; border-top: 4px solid var(--rule); padding-top: 22px; }
.block-title { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(28px, 3vw, 40px); margin-bottom: 28px; }
.block-head .block-title { margin-bottom: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-4 > * + * { border-left: 1px solid var(--rule); padding-left: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 28px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; margin-top: 88px; align-items: start; }
.chart-block { border-top: 4px solid var(--rule); padding-top: 24px; }
.chart-title { font-size: 34px; line-height: 1.15; margin: 12px 0 24px; }

/* Newsletter */
.newsletter { border-top: 4px solid var(--rule); padding-top: 24px; }
.newsletter-title { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin-top: 10px; }
.newsletter-text { font-size: 19px; color: #333; }
.newsletter-row { display: flex; margin-top: 8px; }
.newsletter-row input { flex: 1; min-width: 0; border: 1.5px solid var(--ink); border-right: 0; padding: 0 16px; min-height: 52px; font-family: var(--serif); font-size: 18px; border-radius: 0; }
.newsletter-row button { background: var(--teal); color: #fff; border: 1.5px solid var(--ink); padding: 0 26px; min-height: 52px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 14px; }
.form-msg { display: none; font-size: 16px; }
.newsletter-form.success .form-success, .newsletter-form.error .form-error { display: block; }
.newsletter-form.loading button { opacity: 0.6; }

/* Section (tag) pages */
.section-header { text-align: center; padding: 56px 0 28px; border-bottom: 1px solid var(--rule); }
.section-name { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(42px, 6vw, 76px); line-height: 1.05; }
.section-desc { font-size: 21px; color: #333; max-width: 720px; margin: 14px auto 0; }
.section-top { display: flex; padding-top: 44px; align-items: flex-start; }
.section-lead { flex: 1 1 auto; min-width: 0; }
.section-watch { flex: 0 0 340px; }
.section-top > :last-child { border-right: 0; padding-right: 0; }
.section-lead { padding-right: 36px; border-right: 1px solid var(--rule); }
.section-lead-link { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.section-lead-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section-lead-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; margin-top: 12px; }
.section-watch { margin-left: 32px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 56px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; }
.pagination a { border: 1.5px solid var(--ink); padding: 14px 22px; }

/* Story (NYT-style, left aligned single column) */
.story-col { max-width: 780px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.story-bar { border-bottom: 1px solid var(--soft-rule); }
.story-bar-inner { display: flex; align-items: center; gap: 18px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.story-bar-section { font-family: var(--sans); font-weight: 700; font-size: 17px; padding-right: 18px; border-right: 1px solid var(--soft-rule); }
.story-bar-desc { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.story-head { padding-top: 48px; }
.story-head .story-title, .page-story .story-title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; margin: 0; max-width: 860px; }
.story-standfirst { font-size: clamp(21px, 2vw, 27px); line-height: 1.4; color: #3a3a3a; margin: 18px 0 0; max-width: 860px; }
.story-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--soft-rule); margin-top: 28px; padding-top: 18px; }
.story-tools .meta { margin: 0; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.share-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #cfcfcf; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.share-pill:hover { border-color: var(--ink); text-decoration: none; }
.story-hero { margin-top: 28px; margin-bottom: 0; }
.story-hero img { width: 100%; }
.story-caption { font-size: 16px; line-height: 1.45; color: var(--muted); margin-top: 10px; }
.story-byline { display: flex; align-items: center; margin-top: 36px; }
.byline-faces { display: flex; }
.byline-faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-right: 12px; }
.byline-name { font-family: var(--sans); font-weight: 600; font-size: 16px; }
.byline-name a { text-decoration: underline; text-underline-offset: 3px; }
.byline-role { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 4px; }
.story-date { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 12px; }
.story-date::after { content: ""; display: block; border-bottom: 1px solid var(--soft-rule); margin-top: 28px; }
.story-text { margin-top: 32px; }
.story-text > figure, .story-text > .kg-width-wide, .story-text > .kg-width-full { max-width: none; }
.story-foot { margin-top: 48px; }
.read-next { border-top: 4px solid var(--rule); padding-top: 18px; margin-top: 48px; }
.read-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.read-next-grid .card-title { font-size: 21px; }
.story-col > .newsletter { margin-top: 72px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list a { border: 1px solid var(--ink); padding: 10px 14px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 600; }
.page-story .story-head { text-align: left; }
.page-story .gh-content { margin-top: 40px; }
.error-page { padding: 96px var(--gutter); text-align: center; }

/* Article content (Ghost editor output) */
.gh-content { font-size: 21px; line-height: 1.65; }
.gh-content > * + * { margin-top: 26px; }
.gh-content p, .gh-content ul, .gh-content ol { margin: 0; }
.gh-content > * + p, .gh-content > * + ul, .gh-content > * + ol { margin-top: 26px; }
.gh-content h2 { font-size: 32px; line-height: 1.2; margin-top: 48px; }
.gh-content h3 { font-size: 25px; line-height: 1.25; margin-top: 40px; }
.gh-content a { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gh-content blockquote { margin: 34px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0; font-size: 30px; line-height: 1.3; font-style: italic; }
.gh-content blockquote.kg-blockquote-alt { border: 0; text-align: center; font-size: 32px; }
.gh-content figure { margin: 34px 0; }
.gh-content figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; text-align: left; }
.gh-content hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.gh-content .kg-callout-card { border-radius: 0; font-size: 18px; }
.gh-content .kg-video-card { max-width: 100%; }
.gh-content .kg-video-card:not(.is-portrait) .kg-video-container,
.gh-content .kg-video-card:not(.is-portrait) video { width: 100%; max-width: 100%; height: auto; }
.kg-width-wide { margin-left: 0; margin-right: 0; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.kg-width-full img { width: 100%; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 44px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-title { font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.footer-blurb { font-size: 18px; line-height: 1.55; color: #cfcfcf; margin: 16px 0 26px; max-width: 440px; }
.site-footer .nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-sections .nav a { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.04em; font-size: 16px; }
.footer-links .nav a { font-size: 17px; }
.footer-bottom { border-top: 1px solid #444; margin-top: 52px; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border: 1px solid #777; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--sans); text-transform: uppercase; font-size: 12px; font-weight: 700; }
.copyright { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; line-height: 1.8; color: #aaa; margin: 0; max-width: 100%; overflow-wrap: anywhere; }

/* Menu toggle only needed on small screens */
@media (min-width: 901px) { .menu-toggle { display: none; } }

/* Tablet */
@media (max-width: 1100px) {
    .front { flex-wrap: wrap; }
    .front-lead { flex: 1 1 100%; padding-right: 0; border-right: 0; padding-bottom: 32px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
    .front-middle { flex: 1 1 0; padding-left: 0; }
    .front-watch { flex: 0 0 320px; }
    .site-nav .nav-item a { font-size: 14px; padding: 2px 10px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .grid-4 > :nth-child(odd) { border-left: 0; padding-left: 0; }
    .kg-width-wide { margin-left: 0; margin-right: 0; }
}

/* Phone */
@media (max-width: 900px) {
    body { font-size: 17px; }
    .hide-mobile { display: none; }
    .topbar .weekly-btn { min-height: 44px; padding: 0 14px; font-size: 12px; }
    .masthead { grid-template-columns: 1fr; justify-items: center; padding: 20px 0 16px; gap: 10px; }
    .masthead-left { order: 2; }
    .masthead-left a { display: none; }
    .masthead-note { font-size: 14px; text-align: center; }
    .masthead-note br { display: none; }
    .masthead-right { display: none; }
    .site-title { font-size: clamp(32px, 10vw, 56px); white-space: normal; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .site-nav .nav { flex-direction: column; align-items: stretch; padding: 8px 0; }
    .site-nav .nav-item a { padding: 12px 0; text-align: center; }
    .site-nav .nav-item + .nav-item a { border-left: 0; border-top: 1px solid var(--soft-rule); }
    .front, .section-top { flex-direction: column; align-items: stretch; padding-top: 24px; }
    .front-middle, .front-watch, .section-watch { flex: none; width: 100%; }
    .front-lead { margin-bottom: 0; }
    .front-middle { padding: 0; border-right: 0; }
    .front-watch, .section-watch { margin: 32px 0 0; }
    .section-lead { padding-right: 0; border-right: 0; }
    .section-lead-link { grid-template-columns: 1fr; gap: 18px; }
    .numbered { grid-template-columns: 1fr; gap: 0; }
    .numbered li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
    .numbered li { padding: 16px 0; }
    .people-grid { grid-template-columns: 1fr; gap: 0; }
    .person + .person { border-left: 0; padding-left: 0; border-top: 1px solid #4a5f60; padding-top: 28px; margin-top: 28px; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
    .two-col { grid-template-columns: 1fr; gap: 56px; margin-top: 56px; }
    .two-col > div:empty { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .gh-content { font-size: 19px; }
    .story-head { padding-top: 28px; }
    .read-next-grid { grid-template-columns: 1fr; }
    .story-bar-desc { display: none; }
}

/* ---- Watch band (home): its own full-width row under the lead story ---- */
.front-middle { flex-basis: 420px; padding-right: 0; }
.watch-band { margin-top: 56px; padding: 0 0 64px; }
.watch-band .band-head { border-top: 4px solid #fff; padding-top: 34px; margin-bottom: 36px; }
.watch-row { display: flex; gap: 32px; align-items: flex-start; }
.watch-thumb { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #0e1d1e; }
.watch-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.watch-feature, .watch-small { color: #fff; text-decoration: none; }
.watch-feature:hover img, .watch-small:hover img { transform: scale(1.03); }
.watch-feature { flex: 1 1 auto; display: flex; gap: 36px; align-items: center; min-width: 0; }
.watch-feature .watch-thumb { flex: 0 0 300px; }
.watch-feature-text { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.watch-feature-title { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.watch-feature-excerpt { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: #d6d6d6; }
.watch-feature .outline-btn { align-self: flex-start; margin-top: 6px; }
.watch-small { flex: 0 0 180px; display: flex; flex-direction: column; gap: 12px; }
.watch-small-title { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.play-sm { width: 36px; height: 36px; top: 10px; left: 10px; }
@media (max-width: 900px) {
    .front-middle { flex-basis: auto; }
    .watch-band { margin-top: 40px; }
    .watch-row { flex-wrap: wrap; gap: 24px; }
    .watch-feature { flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 20px; }
    .watch-feature .watch-thumb { flex: none; width: 100%; max-width: 360px; }
    .watch-small { flex: 0 0 calc(50% - 12px); }
}

/* ---- Pop-up video player ---- */
.no-scroll { overflow: hidden; }
.player { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 20, 21, 0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.player.is-open { display: flex; }
.player-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.player-frame { width: min(420px, 90vw, calc((100vh - 140px) * 9 / 16)); aspect-ratio: 9 / 16; background: #000; }
.player-frame video, .player-frame iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.player-close { position: absolute; top: -8px; right: -56px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #14292A; font-size: 28px; line-height: 1; cursor: pointer; }
.player-more { color: #fff; font-family: Inter, -apple-system, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid #8CC8C0; padding-bottom: 2px; }
@media (max-width: 600px) {
    .player { padding: 12px; }
    .player-close { top: -4px; right: 4px; z-index: 2; }
    .player-frame { width: min(92vw, calc((100vh - 110px) * 9 / 16)); }
}

/* ---- Watch carousel (BBC-style playlist, large cards) ---- */
.watch-band .band-head { display: flex; justify-content: space-between; align-items: flex-end; }
.watch-nav { display: flex; align-items: center; gap: 12px; }
.watch-arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.watch-arrow:hover { background: #fff; color: #14292A; }
.watch-arrow[disabled] { opacity: .3; cursor: default; background: transparent; color: #fff; }
.watch-nav .caps-link { margin-left: 14px; }
.watch-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.watch-track::-webkit-scrollbar { display: none; }
.watch-card { position: relative; flex: 0 0 320px; aspect-ratio: 9 / 16; overflow: hidden; background: #0e1d1e; color: #fff; text-decoration: none; scroll-snap-align: start; }
.watch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.watch-card:hover img { transform: scale(1.04); }
.watch-card-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,20,21,0) 40%, rgba(10,20,21,.55) 62%, rgba(10,20,21,.95) 100%); }
.watch-card-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.watch-card-time { display: inline-flex; align-items: center; gap: 8px; font-family: Inter, -apple-system, sans-serif; font-weight: 600; font-size: 17px; }
.watch-card-title { font-family: var(--serif); font-size: 30px; line-height: 1.12; }
.watch-card:focus-visible { outline: 3px solid #8CC8C0; outline-offset: 3px; }
@media (max-width: 900px) {
    .watch-arrow { display: none; }
    .watch-track { gap: 14px; margin-right: -20px; padding-right: 20px; }
    .watch-card { flex-basis: 68vw; max-width: 300px; }
    .watch-card-title { font-size: 24px; }
}

/* ---- Player as a swipeable feed ---- */
.player { touch-action: none; overscroll-behavior: contain; }
.player-inner { flex-direction: column; }
.player-info { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: min(420px, 90vw); text-align: center; color: #fff; }
.player-count { font-family: Inter, -apple-system, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .08em; color: #8CC8C0; }
.player-title { font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.player-nav { position: absolute; right: -64px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.player-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: rgba(20,41,42,.6); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.player-nav button:hover:not([disabled]) { background: #fff; color: #14292A; }
.player-nav button[disabled] { opacity: .25; cursor: default; }
.player-hint { font-family: Inter, -apple-system, sans-serif; font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.player-frame.slide-up { animation: ctSlideUp .4s ease; }
.player-frame.slide-down { animation: ctSlideDown .4s ease; }
@keyframes ctSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ctSlideDown { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) {
    .player-nav { right: 6px; top: auto; bottom: 120px; transform: none; }
    .player-nav button { width: 42px; height: 42px; }
    .player-title { font-size: 17px; }
    .player-frame { width: min(92vw, calc((100vh - 170px) * 9 / 16)); }
}

/* ---- Video section page: grid of 9:16 cards ---- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 8px 0 56px; }
.video-grid .watch-card { flex: none; width: 100%; }
.watch-card-date { font-family: Inter, -apple-system, sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .video-grid .watch-card { max-width: none; } .video-grid .watch-card-title { font-size: 20px; } .video-grid .watch-card-text { padding: 14px 14px 16px; gap: 6px; } }

/* ---- Video posts inside section pages and story grids ---- */
.card-img-wrap { position: relative; display: block; }
.card-video .card-img-wrap { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 16px; background-size: cover; background-position: center; background-color: #14292A; }
.card-video .card-img-wrap::before { content: ""; position: absolute; inset: -30px; background: inherit; filter: blur(22px) brightness(0.6); }
.card-video .card-img { position: relative; z-index: 1; height: 100%; aspect-ratio: auto; object-fit: contain; margin-bottom: 0; }
.card-video .card-play { z-index: 2; bottom: 12px; }
.card-play { position: absolute; left: 12px; bottom: 28px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.section-lead-video { grid-template-columns: 300px 1fr; align-items: center; }
.section-lead-video .lead-video-card { display: block; flex: none; width: 100%; }
.lead-is-video .section-watch { display: none; }
.lead-is-video .section-lead { border-right: 0; padding-right: 0; }
@media (max-width: 900px) {
    .section-lead-video { grid-template-columns: 1fr; }
    .section-lead-video .lead-video-card { max-width: 340px; }
}

/* Portrait (9:16) video cards inside articles: float right so text wraps */
.gh-content .kg-video-card.is-portrait,
.story-text .kg-video-card.is-portrait { float: right; clear: right; width: 300px; max-width: 42%; margin: 6px 0 24px 32px; }
.gh-content .kg-video-card.is-portrait + *,
.story-text .kg-video-card.is-portrait + * { margin-top: 0; }
.gh-content h2, .gh-content h3, .story-text h2, .story-text h3 { overflow: hidden; }
.gh-content::after, .story-text::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) {
  .gh-content .kg-video-card.is-portrait,
  .story-text .kg-video-card.is-portrait { float: none; width: 100%; max-width: 340px; margin: 24px auto; }
}

/* Video posts (#video): the video is the story, so show portrait videos large and centred, not floated */
.tag-hash-video .gh-content .kg-video-card.is-portrait,
.tag-hash-video .story-text .kg-video-card.is-portrait { float: none; width: 100%; max-width: 460px; margin: 10px auto 34px; }
.tag-hash-video .gh-content .kg-video-card.is-portrait video { width: 100%; height: auto; }

/* =========================================================
   v2 redesign (Nov 2026): video first, people first, modern
   ========================================================= */
.show-mobile { display: none; }
@media (max-width: 900px) { .hide-mobile { display: none !important; } .show-mobile { display: inline; } }

/* Header: slim, modern */
.hdr { background: #fff; border-bottom: 1px solid #E3E9E8; position: relative; z-index: 5; }
.hdr-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.hdr-brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--dark); }
.hdr-brand:hover { text-decoration: none; }
.hdr-tile { width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 19px; }
.hdr-name { font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 26px; letter-spacing: -0.01em; white-space: nowrap; }
.hdr-nav { flex: 1 1 auto; min-width: 0; }
.hdr-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 20px; flex-wrap: wrap; }
.hdr-nav .nav-item a { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--dark); white-space: nowrap; padding: 6px 0; display: block; }
.hdr-nav .nav-current a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hdr-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr-icon { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #D5DEDC; background: #fff; color: var(--dark); display: flex; align-items: center; justify-content: center; }
.hdr-link { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--dark); }
.hdr-cta { font-family: var(--sans); background: var(--teal); color: #fff; font-size: 14px; font-weight: 700; padding: 0 18px; min-height: 44px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; }
.hdr-cta:hover { background: #174647; text-decoration: none; }
@media (max-width: 1180px) { .hdr-row { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; } .hdr-nav { order: 3; flex-basis: 100%; } }
@media (max-width: 900px) {
    .hdr-row { min-height: 0; gap: 10px; justify-content: space-between; }
    .hdr-tile { width: 34px; height: 34px; font-size: 16px; border-radius: 9px; }
    .hdr-name { font-size: 22px; }
    .hdr-nav { margin: 0 calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
    .hdr-nav::-webkit-scrollbar { display: none; }
    .hdr-nav .nav { flex-wrap: nowrap; gap: 8px; padding: 2px var(--gutter) 4px; }
    .hdr-nav .nav-item a { background: #EEF3F2; border-radius: 999px; padding: 10px 14px; }
    .hdr-nav .nav-current a { background: var(--dark); color: #fff; text-decoration: none; }
    .hdr-actions { gap: 8px; }
    .hdr-cta { padding: 0 14px; font-size: 13px; }
}

/* Shared homepage pieces */
.hp-kicker { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); }
.hp-kicker.light { color: #8CC8C0; }
.hp-kicker.dark { color: var(--dark); }
.hp-meta { display: block; font-family: var(--sans); font-size: 13px; color: #5A6E6F; margin-top: 8px; }
.hp-more { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.hp-more.light { color: #fff; }
.hp-section { margin-top: 56px; }
.hp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; border-top: 2px solid var(--dark); padding-top: 18px; margin-bottom: 24px; }
.hp-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--dark); margin-top: 4px; }
.hp-sub { font-family: var(--sans); font-size: 16px; color: #3B5253; margin: 6px 0 0; max-width: 680px; }

/* 1. Watch band at the top */
.hp-watch { background: var(--dark); color: #fff; padding: 40px 0 48px; }
.hp-watch-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.hp-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8CC8C0; margin-bottom: 12px; }
.hp-dot { width: 8px; height: 8px; border-radius: 4px; background: #8CC8C0; }
.hp-watch-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.01em; }
.hp-watch-sub { font-family: var(--sans); font-size: 17px; color: #C9E3DF; margin: 10px 0 0; }
.hp-watch .watch-arrow { width: 44px; height: 44px; border: 1px solid #3E5F60; }
.hp-watch .watch-track { gap: 16px; }
.hp-watch .watch-card { flex: 0 0 236px; border-radius: 16px; }
.hp-watch .watch-card-text { padding: 16px 16px 18px; gap: 8px; }
.hp-watch .watch-card-time { font-size: 13px; }
.hp-watch .watch-card-title { font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.25; }
.hp-badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: #8CC8C0; color: var(--dark); font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 900px) {
    .hp-watch { padding: 26px 0 30px; }
    .hp-watch .watch-card { flex-basis: 46vw; max-width: 200px; }
    .hp-watch .watch-card-title { font-size: 15px; }
}

/* 2. Latest news */
.hp-latest { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.hp-lead-link { display: flex; flex-direction: column; gap: 14px; color: var(--dark); }
.hp-lead-link:hover { text-decoration: none; }
.hp-lead-link:hover .hp-lead-title { text-decoration: underline; text-decoration-thickness: 1px; }
.hp-lead-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 4px; }
.hp-lead-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.01em; }
.hp-lead-excerpt { font-family: var(--sans); font-size: 18px; line-height: 1.5; color: #3B5253; margin: 0; }
.hp-aside { display: flex; flex-direction: column; gap: 24px; }
.hp-box { display: block; border: 1px solid #E3E9E8; border-radius: 18px; padding: 22px; color: var(--dark); }
.hp-box:hover { text-decoration: none; border-color: var(--teal); }
.hp-chart img { width: 100%; max-height: 260px; object-fit: contain; object-position: center top; background: #F3F7F6; border-radius: 10px; margin: 12px 0; }
.hp-box-title { display: block; font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: 24px; line-height: 1.15; }
.hp-today-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hp-list { list-style: none; margin: 0; padding: 0; }
.hp-list li { border-top: 1px solid #E3E9E8; padding: 12px 0; }
.hp-list a { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--dark); }
.hp-list .hp-meta { margin-top: 4px; font-size: 12px; }
.hp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hp-more-news { margin-top: 36px; border-top: 1px solid #E3E9E8; padding-top: 24px; }
.hp-text-card { display: flex; flex-direction: column; gap: 8px; color: var(--dark); }
.hp-text-card:hover { text-decoration: none; }
.hp-text-card:hover .hp-text-title { text-decoration: underline; text-decoration-thickness: 1px; }
.hp-text-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.2; }
.hp-card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
@media (max-width: 900px) {
    .hp-section { margin-top: 36px; }
    .hp-latest { grid-template-columns: 1fr; gap: 28px; }
    .hp-grid-3 { grid-template-columns: 1fr; gap: 22px; }
    .hp-title { font-size: 26px; }
}

/* 4. People: vertical photo cards */
.hp-people { margin-top: 56px; background: #F3F7F6; border-radius: 24px; padding: 32px; }
.hp-people .hp-head { border-top: 0; padding-top: 0; }
.hp-people-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hp-people-track::-webkit-scrollbar { display: none; }
.hp-person { position: relative; flex: 0 0 236px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #C9DCD9; color: #fff; scroll-snap-align: start; }
.hp-person:hover { text-decoration: none; }
.hp-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hp-person:hover img { transform: scale(1.04); }
.hp-person-title { position: absolute; left: 16px; right: 16px; bottom: 18px; font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.25; }
@media (max-width: 900px) {
    .hp-people { margin-top: 36px; padding: 22px; border-radius: 20px; }
    .hp-person { flex-basis: 46vw; max-width: 200px; }
    .hp-person-title { font-size: 15px; }
}

/* 5. Newsletter band */
.hp-newsletter { margin: 56px 0 24px; background: var(--teal); color: #fff; border-radius: 24px; padding: 40px; }
.hp-newsletter .newsletter { border-top: 0; padding-top: 0; }
.hp-newsletter .label { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: #8CC8C0; }
.hp-newsletter .newsletter-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; color: #fff; }
.hp-newsletter .newsletter-text { color: #D6EBE8; font-family: var(--sans); font-size: 17px; }
.hp-newsletter .caps-small { color: #D6EBE8; }
.hp-newsletter .newsletter-row { gap: 10px; flex-wrap: wrap; }
.hp-newsletter .newsletter-row input { border: 0; border-radius: 999px; padding: 0 20px; font-family: var(--sans); font-size: 16px; }
.hp-newsletter .newsletter-row button { border: 0; border-radius: 999px; background: #8CC8C0; color: var(--dark); font-weight: 800; }
.hp-newsletter .form-msg { color: #fff; }
@media (max-width: 900px) { .hp-newsletter { padding: 24px; border-radius: 20px; margin-top: 36px; } }
/* Header: section links on their own row, so the bar never wraps awkwardly */
.hdr-row { flex-wrap: wrap; row-gap: 0; justify-content: space-between; }
.hdr-nav { order: 3; flex-basis: 100%; border-top: 1px solid #EEF3F2; padding: 10px 0 12px; }
.hdr-nav .nav { gap: 6px 26px; }
@media (min-width: 901px) { .hdr-row { min-height: 0; padding-top: 14px; } .hdr-brand, .hdr-actions { padding-bottom: 12px; } }
@media (max-width: 900px) { .hdr-nav { border-top: 0; padding: 0 0 4px; } }

/* =========================================================
   v1.2 tidy (Nov 2026): classic and simple. No pills, no
   bubbles, no small-caps kickers. Square corners, rules and
   plain sentence-case labels.
   ========================================================= */
.hp-label { display: block; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--dark); letter-spacing: 0; text-transform: none; }

/* Header: square brand tile, plain icon, plain text links */
.hdr-tile { border-radius: 2px; }
.hdr-icon { border: 0; border-radius: 0; width: 40px; }
.hdr-cta { border-radius: 2px; }
@media (max-width: 900px) {
    .hdr-nav .nav { gap: 22px; }
    .hdr-nav .nav-item a { background: none; border-radius: 0; padding: 8px 0; }
    .hdr-nav .nav-current a { background: none; color: var(--dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

/* Square corners on images and cards */
.hp-watch .watch-card, .hp-person, .hp-lead-img, .hp-card-img, .hp-chart img { border-radius: 2px; }
.hp-box { border: 0; border-radius: 0; padding: 0; }
.hp-box:hover .hp-box-title { text-decoration: underline; text-decoration-thickness: 1px; }

/* People: no grey panel, same rule-and-heading as every other section */
.hp-people { background: none; border-radius: 0; padding: 0; margin-top: 56px; }
.hp-people .hp-head { border-top: 2px solid var(--dark); padding-top: 18px; }
@media (max-width: 900px) { .hp-people { margin-top: 36px; padding: 0; border-radius: 0; } }

/* Newsletter: square band, plain label, square fields */
.hp-newsletter { border-radius: 0; }
.hp-newsletter .label { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff; }
.hp-newsletter .caps-small { text-transform: none; letter-spacing: 0; font-size: 14px; }
.hp-newsletter .newsletter-row input, .hp-newsletter .newsletter-row button { border-radius: 2px; }
.hp-newsletter .newsletter-row button { text-transform: none; letter-spacing: 0; font-size: 16px; }
@media (max-width: 900px) { .hp-newsletter { border-radius: 0; } }

/* v1.2.1: more stories under the lead (fills the gap beside the aside); keep faces in card crops */
.hp-lead .hp-more-news { margin-top: 32px; border-top: 1px solid #E3E9E8; padding-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.hp-lead .hp-more-news .hp-text-card { border-bottom: 1px solid #E3E9E8; padding: 18px 0; }
.hp-lead .hp-more-news .hp-text-title { font-size: 21px; }
@media (max-width: 900px) { .hp-lead .hp-more-news { grid-template-columns: 1fr; } }
.hp-card-img, .hp-lead-img { object-position: 50% 22%; }
.hp-sub { max-width: 860px; }

/* v1.3: The Electric Age series badge, matches the social banner label */
.hp-series-badge { margin: 0 0 14px; line-height: 1; }
.hp-series-badge a { display: inline-block; background: #1F5A5C; color: #fff; text-decoration: none; font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; font-size: 46px; padding: 14px 26px 16px; border-radius: 10px; }
.hp-series-badge a:hover { background: #14292A; }
@media (max-width: 900px) { .hp-series-badge a { font-size: 30px; padding: 11px 18px 12px; border-radius: 8px; } }

/* v1.3.1: full-width video embeds (YouTube, Vimeo etc) in posts */
.kg-embed-card { display: block; width: 100%; margin: 32px 0; }
.kg-embed-card iframe[src*="youtube"], .kg-embed-card iframe[src*="youtu.be"], .kg-embed-card iframe[src*="vimeo"] {
  width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; display: block;
}
.kg-embed-card figcaption { font-size: 15px; color: #555; margin-top: 8px; }

/* v1.4.0: pinned Electric Age video, full width of the section */
.hp-video { margin: 8px 0 36px; }
.hp-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.hp-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hp-video figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.hp-video-title { font-family: var(--serif, Georgia, serif); font-size: 30px; line-height: 1.2; font-weight: 700; color: inherit; max-width: 900px; }
@media (max-width: 900px) { .hp-video { margin: 4px 0 28px; } .hp-video-title { font-size: 22px; } }

/* v1.5.0: tagline under the masthead name */
.hdr-text { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-tagline { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; font-size: 15px; color: #4A5A5A; margin-top: 3px; white-space: nowrap; }
@media (max-width: 700px) { .hdr-tagline { font-size: 12.5px; white-space: normal; max-width: 210px; } }

/* v1.5.1: mobile header - brand and actions on one row, tagline full width underneath */
.hdr-tagline-m { display: none; }
@media (max-width: 900px) {
    .hdr-row { flex-wrap: wrap; }
    .hdr-brand { order: 1; }
    .hdr-actions { order: 2; margin-left: auto; }
    .hdr-tagline { display: none; }
    .hdr-tagline-m { display: block; order: 3; flex-basis: 100%; margin: 2px 0 2px; font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 15px; line-height: 1.3; color: #4A5A5A; }
    .hdr-nav { order: 4; }
}
@media (max-width: 900px) { .hdr-icon { width: 38px; height: 38px; } .hdr-cta { min-height: 38px; padding: 0 12px; } .hdr-row { column-gap: 8px; } }
@media (max-width: 400px) { .hdr-name { font-size: 20px; } .hdr-brand { gap: 8px; } .hdr-tile { width: 30px; height: 30px; font-size: 14px; } }

/* v1.5.4: loading state in the video player */
.player-loading { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; font-family: var(--sans); font-size: 16px; background: #000; }
.player-loading a { color: #8CC8C0; }

/* v1.6.0: TikTok-style full-screen player on mobile */
@media (max-width: 700px) {
    .player { padding: 0; background: #000; top: 0; left: 0; right: auto; bottom: auto; width: 100vw; height: 100dvh; }
    .player-inner { position: static; width: 100vw; height: 100dvh; gap: 0; }
    .player-frame { position: absolute; inset: 0; width: 100vw; height: 100dvh; aspect-ratio: auto; }
    .player-frame video { object-fit: cover; }
    .player-frame.is-landscape video, .player-frame iframe { object-fit: contain; }
    .player-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; left: auto; width: 40px; height: 40px; font-size: 26px; background: rgba(0,0,0,.45); color: #fff; z-index: 3; }
    .player-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; align-items: flex-start; text-align: left; max-width: none; gap: 4px;
        padding: 40px 72px calc(env(safe-area-inset-bottom, 0px) + 14px) 16px; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0)); pointer-events: none; }
    .player-info a { pointer-events: auto; }
    .player-count { display: none; }
    .player-title { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .player-more { font-size: 12px; letter-spacing: .05em; }
    .player-nav { display: none; }
    .player-hint { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); left: 16px; z-index: 3; font-size: 12px; }
    .player-paused { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
    .player-frame.is-paused .player-paused { display: flex; }
    .player-paused span { width: 72px; height: 72px; border-radius: 50%; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; }
    .player-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); z-index: 3; }
    .player-progress i { display: block; height: 100%; width: 0; background: #8CC8C0; }
    .player-unmute { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); left: 16px; z-index: 4; display: none; padding: 9px 14px; border: 0; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff; font: 600 14px/1 var(--sans); }
    .player-frame.is-muted .player-unmute { display: block; }
}
