/* ─── Carmel page banner ───
 * Detail and listing pages open on a shorter photo hero: the featured image (hero_image when none) under the hero
 * shade, edge to edge, the fixed header bar over it, and the copy anchored bottom-left (H1, description,
 * actions on detail pages). No eyebrow, no breadcrumbs. Without a photo it is a plain sand band that still clears the
 * header bar. */
.ocf-page-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 640px;
    padding: calc(var(--carmel-header-offset) + 64px) 0 64px;
    overflow: hidden;
    background: var(--carmel-sand);
    color: var(--ocf-body);
    text-align: left;
}

.ocf-page-header:not(.ocf-page-header--photo) { min-height: 0; padding-bottom: 72px; }
.ocf-page-header__content { position: relative; max-width: 760px; }

.ocf-page-header--photo { isolation: isolate; background: var(--carmel-panel); color: var(--carmel-on-dark-muted); }
.ocf-page-header__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ocf-page-header__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, color-mix(in srgb, #1C1613 55%, transparent) 0%, color-mix(in srgb, #1C1613 35%, transparent) 30%, color-mix(in srgb, #1C1613 78%, transparent) 100%);
}

.ocf-page-header__headline {
    margin: 0;
    font-size: var(--field-font-size, clamp(38px, 4.7vw, 68px));
    line-height: 1;
}
.ocf-page-header--photo .ocf-page-header__headline { color: #fff; }
.ocf-page-header__subtitle { max-width: 620px; margin: 20px 0 0; font-size: 18px; line-height: 1.6; }
.ocf-page-header--photo .ocf-page-header__subtitle { color: color-mix(in srgb, #fff 88%, transparent); }
.ocf-page-header__actions { justify-content: flex-start; gap: 12px; margin-top: 30px; }

@media (max-width: 1023px) {
    .ocf-page-header { min-height: 560px; padding-bottom: 48px; }
}

@media (max-width: 640px) {
    .ocf-page-header { min-height: 520px; padding-bottom: 32px; }
    .ocf-page-header__subtitle { font-size: 16px; }
}
