/* Shared dark neon theme for articles, hubs and policy pages.
   Matches the approved homepage palette; the homepage itself keeps its own styles. */
:root{color-scheme:dark;--bg:#08070f;--panel:#171323;--panel-2:#21192d;--line:#ffffff1d;--text:#faf7ff;--muted:#b5aabd;--pink:#ff4bb9;--purple:#ad72ff;--cyan:#5ce9ff}
body{background:radial-gradient(ellipse 65% 25% at 82% 0%,#54215a55,transparent),radial-gradient(ellipse 55% 30% at 0% 45%,#25226c30,transparent),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.65}
a{color:#ff9de0}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}

/* Header: the homepage KPOPNO1.COM wordmark, not the retired PNG board. */
.site-header{position:static;top:auto;z-index:30;padding:12px max(calc((100% - 1180px)/2),20px);background:#090811e8;border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.site-header .brand{padding:0;background:none;border-radius:0}
.site-header nav a{color:#d5cadc;font-size:13px;font-weight:600}
.site-header nav a:hover{color:#ff9de0;text-decoration:none}
.site-header nav a[aria-current="page"]{color:#ff9de0;border-bottom:2px solid var(--pink)}
.brand-outro{position:relative;display:inline-flex;flex-direction:column;isolation:isolate;line-height:1;text-decoration:none;padding:8px 0}
.brand-outro:hover{text-decoration:none}
.brand-outro .brand-wordmark{display:flex;align-items:baseline;white-space:nowrap;font-size:28px;letter-spacing:-.075em;line-height:1.1}
.brand-outro .brand-name{font-family:"Arial Black",Arial,sans-serif;font-weight:900;background:linear-gradient(180deg,#fff 10%,#eff2ff 48%,#b6c0d9 100%);color:transparent;-webkit-background-clip:text;background-clip:text}
.brand-outro .brand-domain{font-weight:250;font-size:.94em;letter-spacing:-.05em;color:#edf2ff;text-shadow:0 0 8px #a2bdff45;margin-left:1px}
.brand-outro:after{content:"";position:absolute;pointer-events:none;z-index:-1;left:18%;right:4%;top:35px;height:8px;background:radial-gradient(ellipse,#c9e5ff99 0%,#7198e645 22%,transparent 70%);filter:blur(3px)}
.brand-outro small{font-size:8px;letter-spacing:.19em;font-weight:650;color:#aab4cd;margin-top:6px;line-height:1.3}

/* Type and surfaces. */
.eyebrow{color:#ffa5df;letter-spacing:.19em;font-weight:800}
.lead,.hub>.lead{color:#d3c9dc}
.panel,.filters,.quick-facts div,.track-list li,.article-related,.service-card,.album-promotion,.album-related,.story-card,.visual-related-card,.official-player,.listening-map,.listening-step{background:linear-gradient(145deg,var(--panel-2),#14121e);border-color:var(--line);color:var(--text)}
.panel p,.story-card p,.album-related small,.visual-related-card small,.listening-step p,.cover-credit{color:var(--muted)!important}
.story-card{border-radius:21px;border-top:1px solid var(--line)!important;transition:transform .25s,border-color .25s}
.story-card:hover{transform:translateY(-4px);border-color:#e77aca88}
.story-card .tag-row,.story-card .read,.route-cta,.listening-number,.quick-facts small,.track-list li:before{color:#ff9de0}
.story-card h2,.story-card h3,.visual-related-card span,.listening-step h4{color:var(--text)}
.section-tabs a{background:#21192d;border:1px solid #ffffff20;color:#e4d8ec;border-radius:999px}
.section-tabs a:hover{border-color:#f880c9;text-decoration:none}
.album-store-badge{color:#ff9de0;font-weight:700}
.listening-step--link:hover,.visual-related-card:hover{background:#2a1f38;border-color:#e77aca88}
.route-explanation:target{background:#ff4bb914;outline-color:#ff9de0aa}
.filters input,.filters select{background:#181321;border-color:#725578;color:var(--text)}
.filters button{background:linear-gradient(95deg,#d33b9d,#9b5cf0);color:#fff}
.official-player{overflow:hidden;border:1px solid var(--line);border-radius:16px;margin:0}
.official-player iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;min-height:180px;border:0}
.official-player figcaption{padding:14px 16px;font-size:13px}
.official-player figcaption p{margin:4px 0;color:var(--muted)}
/* visual-theme.css pins several light colours with !important; restore dark ones. */
.article-container figcaption{color:var(--muted)!important}
.article-container nav[style],.article-container aside[style]{background:#1b1527!important;border-color:#ffffff22!important;color:var(--text)!important}
.article-container aside[style] strong{color:#ffa5df!important}
.article-container .youtube-card,.youtube-card figcaption{background:#171323!important;border-color:var(--line)!important}
.youtube-card a[style*="aspect-ratio"]{background:#21192d!important}
.article-container>figure[style*="background:#101827"]{background:var(--panel)!important;border-color:var(--line)!important}
.related-media .visual-related-card img{background:#21192d}
footer{background:#0b0914;border-top:1px solid var(--line);color:var(--muted);padding:28px max(calc((100% - 1180px)/2),20px)}
footer a{color:#d5cadc}
.breadcrumbs a{color:#d5cadc}

/* Article: title, date and summary first; the editorial graphic sits beside them. */
.article-page h1{font-size:clamp(34px,4.6vw,58px);line-height:1.06;letter-spacing:-.06em;margin:6px 0 14px;color:var(--text)}
.article-page h2{color:var(--text);letter-spacing:-.035em}
.article-page p,.article-page li{color:#d3c9dc}
.article-page strong{color:var(--text)}
.article-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(20px,4vw,48px);align-items:center;margin:0 0 30px;padding:clamp(22px,3.5vw,40px);border:1px solid var(--line);border-radius:26px;background:linear-gradient(140deg,#23182f,#11101c)}
.article-intro-copy{min-width:0}
.article-intro-copy>ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px;padding:0;list-style:none}
.article-intro-copy>ul li{margin:0;padding:5px 12px;border:1px solid #ffffff22;border-radius:999px;background:#ffffff0a;color:#e4d8ec;font-size:12px}
.article-intro-copy>ul li strong{color:#ffa5df;font-weight:700}
.article-intro-copy>p:has(>em:only-child){margin:0 0 10px;font-size:12px;color:var(--muted)}
.article-intro-copy>p:has(>em:only-child) em{font-style:normal}
.article-intro-copy>p:last-child{margin-bottom:0;font-size:17px;color:#ece4f2}
.article-intro-art{margin:0;min-width:0}
.article-intro-art img{display:block;width:100%;height:auto!important;aspect-ratio:8/5;object-fit:cover;border-radius:18px!important;box-shadow:0 18px 40px #0007}
.article-intro-art figcaption{margin:8px 2px 0;font-size:11px;color:var(--muted)!important}
.article-container>figure img[src*="editorial-"]{max-height:420px;object-fit:cover}
/* The intro now holds the date line, so the first body paragraph is ordinary copy. */
.article-container>p:first-of-type{font-size:inherit;color:#d3c9dc}
@media(max-width:820px){
  .article-intro{grid-template-columns:minmax(0,1fr);padding:22px 18px;border-radius:20px}
  .article-intro-art{max-width:520px}
  .article-intro-copy{order:-1}
}
@media(max-width:700px){
  .site-header{padding:10px 16px}
  .brand-outro .brand-wordmark{font-size:23px}
  .brand-outro small{font-size:7px;letter-spacing:.12em;margin-top:5px}
  .brand-outro:after{top:30px;height:7px}
  .site-header nav{gap:4px 14px}
  .site-header nav a{min-height:40px;display:inline-flex;align-items:center}
  .article-page h1{font-size:clamp(30px,9vw,40px)}
  .article-intro-copy>p:last-child{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.story-card{transition:none}.story-card:hover{transform:none}}
.article-page,.hub{padding-top:28px}
@media(max-width:700px){.article-page,.hub{padding-top:18px}}

/* Header scrolls away with the page so the reading area stays full height. */
.site-header{position:static}
/* Official video thumbnail sits left of the title block; it is a link, not a fake player. */
.article-intro-art--video a{display:block;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px #0007}
.article-intro-art--video img{aspect-ratio:16/9!important;border-radius:0!important;box-shadow:none;transition:transform .3s}
.article-intro-art--video a:hover img{transform:scale(1.03)}
.article-intro-art--video figcaption{display:flex;flex-direction:column;gap:2px;margin-top:10px;font-size:12px}
.article-intro-art--video figcaption span:first-child{color:var(--text);font-weight:700;font-size:13px}
.article-intro-art--video figcaption a{display:inline-block;margin-top:4px;padding:6px 0;color:#ff9de0;font-weight:700;box-shadow:none;border-radius:0}
@media(prefers-reduced-motion:reduce){.article-intro-art--video img{transition:none}.article-intro-art--video a:hover img{transform:none}}
.article-intro-art--video a{position:relative}
.intro-jump{position:absolute;left:12px;bottom:12px;padding:6px 12px;border-radius:999px;background:#090811d9;border:1px solid #ffffff30;color:#fff;font-size:12px;font-weight:700}
.article-intro-art--player{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#0b0914}
.article-intro-art--player iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;min-height:180px;border:0}
.article-intro-art--player figcaption{display:flex;flex-direction:column;gap:2px;padding:12px 14px;font-size:12px;margin:0}
.article-intro-art--player figcaption span:first-child{color:var(--text);font-weight:700;font-size:13px}
.article-intro-art--player figcaption a{padding:6px 0;color:#ff9de0;font-weight:700}
.official-player[id]{scroll-margin-top:24px}
.article-intro{align-items:start}
.article-intro .article-intro-copy h1{font-size:clamp(30px,3.4vw,48px)}
.section-side .listening-map,.listening-map{background:linear-gradient(145deg,#21192d,#14121e);border-color:var(--line)}
.listening-step{background:#ffffff08;border-color:var(--line)}
.listening-map figcaption{color:var(--muted)}

/* A single media frame and spacing system for every editorial card. */
.editorial-card{padding:0;overflow:hidden;justify-content:flex-start}
.editorial-card .story-card-media{display:block;width:100%;aspect-ratio:16/9;margin:0;padding:0;background:#08070f;overflow:hidden}
.editorial-card .story-card-media img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;margin:0;border-radius:0}
.editorial-card .copy{display:flex;flex-direction:column;gap:10px;padding:20px;flex:1;justify-content:flex-start}
.editorial-card .copy h2,.editorial-card .copy p{margin:0}
.editorial-card .copy h2 a{color:inherit;text-decoration:none}
.editorial-card .card-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:14px}
.editorial-card .read,.editorial-card .card-video-link{min-height:44px;display:flex;align-items:center;font-size:13px}
.editorial-card--text .copy{padding:22px}
/* Companion media follows its explanation, rather than forcing a tall sidebar. */
.article-page .section-media{display:block;margin:32px 0 38px}
.article-page .section-copy{max-width:850px}
.article-page .section-side{padding:0;margin-top:18px;width:100%;max-width:760px}
.article-page .section-side .official-player{width:100%;max-width:760px}
.article-page .section-side .related-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:14px}
.article-page .section-side .related-media>.eyebrow{grid-column:1/-1;margin:0}
.article-intro--text{display:block;padding:22px 26px;margin-bottom:22px}
.article-page .member-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}
.article-page .member-card{margin:0;padding:0;overflow:hidden;min-width:0}
.member-portrait{display:block;background:#08070f}
.member-portrait img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;margin:0}
.member-copy{padding:16px}
.member-copy h3{margin:0 0 4px}
.member-copy p{font-size:14px;margin:8px 0}
.member-copy .member-korean{margin:0;color:var(--muted)}
.member-copy a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
@media(max-width:700px){.article-page .member-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-copy{padding:12px}.article-intro--text{padding:18px}.editorial-card .copy{padding:18px}}
@media(max-width:360px){.article-page .member-cards{grid-template-columns:minmax(0,1fr)}}

.article-page .member-cards{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.member-introduction{display:block;width:100%;height:auto;aspect-ratio:16/9;min-height:200px;border:0;background:#08070f}

/* Find an artist: the official video thumbnail fills the card, the name sits on a dark fade. */
.artist-photo-card{position:relative;min-height:190px;justify-content:flex-end}
.artist-photo-card img{position:absolute;inset:0;z-index:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .4s}
.artist-photo-card:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#08070f00 30%,#08070fcc 72%,#08070ff2)}
.artist-photo-card .copy{position:relative;z-index:2;flex:0 0 auto;padding:18px 20px}
.artist-photo-card h2{margin:0 0 6px;text-shadow:0 1px 8px #000a}
.artist-photo-card:hover img{transform:scale(1.04)}
@media(prefers-reduced-motion:reduce){.artist-photo-card img{transition:none}.artist-photo-card:hover img{transform:none}}
.article-page table{width:100%;max-width:100%;table-layout:fixed}
.article-page th,.article-page td{overflow-wrap:anywhere;vertical-align:top}
.member-copy>a+a{margin-left:12px}

/* Starter Guides: a thin photo strip and fixed line counts keep cards no taller than the text-only ones. */
.editorial-card--banner .story-card-media{aspect-ratio:auto;height:96px}
.editorial-card--banner .story-card-media img{aspect-ratio:auto;object-fit:cover}
.editorial-card--banner .tag-row{display:none}
.editorial-card--banner .copy h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.editorial-card--banner .copy>p:not(.tag-row){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.editorial-card--banner .card-actions{padding-top:4px}

/* YouTube hqdefault thumbnails are 4:3 with black bars around a 16:9 frame; zoom past the bars. */
.artist-photo-card img[src*="/hqdefault."]{transform:scale(1.25)}
.artist-photo-card:hover img[src*="/hqdefault."]{transform:scale(1.3)}
/* member with no solo video yet: a name panel as tall as a card thumbnail (their width/height attributes fix it at 360px); nothing to click or play */
.member-card--text .member-initial{display:flex;align-items:center;justify-content:center;height:360px;background:linear-gradient(135deg,#2a1640,#0e2a3d);color:#f3eaff;font-size:44px;font-weight:800;letter-spacing:.04em}
.editorial-card--fandom{border-left:4px solid #5ce9ff}
.editorial-card--fandom .tag-row,.editorial-card--banner.editorial-card--fandom .tag-row{display:flex;align-items:center;gap:8px;color:#bff6ff}
.fandom-badge{padding:3px 9px;border-radius:999px;background:#5ce9ff;color:#120d1a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
/* Dated editorial revisions remain readable at 320px and with enlarged text. */
.article-dates{line-height:1.8;color:#ddd0e6}
.article-update{margin:24px 0;padding:clamp(14px,3vw,24px);border:1px solid #a783bd;border-radius:16px;background:#21192d;color:#f7efff;min-width:0;overflow-wrap:anywhere}
.article-update h2{color:#fff}
.article-update ol{padding-inline-start:24px}
.article-update li+li{margin-top:16px}
.article-update time{font-size:.9em;color:#e3d2ec}
.article-update a{display:inline-block;min-height:44px;padding:10px 0;color:#9eeaff;text-decoration:underline;text-underline-offset:3px}
.article-update a:focus-visible{outline:3px solid #5ce9ff;outline-offset:3px}
.article-update .update-sources{padding-inline-start:20px}
