/**
 * YouTube Section Styles
 * 유튜브 영상 섹션 스타일
 */

.youtube-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-background);
}

.youtube-section__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.youtube-section__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 56.25%) */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.youtube-section__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* YouTube Channel Link */
.youtube-section__link-wrapper {
    padding-top: 104px;
    margin-bottom: 60px;
    text-align: center;
}

.youtube-section__link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    background-color: transparent;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 48px;
    font-weight: 700;
    font-weight: var(--fw-bold, 700);
    transition: all 0.3s ease;
}

.youtube-section__link:hover {
    opacity: 0.7;
}

.youtube-section__icon {
    height: 48px;
    width: auto;
    display: block;
}

.youtube-section__link-text {
    line-height: 1.4;
}

/* 태블릿 */
@media (max-width: 1024px) {
    .youtube-section__container {
        padding: 0 32px;
    }
}

/* 모바일 */
@media (max-width: 991px) {
    .youtube-section {
        padding: var(--spacing-2xl) 0;
    }

    .youtube-section__container {
        padding: 0 24px;
    }

    .youtube-section__link {
        font-size: 16px;
        padding: 14px 24px;
    }

    .youtube-section__icon {
        width: 28px;
        height: 28px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .youtube-section {
        padding: var(--spacing-xl) 0;
    }

    .youtube-section__container {
        padding: 0 16px;
    }

    .youtube-section__video-wrapper {
        border-radius: var(--radius-md, 8px);
    }

    .youtube-section__link {
        font-size: 14px;
        padding: 12px 20px;
        gap: 8px;
    }

    .youtube-section__icon {
        width: 24px;
        height: 24px;
    }
}
