@charset "UTF-8";

/* ==========================================================================
   메인 히어로 배너 (Hero Section)
   ========================================================================== */
.section-hero {
    padding: 20px 0 40px 0 !important;
}

.hero-swiper {
    position: relative;
    width: 100%;
    height: 480px;
    padding-bottom: 1px !important;
    border-radius: 24px 24px 0 24px;
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide>a {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 60px 60px 50px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
}

.hero-img-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-img-box img {
    transition: transform 0.4s ease;
}

a:hover .hero-img-box img {
    transform: scale(1.05);
}

.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dimm-bottom);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero-content .cate {
    display: inline-block;
    height: 34px;
    margin-bottom: 10px;
    padding: 0 20px;
    font-weight: 600;
    line-height: 35px;
    background-color: color-mix(in srgb, var(--text-inverted) 75%, transparent);
    border-radius: 20px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-inverted);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-content .info-box {
    margin-top: 0;
}

.hero-content .meta {
    margin-top: 0;
    color: color-mix(in srgb, var(--text-inverted) 60%, transparent);
}

.hero-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 70px;
    padding: 20px 0 0 24px;
    background-color: var(--background-default);
    border-top-left-radius: 20px;
}

.hero-controls::before,
.hero-controls::after {
    content: '';
    position: absolute;
    background-color: transparent;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 20px 20px 0 0 var(--background-default);
}

.hero-controls::before {
    top: -40px;
    right: 0;
}

.hero-controls::after {
    bottom: 1px;
    left: -40px;
}

.hero-pagination-custom {
    width: 40px;
    margin-right: 16px;
    text-align: right;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-description);
    white-space: nowrap;
}

.hero-pagination-custom .current-number {
    font-weight: 700;
    color: var(--text-primary);
}

.hero-progress-bar {
    position: relative;
    width: 160px;
    height: 3px;
    background-color: #E5E8EB;
    border-radius: 2px;
    overflow: hidden;
    margin-right: 24px;
}

.hero-progress-bar .progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--background-black);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   오늘의 추천 콘텐츠
   ========================================================================== */
.recommend-grid {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 6rem;
}

.card-large a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-large .img-box {
    aspect-ratio: 16 / 10;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 24px;
    overflow: hidden;
}

.card-large .txt-box .title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.card-large .txt-box .desc {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recommend-list .card-list:first-child a {
    padding-top: 0;
}


/* ==========================================================================
   맞춤형 키워드 콘텐츠
   ========================================================================== */
.main .section-keyword {
    padding-bottom: 80px;
}

.keyword-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 2.4rem;
}

.keyword-tabs .btn-tab {
    width: 106px;
}

/* ==========================================================================
   지금 뜨는 인기 콘텐츠
   ========================================================================== */
.section-popular .section-title,
.section-popular .btn-more {
    color: var(--text-inverted);
}

.main .section-popular {
    padding: 100px 0;
    background-color: var(--background-fullbg);
    color: var(--text-inverted);
}

.popular-title-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px;
}

.popular-title-box .section-title {
    color: var(--text-inverted);
    margin-bottom: 24px;
    padding-bottom: 0;
}

.popular-title-box .btn-more {
    color: rgba(255, 255, 255, 0.7);
}

.popular-title-box .ico-arrow-right-12 {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

/* ==========================================================================
   방금 올라온 최신 콘텐츠
   ========================================================================== */
.main .section-latest {
    padding: 100px 0 0;
}

.section-latest .container {
    position: relative;
}

.section-latest .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.latest-swiper {
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.section-latest .slide-buttons button {
    position: absolute;
    top: 17.0rem;
    width: 4.8rem;
    height: 4.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.section-latest .slide-buttons button.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.section-latest .btn-slide-prev {
    left: 0;
}

.section-latest .btn-slide-next {
    right: 0;
}

@media (max-width: 768px) {

    /*  ==========================================================================
        메인 히어로 배너
        ==========================================================================  */
    .main section {
        padding: 7rem 0 0;
    }

    .section-hero {
        padding: 2rem 0 0 0 !important;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-swiper {
        height: 320px;
        border-radius: 20px 20px 0 20px;
    }

    .hero-swiper .swiper-slide>a {
        padding: 30px 20px;
    }

    .hero-content .cate {
        height: 32px;
        margin-bottom: 8px;
        line-height: 33px;
    }

    .hero-controls {
        height: 50px;
        padding: 10px 0 0 10px;
    }

    .hero-controls::before,
    .hero-controls::after {
        width: 30px;
        height: 30px;
        box-shadow: 15px 15px 0 0 var(--background-default);
    }

    .hero-controls::before {
        top: -30px;
    }

    .hero-controls::after {
        left: -30px;
    }

    .hero-pagination-custom {
        font-size: 1.6rem;
    }

    .hero-progress-bar {
        display: none;
    }

    /* ==========================================================================
       오늘의 추천 콘텐츠
       ========================================================================== */
    .recommend-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .recommend-list {
        padding-top: 2rem;
        border-top: 1px solid var(--stroke-separator);
    }

    .card-large .img-box {
        margin-bottom: 10px;
        border-radius: 20px;
    }

    .card-large .txt-box .title {
        font-size: 2.2rem;
    }

    /* ==========================================================================
       맞춤형 키워드 콘텐츠
       ========================================================================== */
    .main .section-keyword {
        padding-bottom: 4rem;
    }

    .keyword-tabs {
        margin-bottom: 0;
    }

    .keyword-tabs .btn-tab {
        flex: 1;
        width: auto;
        padding: 0 4px;
        font-size: 1.5rem;
        height: 42px;
        line-height: 42px;
    }

    /* ==========================================================================
       지금 뜨는 인기 콘텐츠
       ========================================================================== */
    .main .section-popular {
        padding: 4rem 0;
    }

    .section-popular .section-title {
        margin-bottom: 0;
    }

    .section-popular .section-title br {
        display: none;
    }

    .popular-title-box {
        flex-direction: row;
        justify-content: space-between;
        padding-top: 0;
        margin-bottom: 4px;
    }

    .popular-grid> :nth-child(1) {
        grid-column: span 2;
    }

    /* ==========================================================================
       방금 올라온 최신 콘텐츠
      ========================================================================== */
    .main .section-latest {
        padding-top: 4rem;
    }

    .card-vertical .img-box {
        margin-bottom: 10px;
    }


}