/* Tarot Daily — reusable SEO page templates */
:root {
  --light-bg:#f7f7f5;
  --light-card:#ffffff;
  --light-text:#13203a;
  --light-muted:#5f687b;
  --light-border:#e7e8ed;
  --blue:#243c8c;
  --blue-soft:#eef1ff;
  --cream:#fff6e7;
}

.template-main { min-height:70vh; }
.template-section { padding-top:54px; padding-bottom:0; }
.template-title-row { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:18px; }
.template-title-row h2 { margin:0; font:700 clamp(26px,3vw,38px)/1.05 Georgia,serif; }
.template-title-row > span { color:var(--muted); font-size:13px; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; color:inherit; opacity:.68; font-size:12px; margin-bottom:18px; }
.breadcrumbs a::after { content:' /'; opacity:.45; margin-left:8px; }

/* Shared template hero */
.template-hero { position:relative; min-height:360px; display:grid; align-items:center; overflow:hidden; border-bottom:1px solid rgba(255,255,255,.08); }
.template-hero::before { content:""; position:absolute; inset:0; background-image:var(--hero); background-size:cover; background-position:center; }
.template-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,8,19,.97),rgba(5,8,19,.82) 43%,rgba(5,8,19,.18)); }
.template-hero-grid,.template-hero-copy { position:relative; z-index:2; }
.template-hero-grid { min-height:360px; display:grid; align-items:center; grid-template-columns:minmax(0,650px) 1fr; padding:54px 0; }
.template-hero-copy { max-width:690px; padding:46px 0; }
.template-hero h1,.light-hero-overlay h1 { margin:0; font:700 clamp(42px,5vw,66px)/.98 Georgia,serif; letter-spacing:-.03em; text-wrap:balance; }
.template-hero p,.light-hero-overlay p { margin:18px 0 0; font-size:17px; max-width:660px; color:#d9deea; }
.compact-hero { min-height:300px; }
.compact-hero .template-hero-copy { padding:44px 0; }
.deck-hero::after { background:linear-gradient(90deg,rgba(5,8,19,.96),rgba(5,8,19,.80) 50%,rgba(5,8,19,.28)); }
.spread-hero::before { filter:saturate(.8) brightness(.75); }

.chip-row { display:flex; gap:9px; overflow:auto; scrollbar-width:none; padding-top:16px; padding-bottom:2px; }
.chip-row::-webkit-scrollbar { display:none; }
.chip-row a { flex:0 0 auto; min-height:42px; display:inline-flex; align-items:center; gap:8px; padding:0 15px; border:1px solid var(--line-soft); border-radius:999px; background:#0d1328; color:#eceef6; font-weight:650; font-size:13px; }
.chip-row a:first-child { border-color:var(--gold-3); color:var(--gold-2); }

/* Catalog */
.catalog-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:18px; align-items:start; }
.filter-panel { position:sticky; top:94px; border:1px solid var(--line-soft); border-radius:16px; background:#0c1125; padding:16px; }
.filter-panel h2 { margin:0 0 12px; font:700 19px Georgia,serif; }
.search-box { height:44px; display:grid; grid-template-columns:auto 1fr; align-items:center; gap:8px; border:1px solid var(--line-soft); border-radius:10px; padding:0 10px; background:#11172f; }
.search-box input { min-width:0; width:100%; border:0; outline:0; color:var(--text); background:transparent; }
.search-box input::placeholder { color:#7e879f; }
.filter-nav { display:grid; gap:5px; margin-top:12px; }
.filter-nav button { text-align:left; min-height:42px; padding:0 11px; border:0; border-radius:9px; background:transparent; cursor:pointer; color:#dce0eb; }
.filter-nav button.active { background:linear-gradient(180deg,#f5d995,#d3a64e); color:#171006; font-weight:800; }
.filter-note { margin-top:14px; border-top:1px solid var(--line-soft); padding-top:14px; color:var(--muted); font-size:12px; line-height:1.55; }
.catalog-content { min-width:0; }
.group-showcase { display:grid; grid-template-columns:230px minmax(0,1fr); gap:18px; border:1px solid var(--line-soft); background:#0d1328; border-radius:16px; padding:16px; align-items:center; }
.group-showcase img { width:100%; height:210px; object-fit:cover; border-radius:12px; }
.group-copy h3 { margin:0; font:700 28px Georgia,serif; }
.group-copy p { color:var(--muted); margin:10px 0 14px; }
.group-copy a { color:var(--gold-2); font-weight:700; }
.mini-group-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:12px; }
.mini-group { border:1px solid var(--line-soft); background:#0d1328; border-radius:15px; padding:13px; min-width:0; }
.mini-group h3 { margin:0 0 10px; font:700 21px Georgia,serif; }
.mini-group img { width:100%; height:145px; object-fit:cover; border-radius:10px; }
.meaning-guide { margin-top:15px; padding:18px; border:1px solid var(--line-soft); border-radius:16px; background:linear-gradient(180deg,#10172f,#0c1125); }
.meaning-guide h2 { margin:0 0 15px; font:700 27px Georgia,serif; }
.meaning-guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.meaning-guide-grid article { border:1px solid var(--line-soft); border-radius:12px; padding:14px; background:#0b1022; }
.meaning-guide-grid b { color:var(--gold-2); font:700 17px Georgia,serif; }
.meaning-guide-grid p { margin:7px 0 0; color:var(--muted); font-size:13px; }
.wide-showcase { width:100%; min-height:220px; max-height:360px; object-fit:cover; border:1px solid var(--line-soft); border-radius:17px; }

/* Suit / arcana catalog */
.tarot-card-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:13px; }
.tarot-entry { display:flex; flex-direction:column; min-width:0; border:1px solid var(--line-soft); border-radius:14px; overflow:hidden; background:#0c1125; }
.tarot-entry img { width:100%; aspect-ratio:.72; object-fit:cover; }
.tarot-entry .tarot-entry-body { padding:11px; }
.tarot-entry h3 { margin:0 0 6px; font:700 16px/1.15 Georgia,serif; }
.tarot-entry p { color:var(--muted); font-size:12px; margin:0; }
.tarot-entry a { color:var(--gold-2); font-size:12px; font-weight:750; margin-top:8px; display:inline-block; }
.content-split { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr); gap:18px; align-items:start; }
.content-card,.link-panel,.side-card { border:1px solid var(--line-soft); background:linear-gradient(180deg,#10172f,#0b1022); border-radius:16px; padding:20px; }
.content-card h2,.link-panel h3,.side-card h2 { margin:0 0 12px; font:700 27px Georgia,serif; }
.content-card h3 { font:700 20px Georgia,serif; margin:24px 0 10px; }
.content-card p,.link-panel p,.side-card p { color:var(--muted); }
.link-panel { display:grid; gap:8px; }
.side-link { display:block; border:1px solid var(--line-soft); border-radius:10px; padding:11px 12px; color:inherit; }
.side-link + .side-link { margin-top:8px; }

/* Card meaning */
.card-detail-top { position:relative; overflow:hidden; border-bottom:1px solid var(--line-soft); }
.card-detail-bg { position:absolute; inset:0; }
.card-detail-bg img { width:100%; height:100%; object-fit:cover; filter:brightness(.48) saturate(.82); }
.card-detail-bg::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,9,20,.92),rgba(6,9,20,.50) 45%,rgba(6,9,20,.70)); }
.card-detail-hero-grid { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1.35fr) 250px minmax(260px,.75fr); gap:26px; align-items:center; min-height:450px; padding:46px 0; }
.card-detail-intro h1 { margin:0; font:700 clamp(40px,5vw,64px)/1 Georgia,serif; }
.card-detail-intro p { color:#d9deea; font-size:16px; margin:17px 0; max-width:620px; }
.card-detail-intro blockquote { margin:0; color:var(--gold-2); font:italic 20px Georgia,serif; }
.card-isolation img { width:100%; max-height:345px; object-fit:contain; filter:drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.quick-facts { border:1px solid var(--line); border-radius:15px; background:rgba(9,13,29,.90); padding:18px; }
.quick-facts h2 { margin:0 0 12px; color:var(--gold-2); font:700 24px Georgia,serif; }
.quick-facts dl { margin:0 0 16px; }
.quick-facts dl div { display:grid; grid-template-columns:105px 1fr; gap:8px; padding:9px 0; border-bottom:1px solid var(--line-soft); }
.quick-facts dt { color:var(--muted); font-size:12px; }
.quick-facts dd { margin:0; font-size:13px; }
.quick-facts .primary-button { width:100%; padding:0 12px; font-size:12px; min-height:44px; }
.key-meaning { margin-top:18px; display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; border:1px solid var(--line-soft); border-radius:16px; padding:20px; background:#0d1328; }
.key-meaning > div { display:flex; gap:15px; align-items:center; }
.key-meaning > div > span { color:var(--gold-2); font-size:36px; }
.key-meaning h2 { margin:0; font:700 30px Georgia,serif; }
.key-meaning p { margin:5px 0 0; color:var(--gold); font:italic 16px Georgia,serif; }
.key-meaning ul { display:flex; gap:8px; flex-wrap:wrap; padding:0; margin:0; list-style:none; }
.key-meaning li { padding:9px 11px; border-left:1px solid var(--line-soft); color:#e5e8f1; font-size:12px; }
.card-meaning-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:18px; align-items:start; }
.card-meaning-content { display:grid; gap:12px; }
.dual-panels { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.content-card ul { color:#d9ddeb; padding-left:20px; }
.highlight-answer { border:1px solid var(--gold-3); border-radius:16px; overflow:hidden; background:linear-gradient(110deg,#10172d,#1a1526); }
.highlight-answer > div { min-height:140px; display:flex; align-items:center; gap:18px; padding:22px; background:radial-gradient(circle at 86% 40%,rgba(231,191,105,.12),transparent 30%); }
.highlight-answer span { font-size:36px; color:var(--gold-2); }
.highlight-answer small { color:var(--gold); }
.highlight-answer h2 { margin:2px 0 6px; font:700 30px Georgia,serif; }
.highlight-answer p { color:var(--muted); margin:0; }
.combo-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.combo-card { border:1px solid var(--line-soft); border-radius:11px; overflow:hidden; background:#0a0f20; }
.combo-card img { width:100%; aspect-ratio:1.12; object-fit:cover; }
.combo-card span { display:block; padding:8px 9px; font-size:12px; color:#dfe3ee; }
.advice-strip { border:1px solid var(--line); border-radius:14px; padding:14px 16px; display:flex; gap:18px; align-items:flex-start; }
.advice-strip b { color:var(--gold-2); flex:0 0 auto; }
.advice-strip span { color:var(--muted); }
.card-sidebar { display:grid; gap:12px; }
.side-card img { width:100%; border-radius:10px; }
.app-side { background:linear-gradient(150deg,#1d1531,#0a1126); }
.app-side .primary-button { width:100%; text-align:center; }

/* Deck */
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.stat-grid div { border:1px solid var(--line-soft); border-radius:11px; padding:13px; text-align:center; background:#0b1022; }
.stat-grid strong { display:block; color:var(--gold-2); font:700 28px Georgia,serif; }
.stat-grid span { font-size:11px; color:var(--muted); }
.check-list { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.check-list li::before { content:'✓'; color:var(--gold-2); margin-right:8px; }

/* Interactive reading */
.reading-workspace { max-width:1000px; }
.reading-question { border:1px solid var(--line-soft); border-radius:16px; padding:18px; background:#0d1328; }
.reading-question label { display:block; font:700 20px Georgia,serif; margin-bottom:9px; }
.reading-question textarea { width:100%; resize:vertical; min-height:90px; border:1px solid var(--line-soft); border-radius:11px; padding:12px; background:#090e1f; color:var(--text); font-size:16px; }
.reading-step-head { margin:26px 0 14px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.reading-step-head > div { display:flex; align-items:center; gap:10px; }
.reading-step-head h2 { margin:0; font:700 28px Georgia,serif; }
.reading-step-head p { color:var(--muted); margin:0; }
.step-badge { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--gold-2); color:#171006; font-weight:900; }
.reading-cards { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.reading-card { aspect-ratio:.68; min-height:210px; border:1px solid var(--gold-3); border-radius:16px; background:radial-gradient(circle at 50% 43%,rgba(231,191,105,.17),transparent 28%),linear-gradient(145deg,#111a38,#080d1e); color:var(--gold-2); cursor:pointer; position:relative; overflow:hidden; }
.reading-card::before,.reading-card::after { content:""; position:absolute; border:1px solid rgba(231,191,105,.3); border-radius:12px; inset:10px; }
.reading-card::after { inset:20px; border-color:rgba(231,191,105,.14); }
.reading-card span { position:relative; z-index:2; font-size:38px; }
.reading-card[aria-pressed="true"] { box-shadow:0 0 0 3px rgba(245,217,149,.25),0 14px 40px rgba(0,0,0,.28); transform:translateY(-6px); }
.reading-card:disabled { opacity:.65; }
.reading-actions { display:flex; justify-content:center; gap:10px; margin-top:20px; }
.reading-actions button { border:1px solid var(--gold-3); cursor:pointer; }
.reading-actions button:disabled { opacity:.45; cursor:not-allowed; }
.reading-result { margin-top:24px; display:grid; grid-template-columns:280px 1fr; gap:22px; align-items:center; border:1px solid var(--line); border-radius:18px; background:linear-gradient(130deg,#12172e,#1b1428); padding:18px; }
.reading-result[hidden] { display:none; }
.reading-result img { border-radius:12px; }
.reading-result small { color:var(--gold); }
.reading-result h2 { margin:3px 0 9px; font:700 31px Georgia,serif; }
.reading-result p { color:var(--muted); }
.number-list { margin:0; padding:0; list-style:none; counter-reset:item; display:grid; gap:10px; }
.number-list li { counter-increment:item; display:grid; grid-template-columns:30px 1fr; align-items:start; gap:9px; }
.number-list li::before { content:counter(item); width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:var(--blue-soft); color:var(--blue); font-weight:800; }
.dark-template .number-list li::before { background:#182247; color:var(--gold-2); }

/* Light template system */
body.page-light { background:var(--light-bg); color:var(--light-text); }
body.page-light .template-main { background:linear-gradient(#fafaf8,#f5f5f2); color:var(--light-text); }
body.page-light .site-footer { background:#07101f; }
.light-template a { color:inherit; }
.light-template .eyebrow { color:#d49a41; }
.light-template .breadcrumbs { color:#607087; }
.light-template .template-title-row > span { color:var(--light-muted); }
.light-image-hero { position:relative; min-height:410px; overflow:hidden; background:#0c1830; color:#fff; }
.light-image-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:brightness(.62); }
.light-image-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,17,37,.92),rgba(8,17,37,.54) 50%,rgba(8,17,37,.18)); }
.light-hero-overlay { position:relative; z-index:2; padding:66px 0; }
.light-side-card,.calc-main-card,.example-result,.simple-content { background:var(--light-card); border:1px solid var(--light-border); border-radius:18px; box-shadow:0 10px 35px rgba(18,31,56,.05); }
.light-side-card { padding:20px; }
.light-side-card h2 { margin:0 0 10px; font:700 24px Georgia,serif; }
.light-side-card h3 { font:700 19px Georgia,serif; }
.light-side-card p { color:var(--light-muted); }
.light-side-card img { border-radius:12px; margin:12px 0; width:100%; }
.light-template .side-link { border-color:var(--light-border); color:#283855; background:#fff; }
.light-template .side-link:hover { background:#f7f8ff; }
.button-blue { min-height:46px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:11px; background:linear-gradient(180deg,#314ba2,#23367e); color:#fff!important; font-weight:800; }

/* Arcana calculator */
.calculator-work { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr); gap:24px; align-items:start; margin-top:-44px; position:relative; z-index:4; }
.calc-main-card { padding:26px; }
.calc-main-card h2 { margin:0; font:700 30px Georgia,serif; }
.calc-main-card > p { color:var(--light-muted); }
.calc-form.large { grid-template-columns:1fr auto; }
.calc-form.large input { min-height:52px; border-color:#d8dbe5; background:#fff; }
.calc-form.large .calc-button { min-height:52px; border:0; border-radius:11px; padding:0 24px; background:linear-gradient(180deg,#314ba2,#24377e); color:#fff; font-weight:800; }
.large-result { margin-top:14px; min-height:0; }
.privacy-note { font-size:12px; text-align:center; margin:12px 0 0!important; color:#7a8292!important; }
.example-result { padding:20px; }
.example-result > h2 { margin:0 0 14px; font:700 28px Georgia,serif; }
.example-grid { display:grid; grid-template-columns:190px minmax(0,1fr); gap:28px; align-items:center; }
.example-grid > img { width:100%; border-radius:14px; }
.example-grid small { color:#b98635; letter-spacing:.12em; text-transform:uppercase; }
.example-grid h2 { margin:4px 0 12px; font:700 34px Georgia,serif; }
.tag-row { display:flex; flex-wrap:wrap; gap:8px; }
.tag-row span { background:#edf0ff; color:#273b82; border-radius:999px; padding:7px 12px; font-size:12px; }
.example-grid p { color:var(--light-muted); }
.example-grid blockquote { margin:14px 0 0; padding:14px 16px; background:var(--cream); border-radius:12px; color:#6b5a4b; font:italic 15px Georgia,serif; }
.faq-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:24px; align-items:start; padding-bottom:64px; }
.faq-grid h2 { font:700 30px Georgia,serif; }
.faq-grid details { background:#fff; border:1px solid var(--light-border); border-radius:11px; margin-bottom:8px; overflow:hidden; }
.faq-grid summary { padding:14px 16px; cursor:pointer; font-weight:650; }
.faq-grid details p { color:var(--light-muted); padding:0 16px 15px; margin:0; }
.faq-grid > img { width:100%; border-radius:16px; }

/* Light CTA banner */
.app-banner-light { width:min(var(--max),calc(100% - 40px)); margin:54px auto 0; border-radius:17px; overflow:hidden; display:grid; grid-template-columns:250px 1fr auto; align-items:center; gap:24px; background:linear-gradient(110deg,#101a3b,#281b49); color:#fff; padding:0 24px 0 0; min-height:138px; }
.app-banner-light img { width:250px; height:138px; object-fit:cover; }
.app-banner-light h2 { margin:0; font:700 28px Georgia,serif; }
.app-banner-light p { margin:6px 0 0; color:#d7dbee; }
.app-banner-light .primary-button { white-space:nowrap; }

/* Article */
.article-heading { padding-top:48px; }
.article-heading h1 { max-width:900px; margin:8px 0 12px; font:700 clamp(40px,5vw,64px)/1.02 Georgia,serif; letter-spacing:-.025em; }
.article-heading > p { max-width:800px; color:var(--light-muted); font-size:18px; }
.article-label { display:inline-flex; min-height:28px; align-items:center; padding:0 11px; border-radius:999px; background:#e9edff; color:#2f46a0; font-size:11px; font-weight:800; text-transform:uppercase; }
.article-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.9fr); gap:42px; align-items:center; padding-top:48px; }
.article-header h1 { margin:10px 0 15px; font:700 clamp(42px,5vw,66px)/1 Georgia,serif; letter-spacing:-.03em; }
.article-header-copy > p { color:var(--light-muted); font-size:17px; }
.article-meta { display:flex; gap:12px; align-items:center; color:#667085; font-size:12px; }
.article-hero-image { width:100%; border-radius:18px; min-height:300px; max-height:390px; object-fit:cover; }
.author-row { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; margin-top:20px; }
.author-avatar { width:38px; height:38px; border-radius:50%; background:#142248; color:#f3ce7e; display:grid; place-items:center; }
.author-row small { display:block; color:#7b8494; }
.author-row time { color:#7b8494; font-size:12px; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:28px; align-items:start; }
.article-content { min-width:0; }
.toc { padding:20px; border-radius:16px; background:linear-gradient(120deg,#f0f2ff,#fff6e9); margin-bottom:28px; }
.toc h2 { margin:0 0 10px; font:700 23px Georgia,serif; }
.toc ol { margin:0; padding-left:23px; columns:2; gap:26px; }
.toc li { margin:8px 0; color:#2745a8; break-inside:avoid; }
.article-content section { scroll-margin-top:90px; margin-top:36px; }
.article-content section h2 { margin:0 0 10px; font:700 32px Georgia,serif; }
.article-content section p { color:var(--light-muted); font-size:16px; line-height:1.7; }
.article-content blockquote { margin:18px 0; padding:16px 20px; background:#f4f4f8; border-radius:13px; color:#626a79; font:italic 15px Georgia,serif; }
.four-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:16px; }
.four-feature-grid > div { border:1px solid var(--light-border); border-radius:13px; background:#fff; padding:16px 12px; text-align:center; font-size:25px; }
.four-feature-grid b { display:block; margin-top:8px; font:700 15px Georgia,serif; }
.four-feature-grid span { display:block; margin-top:5px; color:var(--light-muted); font-size:12px; }
.article-content .number-list li { color:#536078; }
.content-image { width:100%; max-height:300px; object-fit:cover; border-radius:15px; }
.article-sidebar { display:grid; gap:14px; position:sticky; top:94px; }

/* Reference */
.reference-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:28px; align-items:start; padding-bottom:56px; }
.reference-note { border:1px solid var(--light-border); background:#fff6e9; border-radius:15px; padding:18px; }
.reference-note b { font:700 20px Georgia,serif; }
.reference-note p { color:var(--light-muted); }
.combo-table { display:grid; gap:10px; margin-top:16px; }
.combo-row { display:grid; grid-template-columns:92px 92px minmax(0,1fr); gap:14px; align-items:center; border:1px solid var(--light-border); background:#fff; border-radius:14px; padding:10px; }
.combo-row img { width:92px; height:92px; object-fit:cover; border-radius:9px; }
.combo-row h3 { margin:0 0 5px; font:700 18px Georgia,serif; }
.combo-row p { margin:0; color:var(--light-muted); font-size:13px; }
.sidebar-image { width:100%; border-radius:16px; }

/* Collection */
.collection-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.collection-item { display:grid; grid-template-columns:180px minmax(0,1fr); border:1px solid var(--light-border); background:#fff; border-radius:16px; overflow:hidden; }
.collection-item img { width:100%; height:100%; min-height:230px; object-fit:cover; }
.collection-item div { padding:20px; }
.collection-item small { color:#b27c2f; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.collection-item h2 { margin:6px 0 8px; font:700 27px Georgia,serif; }
.collection-item p { color:var(--light-muted); }
.content-split-light { display:grid; grid-template-columns:1.4fr .7fr; gap:20px; align-items:start; }

/* Daily forecast */
.daily-hero-new { position:relative; min-height:330px; color:#fff; overflow:hidden; }
.daily-hero-new > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:brightness(.64); }
.daily-hero-new::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,17,36,.90),rgba(8,17,36,.30) 58%,rgba(8,17,36,.20)); }
.daily-hero-copy { position:relative; z-index:2; padding:62px 0; }
.daily-hero-copy h1 { margin:0; font:700 clamp(48px,6vw,70px)/1 Georgia,serif; color:#ffe4ae; }
.daily-hero-copy p { max-width:620px; font-size:19px; }
.daily-icon-row { display:flex; flex-wrap:wrap; gap:22px; margin-top:25px; }
.daily-icon-row span { font-size:13px; }
.daily-focus { margin-top:-24px; position:relative; z-index:3; display:grid; grid-template-columns:210px minmax(0,1fr) 270px; gap:24px; align-items:center; background:#fff; border:1px solid var(--light-border); border-radius:20px; padding:22px; box-shadow:0 14px 45px rgba(21,34,59,.08); }
.daily-focus-card { width:100%; max-height:330px; object-fit:contain; border-radius:12px; }
.daily-focus-copy .daily-date { color:#697386; }
.daily-focus-copy h2 { margin:4px 0 6px; font:700 38px Georgia,serif; }
.daily-focus-copy > p { color:var(--light-muted); font-size:16px; line-height:1.65; }
.daily-focus-copy blockquote { margin:16px 0 0; padding:14px 16px; background:#fff7eb; border-radius:12px; color:#675b50; font:italic 15px Georgia,serif; }
.energy-list { margin:0; padding:0; list-style:none; display:grid; gap:9px; }
.energy-list li { background:#fafafa; border-radius:999px; padding:9px 12px; }
.daily-categories { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding-top:18px; }
.daily-categories article { border:1px solid var(--light-border); border-radius:15px; padding:17px; background:#fff; }
.daily-categories article:nth-child(1){background:#fff4f6}.daily-categories article:nth-child(2){background:#fff9ed}.daily-categories article:nth-child(3){background:#f2faf5}.daily-categories article:nth-child(4){background:#fff8ef}
.daily-categories h3 { margin:0 0 8px; font:700 19px Georgia,serif; }
.daily-categories p { margin:0; color:var(--light-muted); font-size:13px; }
.day-pills { display:flex; gap:8px; overflow:auto; scrollbar-width:none; }
.day-pills > * { flex:0 0 auto; border:1px solid var(--light-border); border-radius:11px; min-width:105px; padding:12px 16px; text-align:center; background:#fff; }
.day-pills .active { background:#1d2f71; color:#fff; }
.related-light { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:28px; align-items:start; padding-bottom:64px; }
.related-light h2 { font:700 30px Georgia,serif; }
.related-light p { color:var(--light-muted); }
.related-light blockquote { background:#f5f5f8; padding:15px; border-radius:12px; color:#656d7b; }
.related-card-row { display:flex; gap:12px; }
.related-card-row img { width:120px; aspect-ratio:.62; object-fit:cover; border-radius:9px; }

/* Learning hub */
.learning-hero { position:relative; min-height:330px; color:#fff; overflow:hidden; }
.learning-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:brightness(.63); }
.learning-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,17,37,.92),rgba(8,17,37,.56) 48%,rgba(8,17,37,.18)); }
.learning-hero-copy { position:relative; z-index:2; padding:58px 0; }
.learning-hero h1 { margin:0; max-width:700px; font:700 clamp(46px,5vw,68px)/1 Georgia,serif; }
.learning-hero p { max-width:650px; font-size:17px; }
.learning-traits { display:flex; flex-wrap:wrap; gap:22px; margin-top:22px; font-size:13px; }
.learning-chips { display:flex; gap:8px; overflow:auto; scrollbar-width:none; padding-top:15px; }
.learning-chips a { flex:0 0 auto; border:1px solid var(--light-border); background:#fff; color:#30405e; border-radius:999px; padding:10px 14px; font-size:12px; }
.learning-chips a.active { background:#263a84; color:#fff; }
.learning-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:26px; align-items:start; }
.featured-article { display:grid; grid-template-columns:310px minmax(0,1fr); border:1px solid var(--light-border); border-radius:16px; overflow:hidden; background:#fff; }
.featured-article img { width:100%; height:100%; min-height:235px; object-fit:cover; }
.featured-article > div { padding:20px; }
.featured-article h2 { margin:8px 0 9px; font:700 29px Georgia,serif; }
.featured-article p { color:var(--light-muted); }
.learning-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px; }
.learning-card { border:1px solid var(--light-border); border-radius:14px; overflow:hidden; background:#fff; }
.learning-card img { width:100%; aspect-ratio:1.35; object-fit:cover; }
.learning-card div { padding:14px; }
.learning-card h3 { margin:5px 0 8px; font:700 18px Georgia,serif; }
.learning-card p { color:var(--light-muted); font-size:13px; }
.guide-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.guide-card { background:linear-gradient(180deg,#f3f4ff,#fff); border:1px solid var(--light-border); border-radius:15px; padding:20px; text-align:center; }
.guide-card span { font-size:35px; }
.guide-card h3 { font:700 19px Georgia,serif; }
.guide-card p { color:var(--light-muted); font-size:13px; }
.simple-content { padding:30px; color:var(--light-muted); max-width:900px; }
.simple-content h2 { color:var(--light-text); font:700 28px Georgia,serif; }

/* Responsive template pages */
@media (max-width:1050px){
  .catalog-layout{grid-template-columns:190px 1fr}
  .tarot-card-grid{grid-template-columns:repeat(4,1fr)}
  .card-detail-hero-grid{grid-template-columns:1fr 220px}.quick-facts{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-facts dl{margin:0}.quick-facts .primary-button{align-self:end}
  .card-meaning-layout{grid-template-columns:1fr}.card-sidebar{grid-template-columns:repeat(3,1fr)}
  .article-header{grid-template-columns:1fr 420px}.daily-focus{grid-template-columns:180px 1fr}.daily-focus aside{grid-column:1/-1}.daily-categories{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:820px){
  .template-hero,.template-hero-grid{min-height:420px}.template-hero::after{background:linear-gradient(180deg,rgba(5,8,19,.24),rgba(5,8,19,.92) 62%,#070a17)}.template-hero-grid{align-items:end;padding-bottom:38px}.template-hero-copy{padding:0}.template-hero h1,.light-hero-overlay h1{font-size:46px}
  .catalog-layout{grid-template-columns:1fr}.filter-panel{position:static}.filter-nav{grid-template-columns:repeat(3,1fr)}.filter-nav button{text-align:center}.filter-note{display:none}
  .tarot-card-grid{grid-template-columns:repeat(3,1fr)}
  .content-split,.content-split-light{grid-template-columns:1fr}
  .card-detail-hero-grid{grid-template-columns:1fr 190px;gap:16px}.card-detail-intro h1{font-size:46px}.quick-facts{grid-column:1/-1}.key-meaning{grid-template-columns:1fr}.key-meaning ul{padding-left:52px}
  .card-sidebar{grid-template-columns:1fr 1fr}.app-side{grid-column:1/-1}
  .reading-cards{grid-template-columns:repeat(5,150px);overflow:auto;padding:8px 4px 18px}.reading-card{min-height:220px}.reading-result{grid-template-columns:220px 1fr}
  .calculator-work{grid-template-columns:1fr;margin-top:-22px}.faq-grid{grid-template-columns:1fr}.faq-grid>img{max-height:260px;object-fit:cover}
  .app-banner-light{grid-template-columns:190px 1fr;padding-right:18px}.app-banner-light img{width:190px}.app-banner-light .primary-button{grid-column:2;margin-bottom:16px;justify-self:start}
  .article-header{grid-template-columns:1fr}.article-hero-image{order:-1;max-height:320px}.article-layout,.reference-layout,.learning-layout,.related-light{grid-template-columns:1fr}.article-sidebar{position:static;grid-template-columns:1fr 1fr}.article-sidebar .light-side-card:first-child:last-child{grid-column:1/-1}
  .collection-grid{grid-template-columns:1fr}
  .daily-focus{grid-template-columns:150px 1fr}.daily-focus aside{grid-column:1/-1}.daily-hero-copy{padding-top:48px}.daily-hero-copy h1{font-size:54px}
  .featured-article{grid-template-columns:260px 1fr}.guide-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .template-section{padding-top:42px}.template-hero h1,.light-hero-overlay h1,.article-heading h1,.article-header h1{font-size:38px}.template-hero p,.light-hero-overlay p{font-size:15px}
  .filter-nav{grid-template-columns:repeat(2,1fr)}
  .group-showcase{grid-template-columns:1fr}.group-showcase img{height:180px}.mini-group-grid{grid-template-columns:1fr}
  .meaning-guide-grid{grid-template-columns:1fr}
  .tarot-card-grid{grid-template-columns:repeat(2,1fr);gap:9px}
  .dual-panels{grid-template-columns:1fr}.card-detail-hero-grid{grid-template-columns:1fr}.card-isolation{width:190px;justify-self:center}.quick-facts{display:block}.key-meaning ul{padding-left:0}.combo-grid{grid-template-columns:repeat(2,1fr)}.card-sidebar{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .reading-step-head{display:block}.reading-step-head p{margin-top:7px}.reading-actions{display:grid}.reading-result{grid-template-columns:1fr}.reading-result-cards{max-width:260px;margin:auto}
  .light-image-hero{min-height:500px}.light-hero-overlay{padding-top:190px}.calc-form.large{grid-template-columns:1fr}.calc-form.large .calc-button{width:100%}.example-grid{grid-template-columns:1fr}.example-grid>img{max-width:180px;margin:auto}
  .app-banner-light{width:calc(100% - 24px);grid-template-columns:1fr;padding:0 18px 20px;text-align:left}.app-banner-light img{width:100%;height:160px;margin:0}.app-banner-light .primary-button{grid-column:auto;margin:0;width:100%}
  .article-header{padding-top:26px;gap:22px}.article-hero-image{min-height:230px}.author-row{grid-template-columns:auto 1fr}.author-row time{grid-column:2}.toc ol{columns:1}.four-feature-grid{grid-template-columns:repeat(2,1fr)}.article-sidebar{grid-template-columns:1fr}
  .combo-row{grid-template-columns:70px 70px 1fr;gap:8px}.combo-row img{width:70px;height:70px}.combo-row h3{font-size:15px}.combo-row p{font-size:11px}
  .collection-item{grid-template-columns:130px 1fr}.collection-item img{min-height:200px}.collection-item div{padding:14px}.collection-item h2{font-size:22px}
  .daily-hero-new{min-height:360px}.daily-hero-copy h1{font-size:43px}.daily-focus{grid-template-columns:1fr;margin-top:-14px}.daily-focus-card{max-height:300px}.daily-categories{grid-template-columns:1fr}.related-card-row img{width:95px}
  .featured-article{grid-template-columns:1fr}.featured-article img{min-height:190px;max-height:230px}.learning-card-grid{grid-template-columns:1fr 1fr}.learning-hero h1{font-size:43px}.guide-grid{grid-template-columns:1fr 1fr}.learning-traits{gap:10px 16px}
}
@media (max-width:390px){
  .tarot-card-grid{grid-template-columns:1fr 1fr}
  .combo-row{grid-template-columns:55px 55px 1fr}.combo-row img{width:55px;height:55px}
  .collection-item{grid-template-columns:1fr}.collection-item img{height:180px;min-height:0}.learning-card-grid{grid-template-columns:1fr}.guide-grid{grid-template-columns:1fr}
}
