/* v0.37.1+ — written 2026-06-02 23:24:55 */

/* v0.30.0 block variants — purely additive, doesn't override base styles */

/* ─── Hero variants ─── */
.hero-headline-only{padding:5rem 0 4rem;text-align:center}
.hero-headline-only .hero-inner{max-width:780px;margin:0 auto;padding:0 1.25rem}
.hero-headline-only .hero-headline{font-size:3rem;line-height:1.1;margin:0 0 1rem}
.hero-headline-only .hero-subtitle{font-size:1.15rem;color:var(--muted);margin:0 0 1.6rem}

.hero-split{padding:4rem 0;display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center;max-width:1180px;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem}
.hero-split .hero-art img{width:100%;height:auto;border-radius:var(--radius-md);aspect-ratio:16/10;object-fit:cover}
.hero-split .hero-headline{font-size:2.4rem;margin-bottom:.8rem}
.hero-split .hero-subtitle{color:var(--muted);font-size:1.05rem;margin-bottom:1.4rem}
@media (max-width:880px){.hero-split{grid-template-columns:1fr;padding-top:2.5rem;padding-bottom:2.5rem}}

.hero-magazine{padding:3.5rem 0;display:grid;grid-template-columns:1.6fr 1fr;gap:1.6rem;max-width:1180px;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem}
.hero-magazine .hero-feature{background:var(--surface);border-radius:var(--radius-md);overflow:hidden;position:relative;display:block;color:inherit;text-decoration:none}
.hero-magazine .hero-feature img{width:100%;aspect-ratio:16/9;object-fit:cover}
.hero-magazine .hero-feature .hero-headline,.hero-magazine .hero-feature .hero-subtitle{padding:0 1.4rem}
.hero-magazine .hero-feature .hero-headline{font-size:1.7rem;margin:1rem 1.4rem .4rem 0;padding-left:1.4rem}
.hero-magazine .hero-feature .hero-subtitle{color:var(--muted);margin:0 0 1.4rem;padding-left:1.4rem;padding-right:1.4rem}
.hero-magazine .hero-secondaries{display:grid;grid-template-rows:1fr 1fr;gap:1rem}
.hero-magazine .hero-secondary{display:grid;grid-template-columns:1fr 1.4fr;gap:.8rem;background:var(--surface);border-radius:var(--radius-md);overflow:hidden;color:inherit;text-decoration:none}
.hero-magazine .hero-secondary img{width:100%;height:100%;object-fit:cover}
.hero-magazine .hero-secondary h3{font-size:1rem;line-height:1.3;margin:.8rem 1rem .8rem 0}
@media (max-width:880px){.hero-magazine{grid-template-columns:1fr}}

