/* ── Page Hero ───────────────────────────────────────────── */

.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--wp--preset--color--secondary, #0B2169);
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
}

/* Gradient overlay */
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--ph-overlay, linear-gradient(to bottom, rgba(0,0,0,.21) 0%, rgba(0,0,0,.35) 100%));
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    text-align: var(--ph-text-align, center);
    display: flex;
    flex-direction: column;
    align-items: var(--ph-align-items, center);
    gap: 1rem;
}

/* ── Breadcrumbs ──────────────────────────────────────────── */
.page-hero__breadcrumbs ol {
    display: flex;
    align-items: center;
    justify-content: var(--ph-justify, center);
    flex-wrap: wrap;
    gap: .375rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
}

.page-hero__breadcrumbs li {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.5);
}

.page-hero__breadcrumbs li + li::before {
    content: '/';
    margin-right: .375rem;
    opacity: .4;
}

.page-hero__breadcrumbs a {
    color: var(--ph-bc-color, rgba(255,255,255,.75));
    text-decoration: none;
    transition: color .15s;
}
.page-hero__breadcrumbs a:hover {
    color: var(--ph-bc-hover, var(--wp--preset--color--primary, #B00000));
}

.page-hero__breadcrumbs [aria-current="page"] {
    color: rgba(255,255,255,.5);
}

/* ── Heading ──────────────────────────────────────────────── */
.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin: 0;
    max-width: 820px;
}

/* ── Paragraph ────────────────────────────────────────────── */
.page-hero__paragraph {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255,255,255,.8);
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}

/* ── CTA button ───────────────────────────────────────────── */
.page-hero__cta {
    display: inline-block;
    padding: .75rem 2rem;
    border-radius: 5px;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: .5rem;
    transition: filter .2s ease, transform .2s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.page-hero__cta:hover {
    filter: brightness(.88);
    transform: translateY(-1px);
}

/* ── Page content area ────────────────────────────────────── */
.page-content {
    padding: 0 0 5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Larger body text — H2 excluded per design intent */
.page-content p,
.page-content li,
.page-content td,
.page-content blockquote,
.page-content figcaption {
    font-size: 1.125rem;
    line-height: 1.8;
}

.page-content h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.page-content h3 { font-size: clamp(1.375rem, 2.5vw, 2rem); }
.page-content h4 { font-size: 1.375rem; }
.page-content h5 { font-size: 1.25rem; }
.page-content h6 { font-size: 1.125rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-hero {
        min-height: 260px;
        padding: 4rem 0 3rem;
    }
    .page-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    .page-content { padding: 0 0 4rem; }
}

@media (max-width: 480px) {
    .page-hero { padding: 3.5rem 0 2.5rem; }
}
