/* Article pages (/<slug>), the list at /articles and the 404 page.
   Reuses the tokens, .brand, .btn, .eyebrow and .footer rules from style.css. */
.page { background: var(--stone); }

/* top bar: static, dark, no burger (article pages have no sections to jump to) */
.anav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem var(--gutter); background: var(--ink); color: #fff; }
.anav .brand { color: #fff; }
@media (max-width: 480px) { .anav .brand__sub { display: none; } }

.article, .alist { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); }
.article__head { max-width: 46rem; }
.article__head .eyebrow a { text-decoration: none; }
.article__head .eyebrow a:hover { color: var(--gold); }
.article__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.005em; margin: 0 0 1rem; text-wrap: balance; }
.article__meta { margin: 0 0 2rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.article__hero { margin: 0 0 2.6rem; }
.article__hero img { width: 100%; height: auto; border-radius: 4px; }

/* prose */
.article__body { max-width: 44rem; font-size: 1.0625rem; line-height: 1.75; }
.article__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 2.6rem 0 .9rem; }
.article__body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.25; margin: 2rem 0 .6rem; }
.article__body p { margin: 0 0 1.25rem; }
.article__body ul, .article__body ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.article__body li { margin-bottom: .5rem; }
.article__body a { color: var(--gold-2); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: .18em; }
.article__body a:hover { text-decoration-color: var(--gold-2); }
.article__body .btn { color: var(--ink); text-decoration: none; } /* buttons inside the prose keep the landing-page button look */
.article__body strong { font-weight: 500; }

/* mid-article estate card */
.estate-card { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; margin: 2.4rem 0; padding: 1.4rem; background: var(--ink); color: var(--text-dark); border-radius: 6px; }
.estate-card__img { display: block; border-radius: 3px; overflow: hidden; }
.estate-card__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.estate-card__eyebrow { margin: 0 0 .6rem; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.estate-card__text { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.estate-card__text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.estate-card__text a:hover { border-color: var(--gold); }
.estate-card__facts { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.estate-card__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: 0; text-transform: none; color: var(--gold); line-height: 1.1; margin-bottom: .15rem; }
@media (max-width: 640px) { .estate-card { grid-template-columns: 1fr; } .estate-card__img img { aspect-ratio: 16 / 9; } }

/* sources */
.article__sources { margin: 2.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--stone-3); font-size: .9rem; color: var(--muted); }
.article__sources-label { margin: 0 0 .5rem; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; }
.article__sources p { margin: 0 0 .6rem; }

/* closing call to action */
.cta-end { margin: 3.5rem 0 0; padding: clamp(2.2rem, 5vw, 3.5rem); background: var(--ink); color: var(--text-dark); border-radius: 6px; }
.cta-end__inner { max-width: 44rem; }
.cta-end__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; margin: 0 0 1rem; text-wrap: balance; }
.cta-end__text { margin: 0 0 1.6rem; max-width: 36rem; }
.cta-end__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* related articles and the list page */
.related { margin: 3.5rem 0 0; }
.related__title { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 0 0 1.2rem; }
.related__list, .alist__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.related__list li, .alist__list li { padding: 1.2rem 1.3rem; background: var(--stone-2); border-radius: 5px; }
.related__list a, .alist__list a { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; text-decoration: none; display: block; margin-bottom: .5rem; }
.related__list a:hover, .alist__list a:hover { color: var(--gold-2); }
.related__list p, .alist__list p { margin: 0; font-size: .92rem; color: var(--muted); }
.alist__list time { display: block; margin-top: .7rem; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.alist__intro { max-width: 44rem; margin: 0 0 2.5rem; font-size: 1.1rem; }
.alist__intro a { color: var(--gold-2); }
