@charset "utf-8";

/* 내용관리 */
#container {
    padding-top: 0px;
}

#ctt {
    background: #fff
}

.ctt_admin {
    text-align: right
}

#ctt header h1 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}

#ctt_con {
    margin: 80px auto;
    padding: 0px 10px;
    max-width: 1440px;
    width: 100%;
}

#ctt_con img {
    max-width: 100%;
    height: auto
}

.ctt_img {
    text-align: center
}


.song-wrap {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1000px;
}

/* ── 타이틀 ── */
.song-title-block {
    margin-bottom: 40px;
}

.song-title-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1346d4;
    margin-bottom: 10px;
}

.song-title-block h2 {
    font-size: clamp(26px, 2.3vw, 34px);
    font-weight: 700;
    color: #1a2f5e;
    line-height: 1.5;
    letter-spacing: -0.02rem;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ededed;
    word-break: keep-all;
}

.song-credit {
    display: inline-flex;
    gap: 24px;
}

.song-credit-item {
    font-size: 16px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.song-credit-item::before {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c5d4f5;
}

.song-credit-name {
    font-weight: 600;
    color: #1a2f5e;
}

/* ── 악보 + 가사 2단 레이아웃 ── */
.song-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* ── 악보 ── */
.song-score {
    flex: 1;
    min-width: 0;
}

.song-score-inner {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 50px 0px rgba(0,0,0,0.1);
    padding: 10px 10px;
}

.song-score-inner img {
    width: 100%;
    display: block;
}

.song-score-caption {
    font-size: 13px;
    color: #222;
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* ── 가사 ── */
.song-lyrics {
    width: 30%;
    flex-shrink: 0;
}

.song-lyrics-head {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1346d4;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf5;
}

.song-verse {
    margin-bottom: 24px;
}

.song-verse-num {
    font-size: 11px;
    font-weight: 700;
    color: #1346d4;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.song-verse-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.song-verse-line {
    font-size: 16px;
    color: #222222;
    line-height: 1.7;
    word-break: keep-all;
}

.song-verse-line.chorus {
    color: #1a2f5e;
    font-weight: 600;
}

.song-verse-divider {
    height: 1px;
    background: #f0f2f8;
    margin: 18px 0;
}

/* ── 모바일: 세로 배치 ── */
@media (max-width: 680px) {
    .song-body {
        flex-direction: column;
        gap: 28px;
    }

    .song-lyrics {
        width: 100%;
    }

    .song-verse-lines {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px 16px;
    }

    .song-title-block h2 {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .song-verse-lines {
        grid-template-columns: 1fr;
    }

    .song-credit {
        flex-direction: column;
        gap: 6px;
    }
}

/* 섹션 타이틀 */
.ds-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2f5e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-title i {
    background: #1346d4;
    width: 30px;
    height: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.song-video-wrap {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
}

.song-video-wrap video {
    display: block;
    width: 100%;
    height: auto;
}
