.hero-wide-image {
    min-height: 640px;
    max-height: 840px;
    height: calc(
        var(--vh, 1vh) * 100 - 55px
    ); /* full viewport height minus the top navigation height */
    display: flex;
    flex-direction: column;
}

.hero-wide-image__featured {
    flex-grow: 1;
    width: 100%;
    background-color: var(--color-grey-25);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.featured__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 25px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;

    position: absolute;
    top: 0;
    left: 0;

    transition: opacity 1s;
}

.featured__item:not(.featured__item--current) {
    opacity: 0;
}

.featured__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.block-editor__container img.featured__img {
    height: 100%;
}

.featured__tag {
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 130%;
    text-shadow: 0px 5px 5px rgba(34, 34, 34, 0.3);
}

.featured__title {
    position: relative;
    font-weight: 700;
    font-size: 85px;
    line-height: 98px;
    text-shadow: 0px 5px 5px rgba(34, 34, 34, 0.3);
    max-width: 784px;
}

.hero-wide-image__tabs {
    display: flex;
    box-shadow: inset 0px -1px 0px #c4c4c4;
    padding: 15px 0;
}

.tab__item {
    display: flex;
    flex: 1;
    width: calc(100% / 3);
    color: var(--color-grey-100);
    padding: 10px 25px;

    align-items: flex-end;
    gap: 15px;
    transition: none;
    justify-content: space-between;
}

.ast-single-post .entry-content a.tab__item {
    text-decoration: none;
}

.editor-styles-wrapper a {
    color: var(--color-grey-100);
    text-decoration: none;
}

.tab__item:not(:last-child) {
    border-right: 1px solid var(--color-grey-25);
}

.item__text {
    height: 100%;
    width: 80%;
}

.text__tag {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 130%;
}

.text__title {
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
}

@media screen and (max-width: 1200px) {
    .hero-wide-image {
        min-height: 480px;
        max-height: unset;
    }

    .featured__title {
        font-size: 40px;
        line-height: 120%;
    }

    .hero-wide-image__tabs {
        overflow-x: auto;
        gap: 10px;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
    }

    .tab__item {
        flex: 90% 0 0;
        scroll-snap-align: start;
        max-width: 450px;
    }
}
