/* Nice, modern and responsive headers for all templates */

.archive-header,
.entity-detail-head,
.entry-header,
.not-found .empty {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1rem;
    margin: 0 0 2rem;
}

.archive-header .eyebrow,
.entity-detail-head .eyebrow,
.entry-header .eyebrow {
    display: inline-block;
    color: var(--green-2);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: .5rem;
    text-transform: none;
}

.archive-header h1,
.entity-detail-head h1,
.entry-header h1,
.post-title,
.not-found .empty h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    color: var(--green);
    margin: 0;
    line-height: 1.05;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

.archive-description,
.entity-detail-head .entity-lead,
.post-lead,
.not-found .empty p {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    color: var(--muted);
    margin: .75rem 0 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.post-article-card .post-badges,
.post-article-card .post-lead,
.post-article-card .post-meta {
    text-align: center;
}

.post-article-card .post-title {
    margin-bottom: .5rem;
}

.post-article-card .post-meta {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .75rem;
}

.breadcrumbs {
    padding: 1.25rem 0;
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: .5rem;
}

.breadcrumbs a {
    color: var(--green-2);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--sepia);
}

.breadcrumbs [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.entity-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.25rem;
}

.entity-stat {
    min-width: 80px;
    padding: .5rem 1rem;
    text-align: center;
}

.entity-stat strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

.entity-stat span {
    font-size: .8rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .archive-header,
    .entity-detail-head,
    .entry-header,
    .not-found .empty {
        padding: 1.5rem 1rem;
        margin: 0 0 1.5rem;
    }
}

@media (max-width: 600px) {
    .archive-header h1,
    .entity-detail-head h1,
    .entry-header h1,
    .post-title,
    .not-found .empty h1 {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .entity-stat {
        padding: .5rem .75rem;
    }

    .entity-stat strong {
        font-size: 1.35rem;
    }
}

/* Compact full-width page header with breadcrumbs */
.page-header {
    width: 100%;
    margin-top: 20px;
    background: var(--green);
    color: var(--paper);
    border-bottom: 1px solid rgba(255, 253, 248, .12);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.page-header-inner {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.page-header .breadcrumbs {
    padding: 0;
    margin: 0;
    color: rgba(255, 253, 248, .8);
    font-size: .85rem;
}

.page-header .breadcrumbs a {
    color: rgba(255, 253, 248, .85);
    text-decoration: none;
}

.page-header .breadcrumbs a:hover {
    color: var(--focus);
    text-decoration: underline;
}

.page-header .breadcrumbs [aria-current="page"] {
    color: #fff;
    font-weight: 500;
}

.page-header-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    text-align: center;
}

@media (max-width: 900px) {
    .page-header {
        padding: 1.25rem 0;
    }

    .page-header-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}
