@charset "UTF-8";

.article-view {
    padding: 100px 0 20px;
    background: var(--bs-body-bg);
}

.article-wrap {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}

.article-category {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 14px;
    margin-bottom: 40px;
    color: #333;
}

:root[data-bs-theme="dark"] .article-category {
    color: #fff;
}

:root[data-bs-theme="dark"] .article-category::after {
    background: #fff;
}

:root[data-bs-theme="dark"] .article-meta {
    color: #fff !important;
}

.article-category::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #333;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineDraw .8s ease forwards;
}

@keyframes lineDraw {
    to {
        transform: scaleX(1);
    }
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 30px;
    word-break: keep-all;
}

.article-meta {
    font-size: 1.4rem;
    margin-bottom: 60px;
}

.article-white {
    font-size: 1.2rem;
    margin-bottom: 60px;
}


.article-lead {
    position: relative;
    padding-left: 24px;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 700;
    margin-bottom: 80px;
    word-break: keep-all;
}

/* 세로 라인 */
.article-lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: #ddd;
    border-radius: 10px;

    animation: leadLine 1s ease forwards;
}

/* 라인 그려지는 애니메이션 */
@keyframes leadLine {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

.article-content {
    font-size: 1.2rem;
    line-height: 2;
}

.article-content p {
    margin-bottom: 32px;
}

.article-content img {
    width: 100%;
    border-radius: 20px;
}

.content-image {
    margin: 70px 0;
}

.q-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.4;
}

.stitle {
    font-size: 1.4rem;
    font-weight: 700;
}

.article-bottom {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 80px;
}

.article-btn {
    width: 190px;
    height: 64px;

    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: 1px solid #999;

    border-radius: 16px;

    background: #fff;
    color: #222;

    text-decoration: none;

    font-size: 1.2rem;
    font-weight: 500;

    transition:
        background .35s ease,
        color .35s ease,
        border-color .35s ease;
}

.article-btn.btn_black {

    border: 1px solid #222;
    background: #222;
    color: #fff;

    text-decoration: none;


}

.article-btn:hover {
    background: #2f2f31;
    border-color: #2f2f31;
    color: #fff;
}

/* 화살표 */
.article-btn .arrow {
    display: flex;
    align-items: center;

    font-size: 1.2rem;
    line-height: 1;

    transition: transform .35s ease;
}

.article-btn.prev-btn {
    justify-content: start !important;
}

.article-btn.next-btn {
    justify-content: end !important;
}

/* 애니메이션 */
.prev-btn:hover .arrow {
    transform: translateX(-6px);
}

.next-btn:hover .arrow {
    transform: translateX(6px);
}


/* 모바일 */
@media (max-width: 768px) {

    .article-bottom {
        justify-content: space-between;
        gap: 10px;
        margin-top: 60px;
    }

    .article-btn {
        flex: 1;
        width: auto;
        height: 56px;
        padding: 0 16px;
        font-size: .95rem;
    }
}

.related-wrap {
    margin-top: 60px;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}

.related-item img {
    border-radius: 18px;
    margin-bottom: 16px;
}

