/* Blog index / category archive header
   The posts page opened straight into the card grid with no title, no framing
   sentence and no way to narrow the list. */

.blog-intro {
    padding: clamp(76px, 8vw, 116px) 0 42px;
    background:
        radial-gradient(circle at 76% 46%, rgba(212, 173, 96, .16), transparent 50%),
        linear-gradient(135deg, #04362a 0%, #064635 58%, #0b5944 100%);
    text-align: center;
}

body.blog #primary,
body.category #primary {
    padding-top: 0 !important;
}

.blog-intro .ast-container {
    display: block !important;
}

.blog-intro__eyebrow {
    display: block;
    font-family: var(--sans-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e4b958;
    margin-bottom: 18px;
}

.blog-intro h1 {
    margin-bottom: 0;
    color: #fffaf2 !important;
}

.blog-intro .section-divider-gold {
    margin: 24px auto 26px;
    width: 200px;
}

.blog-intro__lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e3ece5;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.blog-filter {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid rgba(228, 185, 88, .68);
    border-radius: 999px;
    font-family: var(--sans-body);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fffaf2;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.blog-filter:hover,
.blog-filter:focus-visible {
    background: rgba(255, 250, 242, .12);
    border-color: #e4b958;
    color: #f0c96d;
    text-decoration: none;
}

.blog-filter.is-active {
    background: #e4b958;
    border-color: #e4b958;
    color: #083c2e;
}

.blog-filter__count {
    margin-left: 8px;
    opacity: 0.6;
    font-weight: 500;
}

body.blog #main > .ast-row,
body.category #main > .ast-row {
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto !important;
}

@media (max-width: 768px) {
    .blog-intro {
        padding: 68px 0 36px;
    }
    .blog-intro__lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 640px) {
    body.blog #main > .ast-row,
    body.category #main > .ast-row {
        width: calc(100% - 32px);
    }
}
