.hob-main:has(> .hob-page-title-banner) {
    padding-top: 0;
}

.hob-page-title-banner {
    width: 100%;
    margin-top: calc(var(--hob-header-height) * -1);
    padding-top: 0;
}

.hob-page-title-banner__container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.hob-page-title-banner__media {
    position: relative;
    aspect-ratio: 8 / 3;
    min-height: 320px;
    overflow: hidden;
    background: #191919;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hob-page-title-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: 50% 50%;
}

.hob-page-title-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.14) 0%,
        rgba(0, 0, 0, 0.18) 52%,
        rgba(0, 0, 0, 0.58) 100%
    );
}

.hob-page-title-banner__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: grid;
    gap: clamp(8px, 0.8vw, 12px);
    padding:
        clamp(36px, 3.5vw, 56px)
        max(var(--hob-container-padding), calc((100vw - var(--hob-container-width)) / 2));
    color: #fff;
}

.hob-page-title-banner__title {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-family: "HOB Editorial", serif;
    font-style: italic;
    font-size: clamp(2rem, 2.5vw, 3rem);
    font-weight: 400;
    line-height: 1.04;
    text-wrap: balance;
}

.hob-page-title-banner__subtitle {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-family: "HOB Editorial", serif;
    font-size: clamp(0.875rem, 0.95vw, 1rem);
    font-style: italic;
    line-height: 1.5;
}

.hob-page-title-banner__subtitle > * {
    margin-top: 0;
}

.hob-page-title-banner__subtitle > *:last-child {
    margin-bottom: 0;
}

.hob-page:has(> .hob-main > .hob-page-title-banner) > .hob-header,
.hob-page:has(> .hob-main > .hob-page-title-banner) > .hob-header.hob-header--scrolled {
    border-bottom-color: rgba(20, 28, 34, 0.08);
    background-color: rgb(255 255 255 / 35%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(6px);
    color: var(--hob-primary-color);
}

.hob-page:has(> .hob-main > .hob-page-title-banner) > .hob-header .hob-header__logo-variant--light,
.hob-page:has(> .hob-main > .hob-page-title-banner) > .hob-header.hob-header--scrolled .hob-header__logo-variant--sticky {
    opacity: 0;
}

.hob-page:has(> .hob-main > .hob-page-title-banner) > .hob-header .hob-header__logo-variant--dark,
.hob-page:has(> .hob-main > .hob-page-title-banner) > .hob-header.hob-header--scrolled .hob-header__logo-variant--dark {
    opacity: 1;
}

@media (max-width: 767px) {
    .hob-page-title-banner {
        margin-top: calc(var(--hob-mobile-header-height) * -1);
    }

    .hob-page-title-banner__media {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .hob-page-title-banner__image {
        width: 100%;
        max-width: none;
        height: 100% !important;
        object-fit: cover;
        object-position: 50% 50%;
    }

    .hob-page-title-banner__content {
        gap: 8px;
        padding: clamp(24px, 7vw, 32px) var(--hob-container-padding);
    }

    .hob-page-title-banner__title {
        max-width: 90%;
        font-size: clamp(1.7rem, 7vw, 2.2rem);
        line-height: 1.08;
    }

    .hob-page-title-banner__subtitle {
        max-width: 90%;
        font-size: clamp(0.85rem, 3.6vw, 1rem);
        line-height: 1.5;
    }
}
