/* Image-led Travel Styles cards. Loaded after the main stylesheet. */
body.home-page .home-travel-styles {
    overflow: visible;
    background: linear-gradient(180deg, #fff 0%, #fbf7f1 100%);
}

body.home-page .home-style-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    overflow: visible;
}

body.home-page .home-style-card {
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: 310px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(184, 138, 68, .18) !important;
    border-radius: 26px !important;
    background: #f7f0e6 !important;
    box-shadow: 0 16px 40px rgba(38, 27, 18, .10) !important;
    position: relative !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

body.home-page .home-style-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(184, 138, 68, .45) !important;
    box-shadow: 0 24px 54px rgba(38, 27, 18, .18) !important;
}

body.home-page .home-style-card:focus-visible {
    outline: 3px solid #b88a44;
    outline-offset: 4px;
}

body.home-page .home-style-card__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transition: transform .5s ease;
}

body.home-page .home-style-card:hover .home-style-card__image {
    transform: scale(1.05);
}

body.home-page .home-style-card__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(16, 11, 8, .06) 8%, rgba(16, 11, 8, .25) 42%, rgba(16, 11, 8, .88) 100%);
}

body.home-page .home-style-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
    padding: 28px 26px 25px;
}

body.home-page .home-style-card--image .home-style-icon {
    color: #fff !important;
    background: rgba(255, 255, 255, .16) !important;
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
}

body.home-page .home-style-card--image h3 {
    color: #fff !important;
    font-size: 25px !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}

body.home-page .home-style-card p {
    margin: 10px 0 0;
    color: #62594f;
    font-size: 14px;
    line-height: 1.6;
}

body.home-page .home-style-card--image p {
    color: rgba(255, 255, 255, .88);
}

body.home-page .home-style-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #8b6235;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.home-page .home-style-card--image .home-style-card__link {
    color: #f4d8ad;
}

@media (max-width: 1050px) {
    body.home-page .home-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.home-page .home-style-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.home-page .home-style-card {
        min-height: 270px !important;
    }

    body.home-page .home-style-card__content {
        padding: 24px 22px 22px;
    }

    body.home-page .home-style-card--image h3 {
        font-size: 23px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page .home-style-card,
    body.home-page .home-style-card__image {
        transition: none !important;
    }
}
