/* 4.3.42: stable, non-overlapping Featured Guide card in the desktop mega menu. */
@media (min-width: 981px) {
    .mega-menu:not(.mega-menu--no-feature) {
        grid-template-columns: minmax(0, 1fr) clamp(230px, 20vw, 280px);
        gap: 22px;
    }

    .mega-feature {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 320px;
        flex-direction: column;
        overflow: hidden;
        padding: 16px;
        border: 1px solid #f2dfce;
        border-radius: 16px;
        background: linear-gradient(145deg, #fff8ef, #f8eadb);
    }

    .mega-feature__content {
        min-width: 0;
    }

    .mega-feature__badge {
        display: inline-flex;
        max-width: 100%;
        padding: 6px 10px;
        overflow: hidden;
        border-radius: 999px;
        color: #ff7100;
        background: #fff;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .04em;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .mega-feature__title {
        position: static;
        display: -webkit-box;
        max-width: none;
        margin: 11px 0 0;
        overflow: hidden;
        color: #29231f;
        font-size: 19px;
        font-weight: 800;
        line-height: 1.12;
        overflow-wrap: anywhere;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .mega-feature__title:hover,
    .mega-feature__title:focus-visible {
        color: #ff7100;
        outline: none;
    }

    .mega-feature__content > p {
        position: static;
        display: -webkit-box;
        max-width: none;
        margin: 7px 0 0;
        overflow: hidden;
        color: #71675e;
        font-size: 11px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .mega-feature__image {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        width: 100%;
        height: auto;
        min-height: 105px;
        aspect-ratio: 16 / 8.5;
        margin: 13px 0 12px;
        overflow: hidden;
        border-radius: 11px;
        background: #eadfd4;
    }

    .mega-feature__image::after {
        display: none;
    }

    .mega-feature__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        mix-blend-mode: normal;
        transition: transform .25s ease;
    }

    .mega-feature__image:hover img {
        transform: scale(1.035);
    }

    .mega-feature__button {
        position: static;
        z-index: auto;
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        align-self: flex-start;
        justify-content: center;
        gap: 8px;
        margin-top: auto;
        padding: 0 16px;
        border-radius: 999px;
        color: #fff;
        background: #ff7100;
        font-size: 11px;
        font-weight: 800;
        text-decoration: none;
    }

    .mega-feature__button:hover,
    .mega-feature__button:focus-visible {
        background: #e95d00;
        outline: none;
    }
}

@media (min-width: 981px) and (max-width: 1180px) {
    .mega-menu:not(.mega-menu--no-feature) {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 16px;
    }

    .mega-feature {
        min-height: 300px;
        padding: 14px;
    }

    .mega-feature__title {
        font-size: 17px;
    }

    .mega-feature__content > p {
        -webkit-line-clamp: 1;
    }

    .mega-feature__image {
        min-height: 92px;
        margin-block: 11px;
    }
}
