@charset "UTF-8";

/* ==========================================================================
   Button Component Styles (button.css)
   ========================================================================== */

/* Button Base */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media screen and (max-width: 768px) {
    .c-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Primary Button */
.c-btn--primary {
    background-color: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
}

.c-btn--primary:hover {
    background-color: #003d82;
    border-color: #003d82;
    color: #ffffff;
    text-decoration: none;
}

/* Secondary Button */
.c-btn--secondary {
    background-color: #ffffff;
    color: #0056b3;
    border-color: #0056b3;
}

.c-btn--secondary:hover {
    background-color: #f0f7ff;
    color: #003d82;
    border-color: #003d82;
    text-decoration: none;
}

/* Movie Button (.c-btn--movie) */
.c-btn--movie {
    background-color: #7c1649;
    color: #ffffff;
    border: 2px solid #7c1649;
    padding: 16px 32px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 120px;
    font-size: 24px;
    max-width: 600px;
    width: 100%;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .c-btn--movie {
        width: 100%;
        max-width: 100%;
        min-height: 60px;
        padding: 14px;
        font-size: 18px;
        justify-content: center;
        gap: 4px;
    }
}

.c-btn--movie:hover {
    background-color: #ffffff;
    border-color: #7c1649;
    color: #7c1649;
    text-decoration: none;
}

.c-btn--movie:hover span,
.c-btn--movie:hover .c-btn__text {
    color: #7c1649;
}

/* Movie Button Icon (.c-btn__icon) */
.c-btn--movie .c-btn__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .c-btn--movie .c-btn__icon {
        width: 24px;
        height: 24px;
    }
}

.c-btn--movie .c-btn__icon--default {
    display: block;
}

.c-btn--movie .c-btn__icon--hover {
    display: none;
}

.c-btn--movie:hover .c-btn__icon--default {
    display: none;
}

.c-btn--movie:hover .c-btn__icon--hover {
    display: block;
}

/* PDF Button (.c-btn--pdf) */
.c-btn--pdf {
    background-color: #7c1649;
    color: #ffffff;
    border: 2px solid #7c1649;
    padding: 20px 30px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    font-size: 24px;
    line-height: 1.8;
    letter-spacing: 0.96px;
    max-width: 720px;
    width: 100%;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .c-btn--pdf {
        width: 100%;
        max-width: 100%;
        min-height: 80px;
        padding: 15px 20px;
        font-size: 18px;
        line-height: 1.4;
    }
}

.c-btn--pdf:hover {
    background-color: #ffffff;
    border-color: #7c1649;
    color: #7c1649;
    text-decoration: none;
}

.c-btn--pdf:hover span,
.c-btn--pdf:hover .c-btn__text {
    color: #7c1649;
}

.c-btn--pdf .c-btn__icon {
    width: 21px;
    height: 24px;
    flex-shrink: 0;
}

.c-btn--pdf .c-btn__icon--default {
    display: block;
}

.c-btn--pdf .c-btn__icon--hover {
    display: none;
}

.c-btn--pdf:hover .c-btn__icon--default {
    display: none;
}

.c-btn--pdf:hover .c-btn__icon--hover {
    display: block;
}

/* General / Common .c-btn__icon */
.c-btn__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .c-btn__icon {
        width: 20px;
        height: 20px;
    }
}

/* White Card Button (.c-btn--white) */
.c-btn--white {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    min-height: 120px;
    padding: 19px 40px 23px 20px;
    background-color: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media screen and (max-width: 768px) {
    .c-btn--white {
        min-height: 100px;
        padding: 12px 20px 12px 12px;
        border-radius: 12px;
        gap: 12px;
    }
}

.c-btn--white:hover {
    background-color: #fcfcfc;
    text-decoration: none;
}

.c-btn--white:hover .c-btn__image-wrap {
    opacity: 0.6;
}

.c-btn--white:hover .c-btn__text {
    text-decoration: underline;
}

.c-btn--white .c-btn__image-wrap {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
    .c-btn--white .c-btn__image-wrap {
        width: 72px;
    }
}

.c-btn--white .c-btn__image {
    width: 100%;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

.c-btn--white .c-btn__content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
}

.c-btn--white .c-btn__text {
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}

@media screen and (max-width: 768px) {
    .c-btn--white .c-btn__text {
        font-size: 18px;
        line-height: 1.5;
        letter-spacing: 0.4px;
    }
}

.c-btn--white .c-btn__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Pink Button Base (.c-btn--pink) */
.c-btn--pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    background-color: #fce4df;
    min-height: 90px;
    border-radius: 16px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
    gap: 8px;
}

@media screen and (max-width: 768px) {
    .c-btn--pink {
        min-height: 60px;
        max-width: 100%;
        padding: 0 16px;
        font-size: 15px;
    }
}

.c-btn--pink:hover {
    text-decoration: underline;
}

.c-btn--pink .c-btn__text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .c-btn--pink .c-btn__text {
        font-size: 15px;
    }
}

.c-btn--pink .c-btn__arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ==========================================================================
   Chapter Button (.p-chapter-btn)
   ========================================================================== */
.p-chapter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 8px;
    background-color: #7C1649;
    color: #FFFFFF;
    min-height: 92px;
    border: 2px solid #7C1649;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: 100%;
}

.p-chapter-btn:hover {
    background-color: #FFFFFF;
    border-color: #7C1649;
    color: #7C1649;
    text-decoration: none;
}

.p-chapter-btn__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #FFFFFF;
    transition: color 0.2s ease;
}

.p-chapter-btn:hover .p-chapter-btn__title {
    color: #7C1649;
}

.p-chapter-btn__time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.p-chapter-btn:hover .p-chapter-btn__time {
    color: #7C1649;
}

.p-chapter-btn__time::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../img/common/play.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.p-chapter-btn:hover .p-chapter-btn__time::after {
    background-image: url(../img/common/play-red.svg);
}