/* ai-sports.site — magazine template. Change only this :root block to restyle. */
:root {
  --primary: #7c5cff;
  --accent: #22d3ee;
  --bg: #0b0d17;
  --surface: #1a1c27;
  --surface-2: #252732;
  --text: #e7e9f5;
  --muted: #9395a1;
  --border: #373943;
  --link: #22d3ee;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 var(--font-body);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.masthead { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--text); text-decoration: none; }

/* Home hero */
.hero { padding: 56px 0 40px; }
.kicker { display: inline-block; font: 600 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; }
.hero-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hero-card .art { aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 30%, var(--primary), transparent 60%), radial-gradient(circle at 80% 70%, var(--accent), transparent 55%), var(--surface-2); }
.hero-card .body { padding: 32px 36px 32px 0; }
.hero-card h1 { font-size: clamp(28px, 4vw, 42px); }
.hero-card h1 a { color: var(--text); }
.dek { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.meta { color: var(--muted); font-size: 14px; }

/* Article grid */
.section-title { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin: 48px 0 24px; }
.section-title h2 { font-size: 22px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--primary); }
.card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--primary), var(--accent)); opacity: .85; }
.card .thumb.alt { background: linear-gradient(135deg, var(--accent), var(--surface-2)); }
.card .thumb.alt2 { background: linear-gradient(135deg, var(--surface-2), var(--primary)); }
.card .body { padding: 20px 22px 24px; }
.card h3 { font-size: 20px; }
.card h3 a { color: var(--text); }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.topic { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.topic strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--text); margin-bottom: 6px; }
.topic span { color: var(--muted); font-size: 14px; }

/* Article page */
.article-head { padding: 56px 0 28px; max-width: 760px; }
.article-head h1 { font-size: clamp(32px, 5vw, 48px); }
.prose { max-width: 720px; padding-bottom: 64px; }
.page-head { padding: 56px 0 20px; max-width: 760px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); }
.empty { color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px; text-align: center; grid-column: 1 / -1; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-top: 1.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); color: var(--muted); }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); font-family: var(--font-head); }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 18px 22px; margin: 1.6em 0; }
.byline-box { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.byline-box img { width: 48px; height: 48px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; margin-top: 40px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--text); font: 600 14px var(--font-head); margin: 0 0 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: var(--muted); }
.footer .note { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 18px; }

