/* An article's page (/maamarim/<slug>): built by build.mjs, in the site's language. */

.a-hero { padding-block: clamp(36px, 5vw, 64px) clamp(22px, 3vw, 34px); }
.a-hero.canvas { overflow: visible; }
.a-hero .aura { overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.a-hero h1 { margin: 10px 0 0; max-width: 48rem; font-size: clamp(2rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.a-hero .lead { max-width: 44rem; }
.a-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--k-tint); color: var(--k-ink); font-weight: 800; font-size: 0.875rem; }
.a-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.a-meta { margin: 14px 0 0; color: var(--ink-2); font-size: 0.9375rem; font-weight: 600; }
.a-cover { margin: 0 auto 8px; }
.a-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-hero); box-shadow: var(--shadow-lift); }

.a-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-block: 12px var(--sec-y); }
@media (max-width: 980px) { .a-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* reading: a measure of about 70 characters, generous leading */
.prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.85; color: #1f1f23; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; text-wrap: pretty; }
.prose h2 { margin: 1.9em 0 0.2em; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; scroll-margin-top: 88px; }
.prose h3 { margin: 1.5em 0 0.1em; font-size: 1.25rem; font-weight: 800; line-height: 1.3; scroll-margin-top: 88px; }
.prose h4 { margin: 1.3em 0 0; font-size: 1.0625rem; font-weight: 800; }
.prose a { color: var(--income-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .prose a:hover { text-decoration-thickness: 2px; } }
.prose strong { font-weight: 800; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-inline-start: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--k); font-weight: 800; }
.prose hr { border: 0; height: 1px; background: var(--separator); margin: 2em 0; }
.prose img { max-width: 100%; border-radius: var(--radius-card); }
.prose code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: var(--fill); }

/* a quote and its source: the gold of the slogan bands */
.prose blockquote { margin: 1.4em 0; padding: 18px 22px 16px; border-inline-start: 4px solid var(--gold); border-radius: 0 18px 18px 0; background: linear-gradient(90deg, rgba(244, 184, 58, 0.04), rgba(244, 184, 58, 0.11)); font-size: 1.1875rem; font-weight: 700; line-height: 1.7; color: var(--ink); }
.prose blockquote p + p { margin-top: 0.6em; }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 0.9375rem; color: var(--gold-deep); }

.a-faq h2, .a-sources h2 { margin-top: 2em; }
.a-faq .inset { margin-top: 14px; font-size: 1rem; line-height: 1.65; }
.a-sources ul { list-style: none; padding: 16px 20px; margin-top: 12px; border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); font-size: 0.975rem; line-height: 1.6; }
.a-sources li { padding-inline-start: 18px; position: relative; }
.a-sources li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.7em; width: 8px; height: 3px; border-radius: 2px; background: var(--gold); }
.a-note { margin-top: 2em !important; padding: 12px 16px; border-radius: 14px; background: var(--fill); color: var(--ink-2); font-size: 0.9375rem; }

.a-side { position: sticky; top: 88px; display: grid; gap: 14px; }
@media (max-width: 980px) { .a-side { position: static; } }
.toc { padding: 18px 20px; border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); }
.toc h2 { margin: 0 0 8px; font-size: 0.9375rem; font-weight: 800; color: var(--ink-2); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--ink-2); border-inline-start: 2px solid transparent; transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.toc a.is-here { color: var(--ink); background: var(--k-tint); border-inline-start-color: var(--k); }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--ink); background: var(--fill); } }
.a-cta { position: relative; overflow: hidden; isolation: isolate; padding: 22px; border-radius: var(--radius-card); color: #fff; background: var(--grad-brand); display: grid; gap: 10px; }
.a-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(18rem 10rem at 90% 0%, rgba(244, 184, 58, 0.28), transparent 70%); }
.a-cta h2 { margin: 4px 0 0; font-size: 1.25rem; font-weight: 800; }
.a-cta p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; line-height: 1.55; }
.a-cta .btn { width: 100%; }
.a-cta .btn-plain { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.a-related { padding-top: 0; }
.a-related .h2 { margin-bottom: 20px; }