.hero-full-bleed{position:relative;color:#fff;padding:6rem 0;min-height:420px;display:flex;align-items:center;overflow:hidden}
.hero-full-bleed .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-full-bleed .hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.7));z-index:1}
.hero-full-bleed .hero-inner{position:relative;z-index:2;max-width:780px;margin:0 auto;padding:0 1.25rem;text-align:center}
.hero-full-bleed .hero-headline{color:#fff;font-size:3.2rem;line-height:1.05;margin:0 0 .8rem}
.hero-full-bleed .hero-subtitle{color:rgba(255,255,255,.92);font-size:1.15rem;margin-bottom:1.6rem}

.hero-featured-card{padding:3.5rem 0;max-width:1180px;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem;background:transparent !important;color:inherit}
.hero-featured-card .hero-card{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;background:var(--surface);border-radius:var(--radius-md);overflow:hidden;align-items:center;color:var(--text)}
.hero-featured-card .hero-card-text{padding:2.4rem 0 2.4rem 2.4rem;color:var(--text)}
.hero-featured-card .hero-card-text .hero-eyebrow{font-size:.78rem;letter-spacing:.18em;color:var(--accent);font-weight:700;margin-bottom:.7rem}
.hero-featured-card .hero-card-text .hero-headline{font-size:2.1rem;margin:0 0 .8rem;line-height:1.15;color:var(--text)}
.hero-featured-card .hero-card-text .hero-subtitle{color:var(--muted);margin:0 0 1.4rem}
.hero-featured-card .hero-card-image{width:100%;height:100%;min-height:300px;object-fit:cover}
@media (max-width:820px){.hero-featured-card .hero-card{grid-template-columns:1fr}.hero-featured-card .hero-card-text{padding:2rem 1.4rem}}

/* v0.37 — contrast safety: hero card variants should NOT inherit white from base .hero */
.hero-featured-card, .hero-headline-only, .hero-split, .hero-magazine{background:transparent !important;color:var(--text)}
.hero-featured-card .hero-headline, .hero-headline-only .hero-headline, .hero-split .hero-headline, .hero-magazine .hero-headline{color:var(--text)}
.hero-featured-card .hero-subtitle, .hero-headline-only .hero-subtitle, .hero-split .hero-subtitle, .hero-magazine .hero-subtitle{color:var(--muted)}
/* full-bleed is the only hero variant that stays white (it has dark overlay) */
.hero-full-bleed{color:#fff !important}
.hero-full-bleed .hero-headline, .hero-full-bleed .hero-subtitle{color:#fff !important}

/* CTA buttons re-used everywhere */
.hero-cta{display:inline-block;padding:.9rem 1.8rem;background:var(--accent,#3E6FB0);color:#fff!important;font-weight:700;border-radius:var(--radius-md,8px);text-decoration:none;transition:background .15s,transform .1s}
.hero-cta:hover{filter:brightness(1.07);transform:translateY(-1px)}

/* ─── Sections ─── */
.section-head{margin:0 auto 2rem;max-width:1180px;padding:0 1.25rem}
.section-eyebrow{font-size:.76rem;letter-spacing:.18em;font-weight:700;color:var(--accent);margin-bottom:.4rem}
.section-title{font-size:2rem;margin:0}

.cards-grid{display:grid;gap:1.4rem;max-width:1180px;margin:0 auto;padding:0 1.25rem 3.5rem}
.cards-grid-3{grid-template-columns:repeat(3,1fr)}
.cards-grid-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){.cards-grid-3,.cards-grid-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:580px){.cards-grid-3,.cards-grid-4{grid-template-columns:1fr}}

.cards-list{display:flex;flex-direction:column;gap:1.4rem;max-width:920px;margin:0 auto;padding:0 1.25rem 3.5rem}
.cards-list .card{display:grid;grid-template-columns:200px 1fr;gap:1.2rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;text-decoration:none;color:inherit}
.cards-list .card-cover{width:100%;height:100%;min-height:140px;aspect-ratio:16/10;object-fit:cover}
.cards-list .card-body{padding:1rem 1.2rem 1rem 0}
@media (max-width:680px){.cards-list .card{grid-template-columns:1fr}}

.cards-magazine{display:grid;grid-template-columns:2fr 1fr;gap:1.4rem;max-width:1180px;margin:0 auto;padding:0 1.25rem 3.5rem}
.cards-magazine .card:first-child{grid-row:span 2}
.cards-magazine .card:first-child .card-cover{aspect-ratio:16/9}
@media (max-width:880px){.cards-magazine{grid-template-columns:1fr}.cards-magazine .card:first-child{grid-row:span 1}}

.cards-carousel{display:flex;gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 1.25rem 3.5rem;max-width:1180px;margin:0 auto;scrollbar-width:thin}
.cards-carousel .card{min-width:300px;scroll-snap-align:start;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;text-decoration:none;color:inherit}

.cards-sidebar{display:grid;grid-template-columns:1fr 320px;gap:1.4rem;max-width:1180px;margin:0 auto;padding:0 1.25rem 3.5rem}
.cards-sidebar .card:first-child{grid-row:span 4}
@media (max-width:880px){.cards-sidebar{grid-template-columns:1fr}.cards-sidebar .card:first-child{grid-row:span 1}}

.cards-grid .card,.cards-magazine .card,.cards-carousel .card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column}
.cards-grid .card:hover,.cards-magazine .card:hover,.cards-carousel .card:hover,.cards-list .card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.08)}
.cards-grid .card-cover,.cards-magazine .card-cover,.cards-carousel .card-cover{aspect-ratio:16/9;object-fit:cover;width:100%}
.cards-grid .card-body,.cards-magazine .card-body,.cards-carousel .card-body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.card-score{display:inline-block;font-size:.84rem;font-weight:800;color:#fff;background:var(--accent);padding:.2rem .55rem;border-radius:4px;align-self:flex-start}
.card-author{font-size:.85rem;color:var(--muted)}
.card-date{font-size:.85rem;color:var(--muted)}
.card-lead{color:var(--muted);font-size:.92rem;margin:.3rem 0 .5rem;line-height:1.5}
.card-meta{display:flex;gap:.6rem;flex-wrap:wrap;font-size:.85rem;color:var(--muted);margin-top:auto}

/* ─── Topic clusters ─── */
.section-topic-clusters{padding-bottom:3.5rem}
.topics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;max-width:1180px;margin:0 auto;padding:0 1.25rem}
.topic-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.6rem 1.4rem;display:flex;flex-direction:column;gap:.4rem;text-decoration:none;color:inherit;transition:transform .15s,background .15s}
.topic-card:hover{transform:translateY(-2px);background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.topic-label{font-size:1.05rem;font-weight:700}
.topic-count{font-size:.85rem;color:var(--muted)}
@media (max-width:880px){.topics-grid{grid-template-columns:repeat(2,1fr)}}

/* ─── Disclaimer plate ─── */
.disclaimer{max-width:920px;margin:1.4rem auto;padding:1rem 1.25rem;background:#FFF6D6;border-left:4px solid #C9974C;border-radius:6px;font-size:.92rem;color:#5e4910;line-height:1.55}
.disclaimer strong{color:#3a2c00}

/* ─── About two-col ─── */
.section-about{padding:3rem 0}
.about-two-col{display:grid;grid-template-columns:1fr 1.6fr;gap:2rem;max-width:1180px;margin:0 auto;padding:0 1.25rem;align-items:center}
.about-two-col .about-art img{width:100%;border-radius:var(--radius-md)}
.about-two-col .about-copy p{margin:0 0 1rem;line-height:1.7;color:#3a3a3a}
@media (max-width:880px){.about-two-col{grid-template-columns:1fr}}

/* ─── Newsletter ─── */
.section-newsletter{padding:3rem 0}
.newsletter-card{max-width:680px;margin:0 auto;padding:2.2rem 1.6rem;background:var(--primary,#185b6b);color:#fff;border-radius:var(--radius-md);text-align:center}
.newsletter-card h2{color:#fff;margin:0 0 .6rem}
.newsletter-hint{color:rgba(255,255,255,.85);margin:0 0 1.4rem}
.newsletter-form{display:flex;gap:.4rem;max-width:440px;margin:0 auto 1rem}
.newsletter-form input{flex:1;padding:.7rem .9rem;border:0;border-radius:6px;font-size:1rem;color:#0F172A}
.newsletter-form button{padding:.7rem 1.2rem;border:0;border-radius:6px;background:var(--accent,#C9974C);color:#fff;font-weight:700;cursor:pointer}
.newsletter-fineprint{color:rgba(255,255,255,.65);font-size:.82rem;margin:0}

/* ─── Testimonials ─── */
.section-testimonials{padding:3rem 0;background:var(--surface)}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;max-width:1180px;margin:0 auto;padding:0 1.25rem}
.testimonial-card{background:#fff;border-radius:var(--radius-md);padding:1.6rem 1.4rem;border:1px solid var(--border)}
.testimonial-card blockquote{margin:0 0 1rem;font-style:italic;color:#2b3540;line-height:1.6}
.testimonial-card blockquote::before{content:'"';font-size:2.2rem;color:var(--accent);line-height:0;vertical-align:-.4rem;margin-right:.2rem}
.testimonial-meta{display:flex;flex-direction:column;gap:.2rem;font-size:.9rem;color:var(--muted)}
.testimonial-meta strong{color:var(--text)}
@media (max-width:880px){.testimonials-grid{grid-template-columns:1fr}}

/* ─── TradingView widgets ─── */
.section-tradingview{padding:2rem 0}
.tv-widget-frame{max-width:1180px;margin:0 auto;padding:0 1.25rem}
.tv-ticker{margin-bottom:1.5rem;background:#0F172A;border-radius:var(--radius-md);overflow:hidden}
.tv-ticker .tradingview-widget-container{max-width:none}

/* Layout glue */
.homepage{display:flex;flex-direction:column;gap:0}
