@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --background: #f8f7f4;
  --surface: #fff;
  --text: #111a2c;
  --muted: #505a6e;
  --line: #e5e4e1;
  --blue: #1646d9;
  --accent: #1646d9;
  --accent-soft: #edf2ff;
  --gold: #ffd361;
  --dark: #101827;
  --heading: Manrope, system-ui, sans-serif;
  font-family: "DM Sans", system-ui, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #101521;
  --surface: #181f2d;
  --text: #f5f6fa;
  --muted: #aeb9cf;
  --line: #303a4c;
  --accent: #a5b9ff;
  --accent-soft: #252f49;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: var(--heading); }
:focus-visible { outline: 3px solid #e69c0a; outline-offset: 4px; }
.shell { width: min(100% - 3rem, 82rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; top: .5rem; left: .5rem; background: var(--surface); color: var(--text); padding: .75rem; }

.site-header { background: var(--surface); }
.masthead { min-height: 5.4rem; display: flex; align-items: center; justify-content: space-between; gap: clamp(.9rem, 2vw, 2rem); }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; font-size: 1.65rem; font-weight: 800; line-height: 1; letter-spacing: -.065em; }
.brand > span:not(.brand-mark) > span { color: var(--accent); }
.brand small { display: block; margin-top: .38rem; font: 800 .61rem/1 var(--heading); letter-spacing: .14em; color: var(--muted); }
.brand-mark { width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: .7rem; background: var(--blue); color: white; }
.play { display: inline-block; width: 0; height: 0; border-block: .34rem solid transparent; border-left: .54rem solid currentColor; }
.brand-mark .play { margin-left: .16rem; border-block-width: .47rem; border-left-width: .72rem; }
.masthead nav { display: flex; align-items: stretch; gap: clamp(.75rem, 1.45vw, 1.45rem); align-self: stretch; }
.masthead nav a { display: flex; align-items: center; position: relative; white-space: nowrap; font-weight: 700; font-size: .94rem; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--accent); }
.masthead nav a[aria-current]::after { content: ""; height: 3px; background: var(--accent); position: absolute; bottom: 0; inset-inline: 0; border-radius: 3px 3px 0 0; }
.header-actions, .site-search { display: flex; align-items: center; gap: .5rem; }
.site-search { position: relative; border: 1px solid var(--line); border-radius: .65rem; background: var(--background); padding-left: .7rem; }
.site-search input { width: clamp(7rem, 12vw, 10rem); min-width: 0; background: transparent; border: 0; font-size: .875rem; }
.site-search input::placeholder { color: var(--muted); }
.icon-button { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); }
.icon-button:hover { background: var(--accent-soft); color: var(--accent); }
.search-button { background: transparent; border: 0; }
.search-icon { display: block; width: .85rem; height: .85rem; border: 1.7px solid currentColor; border-radius: 50%; position: relative; margin: 0 .2rem .2rem 0; }
.search-icon::after { content: ""; width: .4rem; height: 1.7px; background: currentColor; position: absolute; top: .65rem; left: .59rem; transform: rotate(45deg); transform-origin: left; }
.search-suggestions { position: absolute; z-index: 10; inset-inline-end: 0; top: calc(100% + .45rem); width: min(25rem, 72vw); max-height: 23rem; overflow-y: auto; margin: 0; padding: .35rem; list-style: none; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); box-shadow: 0 .7rem 2rem #0002; }
.search-option { display: grid; gap: .15rem; padding: .65rem .7rem; border-radius: .45rem; cursor: pointer; overflow-wrap: anywhere; }
.search-option:hover, .search-option[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); }
.search-item-meta { color: var(--muted); font-size: .875rem; }
.search-results-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: 0; margin: .85rem 0; list-style: none; }
.search-results-list a { height: 100%; }
#search-status { color: var(--muted); }
.bookmark { display: block; position: relative; width: .82rem; height: 1rem; background: currentColor; clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%); }
.bookmark::after { content: ""; position: absolute; inset: 1.5px 1.5px 3px; background: var(--icon-surface, var(--surface)); clip-path: inherit; }
.icon-button:hover .bookmark { --icon-surface: var(--accent-soft); }
[aria-pressed="true"] > .bookmark::after { display: none; }
.theme-icon { width: .94rem; height: .94rem; border-radius: 50%; box-shadow: -.24rem .2rem 0 .025rem currentColor; transform: translate(.12rem,-.1rem); }
[data-theme="dark"] .theme-icon { width: .8rem; height: .8rem; box-shadow: 0 0 0 1.5px currentColor; transform: none; background: var(--gold); }