@media (max-width: 900px) {
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero-card .body { padding: 0 24px 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .masthead .wrap { height: auto; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 16px; }
  .wrap { padding: 0 16px; }
  .grid, .topics { grid-template-columns: minmax(0, 1fr); }
}

/* Long words and URLs wrap instead of widening the page on phones */
h1, h2, h3, p, li, td, th, dd, blockquote { overflow-wrap: break-word; }

/* ===== SITE IDENTITY: AI Sports — AI lab ===== */
:root { --glow: rgba(124, 92, 255, .35); --glass: rgba(255, 255, 255, .04); --line: rgba(255, 255, 255, .09); --radius: 16px; --mono: ui-monospace, "SFMono-Regular", Consolas, monospace; }
body { background: radial-gradient(1200px 600px at 85% -10%, rgba(124, 92, 255, .18), transparent 60%), radial-gradient(900px 500px at -10% 25%, rgba(34, 211, 238, .09), transparent 60%), var(--bg); background-attachment: fixed; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
.masthead { background: rgba(11, 13, 23, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav a { color: #b8bdd6; }
.nav a:hover { color: #fff; }
@media (max-width: 400px) { .nav { gap: 14px; } .nav a { font-size: 14px; } }
.ai-hero { position: relative; padding: 76px 0 44px; isolation: isolate; }
.ai-hero::after { content: ""; position: absolute; right: 2%; top: 30px; width: 320px; height: 320px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 200deg, var(--primary), var(--accent), var(--primary)); filter: blur(70px); opacity: .35; }
.ai-hero .kicker { color: var(--accent); font-family: var(--mono); letter-spacing: .08em; }
.ai-hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.08; padding-bottom: .06em; max-width: 880px; margin-bottom: 14px;
  background: linear-gradient(90deg, #fff, #c9c2ff 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-hero .dek { max-width: 640px; color: #aeb3cc; font-size: 19px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ai-chips span { font: 500 13px/1 var(--mono); color: #cfd3ea; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: var(--glass); }
.section-title { border-bottom-color: var(--line); }
.section-title h2 { font-family: var(--mono); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card { background: var(--glass); border-color: var(--line); }
.card:hover { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 20px 40px -20px var(--glow); }
.card .thumb { display: flex; align-items: flex-end; padding: 14px 16px; aspect-ratio: 16 / 8; opacity: 1;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, .45), transparent 45%), radial-gradient(circle at 80% 85%, rgba(124, 92, 255, .6), transparent 50%), #121630; }
.card .thumb span { font: 600 12px/1 var(--mono); color: #e7e9f5; letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .35); padding: 6px 9px; border-radius: 6px; }
.card .thumb:hover { text-decoration: none; }
.ai-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ai-topics a { display: block; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.ai-topics a:hover { border-color: var(--accent); transform: translateY(-2px); }
.ai-topics b { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; }
.ai-topics span { color: var(--muted); font-size: 14px; }
.footer { border-top-color: var(--line); }

.article-head .kicker { color: var(--accent); font-family: var(--mono); }
.article-head h1 { line-height: 1.06; }
.prose h2 { font-size: 26px; }
.prose table { background: var(--glass); border-radius: 12px; overflow: hidden; }
.prose th { color: var(--accent); }
.prose td { font-variant-numeric: tabular-nums; }
.prose .note { font-size: 14px; color: var(--muted); }
.callout { background: var(--glass); border-color: var(--line); border-left-color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }
.prose code { background: rgba(255, 255, 255, .08); }
.byline-box { border-top-color: var(--line); }
.sources { font-size: 15px; }

@media (max-width: 900px) { .ai-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ai-topics { grid-template-columns: minmax(0, 1fr); }
  .ai-hero { padding-top: 44px; }
}

/* layout: a floating rounded menu */
.masthead { top: 12px; background: transparent; border-bottom: 0; backdrop-filter: none; }
.masthead .wrap { max-width: 980px; height: 60px; border-radius: 999px; padding: 0 12px 0 24px; background: rgba(17, 20, 38, .8); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
.nav a { padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(124, 92, 255, .18); }
@media (max-width: 600px) {
  .masthead { top: 8px; }
  .masthead .wrap { height: auto; margin: 0 8px; padding: 12px 16px; border-radius: 18px; }
  .nav { flex-wrap: wrap; gap: 2px; overflow: visible; }
  .nav a { padding: 6px 8px; font-size: 14px; }
}

/* ===== TOOLS + READ NEXT (shared, uses the site's colours) ===== */
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin: 1.2em 0 1.6em; }
.tool-h { font-size: 17px; margin: 4px 0 12px; }
.tool-h ~ .tool-h { margin-top: 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tool-grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool label, .tool legend { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.tool input, .tool textarea { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0; }
.tool textarea { resize: vertical; }
.tool select { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; }
.tool input:focus, .tool textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.tool input.bad, .tool textarea.bad { border-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.tool fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.tool legend { padding: 0 6px; color: var(--text); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool button { font: 600 15px/1 var(--font-body); border: 0; border-radius: 8px; padding: 11px 16px; background: var(--primary); color: #fff; cursor: pointer; }
.tool button.secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.tool-result { margin-top: 16px; }
.tool-result .table-wrap { margin-bottom: 0; }
.tool-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 14px; }
.tool-big > div { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.tool-big b { display: block; font: 700 26px/1.15 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; }
.tool-big span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tool-big .up { color: #b91c1c; } .tool-big .down { color: #047857; }
.tool-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.tool-verdict { font-weight: 600; margin: 0 0 12px; }
.tool .bar { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.tool .bar i { display: block; height: 100%; background: var(--primary); }
.tool td b { color: var(--text); }
.sg-matches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 16px; }
.sg-match { display: grid; grid-template-columns: 1fr 52px 14px 52px 1fr; align-items: center; gap: 6px; font-size: 14px; }
.sg-match span:first-child { text-align: right; }
.sg-match input { text-align: center; padding: 8px 4px; }
.sg-match em { text-align: center; color: var(--muted); font-style: normal; }
.sg-table td:last-child { font-weight: 600; white-space: nowrap; }
.cp-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cp-teams fieldset .tool-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }

.tool-teaser { display: flex; align-items: center; gap: 16px; margin: 20px 0 6px; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tool-teaser:hover { border-color: var(--link); text-decoration: none; }
.tool-teaser .ico { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--font-head); }
.tool-teaser b { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.25; }
.tool-teaser .t { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tool-teaser::after { content: "→"; margin-left: auto; padding-left: 8px; color: var(--link); font-size: 22px; }
@media (max-width: 480px) {
  .tool-teaser { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .tool-teaser::after { display: none; }
  .tool-teaser .ico { width: 40px; height: 40px; font-size: 15px; }
  .tool-teaser b { font-size: 17px; }
}

.related { margin: 40px 0 8px; padding-top: 22px; border-top: 2px solid var(--border); }
.prose .related-h { font-size: 20px; margin: 0 0 8px; padding: 0; border: 0; text-transform: none; }
.prose .related-h::before, .prose .related-h::after { content: none; }
.related-list { list-style: none; padding: 0; margin: 0 0 18px; }
.related-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); line-height: 1.4; }
.related-list a { font-weight: 600; }
.related-list span { color: var(--muted); font-size: 14px; }
.tool-cta { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); color: var(--text); text-decoration: none; }
.tool-cta:hover { text-decoration: none; border-color: var(--link); }
.tool-cta b { font-family: var(--font-head); font-size: 18px; }
.tool-cta b::after { content: " →"; color: var(--link); }
.tool-cta span { color: var(--muted); font-size: 15px; }

/* breadcrumbs + section pages */
.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 26px 0 -4px; font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.trail a { color: var(--muted); text-decoration: none; }
.trail a:hover { color: var(--link); text-decoration: underline; }
.trail .sep { opacity: .55; }
.trail + .article-head, .trail + .page-head, .trail + .post-head, .trail + .entry-head { padding-top: 22px; }
.trail + .doc-title { margin-top: 18px; }
.prose:has(+ .hub-body) { padding-bottom: 0; }
.hub-body { margin: 6px 0 56px; }
.hub-h { font-size: 22px; margin: 30px 0 14px; }
.hub-empty { color: var(--muted); font-style: italic; padding: 10px 0; }
.hub-body .tool-cta { margin-top: 26px; }
.prose figure.chart { margin: 1.7em 0; }
.prose figure.chart img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--border); }
.prose figure.chart figcaption { max-width: 560px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* studio-theme-start */
:root{--bg:#f3f6fb;--surface:#ffffff;--surface-2:#e6edf8;--text:#142b49;--muted:#60738c;--border:#dce5f0;--primary:#235fc4;--accent:#10a69d;--link:#235fc4;--radius:18px;--max:1240px;--font-body:Inter,system-ui,sans-serif;--font-head:Inter,system-ui,sans-serif}
body{font-size:17px;line-height:1.8}.wrap{max-width:var(--max);padding-left:28px;padding-right:28px}
.masthead{background:var(--surface);border-bottom:1px solid var(--border)}.masthead .wrap{height:84px;gap:28px}
.nav a{font-size:14px;letter-spacing:.02em}.hero,.ai-hero{padding-top:80px;padding-bottom:64px}
.ai-hero h1,.hero h1{font-size:clamp(36px,5.8vw,76px);line-height:1.08;letter-spacing:-.055em;max-width:950px;font-weight:750}
.dek{font-size:20px;line-height:1.8;max-width:780px;color:var(--muted)}
.kicker{font-size:11px;letter-spacing:.17em;border-left:3px solid var(--primary);padding-left:12px}
.grid{gap:28px}.card{box-shadow:0 8px 28px #142b4910;border-color:var(--border);border-radius:var(--radius);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 36px #142b491c}.card .body{padding:25px 26px 28px}
.card h3{font-size:23px;line-height:1.35;letter-spacing:-.025em}.card p{font-size:15px;line-height:1.75}.card .thumb{aspect-ratio:16/9;opacity:1}
.section-title{margin-top:60px;margin-bottom:28px;padding-bottom:18px}.section-title h2{font-size:25px;letter-spacing:-.03em}
.article-head{padding-top:70px;max-width:920px}.article-head h1{font-size:clamp(34px,4.5vw,60px);letter-spacing:-.045em;line-height:1.15}
.prose{max-width:780px;font-size:18px;line-height:1.95}.prose h2{font-size:31px;letter-spacing:-.03em}.prose img{border-radius:14px;height:auto}
.prose a{text-decoration:underline;text-underline-offset:4px}.topic,.callout,.tool-teaser{border-radius:14px}.meta{font-size:12px;letter-spacing:.02em}
.site-footer{margin-top:70px;padding-top:36px;border-top:1px solid var(--border)}
@media(max-width:800px){.wrap{padding-left:20px;padding-right:20px}.masthead .wrap{height:auto;min-height:72px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px;gap:14px}.nav{width:100%;gap:20px;padding-bottom:4px}.hero,.ai-hero{padding-top:45px;padding-bottom:34px}.dek{font-size:17px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card .body{padding:19px}.card h3{font-size:20px}.article-head{padding-top:42px}.prose{font-size:17px}.topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.grid{grid-template-columns:1fr}.hero-card{grid-template-columns:1fr}.hero-card .body{padding:22px}.ai-hero h1,.hero h1{font-size:39px}.card h3{font-size:24px}.section-title{margin-top:38px}.article-head h1{font-size:35px}.prose h2{font-size:27px}.topics{grid-template-columns:1fr}.prose table{font-size:13px}}

:root{--line:var(--border);--glass:var(--surface);--glow:transparent}
body{background:var(--bg);background-attachment:scroll}
.masthead{top:0;background:var(--surface);border-bottom:1px solid var(--border);backdrop-filter:none}
.masthead .wrap{max-width:var(--max);margin:0 auto;border-radius:0;border:0;background:var(--surface);box-shadow:none;backdrop-filter:none;padding-left:28px;padding-right:28px}
.masthead .logo img{filter:brightness(.24)}.nav a{color:var(--muted)}.nav a:hover{color:var(--text);background:var(--surface-2)}
.ai-hero h1{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--text);-webkit-text-fill-color:var(--text)}
.ai-hero .dek{color:var(--muted);max-width:740px}.ai-hero::after{display:none}.ai-hero{border-bottom:1px solid var(--border)}
.ai-hero .kicker{color:var(--primary)}.ai-chips span{color:var(--primary);border:1px solid var(--border);background:var(--surface);font-size:12px;padding:10px 15px}
.ai-topics a{background:var(--surface)}.footer{background:var(--surface);color:var(--muted);border-top:1px solid var(--border)}
.banner{background:var(--surface);color:var(--text);border-bottom:1px solid var(--border)}.banner .tagline{color:var(--muted)}
.menu{background:var(--surface-2);border-color:var(--border)}.menu a{color:var(--text)}.menu a:hover{color:var(--link)}
.ss-hero h1,.ss-sections b{color:var(--text);text-shadow:none;letter-spacing:-.04em}.ss-kicker{color:var(--link)}
.ss-machine{background:var(--surface);border:1px solid var(--border);box-shadow:0 12px 30px #00000012;padding:20px}
.ss-lights{display:none}.ss-reel{background:var(--surface-2);box-shadow:none;padding:24px 8px}.ss-reel b{color:var(--link);font-family:var(--font-head);font-weight:700}.ss-reel span,.ss-machine figcaption{color:var(--muted)}
.ss-sections i{background:var(--surface-2);color:var(--link);box-shadow:none}.ss-sections a:hover{box-shadow:none}
.body-grid{gap:44px}.post{gap:26px;padding:28px 0}.post h2{font-size:25px;line-height:1.35;letter-spacing:-.025em}.post .img{border-radius:14px}.sidebar{border-color:var(--border)}
@media(max-width:800px){.masthead .wrap{margin:0;padding-left:20px;padding-right:20px}.ai-hero h1{font-size:clamp(35px,7vw,52px)}.body-grid{grid-template-columns:1fr}.ss-hero{grid-template-columns:1fr}.ai-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ai-topics{grid-template-columns:1fr}.post{grid-template-columns:1fr}.post .img{aspect-ratio:16/9}.ss-hero h1{font-size:36px}.ss-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.nav{gap:4px}.nav a{font-size:12px;padding:7px 8px}}

/* studio-theme-end */

/* studio-featured-v1 */
.featured-image{margin:24px 0 30px}.featured-image img{display:block;width:100%;height:auto;border-radius:16px}.featured-image figcaption{font-size:12px;line-height:1.6;color:var(--muted);margin-top:8px}.card .thumb{position:relative;overflow:hidden;aspect-ratio:16/9}.card .thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card .thumb>span{position:relative;z-index:1}

.featured-image{margin:1.5rem 0}.featured-image img{display:block;max-width:100%;height:auto;border-radius:var(--radius,12px)}.card .thumb,.post .img{position:relative;overflow:hidden}.card .thumb>img,.post .img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card .thumb>span,.post .img>span{position:relative;z-index:1}
