/* =========================================================
   style.css — the look of every page on the site.
   Colors live in the "Theme tokens" block. Change a color there
   and it updates everywhere.
   ========================================================= */

/* ===== Theme tokens ===== */
:root {
  --bg: #F1F2F5;
  --panel: #FFFFFF;
  --ink: #1A1F2E;
  --muted: #5B6478;
  --line: #D8DCE4;
  --signal: #B86E00;      /* brand accent: tags, live badge */
  --signal-soft: #FFF1DC;
  --link: #1F5FBF;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151A26; --panel: #1E2536; --ink: #E8E6DF; --muted: #97A0B5;
    --line: #2E3750; --signal: #FFB547; --signal-soft: #3A2F1C; --link: #8CC1FF;
  }
}
:root[data-theme="dark"] {
  --bg: #151A26; --panel: #1E2536; --ink: #E8E6DF; --muted: #97A0B5;
  --line: #2E3750; --signal: #FFB547; --signal-soft: #3A2F1C; --link: #8CC1FF;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
}
a { color: var(--link); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== Header ===== */
.site-header { border-bottom: 1px solid var(--line); background: var(--panel); }
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.tagline { font-family: var(--display); font-weight: 500; font-size: .85rem; color: var(--signal); }
.site-nav { display: flex; gap: .25rem; font-family: var(--display); font-weight: 700; }
.site-nav a { color: var(--muted); text-decoration: none; padding: .4rem .8rem; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* ===== Shared bits ===== */
.meta { font-family: var(--display); font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.meta .tag { color: var(--signal); font-weight: 700; margin-right: .6rem; text-decoration: none; }
a.tag:hover { text-decoration: underline; }
.extra { margin-left: .6rem; }
.extra::before { content: "/"; margin-right: .6rem; color: var(--line); }

.story-link { color: var(--ink); text-decoration: none; }
.story-link:hover h2, .story-link:hover h3, .story-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--line); margin-bottom: .7rem; }
.thumb-blank { display: flex; align-items: flex-end; padding: .9rem 1rem; background: var(--signal-soft); }
.thumb-blank span { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--signal); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1.5rem; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0; }
.section-head a { font-family: var(--display); font-weight: 700; }

/* ===== Homepage: today's headlines ===== */
.today-bar { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding: 1.5rem 0 .6rem; border-bottom: 2px solid var(--ink); font-family: var(--display); }
.today-bar h1 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.today-bar time { color: var(--muted); font-weight: 500; }

.headlines { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 3rem; }
.lead .thumb { border-radius: 14px; margin-bottom: 1rem; }
.lead .thumb-blank { padding: 1.5rem; }
.lead .thumb-blank span { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.lead h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.03; letter-spacing: -0.035em; margin: 0 0 .6rem; }
.lead p { margin: 0; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

.top-list { list-style: none; margin: 0; padding: 0; }
.top-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.top-list li:first-child { border-top: 0; padding-top: 0; }
.top-list h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }

.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; padding-bottom: 3rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 1.5rem; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; margin: 0; }
.home-section { padding-bottom: 3rem; }

/* ===== Sidebar + ad ===== */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }
.side-block h2 { font-family: var(--display); font-size: 1.05rem; font-weight: 800; margin: 0 0 .5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: .7rem 0; border-top: 1px solid var(--line); }
.side-list li:first-child { border-top: 0; }
.side-list a { font-family: var(--display); font-weight: 700; line-height: 1.25; }