.related-item p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* 반응형 */
@media (max-width: 768px) {

    .article-view {
        padding: 70px 0;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .article-white {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .article-lead {
        font-size: 1.1rem;
        padding-left: 18px;
        margin-bottom: 50px;
    }

    .q-title {
        font-size: 1.6rem;
    }

    .article-content {
        font-size: 1rem;
    }

}

.sub-visual {
    height: 40vh;
    min-height: 480px;
}

.sub-visual.s_visual_1_1 {
    background: url('../images/sub/common/img_s_visual_01_01.png') top center / cover no-repeat;
}

.sub-visual.s_visual_2_1 {
    background: url('../images/sub/common/img_s_visual_02_01.png') top center / cover no-repeat;
}

.sub-visual.s_visual_2_2 {
    background: url('../images/sub/common/img_s_visual_02_02.png') top center / cover no-repeat;
}

.sub-visual.s_visual_2_3 {
    background: url('../images/sub/common/img_s_visual_02_03.png') top center / cover no-repeat;
}

.sub-visual.s_visual_2_4 {
    background: url('../images/sub/common/img_s_visual_02_04.png') top center / cover no-repeat;
}

.sub-visual.s_visual_2_5 {
    background: url('../images/sub/common/img_s_visual_02_05.png') top center / cover no-repeat;
}

.sub-visual.s_visual_2_6 {
    background: url('../images/sub/common/img_s_visual_02_06.png') top center / cover no-repeat;
}

.sub-visual.s_visual_3_1 {
    background: url('../images/sub/common/img_s_visual_03_01.png') top center / cover no-repeat;
}

.sub-visual.s_visual_4_1_1 {
    background: url('../images/sub/common/img_s_visual_04_01_01.png') top center / cover no-repeat;
}

.sub-visual.s_visual_4_1_2 {
    background: url('../images/sub/common/img_s_visual_04_01_02.png') top center / cover no-repeat;
}

.sub-visual.s_visual_4_1_3 {
    background: url('../images/sub/common/img_s_visual_04_01_03.png') top center / cover no-repeat;
}

.sub-visual.s_visual_4_2 {
    background: url('../images/sub/common/img_s_visual_04_02.png') top center / cover no-repeat;
}

@media (max-width:768px) {

    .sub-visual.s_visual_1_1 {
        background: url('../images/sub/common/img_s_visual_01_01_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_2_1 {
        background: url('../images/sub/common/img_s_visual_02_01_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_2_2 {
        background: url('../images/sub/common/img_s_visual_02_02_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_2_3 {
        background: url('../images/sub/common/img_s_visual_02_03_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_2_4 {
        background: url('../images/sub/common/img_s_visual_02_04_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_2_5 {
        background: url('../images/sub/common/img_s_visual_02_05_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_2_6 {
        background: url('../images/sub/common/img_s_visual_02_06_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_3_1 {
        background: url('../images/sub/common/img_s_visual_03_01_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_4_1_1 {
        background: url('../images/sub/common/img_s_visual_04_01_01_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_4_1_2 {
        background: url('../images/sub/common/img_s_visual_04_01_02_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_4_1_3 {
        background: url('../images/sub/common/img_s_visual_04_01_03_mobile.png') top center / cover no-repeat;
    }

    .sub-visual.s_visual_4_2 {
        background: url('../images/sub/common/img_s_visual_04_02_mobile.png') top center / cover no-repeat;
    }
}

.sub-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    object-position: top center;
    display: block;
}

.sub-visual-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

/* 텍스트 영역 */
.sub-visual-content {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* 하단 우측 정렬 */
.sub-visual-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    color: #fff;
}

.sub-title {
    display: flex;
    align-items: center;
    gap: .18em;

    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;

    color: #fff;
}

/* 모바일 */
@media (max-width: 768px) {

    .sub-visual {
        height: 50vh;
        min-height: 320px;
    }

    .sub-visual-img {
        object-position: top center;
    }

    .sub-visual-text {
        padding-bottom: 0px;
    }

    .sub-title {
        font-size: clamp(2rem, 14vw, 3rem);
    }

}

.related-wrap {
    position: relative;
}

.relatedSwiper {
    padding-bottom: 50px;
}

.related-item img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.related-item p {
    margin-top: 14px;
    margin-bottom: 0;
    line-height: 1.5;
    color: #111;
    word-break: keep-all;
}

.related-item span {
    margin-bottom: 6px;
    font-size: 14px;
}

.related-prev,
.related-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    color: #fff;
    position: absolute;
    top: calc(50% - 62px);
    transform: translateY(-50%);
}

.related-prev:after,
.related-next:after {
    font-size: 16px;
    font-weight: 700;
}

.related-pagination {
    bottom: 0 !important;
}

.info-box {
    position: relative;
    margin: 60px 0;
    padding: 38px 40px;

    border: 1px solid #333;
    background: #fff;
    border-radius: 16px;

    box-shadow: 4px 4px 0 rgba(0, 0, 0, .18);
}

/* 상단 라벨 */
.info-label {
    position: absolute;
    top: -18px;
    left: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 86px;
    height: 34px;

    padding: 0 18px;
    border-radius: 999px;

    background: #333;
    color: #fff;

    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.info-profile {
    margin-bottom: 18px;
}

.info-content h4 {
    margin: 0 0 16px;

    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
}

.info-content p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.75;
    color: #333;
}

@media (max-width: 767.98px) {

    .info-box {
        margin: 40px 0;
        padding: 28px 24px;
    }

    .info-label {
        left: 16px;
        height: 32px;
        font-size: 14px;
        padding: 0 16px;
    }

    .info-content h4 {
        font-size: 1.05rem;
    }

    .info-content p {
        font-size: .95rem;
    }

}

.note-marker {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: -24px;
    left: 0px;
}

[data-bs-theme="dark"] .note-marker {
    background: #fff;
    color: #000;
}

.note {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 20px;
}

.note-popover {
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: #fff;
}

.note-popover .popover-body {
    line-height: 1.6;
    color: #fff;
}

.note-popover a {
    font-weight: 500;
    color: #fff;
}

.note-popover a:hover {
    color: #fff;
}

/* 화살표 */
.note-popover .popover-arrow::before,
.note-popover .popover-arrow::after {
    border: none !important;
}

/* 팝업 네비 */
.popup-nav-wrap {
    margin: 80px 0 100px;
    padding-bottom: 40px;
    border-bottom: 1px solid #999;
}

/* 안내문 */
.popup-nav-guide {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 28px;
}

/* 아이템 */
.popup-nav-item {
    display: block;
    height: 100%;
    padding: 0 38px 0 38px;
    border-right: 1px solid #ddd;
    text-decoration: none;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 썸네일 */
.popup-thumb {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.popup-thumb img {
    width: 100%;
    max-width: 160px;
    display: block;
    transition: transform .4s ease;
}

/* 텍스트 */
.popup-nav-text {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 700;
    color: #333;
    word-break: keep-all;
    transition: color .3s ease;
    text-align: center;
}

/* hover */
.popup-nav-item:hover .popup-thumb img {
    transform: translateY(-8px);
}

.popup-nav-item:hover .popup-nav-text {
    color: #000;
}

/* 활성화 */
.popup-nav-item.active .popup-nav-text {
    color: #000;
}

/* 태블릿 */
@media (max-width: 991px) {

    .popup-nav-item {
        padding: 0 24px;
    }

    .popup-nav-text {
        font-size: 1.05rem;
    }

}

/* 모바일 */
@media (max-width: 767px) {

    .popup-nav-wrap {
        margin: 60px 0 70px;
        padding-bottom: 28px;
    }

    .popup-nav-guide {
        margin-bottom: 22px;
        font-size: 0.95rem;
    }

    .popup-nav-list {
        border-left: 0;
    }

    .popup-nav-item {
        padding: 0 12px 28px;
        border-right: 0;
    }

    .popup-thumb {
        margin-bottom: 16px;
    }

    .popup-thumb img {
        max-width: 100%;
    }

    .popup-nav-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

}

/* 이미지 */
.exhibition-thumb img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 텍스트 영역 */
.exhibition-info {
    height: 100%;
}

/* 뱃지 */
.exhibition-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 28px;
}

/* 타이틀 */
.exhibition-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 24px;
    word-break: keep-all;
}

/* 메타 정보 */
.exhibition-meta {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

/* 본문 */
.exhibition-desc p {
    line-height: 2;
    color: #222;
    word-break: keep-all;
    margin-bottom: 32px;
}

/* 모바일 */
@media (max-width: 991px) {

    .exhibition-wrap {
        margin: 70px 0;
    }

    .exhibition-title {
        margin-top: 6px;
    }

    .exhibition-meta {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .exhibition-desc p {
        font-size: 1rem;
        line-height: 1.9;
    }

}

.article-summary {
    position: relative;
    padding: 3rem 0;
}

.summary-line {
    display: block;
    width: 100px;
    height: 1px;
    background: #8a8a8a;
}

.summary-line-top {
    margin-bottom: 2.5rem;
}

.summary-line-bottom {
    margin-top: 2.5rem;
    margin-left: auto;
}

.summary-text {
    line-height: 2;
    font-weight: 700;
    margin: 0;
    word-break: keep-all;
}

@media (max-width: 991px) {

    .article-summary {
        padding: 2rem 0;
    }

    .summary-line {
        width: 70px;
    }

    .summary-text {
        font-size: 1rem;
        line-height: 1.9;
    }
}