/* RC9: an interior masthead joins title and photography, without placing text on faces. */
.page-header__copy { min-width: 0; }
.page-entry > .page-header.page-header--with-image { padding-block: clamp(2rem, 4vw, 3.5rem); }
.site-main .page-entry:not(.page-entry--home) > .page-header.page-header--with-image > .page-header__layout {
 max-width: 78rem; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
 align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
}
.page-header--with-image .page-header__copy { padding-block: .5rem; }
.site-main .page-header--with-image .page-header__title { max-width: 18ch; font-size: clamp(2.1rem, 3.6vw, 3.75rem); line-height: 1.09; text-wrap: pretty; overflow-wrap: anywhere; }
.page-header--with-image .breadcrumbs { margin-block-end: 1.5rem; }
.page-header__media { position: relative; min-width: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); }
.page-header__media .page-header__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; object-position: center; }
.site-main .page-entry:not(.page-entry--home) > .page-header.page-header--with-image::after { inset-inline-start: max(var(--bwcet-gutter), calc((100% - 78rem) / 2)); width: 4rem; height: 2px; }
@media (max-width: 767px) {
 .site-main .page-entry:not(.page-entry--home) > .page-header.page-header--with-image > .page-header__layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
 .site-main .page-header--with-image .page-header__title { max-width: 26ch; font-size: clamp(2rem, 7vw, 3rem); }
 .page-header__media { aspect-ratio: 3 / 2; }
}
@media (forced-colors: active) { .page-header__media { border-color: CanvasText; background: Canvas; } }
@media print { .page-header__media { max-height: 6cm; } }
