@charset "utf-8";

/* 인덕원스노우안과 둘러보기 latest
   ID 범위로 지정해 나중에 로드되는 Swiper 기본 CSS보다 우선합니다. */
#snow_tour_latest {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

#snow_tour_latest .snow_tour_swiper {
    width: 100%;
    padding: 16px 0 0px;
    overflow: visible;
}

#snow_tour_latest .swiper-wrapper {
    display: flex;
    align-items: center;
    box-sizing: content-box;
    transition-property: transform;
}

#snow_tour_latest .snow_tour_slide {
    /* slidesPerView:auto와 함께 사용. 기본 .swiper-slide {width:100%}보다 우선 */
    flex-shrink: 0;
    width: clamp(300px, 34vw, 480px);
    height: auto;
    opacity: .7;
    transform-origin: center center;
    transition-property: transform, opacity;
}

#snow_tour_latest .snow_tour_slide.swiper-slide-active {
    opacity: 1;
}

#snow_tour_latest .snow_tour_card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
    color: #fff;
    text-decoration: none;
    transform: translateY(26px);
    transition: transform .75s ease;
    isolation: isolate;
}

#snow_tour_latest .swiper-slide-active .snow_tour_card {
    transform: translateY(0);
}

#snow_tour_latest .snow_tour_image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf5fa;
}

#snow_tour_latest .snow_tour_image > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

#snow_tour_latest .snow_tour_card::after {
    position: absolute;
    inset: 40% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .76));
    content: '';
    pointer-events: none;
}

#snow_tour_latest .snow_tour_caption {
    position: absolute;
    right: 26px;
    bottom: 26px;
    left: 26px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 0;
    color: #fff;
}

#snow_tour_latest .snow_tour_caption > h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #fff;
    font-family: 'Pretendard', sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#snow_tour_latest .snow_tour_caption > span {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    color: #fff;
    font-size: 21px;
    line-height: 1;
    transition: background-color .25s, color .25s;
}

#snow_tour_latest .snow_tour_card:hover .snow_tour_image > img {
    transform: scale(1.035);
}

#snow_tour_latest .snow_tour_card:hover .snow_tour_caption > span {
    background: #fff;
    color: #233f50;
}

#snow_tour_latest .snow_tour_card:focus-visible {
    outline: 3px solid #3287c5;
    outline-offset: -3px;
}

.snow_tour_empty {
    width: calc(100% - 40px);
    max-width: 1600px;
    margin: 0 auto;
    padding: 65px 20px;
    border-radius: 24px;
    background: #f0f8fd;
    color: #708b9c;
    font-size: 17px;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #snow_tour_latest .snow_tour_swiper {
        padding: 10px 0 0px;
    }

    #snow_tour_latest .snow_tour_slide {
        width: min(78vw, 380px);
    }

    #snow_tour_latest .snow_tour_card {
        border-radius: 20px;
        transform: translateY(16px);
    }

    #snow_tour_latest .snow_tour_caption {
        right: 20px;
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }

    #snow_tour_latest .snow_tour_caption > h3 {
        font-size: 19px;
    }

    #snow_tour_latest .snow_tour_caption > span {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #snow_tour_latest .snow_tour_card,
    #snow_tour_latest .snow_tour_image > img,
    #snow_tour_latest .snow_tour_caption > span {
        transition: none;
    }
}
