#owners-hub {
    margin-bottom: 0;
}

#oh-topics {
    scroll-margin-top: var(--scroll_offset_top);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.oh-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 160px;
    text-align: center;
    overflow: hidden;
}

.oh-hero__bg {
    position: absolute;
    inset: 0;
    background:
        url('../images/hero.webp') center / cover no-repeat,
        radial-gradient(ellipse at top right, rgba(0, 0, 0, 0) 0%, rgba(9, 20, 44, 0.5) 40%, rgba(18, 39, 88, 1) 80%, rgba(10, 22, 49, 1) 100%),
        linear-gradient(0deg, var(--blue-700), var(--blue-700));
    z-index: 0;
}

.oh-hero__wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 700px;
}

.oh-hero__heading {
    color: white;
    margin: 0;
}

.oh-hero__heading em {
    font-style: normal;
    color: var(--blue-400);
}

.oh-hero__subtitle {
    color: white;
    max-width: 600px;
    margin: 0;
}

.oh-hero__ctas {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */

.oh-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 24px;
    background: #fafafb;
    text-align: center;
}

.oh-trust__label {
    color: var(--grey-500);
    text-transform: uppercase;
    margin: 0;
}

.oh-trust__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.oh-trust__logos img {
    display: block;
    height: auto;
}

/* --------------------------------------------------------------------------
   Topics ("What brought you here today?")
   -------------------------------------------------------------------------- */

.oh-topics {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 40px 24px;
}

.oh-topics__tiles {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.oh-topics__heading {
    color: var(--grey-800);
    text-align: center;
    margin: 0;
}

.oh-topics__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 1016px;
    width: 100%;
}

.oh-topics__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 500px;
    padding: 24px;
    background: white;
    border: 1px solid var(--grey-100);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease;
}

.oh-topics__card:hover {
    box-shadow: 0 4px 12px rgba(125, 135, 155, 0.12);
}

.oh-topics__card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.oh-topics__card-title {
    color: var(--grey-800);
    margin: 0;
}

.oh-topics__card-list {
    color: var(--grey-800);
    margin: 0;
    padding-left: 24px;
    list-style: disc;
}

.oh-topics__card-list li + li {
    margin-top: 0;
}


/* --------------------------------------------------------------------------
   Successful Owner Exits
   -------------------------------------------------------------------------- */

.oh-exits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 24px;
    background: #fafafb;
    border-top: 1px solid var(--grey-100);
}

.oh-exits__heading {
    color: var(--grey-800);
    text-align: center;
    margin: 0;
}

.oh-exits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1260px;
    width: 100%;
}

.oh-exits__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 16px 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(125, 135, 155, 0.09), 0 1px 2px rgba(125, 135, 155, 0.09);
}

.oh-exits__card-image {
    position: relative;
    width: 100%;
    padding-top: 87.09%; /* 263/302 */
    border-radius: 4px;
    overflow: hidden;
}

.oh-exits__card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* --------------------------------------------------------------------------
   Resources For Owners
   -------------------------------------------------------------------------- */

.oh-resources {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 24px;
    border-top: 1px solid var(--grey-100);
}

.oh-resources__heading {
    color: var(--grey-800);
    text-align: center;
    margin: 0;
}

.oh-resources__subtitle {
    color: var(--grey-800);
    text-align: center;
    margin: 0;
}

.oh-resources__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1260px;
    width: 100%;
}

.oh-resources__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(125, 135, 155, 0.09), 0 1px 2px rgba(125, 135, 155, 0.09);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease;
}

.oh-resources__card:hover {
    box-shadow: 0 4px 12px rgba(125, 135, 155, 0.15);
}

.oh-resources__card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
}

.oh-resources__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oh-resources__card-heading {
    height: 48px;
    display: flex;
    align-items: center;
}

.oh-resources__card-title {
    color: var(--grey-800);
    text-align: center;
    margin: 0;
}


/* ==========================================================================
   Tablet: 1279px and below
   ========================================================================== */

@media screen and (max-width: 1279px) {
    .oh-hero {
        min-height: 0;
        padding: 40px 24px;
    }

    .oh-hero__subtitle {
        max-width: none;
    }

    .oh-hero__wrap {
        max-width: none;
        width: 100%;
        align-items: stretch;
    }

    .oh-hero__ctas {
        flex-direction: row;
    }

    .oh-hero__ctas .button3 {
        flex: 1;
    }

    .oh-topics__card {
        width: calc(50% - 8px);
        min-width: 300px;
    }

    .oh-exits {
        padding: 38px 24px;
    }

    .oh-exits__grid {
        grid-template-columns: 1fr 1fr;
    }

    .oh-resources {
        padding: 38px 24px;
    }

    .oh-resources__grid {
        grid-template-columns: 1fr 1fr;
    }

    .oh-resources__card-heading {
        height: auto;
    }

    .oh-resources__card-title {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

/* ==========================================================================
   Mobile: 767px and below
   ========================================================================== */

@media screen and (max-width: 767px) {
    .oh-hero {
        padding: 40px 24px;
    }

    .oh-hero__ctas {
        flex-direction: column;
    }

    .oh-hero__ctas .button3 {
        width: 100%;
    }

    .oh-topics {
        gap: 48px;
        padding: 40px 24px;
    }

    .oh-topics__grid {
        flex-direction: column;
    }

    .oh-topics__card {
        width: 100%;
    }

    .oh-exits {
        padding: 40px 24px;
    }

    .oh-exits__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .oh-resources {
        padding: 40px 24px;
    }

    .oh-resources__grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .oh-resources__card-heading {
        height: 48px;
    }

    .oh-resources__card-title {
        white-space: normal;
    }
}