.hk-ad {
  display: block; max-width: 320px; width: 100%; border-radius: 20px; overflow: hidden; text-decoration: none;
  background: linear-gradient(165deg, #E9FBFD 0%, #CFF1F6 100%); color: #0F3B4A;
  border: 1px solid #A8DDE6; box-shadow: 0 10px 26px rgba(15, 110, 127, .18);
  font-family: var(--display); transition: transform .2s ease, box-shadow .2s ease;
}
.hk-ad:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 110, 127, .26); }
.hk-ad:focus-visible { outline: 3px solid #0F6E7F; outline-offset: 4px; }
.hk-ad__art { background: linear-gradient(180deg, #BDEBF2 0%, #DDF6F9 100%); }
.hk-ad__art svg { display: block; width: 100%; height: auto; }
.hk-ad__body { padding: 14px 20px 20px; }
.hk-ad__label { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #3F7180; }
.hk-ad__title { margin: 0 0 6px; font-size: 25px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: #0B3341; }
.hk-ad__text { margin: 0 0 12px; font-size: 15px; line-height: 1.4; color: #1F5262; }
.hk-ad__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; }
.hk-ad__chips li { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #FFFFFF; color: #0F6E7F; border: 1px solid #A8DDE6; }
.hk-ad__button { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #0F6E7F; color: #FFFFFF; font-size: 14px; font-weight: 800; }

/* ===== News + How-to list pages ===== */
.page-head { padding-top: 2rem; padding-bottom: 1rem; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.035em; line-height: 1; margin: 0 0 1.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { font-family: var(--display); font-weight: 500; font-size: .95rem; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; }
.filters button:hover { color: var(--ink); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.rows { padding-bottom: 4rem; }
.row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .thumb { margin: 0; }
.row h2 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .4rem; }
.row p { margin: 0; color: var(--muted); max-width: 70ch; }
.empty { color: var(--muted); }

/* ===== Article page ===== */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; padding-top: 2rem; padding-bottom: 4rem; }
.crumbs { font-family: var(--display); font-size: .9rem; margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.article-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; margin: .2rem 0 .8rem; max-width: 22ch; }
.dek { font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin: 0 0 1rem; max-width: 62ch; }
.byline { font-family: var(--display); font-size: .95rem; color: var(--muted); margin: 0 0 1rem; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.75rem; }
.article-body { max-width: 68ch; font-size: 1.125rem; line-height: 1.75; }
.article-body p { margin: 0 0 1.15rem; }
.article-body img, .article-body svg { border-radius: 10px; }
.article-body .key-points { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem 1rem 2.5rem; margin: 0 0 1.75rem; font-size: 1.05rem; }
.article-body .key-points li { margin-bottom: .35rem; }
/* Subheadings, quotes and tables inside articles */
.article-body h2 { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.02em; margin: 2.25rem 0 .75rem; }
.article-body h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.article-body blockquote { margin: 1.75rem 0; padding: .25rem 0 .25rem 1.4rem; border-left: 4px solid var(--signal); }
.article-body blockquote p { font-size: 1.3rem; line-height: 1.5; font-style: italic; margin: 0 0 .6rem; }
.article-body blockquote cite { font-family: var(--display); font-style: normal; font-weight: 700; font-size: .95rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0 1.75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.45; }
/* Only tables with 3+ columns need room to scroll sideways on phones */
.article-body table:has(th:nth-child(3)) { min-width: 560px; }
.article-body th { font-family: var(--display); text-align: left; font-size: .85rem; color: var(--muted); padding: .75rem 1rem; border-bottom: 2px solid var(--line); }
.article-body td { padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.article-body tbody tr:first-child td { border-top: 0; }
.article-body figure { margin: 0 0 1.75rem; }
.article-body figure img { display: block; width: 100%; height: auto; }
.article-body figcaption { font-family: var(--display); font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.source { font-family: var(--display); font-weight: 700; }
.article-actions { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* How-to steps */
.steps { margin: .25rem 0 1.5rem; padding-left: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: .75rem 0 .75rem 3rem; border-top: 1px dashed var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .75rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--signal-soft); color: var(--signal); font-family: var(--display); font-weight: 800; font-size: .95rem; }
.article-body code { font-size: .88em; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: .05rem .35rem; }
.needs strong, .tip strong { font-family: var(--display); }
.tip { background: var(--signal-soft); border-radius: 10px; padding: .85rem 1.1rem; }

/* ===== Share menu ===== */
.share { position: relative; display: inline-block; }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-weight: 700; font-size: 1rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; color: var(--ink); cursor: pointer; }
.share-btn:hover, .share-btn[aria-expanded="true"] { border-color: var(--ink); }
.share-btn svg { width: 1rem; height: 1rem; }
.share-menu { position: absolute; left: 0; bottom: calc(100% + .5rem); z-index: 20; min-width: 13rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: .35rem; box-shadow: 0 10px 28px rgba(15, 20, 35, .22); }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: block; width: 100%; text-align: left; font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none; background: none; border: 0; padding: .45rem .7rem; border-radius: 6px; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--bg); }
.share-menu hr { border: 0; border-top: 1px solid var(--line); margin: .3rem .2rem; }
.share-menu .copied { color: var(--signal); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: 0 0 .4rem; }

/* ===== Smaller screens ===== */
@media (max-width: 900px) {
  .headlines, .home-columns, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .headlines { gap: 2rem; }
  .article-layout { gap: 2.5rem; }
}
@media (max-width: 600px) {
  .row { grid-template-columns: minmax(0, 1fr) 96px; gap: 1rem; }
  .row .thumb-link { order: 2; }
  .row .thumb { aspect-ratio: 1; border-radius: 8px; }
  .row .thumb-blank span { font-size: .85rem; }
  .row h2 { font-size: 1.15rem; }
  .row p { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; }
  .filters button { flex: none; }
  /* Phones: menu takes the full row; if it ever gets too wide it scrolls instead of breaking the page */
  .site-nav { gap: 0; width: 100%; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -.5rem; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: .35rem .45rem; font-size: .88rem; flex: none; }
  /* The TechDayZ logo already links home, so phones skip the Home tab to fit the menu */
  .site-nav a[href="index.html"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-ad, .hk-ad:hover { transform: none; transition: none; }
}

/* ===== Fun article extras: feature cards, price box, call-to-action button ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; margin: 1rem 0 1.75rem; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.feature .icon { font-size: 1.7rem; line-height: 1; }
.article-body .feature h3 { font-family: var(--display); font-size: 1.05rem; margin: .55rem 0 .3rem; }
.feature p { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--muted); }
.callout { background: var(--signal-soft); border-radius: 18px; padding: 1.6rem 1.4rem; text-align: center; margin: 1.5rem 0 2rem; }
.callout .price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--signal); margin: 0 0 .3rem; }
.callout p { margin: 0 0 .9rem; }
.cta { display: inline-block; background: var(--signal); color: #121829; font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-decoration: none; padding: .85rem 1.6rem; border-radius: 999px; transition: transform .15s ease; }
.cta:hover { transform: translateY(-2px); }
.cta-row { text-align: center; margin: 1.5rem 0; }
@media (prefers-reduced-motion: reduce) { .cta, .cta:hover { transition: none; transform: none; } }

/* ===== Homepage: The Community banner ===== */
/* Fixed dark colors so it pops in both light and dark mode */
.community-banner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  margin: 0 0 3rem; padding: 2rem 2.25rem; border-radius: 20px;
  background: radial-gradient(120% 140% at 0% 0%, #2A3352 0%, #161D33 55%, #121829 100%);
  color: #E8E6DF; border: 1px solid #2E3750; overflow: hidden; position: relative;
}
.community-banner::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,181,71,.28), rgba(255,181,71,0) 70%); pointer-events: none;
}
.cb-kicker { margin: 0 0 .35rem; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #FFB547; }
.community-banner h2 { margin: 0 0 .6rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.cb-body { margin: 0 0 1rem; color: #C3C9D8; max-width: 52ch; }
.cb-body strong { color: #fff; }
.cb-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; }
.cb-chips li { font-family: var(--display); font-size: .9rem; font-weight: 500; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.cb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.cb-cta {
  display: inline-block; background: #FFB547; color: #121829; font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; padding: .8rem 1.4rem; border-radius: 999px; transition: transform .15s ease;
}
.cb-cta:hover { transform: translateY(-2px); }
.cb-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cb-price { font-family: var(--display); font-size: .9rem; color: #97A0B5; }

/* Chat bubbles on the right */
.cb-art { position: relative; display: flex; flex-direction: column; gap: .6rem; z-index: 1; }
.cb-bubble {
  max-width: 85%; padding: .6rem .9rem; border-radius: 16px 16px 16px 4px; font-family: var(--display); font-size: .95rem;
  background: #2A3352; color: #E8E6DF; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.cb-me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #FFB547; color: #121829; font-weight: 700; }
.cb-avatars { display: flex; align-items: center; margin-top: .35rem; }
.cb-avatars span {
  width: 38px; height: 38px; border-radius: 50%; background: var(--c, #8E9BBA); border: 3px solid #161D33; margin-left: -10px;
  display: grid; place-items: center;
}
.cb-avatars span:first-child { margin-left: 0; }
.cb-more { --c: #2E3750; color: #E8E6DF; font-family: var(--display); font-weight: 800; }

@media (max-width: 760px) {
  .community-banner { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 1.25rem; gap: 1.25rem; }
  .cb-art { order: -1; }
  .cb-b3 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cb-cta, .cb-cta:hover { transition: none; transform: none; } }

/* ===== Learning videos ===== */
.page-dek { margin: -.6rem 0 1.25rem; font-size: 1.15rem; color: var(--muted); }
/* Vertical player: never taller than the screen, centered */
.article-body .video-frame { margin: 0 auto 1.75rem; width: min(100%, calc(78vh * 9 / 16), 420px); }
.video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 18px; box-shadow: 0 12px 30px rgba(15, 20, 35, .25); }
.video-error { margin: .75rem 0 0; padding: .7rem 1rem; border-radius: 10px; background: var(--signal-soft); font-family: var(--display); font-size: .95rem; text-align: center; }
/* Tall screenshots inside articles: keep them a readable width */
.article-body figure.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
/* Photo credit lines under licensed images */
.article-body figcaption a { color: inherit; }

/* ===== LustreLoop sponsored ad ===== */
.ll-ad {
  display: block; max-width: 320px; width: 100%; border-radius: 20px; overflow: hidden; text-decoration: none;
  background: linear-gradient(165deg, #FFFBF2 0%, #F6EAD3 100%); color: #3B2A12;
  border: 1px solid #E6CF9C; box-shadow: 0 10px 26px rgba(120, 84, 20, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ll-ad:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(120, 84, 20, .24); }
.ll-ad:focus-visible { outline: 3px solid #A97A26; outline-offset: 4px; }
.ll-ad__art { background: radial-gradient(120% 120% at 50% 0%, #FFF7E2 0%, #F3E2BE 100%); }
.ll-ad__art svg { display: block; width: 100%; height: auto; }
.ll-ad__body { padding: 14px 20px 20px; }
.ll-ad__label { margin: 0 0 4px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #8A6A33; }
.ll-ad__title { margin: 0; font-family: var(--body); font-size: 27px; line-height: 1.1; font-weight: 600; letter-spacing: .01em; color: #2E2010; }
.ll-ad__tagline { margin: 2px 0 8px; font-family: var(--body); font-style: italic; font-size: 16px; color: #9A6E1E; }
.ll-ad__text { margin: 0 0 12px; font-family: var(--display); font-size: 14.5px; line-height: 1.4; color: #4E3A1C; }
.ll-ad__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; }
.ll-ad__chips li { font-family: var(--display); font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #FFFFFF; color: #8A6A33; border: 1px solid #E6CF9C; }
.ll-ad__button { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #2E2010; color: #F7E7B0; font-family: var(--display); font-size: 14px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .ll-ad, .ll-ad:hover { transform: none; transition: none; } }


/* ===== Homepage: sponsored video ad ===== */
/* Fixed dark-and-gold colors to match the LustreLoop video in both light and dark mode */
.video-ad {
  display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: center;
  margin: 0 0 3rem; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #1A140C 0%, #2B2113 100%); border: 1px solid #4A3A20;
  box-shadow: 0 14px 34px rgba(30, 20, 5, .28);
}
.video-ad[hidden] { display: none; }
.video-ad__media { position: relative; background: #000; }
.video-ad__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-ad__sound {
  position: absolute; left: 14px; bottom: 14px; padding: .45rem .9rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .6); color: #fff; font-family: var(--display); font-weight: 700; font-size: .85rem;
}
.video-ad__sound:hover { background: rgba(0, 0, 0, .8); }
.video-ad__sound:focus-visible { outline: 3px solid #E9C977; outline-offset: 2px; }
.video-ad__body { padding: 1.75rem 2rem; color: #F3E6C8; }
.video-ad__label { margin: 0 0 .35rem; font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #C9A65A; }
.video-ad__title { margin: 0; font-family: var(--body); font-size: 2.1rem; line-height: 1.1; font-weight: 600; color: #FFF6DE; }
.video-ad__tagline { margin: .3rem 0 .8rem; font-family: var(--body); font-style: italic; font-size: 1.1rem; color: #E9C977; }
.video-ad__text { margin: 0 0 1.25rem; font-family: var(--display); font-size: .98rem; line-height: 1.5; color: #D9C9A6; }
.video-ad__cta {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 999px; text-decoration: none;
  background: linear-gradient(135deg, #F7E7B0, #D9AE52); color: #1A140C; font-family: var(--display); font-weight: 800;
  transition: transform .15s ease;
}
.video-ad__cta:hover { transform: translateY(-2px); }
.video-ad__cta:focus-visible { outline: 3px solid #FFF6DE; outline-offset: 3px; }
@media (max-width: 760px) {
  .video-ad { grid-template-columns: minmax(0, 1fr); }
  .video-ad__body { padding: 1.25rem 1.25rem 1.5rem; }
  .video-ad__title { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .video-ad__cta, .video-ad__cta:hover { transition: none; transform: none; } }

/* ===== Fact-check verdict box ===== */
.article-body .verdict { margin: 0 0 1.75rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); border-left: 6px solid #E5484D; }
.article-body .verdict p { margin: 0; }
.article-body .verdict__label { font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-body .verdict__rating { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: #E5484D; margin: .1rem 0 .5rem !important; }