.topic-bar { color: white; background: var(--blue); }
.topic-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: .45rem; padding-block: .73rem; }
.topic-inner a { font-size: .88rem; font-weight: 700; }
.topic-inner a:hover { text-decoration: underline; }

.headline-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(17rem, 1fr); gap: 1.2rem; margin-top: 1.7rem; }
.hero { display: flex; position: relative; isolation: isolate; min-height: clamp(25rem, 34vw, 31rem); align-items: flex-end; border-radius: 1.15rem; background: #34221b; overflow: hidden; color: #fff; }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero img { object-fit: cover; object-position: center 38%; }
.hero::after { content: ""; background: linear-gradient(90deg, #111019b5, #1510192a 61%, transparent 83%), linear-gradient(0deg,#100c159c,transparent 68%); }
.hero-content { padding: clamp(1.55rem, 3.8vw, 3.5rem); }
.hero-label { display: inline-flex; align-items: center; gap: .45rem; border-radius: .35rem; background: var(--gold); color: #1d2431; padding: .46rem .68rem; font: 800 .72rem/1.2 var(--heading); letter-spacing: .073em; text-transform: uppercase; }
.hero h1 { margin-top: .95rem; font-size: clamp(2.7rem, 5.2vw, 5.15rem); font-weight: 800; line-height: .99; letter-spacing: -.067em; }
.hero p { margin-top: .95rem; color: #fff; font-weight: 500; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .7rem 1.05rem; border-radius: .55rem; background: var(--blue); color: white; font-weight: 700; font-size: .9rem; }
.primary-button:hover { background: #1036b0; }
.hero .primary-button { margin-top: 1.25rem; background: #fff; color: #132244; }
.hero .primary-button:hover { background: var(--gold); }
.hero .play { color: var(--blue); }
.picks { display: flex; flex-direction: column; align-self: stretch; padding: clamp(1.05rem, 2vw, 1.65rem); border: 1px solid var(--line); border-radius: 1.15rem; background: var(--surface); }
.kicker { color: var(--accent); font: 800 .72rem/1.2 var(--heading); letter-spacing: .115em; }
.picks h2, .watch-related h2 { font-size: clamp(1.65rem, 2.65vw, 2.32rem); line-height: 1.1; letter-spacing: -.055em; margin-top: .22rem; }
.picks-list { margin-top: .7rem; flex: 1; }
.mini-video { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .75rem; align-items: center; min-height: 4.5rem; padding-block: .62rem; border-bottom: 1px solid var(--line); }
.mini-video:hover strong { color: var(--accent); }
.mini-video .thumbnail { border-radius: .45rem; }
.mini-video strong { font: 800 .9rem/1.25 var(--heading); display: block; }
.mini-video small { display: block; margin-top: .2rem; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.picks-link { margin-top: .95rem; }
.text-link { color: var(--accent); font-size: .9rem; font-weight: 800; }
.text-link:hover { text-decoration: underline; }

.portal-section { margin-top: clamp(2.6rem, 5vw, 4.9rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2 { font-size: clamp(2rem, 4.1vw, 3.15rem); font-weight: 800; line-height: 1.04; letter-spacing: -.061em; margin-top: .26rem; }
.section-heading p { color: var(--muted); font-size: .9rem; }
.filters, .filter-tabs, .filter-selects { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.filters { justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.filter-tabs button, .filter-selects select, .outline-button { min-height: 2.55rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); padding: .48rem .85rem; font-size: .88rem; font-weight: 700; }
.filter-tabs button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: white; }
.filter-tabs button:hover:not([aria-pressed="true"]), .outline-button:hover { color: var(--accent); border-color: var(--accent); }
.filter-selects { max-width: 100%; }
.filter-selects select { appearance: none; max-width: min(12rem, 100%); padding-right: 1.75rem; background-image: linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%); background-position: calc(100% - .95rem) 52%,calc(100% - .66rem) 52%; background-size: .3rem .3rem; background-repeat: no-repeat; text-overflow: ellipsis; }
.video-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.video-card { position: relative; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); overflow: hidden; }
.video-card:hover { border-color: var(--accent); }
.video-card > a { display: block; height: 100%; }
.video-card > a:focus-visible { outline-offset: -4px; }
.thumbnail { display: block; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: radial-gradient(ellipse at 20% 15%, #4b67ab, #202d49 60%, #131b2d); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail .play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; color: white; opacity: 0; }
.thumbnail.unavailable .play { opacity: 1; }
.duration { position: absolute; right: .55rem; bottom: .5rem; background: #101827e8; padding: .13rem .34rem; color: white; border-radius: .29rem; font-size: .77rem; font-weight: 700; }
.video-card-content { padding: .85rem .95rem 1rem; }
.video-card h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.video-card p { color: var(--muted); margin-top: .24rem; font-size: .85rem; overflow-wrap: anywhere; }
.card-save { position: absolute; top: .5rem; right: .53rem; width: 2.25rem; height: 2.25rem; box-shadow: 0 1px 4px #0002; }
.card-save[aria-pressed="true"] { color: var(--accent); }
.results-actions { text-align: center; margin-top: 1.15rem; }
.empty-state { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: .75rem; padding: 2rem; text-align: center; background: var(--surface); }
.empty-state p { margin: .35rem 0 1rem; color: var(--muted); }

.culture-grid, .news-grid { display: grid; gap: 1rem; }
.culture-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.culture-card { border-radius: .9rem; overflow: hidden; }
.culture-blue { color: white; background: #183caa; }
.culture-gold { color: #282042; background: #f7d17b; }
.culture-card summary { cursor: pointer; display: block; list-style: none; padding: clamp(1.1rem, 3vw, 2.2rem); }
.culture-card summary::-webkit-details-marker { display: none; }
.culture-card summary:focus-visible { outline-offset: -5px; }
.culture-type { font: 800 .75rem/1.3 var(--heading); letter-spacing: .12em; }
.culture-card h3 { margin-top: .55rem; font-weight: 800; font-size: clamp(1.45rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.045em; }
.culture-description { display: block; margin-top: .55rem; }
.culture-action { display: inline-block; margin-top: .9rem; text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.culture-copy { padding: 0 clamp(1.1rem, 3vw, 2.2rem) 1.6rem; max-width: 64ch; }
.culture-copy p + p { margin-top: .7rem; }
.news-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.news-column h3 { font-size: 1.15rem; margin-bottom: .7rem; }
.news-grid { gap: .55rem; }
.news-more { margin-top: .85rem; }
.news-empty { color: var(--muted); }
.news-card { display: grid; align-content: start; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; padding: 1.15rem; }
.news-card strong { font: 800 1.1rem/1.3 var(--heading); overflow-wrap: anywhere; }
.news-meta, .feed-status { color: var(--muted); font-size: .875rem; }
.news-card:hover { border-color: var(--accent); color: var(--accent); }
.feed-status { margin-bottom: .8rem; }
.feed-sources { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .85rem; color: var(--muted); font-size: .875rem; }
.feed-sources a { text-decoration: underline; text-underline-offset: .2em; }
.feed-sources a:hover { color: var(--accent); }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 3.5rem; }
.footer-inner { min-height: 7.5rem; padding-block: 1.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.15rem; }
.footer-inner p, .footer-inner > a[href="#top"] { color: var(--muted); font-size: .9rem; }
.footer-nav { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .2rem clamp(.8rem, 3vw, 2rem); padding-top: .68rem; border-top: 1px solid var(--line); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.5rem; font-size: .9rem; font-weight: 700; }
.footer-nav a:hover, .footer-inner > a[href="#top"]:hover { color: var(--accent); }

.watch-main { padding-top: 1.4rem; }
.back-link { display: inline-block; margin-bottom: 1rem; }
.watch-layout { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(16rem,1fr); align-items: start; gap: 1.5rem; }
.player { aspect-ratio: 16 / 9; background: #0c0e17; border-radius: .9rem; overflow: hidden; }
.player iframe { display: block; width: 100%; height: 100%; border: 0; }
.watch-title { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin: 1.2rem 0 .75rem; }
.watch-title h1 { font-size: clamp(1.8rem,4vw,3.3rem); line-height: 1.1; letter-spacing: -.05em; }
.watch-title p { color: var(--muted); margin-top: .4rem; }
.watch-related { background: var(--surface); border: 1px solid var(--line); padding: 1rem; border-radius: .85rem; }
.watch-related h2 { font-size: 1.55rem; margin-bottom: .5rem; }
.watch-related .outline-button { margin-top: 1rem; }
.watch-ad { display: block; margin-top: 1.5rem; }

@media (max-width: 980px) {
  .masthead { flex-wrap: wrap; padding-top: .8rem; gap: .65rem; }
  .masthead nav { order: 3; width: 100%; gap: 1.5rem; min-height: 2.85rem; }
  .site-search input { width: clamp(7rem, 24vw, 14rem); }
  .headline-grid { grid-template-columns: minmax(0,1.7fr) minmax(15rem,1fr); }
  .video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 2rem); }
  .masthead nav { flex-wrap: wrap; gap: .2rem 1rem; }
  .masthead nav a { font-size: .86rem; }
  .topic-inner { column-gap: .85rem; }
  .topic-inner a { font-size: .8rem; }
  .headline-grid, .watch-layout { grid-template-columns: 1fr; }
  .headline-grid { margin-top: 1rem; }
  .hero { min-height: 23rem; }
  .hero img { object-position: 57% center; }
  .hero::after { background: linear-gradient(90deg,#0b0e1bbb,transparent 88%),linear-gradient(0deg,#0b0e1b9e,transparent 80%); }
  .hero-content { max-width: 22rem; }
  .picks-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: .85rem; }
  .mini-video { grid-template-columns: 4.05rem minmax(0,1fr); gap: .45rem; }
  .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  .video-card-content { padding: .7rem; }
  .news-columns { grid-template-columns: 1fr; gap: 1.5rem; }
  .search-results-list { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .brand { font-size: 1.38rem; }
  .brand-mark { width: 2.3rem; height: 2.3rem; }
  .brand small { display: none; }
  .masthead { display: grid; grid-template-columns: 1fr auto auto; }
  .masthead nav { grid-column: 1 / -1; grid-row: 3; gap: .2rem .85rem; }
  .masthead nav a { min-height: 2.25rem; }
  .header-actions { display: contents; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .site-search input { flex: 1; width: auto; }
  .hero h1 { font-size: clamp(2.45rem,11vw,3.4rem); }
  .hero p { max-width: 16rem; }
  .picks-list, .culture-grid { grid-template-columns: 1fr; }
  .mini-video { grid-template-columns: 5.2rem minmax(0,1fr); gap: .7rem; }
  .section-heading p { text-align: right; }
  .watch-title { flex-wrap: wrap; }
}
