/* The generic pages with the fun kit, light touch (404.php, page.php, index.php, single.php; kit: fun.css and fun.js).
   Linked from each template, after every site stylesheet, so a soft page load waits for it. A brand pill, a bolder
   display title with a green accent line or a mint bar, friendly buttons, stories that rise in softly and a friendly
   empty state. The layouts stay as they were. Site colors only (Eshgh greens and the mint gradient). Posts can hold a YouTube embed: nothing
   here is drawn on it (fun.js also refuses bursts near one). Reduce Motion and quiet motion: nothing moves. */

/* ---------- The title area (its parts may shrink, so a long title or the picture never pushes the box wider than a phone) ---------- */
.tile-page.fun-basic > * { min-width: 0; }
.fun-basic .fun-basic-kicker { max-width: 100%; margin: 0 0 16px; font-size: 13.5px; line-height: 1.3; }
@media (max-width: 479px) { .fun-basic .fun-basic-kicker { font-size: 12.5px; } }
html .fun-basic .tile-title.fun-basic-title { font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
html .fun-basic .fun-basic-title::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 18px; border-radius: 5px; background: var(--mint-gradient, var(--fun-green)); }
html .fun-basic-article .entry-title.fun-basic-title { font-family: var(--fun-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.fun-basic .tile-sub { color: var(--fun-ink-2); }

/* ---------- 404: the heart to play, two friendly buttons ---------- */
.fun-basic-404 .tile-copy { align-items: center; text-align: center; margin-inline: auto; }
html .fun-basic-404 .fun-basic-title::after { margin-inline: auto; }
.fun-basic-404 .fun-actions { justify-content: center; margin-top: 26px; }
.fun-basic-404 .notfound-heart { color: var(--fun-green); }

/* ---------- News: the journal pill, stories, the empty state ---------- */
.fun-basic-feature h2 { font-family: var(--fun-display); font-weight: 600; letter-spacing: -.045em; }
.fun-basic-feature h2 a { display: inline-block; min-height: 44px; }
.fun-basic-feature .link-more, .fun-basic-back .link-more { display: inline-flex; align-items: center; min-height: 44px; }
.fun-basic-grid .post-card { transition: transform .45s var(--fun-spring); }
.fun-basic-grid .post-card:hover { transform: translateY(-4px); }
.fun-basic-grid h3 { font-family: var(--fun-display); font-weight: 600; letter-spacing: -.035em; }
.fun-basic-empty { max-width: 560px; margin: 0 auto; padding: clamp(30px, 5vw, 48px) 24px; }
.fun-basic-empty .fun-actions { justify-content: center; margin-top: 16px; }

.fun-basic .fun-btn svg, .fun-basic-empty .fun-btn svg { fill: currentColor; }
.fun-basic-404 .fun-btn-glass svg { fill: none; }

@media (prefers-reduced-motion: reduce) { .fun-basic-grid .post-card { transition: none; } .fun-basic-grid .post-card:hover { transform: none; } }
body.quiet-motion .fun-basic-grid .post-card { transition: none; }
body.quiet-motion .fun-basic-grid .post-card:hover { transform: none; }
