/* === HS YouTube Section === */
:root {
    --hs-color-point: #d32978;
}

.hs-youtube {
    padding: 100px 0;
    background: #fefaf3;
}

.hs-youtube__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.hs-youtube__header {
    margin-bottom: 48px;
}

.hs-youtube__label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hs-youtube__label-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--hs-color-point);
    white-space: nowrap;
}

.hs-youtube__label-line {
    flex: 1;
    height: 1px;
    background: var(--hs-color-point);
    opacity: 0.3;
}

.hs-youtube__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2a2025;
    margin-bottom: 8px;
}

.hs-youtube__subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    color: #999;
    font-weight: 300;
}

/* Grid */
.hs-youtube__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.hs-youtube__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(211, 41, 120, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hs-youtube__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(211, 41, 120, 0.12);
}

/* Video */
.hs-youtube__card-video {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.hs-youtube__card-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Card body */
.hs-youtube__card-body {
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hs-youtube__card-icon {
    flex-shrink: 0;
    color: var(--hs-color-point);
    margin-top: 2px;
}

.hs-youtube__card-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    color: #2a2025;
}
.hs-youtube__card-title a {
    color: #2a2025;
    text-decoration: none;
    transition: color 0.2s;
}
.hs-youtube__card-title a:hover {
    color: var(--hs-color-point);
}

/* 더보기 버튼 */
.hs-youtube__more-wrap {
    margin-top: 40px;
    text-align: center;
}
.hs-youtube__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border: 1.5px solid var(--hs-color-point);
    border-radius: 100px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--hs-color-point);
    text-decoration: none;
    transition: background 0.22s, color 0.22s, transform 0.15s;
}
.hs-youtube__more-btn svg {
    transition: transform 0.22s;
}
.hs-youtube__more-btn:hover {
    background: var(--hs-color-point);
    color: #fff;
    transform: translateY(-1px);
}
.hs-youtube__more-btn:hover svg {
    transform: translateX(3px);
}

/* ── 아카이브 페이지 ── */
.hsy-page {
    font-family: 'Nunito', sans-serif;
    background: #fff;
    min-height: 60vh;
}

.hsy-hero {
    background: #fed1d0;
    padding: 72px 40px;
    position: relative;
    overflow: hidden;
}
.hsy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}
.hsy-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.hsy-hero__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(61,47,53,0.45);
    margin-bottom: 12px;
}
.hsy-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #3d2f35;
    margin-bottom: 10px;
    line-height: 1.15;
}
.hsy-hero__sub {
    font-size: 0.9rem;
    color: rgba(61,47,53,0.55);
}

.hsy-archive {
    padding: 72px 0 100px;
}
.hsy-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hsy-count {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 28px;
}
.hsy-count strong {
    color: var(--hs-color-point);
    font-weight: 700;
}

.hsy-empty {
    text-align: center;
    color: #aaa;
    padding: 60px 0;
}

/* 아카이브 영상 그리드 */
.hsy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

/* 아카이브 카드 */
.hsy-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fefaf3;
    box-shadow: 0 4px 16px rgba(211, 41, 120, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hsy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(211, 41, 120, 0.14);
}

.hsy-card__thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #fed1d0;
}
.hsy-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hsy-card:hover .hsy-card__thumb img {
    transform: scale(1.05);
}

/* 재생 버튼 오버레이 */
.hsy-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 41, 120, 0.0);
    transition: background 0.3s ease;
    color: #fff;
    opacity: 0;
}
.hsy-card:hover .hsy-card__play {
    background: rgba(211, 41, 120, 0.55);
    opacity: 1;
}

.hsy-card__body {
    padding: 14px 16px;
}
.hsy-card__title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    color: #2a2025;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 페이지네이션 */
.hsy-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hsy-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #fed1d0;
    color: #666;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.hsy-pagination__btn:hover {
    border-color: var(--hs-color-point);
    color: var(--hs-color-point);
}
.hsy-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.hsy-pagination__num:hover {
    background: rgba(211, 41, 120, 0.08);
    color: var(--hs-color-point);
}
.hsy-pagination__num--active {
    background: var(--hs-color-point);
    color: #fff !important;
    pointer-events: none;
}
.hsy-pagination__ellipsis {
    width: 40px;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hs-youtube__grid,
    .hsy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hs-youtube__grid,
    .hsy-grid {
        grid-template-columns: 1fr;
    }

    .hs-youtube__title,
    .hsy-hero__title {
        font-size: 1.8rem;
    }

    .hs-youtube__subtitle {
        font-size: 0.85rem;
    }

    .hs-youtube {
        padding: 60px 0;
    }

    .hs-youtube__inner {
        padding: 0 20px;
    }

    .hsy-hero {
        padding: 52px 24px;
    }

    .hsy-hero__sub {
        font-size: 0.85rem;
    }

    .hsy-wrap {
        padding: 0 24px;
    }
}
