/* ============================================================
   Millionaire Marketing — Ghost theme
   Dark, gold-accented. Georgia headings + Inter body.
   Design system from Figma (571:4192).
   ============================================================ */

:root {
    /* Palette */
    --gold:       #ffc300;
    --gold-hover: #ffb300;
    --on-gold:    #030712;   /* text on gold / darkest */
    --bg:         #030712;    /* page background */
    --panel:      #0c1322;    /* dark card panel */
    --line:       rgba(241, 241, 241, 0.12);
    --text:       #f1f1f1;    /* body text on dark */
    --muted:      rgba(241, 241, 241, 0.72);

    /* Type */
    --font-serif: Georgia, "Times New Roman", serif;   /* headings */
    --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --container: 1440px;
    --container-pad: 72px;
    --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; margin: 0 0 .4em; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }

/* Koenig widths */
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* ============================================================
   Buttons (Figma 518:856) — gold pills
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; font-family: var(--font-sans); font-weight: 500; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn--gold { background: var(--gold); color: var(--on-gold); padding: 7px 18px; border-radius: 20px; font-size: 16px; letter-spacing: 0.16px; }
.btn--gold:hover { background: var(--gold-hover); }
.btn--gold-lg { padding: 11px 32px; border-radius: 40px; font-size: 20px; }
.btn--outline { background: transparent; border: 1px solid var(--gold); color: #fff; padding: 7px 18px; border-radius: 20px; font-size: 16px; }
.btn--outline:hover { background: var(--gold); color: var(--on-gold); }

/* Nav / text buttons */
.nav-link { font-family: var(--font-sans); font-weight: 500; font-size: 16px; letter-spacing: 0.16px; color: #fff; transition: color .15s ease; }
.nav-link:hover { color: var(--gold); }
.nav-current > .nav-link, .nav-current > a { color: var(--gold); }

/* ============================================================
   Article card — big (Figma 535:926): image fill + gradient
   ============================================================ */
.article-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: var(--radius); background: var(--panel) center / cover no-repeat; color: var(--text); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.article-card--big { min-height: 600px; padding: 24px; }
.article-card__head { display: flex; flex-direction: column; gap: 6px; }
.article-card__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.5) 36%, rgba(0,0,0,0.6) 62%, rgba(0,0,0,0.7) 100%); }
.article-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.article-card__date { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.14px; color: var(--text); margin: 0; }
.article-card__title { font-family: var(--font-serif); font-weight: 700; font-size: 32px; letter-spacing: 0.32px; line-height: 1.2; color: #fff; margin: 0; }
.article-card__excerpt { font-family: var(--font-sans); font-weight: 400; font-size: 20px; letter-spacing: 0.2px; line-height: 1.4; color: var(--text); margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__author { display: flex; align-items: center; gap: 12px; }
.article-card__avatar { display: inline-flex; padding: 3px; border: 1px solid var(--text); border-radius: 30px; }
.article-card__avatar img, .article-card__avatar span { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; background: var(--panel); }
.article-card__name { font-family: var(--font-sans); font-size: 18px; letter-spacing: 0.18px; color: var(--text); }

/* Feed grid (vertical image-top cards, Figma 771:2587) */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard { display: flex; flex-direction: column; border: 1px solid transparent; border-radius: 12px; overflow: hidden; background: transparent; transition: border-color .15s ease, background .15s ease; }
.acard:hover { border-color: rgba(255,195,0,0.4); background: rgba(255,255,255,0.02); }
.acard__img { width: 100%; height: 300px; border-radius: 12px; background: var(--panel) center / cover no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.acard__body { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
.acard__text { display: flex; flex-direction: column; gap: 8px; }
.acard__title { font-family: var(--font-serif); font-weight: 700; font-size: 20px; line-height: 1.4; margin: 0; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard__excerpt { font-family: var(--font-sans); font-weight: 400; font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; margin: 0; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acard__date { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.14px; color: var(--text); }

/* Posts archive (Figma 771:1755) */
.section-archive { background: var(--bg); padding: 60px 0; }
.breadcrumb { display: flex; align-items: center; font-family: var(--font-sans); font-size: 16px; }
.breadcrumb__link { color: #fff; padding: 6px 0; transition: color .15s ease; }
.breadcrumb__link:hover { color: var(--gold); }
.breadcrumb__sep { display: inline-flex; color: var(--muted); margin: 0 6px; }
.breadcrumb__current { color: var(--gold); }
.archive__head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; margin: 40px 0 24px; }
.archive__title-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.archive__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.2; margin: 0; color: var(--gold); }
.archive__rule { display: block; width: min(636px, 90vw); height: 1px; background: linear-gradient(90deg, rgba(255,178,0,0), var(--gold) 50%, rgba(255,178,0,0)); }
.archive__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.4; margin: 0; max-width: 640px; color: #fff; }
.archive__search { display: flex; gap: 8px; align-items: center; width: min(636px, 100%); margin: 0 auto 44px; }
.archive__search-input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 100px; padding: 0 24px; background: #fff; font-family: var(--font-sans); font-size: 16px; color: #030712; cursor: pointer; }
.archive__search-input::placeholder { color: #8b8f98; }
.archive__search-btn { flex-shrink: 0; height: 44px; padding: 0 26px; border-radius: 100px; }
.archive__more { display: flex; width: max-content; margin: 40px auto 0; }

@media (max-width: 560px) { .archive__search { flex-direction: column; } .archive__search-input, .archive__search-btn { width: 100%; } }

/* ============================================================
   Our Latest Articles (Figma 516:78)
   ============================================================ */
.latest { background: var(--bg); padding: 80px 0 60px; }
.latest__head { display: flex; align-items: center; gap: 24px; margin-bottom: 60px; }
.latest__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.4; margin: 0; color: #fff; white-space: nowrap; }
.latest__divider { flex: 1; height: 1px; background: linear-gradient(90deg, #d9d9d9, rgba(3,7,18,0)); }
.latest__grid { display: flex; gap: 24px; align-items: stretch; }
.latest__grid .article-card--big { flex: 0 0 636px; max-width: 50%; }
.latest__list { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }

.article-card--sm { display: flex; gap: 16px; align-items: center; padding-right: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: transparent; transition: border-color .15s ease, background .15s ease; }
.article-card--sm:hover { border-color: rgba(255,195,0,0.4); background: rgba(255,255,255,0.02); }
.article-card--sm__img { width: 184px; height: 184px; flex-shrink: 0; border-radius: 8px; background: var(--panel) center / cover no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.acs__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 16px 0; }
.acs__text { display: flex; flex-direction: column; gap: 8px; }
.acs__title { font-family: var(--font-serif); font-weight: 700; font-size: 20px; line-height: 1.4; margin: 0; color: #fff; }
.acs__excerpt { font-family: var(--font-sans); font-weight: 400; font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; margin: 0; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acs__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acs__date { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.14px; color: var(--text); }

@media (max-width: 900px) {
    .latest__grid { flex-direction: column; }
    .latest__grid .article-card--big { flex-basis: auto; max-width: none; min-height: 460px; }
}
@media (max-width: 560px) {
    .article-card--sm { flex-direction: column; align-items: stretch; padding: 0 0 16px; }
    .article-card--sm__img { width: 100%; height: 180px; border-radius: 8px 8px 0 0; }
    .acs__body { padding: 0 16px; }
}

/* ============================================================
   Single post (Figma 782:3349)
   ============================================================ */
.section-post { background: var(--bg); padding: 60px 0 0; }
.post-hero { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.post-hero__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 4vw, 38px); letter-spacing: 0.36px; line-height: 1.3; margin: 0; color: #fff; }
.post-hero__excerpt { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 24px); letter-spacing: 0.24px; line-height: 1.4; margin: 0; color: var(--text); }
.post-hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-author { display: flex; align-items: center; gap: 10px; }
.post-author__avatar { display: inline-flex; padding: 3px; border: 1px solid var(--text); border-radius: 30px; }
.post-author__avatar img, .post-author__avatar span { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; background: var(--panel); }
.post-author__info { display: flex; flex-direction: column; }
.post-author__name { font-family: var(--font-sans); font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; color: #fff; }
.post-author__sub { display: flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 12px; line-height: 1.4; color: var(--muted); }
.post-author__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.post-share { display: flex; align-items: center; gap: 10px; }
.post-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); transition: background .15s ease, color .15s ease; }
.post-share__btn:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.post-share__btn svg { width: 16px; height: 16px; display: block; }

.post-content { max-width: 1076px; margin: 40px auto 0; padding-bottom: 80px; font-family: var(--font-sans); font-weight: 400; font-size: 18px; line-height: 1.7; color: var(--text); }
.post-content > * { margin: 0 0 24px; }
.post-content > :last-child { margin-bottom: 0; }
.post-content h2 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; line-height: 1.35; margin: 40px 0 16px; color: #fff; }
.post-content h3 { font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.35; margin: 32px 0 12px; color: #fff; }
.post-content h4 { font-family: var(--font-sans); font-weight: 600; font-size: 19px; margin: 28px 0 12px; color: #fff; }
.post-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: var(--gold-hover); }
.post-content img, .post-content .kg-image { width: 100%; height: auto; border-radius: 12px; }
.post-content figure { margin: 32px 0; }
.post-content figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.post-content ul, .post-content ol { padding-left: 24px; }
.post-content li { margin-bottom: 10px; }
.post-content blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-style: italic; color: #fff; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.keep-reading { background: var(--bg); padding: 0 0 80px; }
.kr-head { display: flex; align-items: center; gap: 24px; margin-bottom: 44px; }
.kr-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.4; margin: 0; color: #fff; white-space: nowrap; }
.kr-rule { flex: 1; height: 1px; background: linear-gradient(90deg, #d9d9d9, rgba(3,7,18,0)); }
.kr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kr-more { display: flex; width: max-content; margin: 40px auto 0; }

@media (max-width: 900px) { .kr-grid { grid-template-columns: 1fr; } .post-hero__meta { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   Video quotes (Figma 516:105)
   ============================================================ */
.mvideos { background: var(--bg); padding: 60px 0; }
.mvideos__head { display: flex; flex-direction: column; gap: 28px; margin-bottom: 60px; }
.mvideos__title-row { display: flex; align-items: center; gap: 24px; }
.mvideos__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.4; margin: 0; color: var(--gold-hover); white-space: nowrap; }
.mvideos__divider { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(3,7,18,0)); }
.mvideos__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 24px); letter-spacing: 0.24px; line-height: 1.4; margin: 0; max-width: 848px; color: #fff; }
.mvideos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.mm-video { position: relative; width: 100%; aspect-ratio: 408 / 229; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer; display: block; }
.mm-video__poster { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(135deg, #d4d7de 0%, #c1c5ce 100%); overflow: hidden; }
.mm-video__watermark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-family: var(--font-serif); font-weight: 700; font-size: 210px; line-height: 1; color: rgba(17,24,39,0.06); pointer-events: none; }
.mm-video__title { position: relative; z-index: 1; padding: 24px; max-width: 72%; font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: 0.3px; color: #111827; text-align: left; }
.mm-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 57px; height: 57px; z-index: 2; transition: transform .2s ease; }
.mm-video__play svg { width: 100%; height: 100%; display: block; }
.mm-video:hover .mm-video__play { transform: translate(-50%, -50%) scale(1.12); }
.mm-video__frame { position: absolute; inset: 0; z-index: 3; }
.mm-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 980px) { .mvideos__grid { grid-template-columns: 1fr; } }

/* Video Guides page grid + link cards */
.vg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.mm-video--link { text-decoration: none; transition: transform .2s ease; }
.mm-video--link:hover {  }
.mm-video--link .mm-video__poster[style*="background-image"] { background-size: cover; background-position: center; }
.mm-video--link .mm-video__poster[style*="background-image"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,7,18,0) 30%, rgba(3,7,18,0.82) 100%); }
.mm-video--link .mm-video__poster[style*="background-image"] .mm-video__watermark { display: none; }
.mm-video--link .mm-video__poster[style*="background-image"] .mm-video__title { color: #fff; z-index: 2; }
.vg-empty { font-family: var(--font-sans); font-size: 16px; color: var(--muted); text-align: center; padding: 48px 0; }
@media (max-width: 980px) { .vg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vg-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Unlock Smarter Investing (Figma 516:719) — icon+text cards
   ============================================================ */
.unlock { background: var(--bg); padding: 60px 0 80px; }
.unlock__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
.unlock__title-row { display: flex; align-items: flex-start; gap: 24px; }
.unlock__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 4.4vw, 40px); letter-spacing: 0.4px; line-height: 1.3; margin: 0; color: #fff; max-width: 560px; }
.unlock__divider { flex: 1; height: 1px; margin-top: 24px; background: linear-gradient(90deg, rgba(241,241,241,0.5), rgba(3,7,18,0)); }
.unlock__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(16px, 2.2vw, 20px); letter-spacing: 0.2px; line-height: 1.4; margin: 0; color: #fff; }
.unlock__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.icard { display: flex; align-items: center; gap: 24px; padding: 32px; min-height: 234px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #141822 0%, #000000 100%); box-shadow: 0 6px 20px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.icard::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; padding: 1px;
    background: radial-gradient(120% 120% at 100% 100%, rgba(255,195,0,0.55) 0%, rgba(255,178,0,0.1) 30%, rgba(255,178,0,0) 55%),
                radial-gradient(120% 120% at 0% 0%, rgba(255,195,0,0.35) 0%, rgba(255,178,0,0) 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.icard__icon { width: 80px; height: 80px; flex-shrink: 0; color: var(--gold); position: relative; z-index: 1; }
.icard__icon svg, .icard__icon img { width: 100%; height: 100%; display: block; }
.icard__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.icard__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 0.32px; line-height: 1.4; margin: 0; color: #fff; }
.icard__desc { font-family: var(--font-sans); font-weight: 400; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; color: var(--text); margin: 0; }

@media (max-width: 900px) { .unlock__grid { grid-template-columns: 1fr; } .icard { min-height: 0; } }
@media (max-width: 560px) { .icard { flex-direction: column; align-items: center; gap: 16px; text-align: center; } .icard__text { align-items: center; } }

/* ============================================================
   Browse by Topic (Figma 516:743)
   ============================================================ */
.topics { background: var(--bg); padding: 60px var(--container-pad); }
.topics__inner { max-width: 856px; margin: 0 auto; display: flex; gap: 40px; align-items: center; }
.topics__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.topics__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; margin: 0; color: #fff; }
.topics__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.5; margin: 0; color: #fff; }
.topics__pills { flex-shrink: 0; width: 304px; display: flex; flex-direction: column; gap: 8px; }
.topic-pill { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; padding: 8px 18px; border: 0; border-radius: 20px; color: #fff; background: transparent; font-family: var(--font-sans); font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; transition: background .15s ease, color .15s ease; }
/* Gradient border — bright gold at both ends, fading toward the centre */
.topic-pill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background:
        radial-gradient(90% 220% at 0% 50%, #ffc300 0%, rgba(255,178,0,0.25) 38%, rgba(255,178,0,0) 68%),
        radial-gradient(90% 220% at 100% 50%, #ffc300 0%, rgba(255,178,0,0.25) 38%, rgba(255,178,0,0) 68%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.topic-pill:hover { background: var(--gold); color: var(--on-gold); }
.topic-pill:hover::before { opacity: 0; }

@media (max-width: 720px) {
    .topics__inner { flex-direction: column; align-items: stretch; gap: 24px; }
    .topics__pills { width: 100%; }
}

/* ============================================================
   Video card (Figma 571:3239)
   ============================================================ */
.video-card { position: relative; aspect-ratio: 408 / 229; border-radius: var(--radius); overflow: hidden; cursor: pointer; display: block; width: 100%; background: var(--panel) center / cover no-repeat; }
.video-card__overlay { position: absolute; inset: 0; background: rgba(3,7,18,0.35); transition: background .2s ease; }
.video-card:hover .video-card__overlay { background: rgba(3,7,18,0.55); }
.video-card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; }
.video-card__title { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; font-family: var(--font-serif); font-weight: 700; font-size: 20px; line-height: 1.3; color: #fff; margin: 0; }
.video-card__frame { position: absolute; inset: 0; }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   Header (Figma 516:18)
   ============================================================ */
.site-header { background: var(--bg); position: relative; z-index: 20; }
/* Bottom border — bold gold in the centre, fading to the sides */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; background: linear-gradient(90deg, rgba(255,178,0,0) 0%, rgba(255,178,0,0.15) 25%, #ffc300 50%, rgba(255,178,0,0.15) 75%, rgba(255,178,0,0) 100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--container-pad); max-width: var(--container); margin: 0 auto; }
.site-header__left { display: flex; align-items: center; gap: 16px; }
.site-header__right { flex-shrink: 0; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 36px; width: auto; display: block; }
.site-logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #fff; border-radius: 4px; font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--gold); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px; border: 0; background: transparent; border-radius: 8px; color: #fff; }
.icon-btn:hover { color: var(--gold); }
.site-nav__panel { display: flex; align-items: center; }
.site-nav__list { display: flex; gap: 16px; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav__list .nav-item > a { display: inline-flex; padding: 7px 16px; }
.site-nav__list .nav-current > a { color: var(--gold); }
.site-nav__search, .site-nav__cta { display: none; }
.site-nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border: 0; background: transparent; }
.site-nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ============================================================
   Home hero (Figma 516:56)
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 80px var(--container-pad); display: flex; justify-content: center; background: #0a0a0a; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(8px); transform: scale(1.06); z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.8) 6%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.8) 103%); }
.hero__card { position: relative; z-index: 2; width: 800px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 46px 32px; border: 0; border-radius: var(--radius); background: rgba(3,7,18,0.22); box-shadow: 0 5px 16px rgba(0,0,0,0.2); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); text-align: center; overflow: hidden; }
/* Corner darkening gradients (no solid fill) */
.hero__card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        linear-gradient(to top left, rgba(0,0,0,0.6), transparent 42%),
        linear-gradient(to top right, rgba(0,0,0,0.6), transparent 42%),
        linear-gradient(to bottom left, rgba(0,0,0,0.6), transparent 42%),
        linear-gradient(to bottom right, rgba(0,0,0,0.6), transparent 42%); }
/* Gradient border ring (gold fading out from the top-left) via masked radial-gradient */
.hero__card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1.5px;
    background:
        radial-gradient(120% 110% at 15% 5%, #ffc300 0%, rgba(255,178,0,0.55) 18%, rgba(255,178,0,0.12) 42%, rgba(255,178,0,0) 62%),
        radial-gradient(120% 110% at 85% 95%, #ffc300 0%, rgba(255,178,0,0.55) 18%, rgba(255,178,0,0.12) 42%, rgba(255,178,0,0) 62%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; }
.hero__card > * { position: relative; z-index: 1; }
.hero__logo { display: inline-flex; }
.hero__logo img { width: 120px; height: 120px; object-fit: contain; }
.hero__logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 120px; border: 1.5px solid var(--gold); border-radius: 8px; font-family: var(--font-serif); font-weight: 700; font-size: 64px; color: var(--gold); }
.hero__head { display: flex; flex-direction: column; gap: 20px; max-width: 600px; }
.hero__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 4.5vw, 40px); letter-spacing: 0.4px; line-height: 1.4; margin: 0; color: #fff; }
.hero__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(16px, 2.2vw, 20px); letter-spacing: 0.2px; line-height: 1.4; margin: 0; color: var(--text); }
.hero__form { width: 100%; max-width: 600px; display: flex; flex-direction: column; gap: 10px; }
.hero__field { display: flex; gap: 8px; align-items: stretch; }
.hero__input { flex: 1 1 auto; min-width: 0; height: 54px; border: 0; outline: none; background: #fff; border-radius: 100px; padding: 0 24px; font-family: var(--font-sans); font-size: 20px; color: #030712; box-shadow: 2px 4px 5px rgba(0,0,0,0.25); }
.hero__input::placeholder { color: #c1c1c1; }
.hero__submit { flex: 0 0 auto; height: 54px; padding: 0 32px; border-radius: 40px; font-size: 24px; line-height: 1; }
.hero__success, .hero__error { display: none; margin: 0; font-size: 15px; line-height: 1.4; }
.hero__success { color: var(--gold); font-weight: 500; }
.hero__error { color: #ff6b6b; }
.hero__form.success .hero__field { display: none; }
.hero__form.success .hero__success { display: block; }
.hero__form .hero__error:not(:empty) { display: block; }

/* ============================================================
   Footer (stub — full build per section)
   ============================================================ */
/* ============================================================
   Legal pages (Figma 819:4189)
   ============================================================ */
.section-legal { background: var(--bg); padding: 60px 0 80px; }
.section-legal .breadcrumb { margin-bottom: 40px; }
.legal__head { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 40px; }
.legal__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 4vw, 36px); letter-spacing: 0.36px; line-height: 1.4; margin: 0; text-align: center; color: #fff; }
.legal__rule { display: block; width: min(636px, 90vw); height: 1px; background: linear-gradient(90deg, rgba(255,178,0,0), var(--gold) 50%, rgba(255,178,0,0)); }
.legal__updated { font-family: var(--font-sans); font-weight: 400; font-size: 12px; letter-spacing: 0.12px; line-height: 1.4; text-align: center; color: var(--text); margin: 0 0 24px; }
.legal-content { font-family: var(--font-sans); font-weight: 400; font-size: 16px; letter-spacing: 0.16px; line-height: 1.4; color: #fff; }
.legal-content > :first-child { margin-top: 0; }
.legal-content h2, .legal-content h3, .legal-content h4 { font-family: var(--font-sans); font-weight: 500; font-size: 18px; letter-spacing: 0.18px; line-height: 1.4; margin: 24px 0 0; text-align: left; color: #fff; }
.legal-content p { margin: 12px 0 0; }
.legal-content ul, .legal-content ol { margin: 12px 0 0; padding-left: 24px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong, .legal-content b { font-weight: 600; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--gold-hover); }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* ============================================================
   Footer (Figma 1577:6474)
   ============================================================ */
.site-footer { background: var(--bg); position: relative; padding: 80px 0 40px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, rgba(255,178,0,0), rgba(255,178,0,0.15) 25%, #ffc300 50%, rgba(255,178,0,0.15) 75%, rgba(255,178,0,0)); }
.site-footer .container { display: flex; flex-direction: column; gap: 40px; }
.site-footer__top { display: flex; gap: 40px; align-items: center; }
.site-footer__intro { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.site-footer__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; margin: 0; color: #fff; }
.site-footer__sub { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.5; margin: 0; max-width: 425px; color: #fff; }
.site-footer__form { flex-shrink: 0; width: 364px; display: flex; flex-direction: column; gap: 8px; }
.site-footer__input { width: 100%; height: 44px; border: 0; border-radius: 100px; padding: 0 24px; background: #fff; font-family: var(--font-sans); font-size: 16px; color: #030712; box-shadow: 2px 4px 10px rgba(0,0,0,0.25); }
.site-footer__input::placeholder { color: #c1c1c1; }
.site-footer__submit { width: 100%; border-radius: 20px; }
.site-footer__success, .site-footer__error { display: none; margin: 0; font-size: 14px; line-height: 1.4; }
.site-footer__success { color: var(--gold); font-weight: 500; }
.site-footer__error { color: #ff6b6b; }
.site-footer__form.success .site-footer__input, .site-footer__form.success .site-footer__submit { display: none; }
.site-footer__form.success .site-footer__success { display: block; }
.site-footer__form .site-footer__error:not(:empty) { display: block; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__copy { font-family: var(--font-sans); font-size: 12px; line-height: 16px; margin: 0; color: #fff; }
.site-footer__links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.footer-link { padding: 8px 20px; font-family: var(--font-sans); font-size: 12px; line-height: 16px; color: var(--gold); transition: opacity .15s ease; }
.footer-link:hover { opacity: 0.75; }

@media (max-width: 820px) {
    .site-footer { padding-top: 56px; }
    .site-footer__top { flex-direction: column; align-items: flex-start; }
    .site-footer__form { width: 100%; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .site-footer__links { margin-left: -20px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    :root { --container-pad: 24px; }
    .hero { padding: 48px var(--container-pad); }
    .hero__card { padding: 32px 20px; gap: 28px; }
    .site-nav { margin-left: auto; }
    .site-nav__toggle { display: flex; }
    .site-nav__panel { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 10px; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,0.45); padding: 14px var(--container-pad) 20px; display: none; z-index: 50; }
    .site-header.is-open .site-nav__panel { display: flex; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
    .site-nav__list .nav-item > a { display: block; width: 100%; padding: 12px; border-radius: 8px; }
    .site-nav__list .nav-item > a:hover, .site-nav__list .nav-current > a { background: transparent; color: var(--gold); }
    .site-nav__search { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: transparent; border-radius: 8px; color: #fff; font-family: var(--font-sans); font-size: 16px; cursor: pointer; }
    .site-nav__search:hover { color: var(--gold); }
    .site-nav__cta { display: inline-flex; width: 100%; justify-content: center; }
    .site-header__right, .site-header__search { display: none; }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; }
    /* Section-heading side lines removed on mobile */
    .latest__divider, .mvideos__divider, .kr-rule { display: none; }
    .hero__field { flex-direction: column; }
    .hero__submit { width: 100%; }
    .hero__logo-mark { width: 88px; height: 88px; font-size: 48px; }
    .hero__logo img { width: 88px; height: 88px; }
}
