@charset "utf-8";

/* ============================================
   SWIPER COMPONENTS
   공통 슬라이더 스타일
   ============================================ */

/* ============================================
   1. 배너 슬라이더
   ============================================ */

.banner-swiper-wrap {
    position: relative;
    width: 100%;
}

.banner-swiper {
    width: 100%;
    height: 70vh;
    min-height: 500px;
}

.banner-slide {
    position: relative;
    overflow: hidden;
}

.banner-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
}

.banner-swiper .swiper-slide-active .banner-slide-bg {
    transform: scale(1.03);
}

.banner-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.banner-slide-content {
    padding: 0 var(--mainContPd);
    max-width: 80rem;
}

.banner-slide-title {
    font-size: var(--mainH1);
    font-weight: 800;
    color: #fff;
    line-height: var(--titLine);
    margin-bottom: 2rem;
}

.banner-slide-desc {
    font-size: var(--txt);
    color: rgba(255,255,255,0.85);
    line-height: var(--txtLine);
    margin-bottom: 3rem;
}

.banner-slide-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 3rem;
    background: #fff;
    color: var(--txtBlack1);
    border-radius: 100px;
    font-size: var(--smTxt);
    font-weight: 700;
    transition: all 0.2s ease;
}

.banner-slide-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* 배너 네비게이션 */
.banner-prev,
.banner-next {
    color: #fff;
}

.banner-prev::after,
.banner-next::after {
    font-size: 2rem;
}

/* 배너 페이지네이션 */
.banner-pagination {
    bottom: 3rem !important;
}

.banner-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   2. 카드 슬라이더
   ============================================ */

.card-swiper-wrap {
    position: relative;
    padding: 0 0 5rem;
}

.card-swiper {
    padding: 1rem 0 4rem !important;
}

.card-slide-inner {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--borderColor1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-slide-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card-slide-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-slide-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card-slide-inner:hover .card-slide-thumbnail img {
    transform: scale(1.04);
}

.card-slide-body {
    padding: 2rem;
}

.card-slide-category {
    font-size: var(--tinyTxt);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.8rem;
}

.card-slide-title {
    font-size: var(--midTxt);
    font-weight: 700;
    color: var(--txtBlack1);
    line-height: var(--titLine);
    margin-bottom: 1rem;
}

.card-slide-desc {
    font-size: var(--smTxt);
    color: var(--txtGray1);
    line-height: var(--txtLine);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 카드 네비게이션 */
.card-prev,
.card-next {
    color: var(--txtBlack1);
    background: #fff;
    width: 4.4rem !important;
    height: 4.4rem !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--borderColor1);
}

.card-prev::after,
.card-next::after {
    font-size: 1.4rem !important;
    font-weight: 700;
}

.card-prev:hover,
.card-next:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 카드 페이지네이션 */
.card-pagination .swiper-pagination-bullet {
    background: var(--borderColor1);
    opacity: 1;
}

.card-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* ============================================
   3. 썸네일 슬라이더
   ============================================ */

.thumb-swiper-wrap {
    position: relative;
}

/* 메인 */
.thumb-swiper-main {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.thumb-main-slide {
    position: relative;
}

.thumb-main-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.thumb-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-main-content {
    padding: 2.5rem 0;
}

.thumb-main-title {
    font-size: var(--subH3);
    font-weight: 700;
    color: var(--txtBlack1);
    line-height: var(--titLine);
    margin-bottom: 1rem;
}

.thumb-main-desc {
    font-size: var(--smTxt);
    color: var(--txtGray1);
    line-height: var(--txtLine);
}

/* 썸네일 */
.thumb-swiper-thumbs {
    width: 100%;
}

.thumb-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    aspect-ratio: 16 / 9;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-item.swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid var(--primary);
}

/* 썸네일 네비게이션 */
.thumb-prev,
.thumb-next {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 4rem !important;
    height: 4rem !important;
    border-radius: 50%;
}

.thumb-prev::after,
.thumb-next::after {
    font-size: 1.4rem !important;
}

/* ============================================
   반응형
   ============================================ */

@media screen and (max-width: 768px) {
    .banner-swiper {
        height: 50vh;
        min-height: 300px;
    }

    .banner-slide-content {
        padding: 0 var(--inPd);
    }

    .banner-slide-title {
        font-size: var(--subH1);
    }
}