@charset "utf-8";

/* ==========================================================================
   [Base & Variables]
   ========================================================================== */
:root {
    --primary-color: #1a2744;
    /* 장엄한 네이비 */
    --accent-color: #c9a84c;
    /* 기품 있는 골드 */
    --accent-light: #e8d48b;
    --navy-dark: #0f1a2e;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-400: #ced4da;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-900: #212529;

    --font-sans: "Pretendard Variable", Pretendard, sans-serif;
    --font-serif: "Noto Serif KR", serif;

    --hd-h: 120px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   [Theme Configurations]
   ========================================================================== */
body,
body[data-theme="theme-1"] {
    --primary-color: #1a2744;
    /* 장엄한 네이비 */
    --accent-color: #c9a84c;
    /* 기품 있는 골드 */
    --accent-light: #e8d48b;
    --navy-dark: #0f1a2e;
}

body[data-theme="theme-2"] {
    --primary-color: #4a3424;
    /* 숭고한 브라운 (장엄한 흙빛) */
    --accent-color: #b58450;
    /* 은은한 웜 골드 / 브론즈 */
    --accent-light: #dfd4c5;
    /* 밝은 베이지 */
    --navy-dark: #2c1e14;
    /* 깊은 다크 브라운 */
}

body[data-theme="theme-3"] {
    --primary-color: #2FA4D7;
    /* 맑고 깊은 딥블루 */
    --accent-color: #f4d35e;
    /* 전통미의 활기찬 노랑 골드 */
    --accent-light: #faf0ca;
    /* 연한 파스텔 옐로우 */
    --navy-dark: #406093;
    /* 깊은 블루블랙 */
}

body[data-theme="theme-4"] {
    --primary-color: #7a1f1d;
    /* 단심(丹心)을 상징하는 깊은 붉은색 */
    --accent-color: #c89d53;
    /* 기품 있는 앤틱 골드 */
    --accent-light: #e9d3ad;
    /* 밝은 샴페인 골드 */
    --navy-dark: #440d0c;
    /* 깊고 진한 버건디 블랙 */
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input {
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
}

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* 더미 리스트 전용 클릭안되는 리스트 스타일 */
.bb-list.dummy li a {
    pointer-events: none;
    cursor: default !important;
}

.bb-list.dummy li a:hover .bb-subj {
    color: var(--gray-700) !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   [Header & Megamenu - Design A]
   ========================================================================== */
#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.util-bar {
    background-color: var(--navy-dark);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.util-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.util-links a {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
}

.util-links a:hover {
    color: var(--accent-color);
}

.util-links span {
    opacity: 0.3;
}

/* 네비게이션 바 */
.nav-bar {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.nav-bar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--navy-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* 로고 */
.logo {
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-color);
    margin-right: 12px;
}

.logo-txt strong {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    display: block;
    letter-spacing: -0.5px;
}

.logo-txt em {
    font-size: 10px;
    font-style: normal;
    opacity: 0.5;
    display: block;
    margin-top: 1px;
}

/* GNB */
.gnb {
    height: 100%;
}

.gnb-list {
    display: flex;
    height: 100%;
}

.gnb-item {
    position: relative;
    height: 100%;
}

.gnb-link {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 100%;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.gnb-link:hover,
.gnb-item.active .gnb-link {
    color: var(--accent-color);
}

/* 메가메뉴 드롭다운 */
.sub-wrap {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--navy-dark);
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    padding: 16px 0;
    display: none;
}

.gnb-item:hover .sub-wrap {
    display: block;
}

.sub-list li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.sub-list li a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 24px;
}

/* GNB A 3차 메뉴 링크 격리 스타일 */
.gnb-3rd-wrap {
    padding: 2px 24px 8px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: left !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

.gnb-3rd-wrap a {
    display: block !important;
    padding: 4px 0 !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.2s !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: none !important;
}

.gnb-3rd-wrap a:hover {
    color: var(--accent-color) !important;
    padding-left: 4px !important;
    background: none !important;
}

/* 헤더 툴 */
.hd-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-search,
.btn-ham {
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover,
.btn-ham:hover {
    color: var(--accent-color);
}

.btn-ham {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
}

.btn-ham span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

/* ==========================================================================
   [PC GNB 2종: 펫모아 스타일 헤더 - Design B]
   ========================================================================== */
.hd-b {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 120px !important;
    background-color: #ffffff !important;
    /* 항상 흰색 바탕 고정 */
    border-bottom: none !important;
    z-index: 1000 !important;
    transition: all 0.3s ease-in-out !important;
    overflow: visible !important;
}

/* scrolled 상태 - pm-headwrap 숨기고 NAVI만 상단 고정 */
.hd-b.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 48px !important;
    /* GNB 바 높이 48px로 상단 고정 완치 */
    background-color: var(--primary-color) !important;
    /* GNB 바 색상인 다크네이비로 배경 통일 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
}

.hd-b.scrolled .pm-headwrap {
    display: none !important;
    /* 스크롤 시 headwrap 숨김 완치 */
}

.hd-b.scrolled .pm-gnb {
    border-top: none !important;
    /* 스크롤 시 상단 보더 소거 */
}

#header.hd-b.scrolled .pm-gnb-link {
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
}

/* gnb-open 상태 (마우스 호버 시) */
.hd-b.gnb-open {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--gray-200) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.hd-b .pm-headwrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    height: auto;
    padding: 10px 24px;
    background-color: #ffffff !important;
}

.hd-b .pm-util ul {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.hd-b .pm-util a:hover {
    color: var(--primary-color);
}

.hd-b .pm-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hd-b .pm-logo .logo-mark {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 900;
    color: #1a2744;
    /* 브랜드 고정 색상 - 테마 변경 무관 */
}

.hd-b .pm-logo .logo-txt strong {
    font-family: var(--font-sans);
    font-size: 26px;
    color: #1a2744;
    /* 브랜드 고정 색상 - 테마 변경 무관 */
    font-weight: 800;
    display: block;
    letter-spacing: -0.5px;
}

.hd-b .pm-logo .logo-txt em {
    font-family: var(--font-sans);
    font-size: 11px;
    color: #6c757d;
    display: block;
    margin-top: 2px;
}

/* SNS 링크 아이콘 */
.hd-b .pm-sns-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hd-b .pm-sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.hd-b .pm-sns-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.hd-b .pm-sns-btn .naver-n {
    font-size: 14px;
    font-weight: 900;
    font-family: var(--font-sans);
    line-height: 1;
}

/* 펫모아 GNB 바 */
.hd-b .pm-gnb {
    position: static !important;
    /* static 선언으로 absolute 자식이 헤더 100vw 전체폭 기준 정렬되도록 relative 해제 */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: var(--primary-color) !important;
    /* 다크네이비 바 완벽 영구 사수 */
    transition: var(--transition) !important;
}

.hd-b.gnb-open .pm-gnb,
.hd-b.scrolled .pm-gnb {
    background-color: var(--primary-color) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hd-b .pm-gnb-inner {
    position: relative !important;
    /* 드롭다운의 포지셔닝 컨텍스트 */
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.hd-b .pm-gnb-list {
    display: flex;
    justify-content: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hd-b .pm-gnb-item {
    position: static !important;
    /* absolute 자식이 100vw 풀와이드 기준을 잡도록 구속 전격 해제 */
}

#header.hd-b .pm-gnb-link {
    display: block !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: var(--font-sans) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    /* 평소 흰색 가독성 최고 */
    letter-spacing: -0.3px !important;
    white-space: nowrap !important;
    transition: color 0.3s ease !important;
}

/* 호버/scrolled/gnb-open 시에도 다크네이비 바 위에서 흰색 가독성 완벽 영구 유지 */
.hd-b.gnb-open .pm-gnb-link,
.hd-b.scrolled .pm-gnb-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* 개별 메뉴 호버 시에만 세련된 골드 악센트 */
#header.hd-b .pm-gnb-item:hover .pm-gnb-link {
    color: var(--accent-color) !important;
}

/* GNB B 이중 로고 스왑 제어 */
.hd-b .logo-default {
    display: block !important;
}

.hd-b .logo-scrolled {
    display: none !important;
}

.hd-b.gnb-open .logo-default,
.hd-b.scrolled .logo-default {
    display: none !important;
}

.hd-b.gnb-open .logo-scrolled,
.hd-b.scrolled .logo-scrolled {
    display: block !important;
}

/* 펫모아 개별 세로형 3차 계층 드롭다운 */
.hd-b .pm-sub-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    /* 좌측 정렬 */
    width: 240px !important;
    /* 콤팩트한 너비 */
    background-color: var(--white) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    border-top: 3px solid var(--primary-color) !important;
    border-bottom: 2px solid #eaeaea !important;
    border-left: 1px solid #eaeaea !important;
    border-right: 1px solid #eaeaea !important;
    padding: 18px 22px !important;
    box-sizing: border-box !important;
    border-radius: 0 0 8px 8px !important;
    display: none !important;
    /* 기본은 숨김 */
    z-index: 999 !important;
    text-align: left !important;
}

.hd-b .pm-gnb-item:hover .pm-sub-dropdown,
.hd-b .pm-gnb-item.active .pm-sub-dropdown {
    display: block !important;
    /* 호버 및 활성화 시에만 뚝 떨어져서 활성화 */
}

/* 2차 메뉴 세로 목록 좌측 정렬 */
.hd-b .pm-sub-2nd-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    /* 2차 메뉴 사이의 세로 여백 */
}

.hd-b .pm-sub-2nd-item {
    position: relative !important;
}

.hd-b .pm-sub-2nd-link {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-decoration: none !important;
    display: block !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #eaeaea !important;
    transition: color 0.2s !important;
}

.hd-b .pm-sub-2nd-link:hover {
    color: var(--primary-color) !important;
}

/* 3차 메뉴 세로 목록 */
.hd-b .pm-sub-3rd-list {
    list-style: none !important;
    padding: 4px 0 0 8px !important;
    margin: 6px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    /* 3차 메뉴 사이의 세로 여백 */
}

.hd-b .pm-sub-3rd-item {
    position: relative !important;
}

.hd-b .pm-sub-3rd-link {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
    text-decoration: none !important;
    display: block !important;
    padding: 2px 0 !important;
    transition: all 0.2s !important;
}

.hd-b .pm-sub-3rd-link:hover {
    color: var(--primary-color) !important;
    padding-left: 3px !important;
}

.hd-b .pm-mega-list {
    display: flex;
    flex-direction: column;
}

.hd-b .pm-mega-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.hd-b .pm-mega-card:hover {
    background-color: var(--gray-50);
    color: var(--primary-color);
    padding-left: 30px;
}

.hd-b .pm-mega-card-arrow {
    color: var(--accent-color);
    opacity: 0;
    transition: var(--transition);
}

.hd-b .pm-mega-card:hover .pm-mega-card-arrow {
    opacity: 1;
}

/* ==========================================================================
   [풀스크린 사이트맵 오버레이 - GNB 1종 햄버거 메뉴]
   ========================================================================== */
.full-sitemap {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.full-sitemap.open {
    opacity: 1;
    pointer-events: auto;
}

.fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fs-logo {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
}

.fs-close {
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.fs-close:hover {
    color: var(--accent-color);
}

.fs-body {
    flex: 1;
    overflow-y: auto;
    padding: 80px 40px;
}

.fs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 80px;
    max-width: 1320px;
    margin: 0 auto;
}

.fs-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fs-1st {
    color: var(--accent-color);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid rgba(201, 168, 76, 0.3);
    padding-bottom: 8px;
    transition: var(--transition);
}

.fs-1st:hover {
    color: var(--white);
}

.fs-2nd-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fs-2nd {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.fs-2nd:hover {
    color: var(--white);
    padding-left: 6px;
}

/* ==========================================================================
   [모바일 1종: ksise 스타일 아코디언 메뉴 스타일]
   ========================================================================== */
.ks-m-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 20px;
}

.ks-m-header #hd_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ks-logo-mark {
    background-color: var(--primary-color);
    color: var(--accent-color);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
}

.ks-logo-txt {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 6px;
}

.ks-m-header .hd_opener {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ksise 모바일 드로어 서랍 */
#m_drawer_a {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#m_drawer_a.open {
    right: 0;
}

.m-drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    background-color: var(--gray-50);
}

.m-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

#btn_m_close_a {
    font-size: 22px;
    color: var(--gray-700);
    cursor: pointer;
}

#gnb_1dul {
    display: flex;
    flex-direction: column;
}

.gnb_1dli {
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.gnb_1da {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.btn_gnb_op {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
}

.gnb_2dul {
    display: none;
    background-color: var(--gray-50);
    padding: 8px 0;
}

.gnb_2dli {
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.gnb_2da {
    display: block;
    padding: 10px 36px;
    font-size: 13px;
    color: var(--gray-700);
}

#hd_nb {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background-color: var(--gray-50);
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
}

#hd_nb li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
}

/* ==========================================================================
   [모바일 2종: 펫모아 스타일 드로어 메뉴 스타일]
   ========================================================================== */
.pm-m-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.pm-m-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.pm-m-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    cursor: pointer;
}

.pm-m-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.m-logo-mark {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 900;
    color: var(--accent-color);
}

.m-logo-title {
    font-family: var(--font-serif);
    font-size: 19.5px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 4px;
}

.pm-m-search-btn {
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
}

/* 가로 스크롤 네비게이션 */
.pm-m-gnb-scroll {
    overflow-x: auto;
    border-bottom: 1px solid var(--gray-100);
    white-space: nowrap;
}

.pm-m-gnb-scroll::-webkit-scrollbar {
    display: none;
}

.pm-m-gnb-list {
    display: flex;
    padding: 12px 20px;
    gap: 20px;
}

.pm-m-gnb-list li a {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-700);
}

/* 검색 패널 토글 */
.pm-m-search-panel {
    display: none;
    padding: 12px 20px;
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.pm-m-search-panel.open {
    display: block;
}

.pm-m-search-panel form {
    display: flex;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background-color: var(--white);
    overflow: hidden;
}

.pm-m-search-panel input {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

.pm-m-search-panel button {
    padding: 8px 16px;
    color: var(--primary-color);
}

/* 펫모아 모바일 드로어 서랍 */
.pm-m-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3500;
    display: none;
}

.pm-m-drawer-overlay.show {
    display: block;
}

.pm-m-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 4000;
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pm-m-drawer.open {
    left: 0;
}

.pm-m-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.m-drawer-logo {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.pm-m-drawer-close {
    font-size: 22px;
    color: var(--gray-700);
    cursor: pointer;
}

/* 드로어 다국어 링크 */
.pm-m-drawer-langs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.pm-m-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Pretendard', sans-serif;
}

.pm-m-lang-btn.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.pm-m-lang-btn:hover:not(.active) {
    background-color: var(--gray-50);
    color: var(--primary-color) !important;
}

/* 드로어 유저 로그인 */
.pm-m-drawer-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px;
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.pm-m-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.pm-m-auth-btn.login {
    background-color: var(--primary-color);
    color: var(--white);
}

.pm-m-auth-btn.join {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.pm-m-auth-btn.logout {
    background-color: var(--gray-200);
    color: var(--gray-700);
    grid-column: span 2;
}

/* 드로어 아코디언 GNB */
.pm-m-drawer-menu {
    display: flex;
    flex-direction: column;
}

.pm-m-menu-item {
    border-bottom: 1px solid var(--gray-100);
}

.pm-m-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.pm-m-menu-toggle {
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
}

.pm-m-submenu {
    display: none;
    background-color: var(--gray-50);
    padding: 12px 8px;
}

.pm-m-submenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pm-m-submenu-card {
    display: block;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.pm-m-submenu-card:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.pm-m-drawer-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
    background-color: var(--white);
}

.pm-m-drawer-sns {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 0 0 0;
    background-color: var(--white);
}

.pm-m-sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    color: var(--gray-600) !important;
    font-size: 16px;
    background: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.pm-m-sns-btn.instagram {
    color: #E1306C !important;
    border-color: rgba(225, 48, 108, 0.3) !important;
}
.pm-m-sns-btn.youtube {
    color: #FF0000 !important;
    border-color: rgba(255, 0, 0, 0.3) !important;
}
.pm-m-sns-btn.naver {
    background-color: #03C75A !important;
    color: #ffffff !important;
    border-color: #03C75A !important;
}
.pm-m-sns-btn.facebook {
    color: #1877F2 !important;
    border-color: rgba(24, 119, 242, 0.3) !important;
}

.pm-m-sns-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white) !important;
}

.pm-m-sns-btn .naver-n {
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.pm-m-quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.pm-m-quick-item.phone {
    background-color: rgba(26, 39, 68, 0.05);
    color: var(--primary-color);
}

.pm-m-quick-item.map {
    background-color: rgba(201, 168, 76, 0.1);
    color: var(--accent-color);
}


/* ==========================================================================
   [시안 A: hs815 스타일 (다크헤더 / 퀵메뉴)]
   ========================================================================== */
.hd-a .nav-bar {
    background-color: rgba(15, 26, 46, 0.75);
    backdrop-filter: blur(8px);
}

/* 풀스크린 비주얼 */
.visual {
    position: relative;
    height: 100vh;
    min-height: 700px;
}

.visual-swiper {
    width: 100%;
    height: 100%;
}

.vs-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* vs-dim: 전체 배경 오버레이 제거 → 이미지 원본 선명도 보존 */
.vs-dim {
    display: none;
}

/* vs-txt: 텍스트 영역 자체에 가독성 처리 */
.vs-txt {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    color: var(--white);
}

/* 텍스트 콘텐츠 래퍼: text-shadow만으로 가독성 확보 (배경 없음) */
.vs-txt-inner {
    display: inline-block;
    max-width: 640px;
    padding: 48px 0 48px 80px;
}

.vs-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.vs-title {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    word-break: keep-all;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.vs-title em {
    font-style: normal;
    color: var(--accent-light);
}

.vs-sub {
    font-family: var(--font-serif);
    font-size: 18px;
    opacity: 0.9;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

/* 슬라이드 조절바 */
.vs-ctrl {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 40px;
    padding: 10px 24px;
    gap: 16px;
    color: var(--white);
}

.vs-ctrl button {
    color: inherit;
    cursor: pointer;
    font-size: 16px;
}

.vs-num {
    font-size: 14px;
    letter-spacing: 1px;
}

/* 모바일용 B안 햄버거 버튼 (A안 헤더 탑재용) - PC에서는 숨김 */
.m-btn-ham-a {
    display: none !important;
}

.m-btn-ham-a span {
    background-color: var(--white) !important;
}

/* 우측 퀵메뉴 (hs815 시그니처) */
.quick-menu {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 100px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 100;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.qm-title {
    background-color: var(--primary-color);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    padding: 14px 0;
    line-height: 1.3;
    letter-spacing: 1px;
}

.qm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    transition: var(--transition);
}

.qm-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: var(--transition);
}

.qm-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.qm-item:hover i {
    color: var(--accent-color);
}

.qm-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
}

/* 관람안내 바 */
.visit-bar {
    background-color: var(--white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 0;
    position: relative;
    z-index: 40;
    margin-top: -40px;
    border-radius: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.vb-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.vb-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vb-item i {
    font-size: 22px;
    color: var(--primary-color);
}

.vb-label {
    font-size: 13px;
    color: var(--gray-600);
}

.vb-item strong {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
}

.vb-sep {
    width: 1px;
    height: 30px;
    background-color: var(--gray-200);
}

.vb-links {
    display: flex;
    gap: 10px;
}

.vb-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

.vb-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* 게시판 2단 */
.board-sec {
    padding: 100px 0 60px;
    background-color: var(--gray-50);
}

.board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.board-box {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.bb-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
}

.bb-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.bb-more {
    font-size: 13px;
    color: var(--gray-600);
}

.bb-list li {
    border-bottom: 1px solid var(--gray-100);
}

.bb-list li:last-child {
    border-bottom: none;
}

.bb-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.bb-subj {
    font-size: 15px;
    color: var(--gray-700);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bb-list li a:hover .bb-subj {
    color: var(--primary-color);
    font-weight: 600;
}

.bb-date {
    font-size: 13px;
    color: var(--gray-600);
    margin-left: 20px;
}

.bb-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--gray-600);
}

/* 전시/교육안내 */
.exhibit-sec {
    padding: 100px 0;
}

.sec-hd {
    text-align: center;
    margin-bottom: 50px;
}

.sec-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

.sec-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.ex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ex-card {
    position: relative;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.ex-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ex-card:hover .ex-bg {
    transform: scale(1.08);
}

.ex-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.ex-info {
    position: relative;
    z-index: 10;
    padding: 40px;
    color: var(--white);
}

.ex-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ex-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ex-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================================================
   [시안 B: warmemo 스타일 (화이트헤더 / 우하단 관람패널)]
   ========================================================================== */
.hd-b-content-margin {
    margin-top: 0px;
}

/* hd-b는 relative이므로 margin top 불필요 */

/* 서브페이지(일반페이지)일 때 B시안 헤더를 absolute로 복원하여 중복 여백 버그 종결 (스크롤 시에는 fixed 작동하도록 :not(.scrolled) 가드 탑재) */
.hd-b.sub-hd-b:not(.scrolled) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
}

/* B안 비주얼 */
.visual-b {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
}

.vb-swiper {
    width: 100%;
    height: 100%;
}

.vbs-slide {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    /* PC 시안 A와 동일한 웅장한 백그라운드 커버 가동 */
    background-position: center center !important;
    /* 중앙 기준 정렬 정밀 세팅 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vbs-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 26, 46, 0.85) 0%, rgba(15, 26, 46, 0.4) 100%);
}

.vbs-txt {
    position: relative;
    z-index: 10;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    color: var(--white);
}

.vbs-label {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
}

.vbs-title {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.vbs-quote {
    font-size: 18px;
    opacity: 0.9;
}

/* B안 조절바 (하단 중앙) */
.vbs-ctrl {
    position: absolute;
    bottom: 50px;
    left: 80px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

.vbs-ctrl button {
    color: inherit;
    cursor: pointer;
    font-size: 20px;
    opacity: 0.7;
}

.vbs-ctrl button:hover {
    opacity: 1;
}

.vbs-pagi {
    display: flex;
    gap: 8px;
}

.vbs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.vbs-dot.active {
    background-color: var(--white);
    width: 24px;
    border-radius: 10px;
}

/* 관람정보 패널 (warmemo 시그니처) */
.visit-panel {
    position: absolute;
    bottom: 80px;
    right: 80px;
    z-index: 30;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 40px;
    width: 320px;
}

.vp-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.vp-row i {
    font-size: 24px;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.vp-row span {
    font-size: 12px;
    color: var(--gray-600);
    display: block;
}

.vp-row strong {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
}

.vp-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.vp-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.vp-btns a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 4종 사업메뉴 */
.menu4-sec {
    padding: 80px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.menu4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.m4-card {
    border-radius: 16px;
    padding: 50px 32px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    position: relative;
    overflow: hidden;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.m4-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.m4-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.m4-card:hover::before {
    opacity: 1;
}

/* 4종 부드러운 파스텔 그라디언트 테마색 지정 및 가독성 확보를 위한 톤온톤 컬러 매핑 */
.m4-card.m4-card-exhibit {
    background: #c4edf5;
}

.m4-card.m4-card-exhibit .m4-icon,
.m4-card.m4-card-exhibit h3 {
    color: #1a2744 !important;
}

.m4-card.m4-card-exhibit p {
    color: rgba(26, 39, 68, 0.85) !important;
}

.m4-card.m4-card-edu {
    background: #d2eeb7;
}

.m4-card.m4-card-edu .m4-icon,
.m4-card.m4-card-edu h3 {
    color: #1a2744 !important;
}

.m4-card.m4-card-edu p {
    color: rgba(26, 39, 68, 0.85) !important;
}

.m4-card.m4-card-rent {
    background: #ffd6d6;
}

.m4-card.m4-card-rent .m4-icon,
.m4-card.m4-card-rent h3 {
    color: #1a2744 !important;
}

.m4-card.m4-card-rent p {
    color: rgba(26, 39, 68, 0.85) !important;
}

.m4-card.m4-card-support {
    background: #fb942d;
}

.m4-card.m4-card-support .m4-icon,
.m4-card.m4-card-support h3 {
    color: #ffffff !important;
}

.m4-card.m4-card-support p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.m4-icon {
    font-size: 44px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s ease;
    opacity: 0.9;
}

.m4-card:hover .m4-icon {
    transform: scale(1.18);
    opacity: 1;
}

.m4-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.m4-card p {
    font-size: 15px;
    color: var(--white);
    opacity: 0.85;
    line-height: 1.5;
    word-break: keep-all;
}

/* 매헌소개 + 공지 2단 */
.about-board-sec {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.ab-grid {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 60px;
}

.ab-grid>.ab-about,
.ab-grid>.ab-boards {
    min-width: 0;
    overflow: hidden;
}

.ab-about h2.sec-title,
.ab-boards h2.sec-title {
    line-height: 1.2 !important;
    white-space: nowrap;
}

.ab-about h2 em {
    display: inline-block;
    font-style: normal;
    font-size: 20px;
    color: var(--gray-600);
    margin-left: 14px;
    font-weight: 500;
    vertical-align: middle;
}

.ab-about p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
    margin: 24px 0;
}

.ab-about blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.btn-more:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* ==========================================================================
   [Switch bar & Footer]
   ========================================================================== */
.switch-bar {
    background-color: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
}

.btn-switch {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 4px;
    font-size: 12px;
}

#footer {
    background-color: #1a2744 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.ft-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}

.ft-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
}

.ft-nav a:hover {
    color: var(--white);
}

.ft-nav span {
    opacity: 0.3;
}

.ft-main {
    padding: 50px 0;
}

.ft-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ft-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.ft-en {
    font-size: 11px;
    opacity: 0.4;
    margin: 4px 0 20px;
}

.ft-addr {
    font-size: 14px;
    opacity: 0.6;
}

.ft-copy {
    font-size: 13px;
    opacity: 0.4;
    margin-top: 20px;
}

.ft-tel-label {
    font-size: 13px;
    opacity: 0.5;
    text-align: right;
}

.ft-tel-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    text-align: right;
}

/* ==========================================================================
   [Search Layer & Mobile Menu]
   ========================================================================== */
.search-layer {
    position: fixed;
    top: -150px;
    left: 0;
    right: 0;
    background-color: var(--navy-dark);
    padding: 30px 0;
    z-index: 2000;
    transition: var(--transition);
}

.search-layer.open {
    top: 0;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-bottom: 2px solid var(--white);
}

.search-input {
    flex: 1;
    padding: 12px;
    color: var(--white);
    font-size: 18px;
}

.search-submit {
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.search-close {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.dim {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    display: none;
}

.dim.open {
    display: block;
}

/* ==========================================================================
   [Responsive Design]
   ========================================================================== */
@media (max-width: 1200px) {
    .gnb-link {
        padding: 0 16px;
    }

    .vs-title {
        font-size: 42px;
    }

    .visit-bar {
        margin-left: 20px;
        margin-right: 20px;
    }

    .vbs-title {
        font-size: 42px;
    }

    .visit-panel {
        right: 40px;
    }

    .fs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 50px;
    }
}

.hd-b #btn_m_ham_b {
    display: none !important;
}

@media (max-width: 1024px) {

    .util-bar,
    .gnb {
        display: none;
    }

    .pm-gnb-link {
        padding: 0 10px;
        font-size: 13px;
    }

    .quick-menu {
        display: none;
    }

    .nav-inner {
        height: 70px;
    }

    .vs-title {
        font-size: 32px;
    }

    .vbs-title {
        font-size: 32px;
    }

    .vb-inner {
        flex-direction: column;
        gap: 16px;
    }

    .vb-sep {
        display: none;
    }

    .board-grid,
    .ex-grid,
    .ab-grid {
        grid-template-columns: 1fr;
    }

    .menu4-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .m4-card {
        padding: 30px 16px;
    }

    .m4-icon {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .m4-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .m4-card p {
        font-size: 13px;
        line-height: 1.4;
    }

    .ex-card {
        height: 320px;
    }

    .visit-panel {
        position: static;
        width: 100%;
        margin-top: 30px;
    }

    .ft-inner {
        flex-direction: column;
        gap: 24px;
    }

    .ft-tel-label,
    .ft-tel-num {
        text-align: left;
    }

    .ft-tel-num {
        font-size: 16px !important;
        /* 모바일 tail 전화번호 글자 크기 50% 축소 */
    }

    .yun-sub-hero {
        height: 280px !important;
        /* 모바일 반응형 높이로 조절 */
        padding-top: 60px !important;
        /* 모바일 헤더 높이(약 60px)만큼 오프셋 밀어내어 Middle 정렬 실현 */
    }

    .fs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hd-b .pm-headwrap {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .hd-b .pm-util,
    .hd-b .pm-search-box {
        display: none !important;
    }

    .hd-b .pm-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0;
        flex: none;
        text-align: center;
    }

    .hd-b .pm-logo img {
        height: 26px;
    }
}

@media (max-width: 728px) {
    .pm-gnb {
        display: none !important;
    }

    .hd-b #btn_m_ham_b {
        display: flex !important;
    }

    .hd-b .pm-sns-links {
        display: none !important;
    }
}


/* ==========================================================================
   [추가 요구사항 반영: 폰트 고딕 통일, 폰트크기 상향, 메가드롭다운, 비디오 & 배너]
   ========================================================================== */

/* 1. 메인페이지 전체 폰트 고딕(Pretendard)으로 강제 통일 및 크기 상향 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
div,
blockquote {
    font-family: var(--font-sans) !important;
}

/* 제목 및 내용 폰트 크기 상향 */
.vs-title,
.vbs-title {
    font-size: 52px !important;
    line-height: 1.25 !important;
}

.sec-title {
    font-size: 42px !important;
    font-weight: 800 !important;
}

.sec-label {
    font-size: 15px !important;
    letter-spacing: 0.1em !important;
}

.bb-subj {
    font-size: 16px !important;
}

.ex-info h3 {
    font-size: 24px !important;
}

.ex-info p {
    font-size: 15px !important;
}

.btn-more,
.btn-switch {
    font-size: 16px !important;
}

/* 2. A안 우측 사이트맵 폰트 고딕화 및 폰트크기 대폭 확대 */
.full-sitemap,
.full-sitemap * {
    font-family: var(--font-sans) !important;
}

.fs-1st {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    margin-bottom: 15px !important;
}

.fs-2nd {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--gray-100) !important;
    line-height: 1.8 !important;
}

.fs-2nd:hover {
    color: var(--white) !important;
    text-decoration: underline !important;
}

/* 3. 모바일 B안 헤더 및 본문 바로가기 완전 개편 */
#skip_nav,
.to_content {
    display: none !important;
}

.sound_only {
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* 모바일 B안 헤더 강제 고정 및 햄버거 노출 */
#hd.pm-m-header {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    background: var(--white) !important;
    z-index: 2000 !important;
    border-bottom: 1px solid var(--gray-100) !important;
}

.pm-m-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 22px !important;
    height: 15px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.pm-m-hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--primary-color) !important;
}

/* 4. PC GNB B안 (사용자 관점 시안 A) 프리미엄 카드형 메가드롭다운 */
.hd-b .pm-mega-dropdown,
.hd-a .pm-mega-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    /* static 부모(헤더) 기준으로 좌측 끝 0 밀착 */
    transform: none !important;
    /* 50% 쏠림 해제 */
    width: 100% !important;
    /* 전체 가로폭 100% 쫙 펴기 */
    max-width: none !important;
    /* 한계 돌파 풀와이드 실증 */
    background-color: var(--white) !important;
    padding: 35px 24px !important;
    box-sizing: border-box !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-top: 3px solid var(--accent-color) !important;
    /* 기품있는 골드 탑라인 */
    display: none !important;
    z-index: 999 !important;
}

.hd-b .pm-gnb-item:hover>.pm-mega-dropdown,
.hd-a .pm-gnb-item:hover>.pm-mega-dropdown {
    display: block !important;
}

.hd-b .pm-mega-inner,
.hd-a .pm-mega-inner {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* 4열 그리드 카드 리스트 */
.hd-b .pm-mega-list,
.hd-a .pm-mega-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    text-align: left !important;
}

/* 개별 카드 */
.hd-b .pm-mega-card,
.hd-a .pm-mega-card {
    position: relative !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    display: flex !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.hd-b .pm-mega-card:hover,
.hd-a .pm-mega-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--accent-color) !important;
}

/* 썸네일 이미지 */
.hd-b .pm-mega-card-img,
.hd-a .pm-mega-card-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background-color: #f3f4f6 !important;
}

.hd-b .pm-mega-card-img img,
.hd-a .pm-mega-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.hd-b .pm-mega-card:hover .pm-mega-card-img img,
.hd-a .pm-mega-card:hover .pm-mega-card-img img {
    transform: scale(1.1) !important;
}

/* 카드 바디 및 텍스트 */
.hd-b .pm-mega-card-body,
.hd-a .pm-mega-card-body {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.hd-b .pm-mega-card-name,
.hd-a .pm-mega-card-name {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--gray-900) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.hd-b .pm-mega-card-desc,
.hd-a .pm-mega-card-desc {
    font-size: 12px !important;
    color: var(--gray-600) !important;
    line-height: 1.5 !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    word-break: keep-all !important;
}

/* GNB B 카드용 3차 뱃지 리스트 스타일 */
.hd-b .pm-mega-sub-list,
.hd-a .pm-mega-sub-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
    margin-top: 6px !important;
}

.hd-b .pm-mega-sub-list a,
.hd-a .pm-mega-sub-list a {
    font-size: 14px !important;
    color: var(--primary-color) !important;
    background-color: #f1f3f7 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.hd-b .pm-mega-sub-list a:hover {
    color: #ffffff !important;
    background-color: var(--accent-color) !important;
}

.mega-sub-grid-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    color: var(--primary-color) !important;
    background-color: #f1f3f7 !important;
    padding: 6px 4px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    text-align: center !important;
    word-break: keep-all !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.mega-sub-grid-item:hover {
    color: #ffffff !important;
    background-color: var(--accent-color) !important;
}

.hd-b .pm-mega-1st-title a:hover {
    color: var(--primary-color) !important;
}

.hd-b .pm-mega-2nd-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.hd-b .pm-mega-2nd-item {
    position: relative !important;
}

.hd-b .pm-mega-2nd-item a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #333 !important;
    text-decoration: none !important;
    display: block !important;
    padding: 2px 0 !important;
    transition: color 0.2s !important;
}

.hd-b .pm-mega-2nd-item a:hover {
    color: var(--primary-color) !important;
}

.hd-b .pm-mega-3rd-list {
    list-style: none !important;
    padding: 4px 0 4px 12px !important;
    margin: 4px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    border-left: 1px solid #eaeaea !important;
}

.hd-b .pm-mega-3rd-list a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
    text-decoration: none !important;
    display: block !important;
    padding: 2px 0 !important;
    transition: all 0.2s !important;
}

.hd-b .pm-mega-3rd-list a:hover {
    color: var(--primary-color) !important;
    padding-left: 3px !important;
}


/* 5. A안 동영상 및 3단 카드 배너 스타일 */
.video-sec {
    background-color: var(--navy-dark);
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.video-txt-box {
    padding-right: 20px;
}

.video-label {
    display: inline-block;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.video-title {
    font-size: 34px !important;
    font-weight: 800;
    color: var(--white);
    line-height: 1.35 !important;
    margin-bottom: 20px;
}

.video-desc {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 30px;
    word-break: keep-all;
}

.btn-video-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-video-more:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.video-play-box {
    width: 100%;
}

.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.video-iframe-wrapper iframe,
.video-iframe-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-sec {
    padding: 80px 0;
    background-color: var(--white);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bnr-card {
    display: flex;
    align-items: center;
    padding: 28px 24px;
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.bnr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.bnr-card.bnr-blue {
    background: linear-gradient(135deg, #1b2e59 0%, #101c38 100%);
}

.bnr-card.bnr-gold {
    background: linear-gradient(135deg, #a48232 0%, #7d6120 100%);
}

.bnr-card.bnr-navy {
    background: linear-gradient(135deg, #0b1528 0%, #050b16 100%);
}

.bnr-icon {
    font-size: 32px;
    margin-right: 20px;
    opacity: 0.9;
}

.bnr-info {
    flex: 1;
}

.bnr-info h3 {
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 4px;
}

.bnr-info p {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.4;
}

.bnr-arrow {
    font-size: 16px;
    opacity: 0.7;
    margin-left: 10px;
    transition: var(--transition);
}

.bnr-card:hover .bnr-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* 6. B안 동영상 및 3단 카드 배너 스타일 */
.video-sec-b {
    background-color: #0f1626;
    padding: 100px 0;
}

.video-sec-b-inner {
    width: 100%;
}

.video-b-txt h2 {
    color: var(--white) !important;
}

.video-container-b {
    max-width: 960px;
    margin: 0 auto;
}

.video-wrapper-b {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-wrapper-b iframe,
.video-wrapper-b video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-sec-b {
    background-color: var(--gray-50);
    padding: 80px 0;
    border-top: 1px solid var(--gray-200);
}

.banner-grid-b {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bnr-row-b {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
}

.bnr-row-b:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.bnr-icon-b {
    font-size: 26px;
    color: var(--accent-color);
    margin-right: 20px;
}

.bnr-txt-b {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bnr-txt-b strong {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.bnr-txt-b span {
    font-size: 13px;
    color: var(--gray-600);
}

.bnr-link-b {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* 7. B안 전용 타임라인 게시판 스타일 */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tl-card {
    display: flex;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 20px;
    transition: var(--transition);
}

.tl-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.tl-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-50);
    border-radius: 8px;
    width: 65px;
    height: 65px;
    margin-right: 20px;
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
}

.tl-day {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.tl-month {
    font-size: 11px;
    color: var(--gray-600);
}

.tl-body {
    flex: 1;
}

.tl-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.tl-tag.tag-notice {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.tl-tag.tag-press {
    background-color: #fff3e0;
    color: #fb8c00;
}

.tl-tag.tag-education {
    background-color: #e8f5e9;
    color: #43a047;
}

.tl-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.4;
}

.tl-body p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* ==========================================================================
   [모바일 퀵 카드, 롤링 및 추가 콤포넌트 반응형]
   ========================================================================== */
@media (max-width: 1024px) {

    /* PC 헤더 & 컴포넌트가 태블릿 및 PC 가로폭 축소(1024px 이하) 시 안전하게 줄어들도록 보강 */
    .hd-b .pm-logo .logo-txt strong {
        font-size: 15px !important;
        font-weight: 850 !important;
    }

    .hd-b .pm-logo .logo-txt em {
        display: none !important;
        /* 모바일에선 너무 긴 영문을 숨겨서 1줄로 단정히 출력 */
    }

    .hd-b .pm-logo {
        max-width: calc(100% - 100px) !important;
    }

    /* PC 메인 슬라이드 타이틀 24px 축소 (1024px이하 태블릿 및 PC 좁힘 해상도 대응) */
    .vs-title,
    .vbs-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        margin-top: 5px !important;
        text-align: left !important;
    }

    .vs-txt,
    .vbs-txt {
        position: absolute !important;
        left: 20px !important;
        right: 20px !important;
        bottom: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .vs-txt-inner {
        display: block !important;
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .vs-sub,
    .vbs-desc,
    .vbs-quote {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-top: 8px !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    /* A시안/B시안 PC용 2단 게시판 그리드를 1024px 이하에서 1단으로 강제 전향 (가로 밀림 완벽 종결) */
    .board-grid,
    .ab-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .board-box {
        padding: 24px !important;
        /* 패딩 완화 */
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .wrap {
        padding: 0 16px !important;
    }

    .board-sec,
    .about-board-sec {
        padding: 40px 0 !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .ab-about h2.sec-title,
    .ab-boards h2.sec-title {
        white-space: normal !important;
        font-size: 22px !important;
    }

    .ab-about h2 em {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 5px !important;
        font-size: 14px !important;
    }

    /* 관람안내 바 (.visit-bar) 수직 열 배치 전환으로 가로 스크롤 밀림 방지 */
    .visit-bar {
        height: auto !important;
        padding: 20px 15px !important;
    }

    .vb-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .vb-sep {
        display: none !important;
    }

    .vb-links {
        justify-content: center !important;
        margin-left: 0 !important;
        margin-top: 10px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .vb-links a {
        flex: 1 !important;
        min-width: 90px !important;
        text-align: center !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* 전시/교육안내 3단 카드 그리드 1단 붕괴 */
    .ex-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .ex-card {
        height: 280px !important;
    }

    .video-grid,
    .banner-grid,
    .banner-grid-b {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* 모바일 폰 해상도에서는 슬라이드 폰트 크기를 B안의 2배 크기와 동일하게 상향 조정 */
    .vs-title {
        font-size: 36px !important;
    }

    .vs-sub {
        font-size: 22px !important;
    }

    /* B시안 슬라이드 타이틀 및 인용구 모바일용 2배 상향 적용 */
    .vbs-title {
        font-size: 36px !important;
    }

    .vbs-quote {
        font-size: 22px !important;
    }

    /* A안 768px 이하 모바일 전용 UI 노출 전환 및 레이아웃(B안 모바일 동일화) */
    #btn_ham {
        display: none !important;
    }

    #btn_search {
        display: none !important;
    }

    .m-btn-ham-a {
        display: flex !important;
    }

    .m-btn-ham-a span {
        background-color: var(--white) !important;
    }

    #full_sitemap {
        display: none !important;
    }

    .quick-menu {
        display: none !important;
    }

    .hd-a .nav-inner {
        position: relative;
        justify-content: center !important;
    }

    .hd-a .hd-tools {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .video-grid,
    .banner-grid,
    .banner-grid-b {
        grid-template-columns: 1fr;
    }

    .video-grid {
        gap: 30px;
    }

    .video-title {
        font-size: 26px !important;
    }

    .sec-title {
        font-size: 28px !important;
    }

    /* 모바일 index용 미장센 */
    .m-main-a,
    .m-main-b {
        padding-top: 50px;
    }

    .m-main-b {
        padding-top: 94px;
        /* 가로 스크롤 GNB 높이 감안 */
    }

    .m-visual,
    .m-visual-b {
        position: relative;
        height: 650px !important;
        /* 650px로 웅장하게 대폭 확장하여 브랜드 압도감 극대화 */
        overflow: hidden;
    }

    .m-vs-slide {
        height: 100%;
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .m-main-b .vs-dim {
        display: none;
    }

    .m-vs-txt {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100% !important;
        transform: translateY(-50%) !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        color: var(--white) !important;
        z-index: 10 !important;
        text-align: left !important;
    }

    .m-vs-label {
        font-size: 10px;
        color: var(--accent-color);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .m-vs-title {
        font-size: 18px !important;
        font-weight: 800;
        line-height: 1.35 !important;
        margin-top: 4px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .m-vs-sub {
        font-size: 11px;
        opacity: 0.85;
        margin-top: 6px;
        word-break: keep-all;
        overflow-wrap: break-word;
        line-height: 1.45;
    }

    .m-vs-txt-b {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100% !important;
        transform: translateY(-50%) !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        color: var(--white) !important;
        z-index: 10 !important;
        text-align: left !important;
    }

    .m-vs-label-b {
        font-size: 10px;
        letter-spacing: 0.05em;
        opacity: 0.8;
        text-transform: uppercase;
    }

    .m-vs-title-b {
        font-size: 18px !important;
        font-weight: 800;
        line-height: 1.35 !important;
        margin-top: 4px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .m-vs-quote-b {
        font-size: 11px;
        color: var(--accent-color);
        margin-top: 6px;
        word-break: keep-all;
        overflow-wrap: break-word;
        line-height: 1.45;
    }

    @media (max-width: 360px) {

        .m-vs-label,
        .m-vs-label-b {
            font-size: 9px;
        }

        .m-vs-title {
            font-size: 15px !important;
        }

        .m-vs-title-b {
            font-size: 15px !important;
        }

        .m-vs-sub,
        .m-vs-quote-b {
            font-size: 10px;
        }
    }

    .m-vbs-pagi {
        position: absolute;
        bottom: 15px;
        right: 20px;
        z-index: 10;
    }

    /* 모바일 퀵메뉴 */
    .m-quick-sec {
        background-color: var(--white);
        padding: 20px 15px;
    }

    .m-quick-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .m-qk-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        background-color: var(--gray-50);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 12px 0;
        text-decoration: none;
        color: var(--primary-color);
    }

    .m-qk-btn i {
        font-size: 18px;
        color: var(--accent-color);
    }

    .m-qk-btn span {
        font-size: 11px;
        font-weight: 700;
    }

    /* 모바일 퀵메뉴 B */
    .m-menu4-sec {
        background-color: var(--white);
        padding: 20px 15px;
    }

    .m-menu4-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .m-m4-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 12px 0;
        text-decoration: none;
        transition: transform 0.2s;
    }

    /* 모바일 4개 버튼 테마 파스텔색 적용 */
    .m-m4-card:nth-child(1) {
        background-color: #B8DB80 !important;
        border-color: #a4c76d !important;
    }

    .m-m4-card:nth-child(1) strong,
    .m-m4-card:nth-child(1) .m-m4-icon {
        color: #1e2f0a !important;
    }

    .m-m4-card:nth-child(1) .m-m4-icon {
        background-color: rgba(255, 255, 255, 0.6) !important;
    }

    .m-m4-card:nth-child(2) {
        background-color: #FEEE91 !important;
        border-color: #ebd779 !important;
    }

    .m-m4-card:nth-child(2) strong,
    .m-m4-card:nth-child(2) .m-m4-icon {
        color: #473b0a !important;
    }

    .m-m4-card:nth-child(2) .m-m4-icon {
        background-color: rgba(255, 255, 255, 0.6) !important;
    }

    .m-m4-card:nth-child(3) {
        background-color: #FFE4EF !important;
        border-color: #f5ccd8 !important;
    }

    .m-m4-card:nth-child(3) strong,
    .m-m4-card:nth-child(3) .m-m4-icon {
        color: #4a1829 !important;
    }

    .m-m4-card:nth-child(3) .m-m4-icon {
        background-color: rgba(255, 255, 255, 0.6) !important;
    }

    .m-m4-card:nth-child(4) {
        background-color: #F39EB6 !important;
        border-color: #de8098 !important;
    }

    .m-m4-card:nth-child(4) strong,
    .m-m4-card:nth-child(4) .m-m4-icon {
        color: #4d1522 !important;
    }

    .m-m4-card:nth-child(4) .m-m4-icon {
        background-color: rgba(255, 255, 255, 0.6) !important;
    }

    .m-m4-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        margin-bottom: 6px;
    }

    .m-m4-card strong {
        font-size: 11px;
    }

    /* 모바일 어록 카드 */
    .m-about-card-sec {
        padding: 20px 15px;
        background-color: var(--gray-50);
    }

    .m-about-card {
        background-color: var(--white);
        border-left: 4px solid var(--accent-color);
        padding: 20px;
        border-radius: 0 8px 8px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .m-about-lbl {
        font-size: 11px;
        color: var(--accent-color);
        font-weight: 700;
    }

    .m-about-card h3 {
        font-size: 16px !important;
        font-weight: 700;
        color: var(--primary-color);
        margin: 4px 0 8px;
    }

    .m-about-card p {
        font-size: 13px;
        color: var(--gray-600);
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .m-about-btn {
        font-size: 12px;
        font-weight: 700;
        color: var(--accent-color);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    /* 모바일 비디오 */
    .m-video-sec,
    .m-video-sec-b {
        padding: 40px 0;
        transition: var(--transition);
    }

    .m-video-sec {
        background-color: var(--navy-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .m-sec-hd {
        margin-bottom: 16px;
        text-align: center;
    }

    .m-sec-lbl {
        font-size: 11px;
        color: var(--accent-color);
        font-weight: 700;
        letter-spacing: 0.1em;
    }

    .m-sec-ttl {
        font-size: 18px !important;
        font-weight: 800;
        color: var(--primary-color);
        margin-top: 4px;
    }

    .m-video-sec .m-sec-ttl {
        color: var(--white) !important;
    }

    .m-video-container {
        padding: 0 15px;
    }

    .m-video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        background-color: #000;
    }

    .m-video-wrapper iframe,
    .m-video-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .m-video-desc {
        font-size: 12px;
        color: var(--gray-600);
        line-height: 1.5;
        margin-top: 10px;
        word-break: keep-all;
    }

    .m-video-sec .m-video-desc {
        color: var(--gray-300);
    }

    .m-video-container-b {
        width: 100%;
    }

    .m-video-wrapper-b {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        background-color: #000;
    }

    .m-video-wrapper-b iframe,
    .m-video-wrapper-b video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* 모바일 게시판 */
    .m-board-sec,
    .m-board-sec-b {
        padding: 30px 16px !important;
        background-color: var(--white);
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .m-board-box {
        width: 100%;
        overflow: hidden;
    }

    .bb-list {
        width: 100%;
    }

    .bb-list li {
        width: 100%;
    }

    .bb-list li a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .bb-subj {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .m-bb-hd {
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .m-bb-hd h3 {
        font-size: 15px !important;
        font-weight: 700;
        color: var(--primary-color);
    }

    /* 모바일 타임라인 */
    .m-timeline-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 5px;
    }

    .m-tl-card {
        display: flex;
        background-color: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 14px;
    }

    .m-tl-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--gray-50);
        width: 50px;
        height: 50px;
        margin-right: 12px;
        flex-shrink: 0;
        border-radius: 6px;
        border: 1px solid var(--gray-200);
    }

    .m-tl-day {
        font-size: 15px;
        font-weight: 800;
        color: var(--primary-color);
    }

    .m-tl-month {
        font-size: 9px;
        color: var(--gray-600);
    }

    .m-tl-body {
        flex: 1;
    }

    .m-tl-tag {
        font-size: 9px;
        padding: 1px 6px;
        border-radius: 3px;
        margin-bottom: 4px;
        display: inline-block;
    }

    .m-tl-body h4 {
        font-size: 13px;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 2px;
    }

    .m-tl-body p {
        font-size: 11px;
        color: var(--gray-600);
        line-height: 1.3;
    }

    /* 모바일 배너 A */
    .m-banner-sec {
        padding: 30px 15px;
        background-color: var(--gray-50);
    }

    .m-banner-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .m-bnr-card {
        display: flex;
        align-items: center;
        padding: 16px;
        border-radius: 8px;
        text-decoration: none;
        color: var(--white);
    }

    .m-bnr-card.bnr-blue {
        background: linear-gradient(135deg, #1b2e59 0%, #101c38 100%);
    }

    .m-bnr-card.bnr-gold {
        background: linear-gradient(135deg, #a48232 0%, #7d6120 100%);
    }

    .m-bnr-card.bnr-navy {
        background: linear-gradient(135deg, #0b1528 0%, #050b16 100%);
    }

    .m-bnr-card .bnr-icon {
        font-size: 20px;
        margin-right: 12px;
    }

    .m-bnr-card .bnr-txt {
        flex: 1;
    }

    .m-bnr-card .bnr-txt h3 {
        font-size: 14px !important;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .m-bnr-card .bnr-txt p {
        font-size: 11px;
        opacity: 0.8;
    }

    .m-bnr-card .bnr-arrow {
        font-size: 12px;
        opacity: 0.8;
    }

    /* 모바일 배너 B */
    .m-banner-sec-b {
        padding: 30px 15px;
        background-color: var(--gray-50);
    }

    .m-banner-grid-b {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .m-bnr-row {
        display: flex;
        align-items: center;
        background-color: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 14px;
        text-decoration: none;
    }

    .m-bnr-row .bnr-icon-b {
        font-size: 18px;
        color: var(--accent-color);
        margin-right: 12px;
    }

    .m-bnr-row .bnr-txt-b {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .m-bnr-row .bnr-txt-b strong {
        font-size: 13px;
        color: var(--primary-color);
        font-weight: 700;
    }

    .m-bnr-row .bnr-txt-b span {
        font-size: 11px;
        color: var(--gray-600);
    }

    /* 시안 전환 바 모바일 */
    .m-switch-bar {
        background-color: var(--navy-dark);
        color: var(--white);
        padding: 20px 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .m-switch-bar small {
        font-size: 12px;
        opacity: 0.8;
    }

    .m-btn-switch {
        display: inline-block;
        padding: 8px 16px;
        background-color: var(--accent-color);
        color: var(--white);
        font-size: 12px !important;
        font-weight: 700;
        border-radius: 20px;
        text-decoration: none;
    }

    .m-ib-inner {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 15px;
        background-color: var(--gray-50);
        border-top: 1px solid var(--gray-100);
        border-bottom: 1px solid var(--gray-100);
    }

    .m-ib-row {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
    }

    .m-ib-lbl {
        color: var(--gray-600);
    }
}

/* 타이핑 효과 커서 애니메이션 */
.typing-cursor::after {
    content: '|';
    animation: typing-blink 0.8s infinite;
    margin-left: 4px;
    color: var(--accent-color);
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
}

@keyframes typing-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 샘플 팝업 레이아웃 */
.sample-popup {
    position: fixed;
    top: 120px;
    left: 80px;
    width: 380px;
    background-color: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: popFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pop-content img {
    width: 100%;
    height: auto;
    display: block;
}

.pop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e1e22;
    padding: 12px 16px;
    color: #a0a0a5;
    font-size: 13px;
}

.pop-today {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.pop-today input {
    accent-color: var(--accent-color);
    cursor: pointer;
    margin: 0;
}

.pop-today:hover {
    color: var(--white);
}

.pop-close-btn {
    background: none;
    border: none;
    color: #a0a0a5;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.pop-close-btn:hover {
    color: var(--white);
}

@keyframes popFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모바일 팝업 대응 */
@media (max-width: 768px) {
    .sample-popup {
        left: 5% !important;
        right: 5% !important;
        top: 20% !important;
        width: 90% !important;
        margin: 0 auto !important;
    }
}


/* ==========================================================================
   매헌기념사업회 모바일/PC 2차 추가 레이아웃 튜닝 (2026-05-19)
   ========================================================================== */

/* 1. 기본 상태 (PC 화면): 모바일 전용 요소(TOP 버튼, 포켓 퀵메뉴, 2x2 그리드 푸터) 숨김 */
#top_btn,
.m-quick-pocket,
.m-ft-grid {
    display: none !important;
}

/* 2. PC B시안 슬라이더 방향키(.vbs-ctrl) 1320px 중앙 격자 정렬 */
@media (min-width: 1025px) {
    .vbs-ctrl {
        position: absolute !important;
        bottom: 50px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 1320px !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
        z-index: 20 !important;
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        color: var(--white) !important;
        pointer-events: none !important;
    }

    .vbs-ctrl button,
    .vbs-pagi {
        pointer-events: auto !important;
    }
}

/* 3. 모바일 화면 대응 (768px 이하) */
@media (max-width: 768px) {

    /* PC 전용 요소(PC 푸터 nav, PC 퀵메뉴) 숨김 처리 */
    .ft-nav,
    .quick-menu {
        display: none !important;
    }

    /* 모바일 B시안 슬라이더 텍스트 상하 수직 중앙 정렬 (위에서 통합 처리함) */

    /* 모바일 전용 프리미엄 TOP 버튼 활성화 및 커스텀 (유리모피즘 + 딥다크 글래스) */
    #top_btn {
        display: flex !important;
        position: fixed !important;
        bottom: 24px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        line-height: 48px !important;
        background: rgba(15, 26, 46, 0.85) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        color: var(--white) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        text-align: center !important;
        font-size: 16px !important;
        z-index: 999 !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    #top_btn:hover,
    #top_btn:active {
        background: var(--primary-color) !important;
        color: var(--white) !important;
        transform: translateY(-2px) !important;
    }

    /* 모바일 전용 접이식 포켓(Pocket) 퀵메뉴 활성화 */
    .m-quick-pocket {
        display: block !important;
        position: fixed !important;
        right: 16px !important;
        bottom: 84px !important;
        z-index: 998 !important;
    }

    .m-qp-toggle {
        width: 48px !important;
        height: 48px !important;
        background: var(--primary-color) !important;
        color: var(--white) !important;
        border: none !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        padding: 0 !important;
        transition: all 0.3s ease !important;
    }

    .m-qp-toggle i {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .m-qp-toggle span {
        font-size: 8px !important;
        font-weight: 700 !important;
        letter-spacing: -0.5px !important;
    }

    .m-qp-panel {
        position: absolute !important;
        bottom: 60px !important;
        right: 0 !important;
        width: 140px !important;
        background: rgba(15, 26, 46, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        padding: 12px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) scale(0.95) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .m-quick-pocket.open .m-qp-panel {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
    }

    .m-qp-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 6px !important;
        margin-bottom: 8px !important;
    }

    .m-qp-header strong {
        font-size: 10px !important;
        color: var(--accent-color) !important;
        letter-spacing: 1px !important;
    }

    .m-qp-close {
        background: none !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 12px !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .m-qp-items {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .m-qp-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        padding: 8px 6px !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        transition: all 0.2s ease !important;
    }

    .m-qp-item i {
        font-size: 13px !important;
        width: 16px !important;
        text-align: center !important;
        color: var(--accent-color) !important;
    }

    .m-qp-sns {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 10px !important;
    }

    .m-qp-sns-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 32px !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .m-qp-sns-btn:hover {
        background-color: var(--accent-color) !important;
        border-color: var(--accent-color) !important;
        color: var(--white) !important;
    }

    .m-qp-sns-btn .naver-n {
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    .m-qp-item:active,
    .m-qp-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }

    /* 모바일 푸터 2열 그리드 링크 활성화 (1줄 2개 배치로 글자 깨짐 방지) */
    .m-ft-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px 8px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto 16px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .m-ft-link {
        display: block !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 6px !important;
        padding: 10px 4px !important;
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        text-align: center !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
        letter-spacing: -0.5px !important;
    }

    .m-ft-link.privacy {
        color: var(--white) !important;
        font-weight: 700 !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

    .m-ft-link:active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }

    /* 모바일 가로폭 제약으로 인한 주소/연락처 겹침 및 개행 최적화 */
    .ft_info {
        font-size: 11px !important;
        line-height: 1.6 !important;
        letter-spacing: -0.5px !important;
        word-break: keep-all !important;
    }
}

/* PC/모바일 반응형 개행(줄바꿈) 유틸리티 클래스 */
.m-br {
    display: none !important;
}

.pc-br {
    display: inline !important;
}

@media (max-width: 768px) {
    .m-br {
        display: inline !important;
    }

    .pc-br {
        display: none !important;
    }
}

/* ==========================================================================
   [서브 페이지 공통 스타일 (yun_ 시리즈)]
   ========================================================================== */
.yun-sub-hero {
    position: relative;
    height: 380px;
    /* 기존 350px에서 수직 보정을 위해 소폭 상향 */
    padding-top: 110px;
    /* 반투명 헤더 높이만큼 텍스트를 하단으로 푸시하여 Middle 정렬 효과 구현 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    box-sizing: border-box;
    /* padding 증가로 인한 높이 붕괴 방지 */
}

.yun-sub-hero.memorial-hero {
    background-image: url('../../../imgs/main/mvisu10.jpg');
}

.yun-sub-hero.assoc-hero {
    background-image: url('../../../imgs/main/mvb10.jpg');
}

.sub-hero-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.sub-hero-txt {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.sub-hero-txt h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.sub-hero-txt p {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
    word-break: keep-all;
}

/* 브레드크럼 (셀렉트 박스 형태) */
.yun-breadcrumbs {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    height: 60px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.bc-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    color: #555;
    font-size: 18px;
    border-right: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    transition: 0.2s;
}

.bc-home:hover {
    background: #f5f5f5;
    color: var(--accent-color);
}

.bc-select-wrap {
    position: relative;
    height: 100%;
    border-right: 1px solid #e5e5e5;
    min-width: 220px;
}

.yun-breadcrumbs .bc-select-wrap:first-of-type {
    pointer-events: none !important;
}

.yun-breadcrumbs .bc-select-wrap:first-of-type .bc-select {
    color: #888 !important;
    background-color: #fdfdfd !important;
    cursor: default !important;
}

.bc-select {
    width: 100%;
    height: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    padding: 0 45px 0 20px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.bc-select:focus {
    background: #fdfdfd;
}

.bc-select-wrap::after {
    content: '\f107';
    /* fa-angle-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* 메인 컨텐츠 영역 */
.yun-sub-main {
    padding: 80px 0 120px;
    background: #fafafa;
}

.sub-main-inner {
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    padding: 70px 90px;
    box-sizing: border-box;
}

.sub-page-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.sub-page-title h3 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-color);
}

.sub-page-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 텍스트 코딩 레이아웃 (기념사업회 소개 등) */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.ac-text p {
    font-size: 19px;
    line-height: 1.8;
    color: #222;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
    text-align: justify;
    word-break: break-all;
}

.ac-text p:last-child {
    margin-bottom: 0;
}

.ac-heading {
    margin-bottom: 35px;
    line-height: 1.5;
    word-break: keep-all;
}

.ac-quote {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -0.05em;
}

.ac-meaning {
    display: block;
    font-size: 21px;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: -0.05em;
}

.ac-image {
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ac-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ac-image:hover img {
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .ac-text {
        flex: 1.1;
    }

    .ac-image {
        flex: 0.9;
    }
}

/* 모바일 대응 (서브페이지) */
@media (max-width: 1024px) {
    .sub-main-inner {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .visual-b {
        height: 100vh !important;
        min-height: 700px !important;
        /* 모바일 비주얼 높이를 시안 A와 완벽하게 풀스크린 100vh로 일치화 */
        aspect-ratio: auto !important;
    }

    .yun-sub-hero {
        height: 280px !important;
        padding-top: 60px !important;
        margin-top: 0 !important;
        /* 모바일 마진 중복 방지 */
    }

    /* 모바일 브레드크럼 1차 메뉴 숨김 해제 */

    .yun-sub-hero.memorial-hero {
        background-image: url('../../../imgs/main/mvisu10m.jpg') !important;
    }

    .yun-sub-hero.assoc-hero {
        background-image: url('../../../imgs/main/mvb10m.jpg') !important;
    }

    .sub-hero-txt h2 {
        font-size: 28px;
    }

    .sub-hero-txt p {
        font-size: 14px;
    }

    .breadcrumb-inner {
        padding: 0 !important;
        flex-wrap: wrap;
        height: auto;
    }

    .bc-home {
        border-left: none;
        width: 55px;
        height: 50px;
    }

    .bc-select-wrap {
        height: 50px;
        flex: 1;
        min-width: 0;
    }

    .bc-select {
        font-size: 14px;
        padding: 0 35px 0 15px;
    }

    .bc-select-wrap::after {
        right: 15px;
    }

    :root {
        --hd-h: 60px !important;
    }

    #container_title {
        display: none !important;
    }

    .yun-sub-main {
        padding: 20px 0px 60px;
    }

    .sub-main-inner {
        padding: 24px 8px;
        border-radius: 6px;
    }

    .sub-page-title h3 {
        font-size: 26px;
    }

    .sub-page-title {
        margin-bottom: 40px;
        padding-top: 20px !important;
    }

    .ac-heading {
        margin-bottom: 25px;
        line-height: 1.35;
    }

    .ac-quote {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .ac-meaning {
        font-size: 19px;
    }

    .ac-text p {
        font-size: 19px;
        line-height: 1.42;
        text-align: justify;
        word-break: break-all;
    }

    /* 반응형 메인 비주얼 슬라이드 고해상도 모바일 이미지 스왑 강제화 (PC 템플릿의 모바일 반응형 커버) */
    .swiper-slide:nth-child(1) .vs-slide {
        background-image: url('../../../imgs/main/mvisu10m.jpg') !important;
    }

    .swiper-slide:nth-child(2) .vs-slide {
        background-image: url('../../../imgs/main/mvisu20m.jpg') !important;
    }

    .vbs-slide-01 {
        background-image: url('../../../imgs/main/visubm01.jpg?ver=20260519_v01') !important;
        background-size: 100% auto !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .vbs-slide-02 {
        background-image: url('../../../imgs/main/visubm02.jpg?ver=20260519_v01') !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* ==========================================================================
   [기념사업회 소개 (yun_about) 전용 1Column 미디어 에디토리얼 레이아웃]
   ========================================================================== */
.verbatim-editorial-layout {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 20px 0;
}

.editorial-section {
    margin-bottom: 70px;
}

/* 취임사 헤드라인 */
.editorial-main-heading {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.speech-badge {
    display: inline-block;
    background: #e6ebf5;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 18px;
    letter-spacing: 0.1em;
}

.speech-main-quote {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    line-height: 1.45;
    letter-spacing: -0.06em;
}

/* 회장님 존함 사진 및 캡션 */
.editorial-featured-photo {
    margin: 40px auto;
    max-width: 480px;
    background: #fafafa;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.editorial-featured-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.photo-caption {
    font-size: 14px;
    color: #666;
    margin-top: 12px;
    letter-spacing: -0.03em;
    font-weight: 500;
}

/* 정밀 아티클 본문 스타일 */
.editorial-article-content {
    margin-top: 30px;
}

.editorial-article-content p {
    font-size: 19px;
    line-height: 1.85;
    color: #333;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
    text-align: justify;
    word-break: keep-all;
}

/* 섹션 구분 경계선 */
.editorial-divider {
    height: 1px;
    background: radial-gradient(circle, #ddd 0%, rgba(221, 221, 221, 0) 80%);
    margin: 60px 0;
}

/* 추천의 글 헤더 */
.recommend-header {
    text-align: center;
    margin-bottom: 45px;
    border-bottom: 2px solid #222;
    padding-bottom: 30px;
}

.recommend-sub-title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    line-height: 1.45;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.recommend-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-badge {
    background: #fff0f0;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: -0.02em;
}

.author-name {
    font-size: 16px;
    color: #444;
    letter-spacing: -0.03em;
}

.author-name strong {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

/* 모바일 전용 반응형 레이아웃 오버라이드 */
@media (max-width: 768px) {
    .editorial-section {
        margin-bottom: 50px;
    }

    .speech-main-quote {
        font-size: 22px;
        line-height: 1.4;
    }

    .editorial-featured-photo {
        max-width: 100%;
        padding: 8px;
        margin: 25px auto;
    }

    .photo-caption {
        font-size: 13px;
        margin-top: 8px;
    }

    .editorial-article-content p {
        font-size: 19px;
        line-height: 1.42;
        margin-bottom: 20px;
    }

    .recommend-sub-title {
        font-size: 19px;
        line-height: 1.4;
    }

    .author-name {
        font-size: 14px;
    }

    .author-name strong {
        font-size: 15px;
    }
}

/* ==========================================================================
   [Color Theme Switcher Widget]
   ========================================================================== */
.theme-switcher {
    position: fixed;
    left: 0;
    right: auto;
    top: 100px;
    z-index: 9999;
    font-family: var(--font-sans);
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    transform: translateX(-250px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.theme-switcher.open {
    transform: translateX(0);
}

/* 톱니바퀴 버튼 */
.theme-switcher-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
}

.theme-switcher-btn:hover {
    background-color: var(--accent-color);
}

.theme-switcher-btn i {
    transition: transform 0.5s ease;
}

/* 톱니바퀴 회전 마이크로 애니메이션 */
@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.theme-switcher.open .theme-switcher-btn i,
.theme-switcher-btn:hover i {
    animation: spin-slow 8s linear infinite;
}

/* 테마 선택 패널 */
.theme-switcher-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 250px;
    padding: 24px;
    border-radius: 0 0 16px 0;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.theme-panel-title {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    letter-spacing: -0.5px;
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 개별 테마 버튼 */
.theme-option-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

.theme-option-btn:hover {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.theme-option-btn.active {
    background: var(--white);
    border-color: var(--primary-color);
    border-width: 2px;
    padding: 9px 11px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.theme-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.theme-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
}

.theme-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.theme-option-btn.active .theme-name {
    color: var(--primary-color);
}

/* 투컬러 원형 칩 */
.theme-preview-chips {
    display: flex;
    align-items: center;
    position: relative;
    width: 36px;
    height: 24px;
}

.theme-preview-chip {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.theme-preview-chip.primary {
    left: 0;
    z-index: 1;
}

.theme-preview-chip.accent {
    left: 12px;
    z-index: 2;
}

/* 테마별 미니 프리뷰 컬러 강제 지정 (CSS 변수 로드 전 칩 렌더링 목적) */
.theme-option-btn[data-theme-id="theme-1"] .theme-preview-chip.primary {
    background-color: #1a2744;
}

.theme-option-btn[data-theme-id="theme-1"] .theme-preview-chip.accent {
    background-color: #c9a84c;
}

.theme-option-btn[data-theme-id="theme-2"] .theme-preview-chip.primary {
    background-color: #4a3424;
}

.theme-option-btn[data-theme-id="theme-2"] .theme-preview-chip.accent {
    background-color: #b58450;
}

.theme-option-btn[data-theme-id="theme-3"] .theme-preview-chip.primary {
    background-color: #0d3b66;
}

.theme-option-btn[data-theme-id="theme-3"] .theme-preview-chip.accent {
    background-color: #f4d35e;
}

.theme-option-btn[data-theme-id="theme-4"] .theme-preview-chip.primary {
    background-color: #7a1f1d;
}

.theme-option-btn[data-theme-id="theme-4"] .theme-preview-chip.accent {
    background-color: #c89d53;
}

/* 모바일 대응 오버라이드 */
@media (max-width: 768px) {
    .theme-switcher {
        transform: translateX(-220px);
    }

    .theme-switcher.open {
        transform: translateX(0);
    }

    .theme-switcher-btn {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .theme-switcher-panel {
        width: 220px;
        padding: 16px;
        gap: 12px;
    }

    .theme-panel-title {
        font-size: 14px;
        padding-bottom: 6px;
    }

    .theme-option-btn {
        padding: 8px 10px;
    }

    .theme-option-btn.active {
        padding: 7px 9px;
    }

    .theme-name {
        font-size: 12px;
    }
}

/* ==========================================================================
   12차 개편: 모바일 UI 보정 및 반응형 커스터마이징 
   ========================================================================== */

/* 기본적으로 모바일 탑바 숨김 */
.m-top-bar-only {
    display: none !important;
}

@media (max-width: 768px) {

    /* PC 헤더 수축 */
    .hd-a {
        height: 60px !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .hd-a .util-bar {
        display: none !important;
    }

    .hd-a .nav-bar {
        display: none !important;
    }

    /* 모바일 탑바 활성화 */
    .m-top-bar-only {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        padding: 0 16px;
        background: #ffffff !important;
        width: 100%;
        box-sizing: border-box;
    }

    /* 햄버거 메뉴를 좌측으로 배치 */
    .m-top-bar-only .pm-m-hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 22px;
        height: 16px;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer;
    }

    .m-top-bar-only .pm-m-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #111 !important;
    }

    /* 로고 150% 크기 조정 (font-size: 26px) 및 패딩 */
    .m-top-bar-only .m-logo-only {
        flex: 1;
        text-align: center;
        padding: 5px 0;
    }

    .m-top-bar-only .m-logo-only a {
        font-size: 26px !important;
        font-weight: 800 !important;
        color: #111 !important;
        text-decoration: none !important;
        display: inline-block;
        font-family: 'Pretendard', sans-serif;
    }

    /* 우측 도구 영역 */
    .m-top-bar-only .m-top-right-only {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .m-top-bar-only .btn-m-lang {
        font-size: 18px;
        color: #111;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }

    .m-top-bar-only .m-lang-dropdown {
        display: none;
        position: absolute;
        right: 16px;
        top: 50px;
        background: #ffffff;
        border: 1px solid #ddd;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 5000;
        width: 100px;
        padding: 6px 0;
        margin-top: 6px;
    }

    .m-top-bar-only .m-lang-dropdown a {
        display: block;
        padding: 8px 16px;
        font-size: 13px;
        color: #666;
        text-decoration: none;
        font-weight: 500;
        text-align: left;
    }

    .m-top-bar-only .m-lang-dropdown a.active {
        color: #111;
        font-weight: 700;
        background: #f5f6f8;
    }

    .m-top-bar-only .m-search-btn-only {
        background: none;
        border: none;
        font-size: 18px;
        color: #111;
        padding: 4px;
        cursor: pointer;
    }
}

/* 모바일 다중 팝업(newwin) 레이아웃 겹침/가로이탈 방지 스타일 (한국어 주석) */
@media (max-width: 768px) {
    #hd_pop {
        display: none !important;
    }

    #hd_pop:has(.hd_pops) {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow-y: auto !important;
        z-index: 10000 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px 10px !important;
        gap: 15px !important;
        box-sizing: border-box !important;
    }

    .hd_pops {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    .hd_pops_con {
        width: 100% !important;
        height: auto !important;
        min-height: 150px !important;
        max-height: 320px !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    .hd_pops_con img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .hd_pops_footer {
        display: flex !important;
        background: #fafafa !important;
        border-top: 1px solid #eee !important;
        box-sizing: border-box !important;
    }

    .hd_pops_reject,
    .hd_pops_close {
        flex: 1 !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 11px !important;
        padding: 0 !important;
        text-align: center !important;
        border: none !important;
        background: none !important;
        cursor: pointer !important;
    }

    .hd_pops_reject {
        border-right: 1px solid #eee !important;
        color: #666 !important;
    }

    .hd_pops_close {
        color: #1A2744 !important;
        font-weight: 700 !important;
    }
}

/* ==========================================================================
   모든 게시판 VIEW에서 프로필 이미지 숨김 (수정 010)
   ========================================================================== */
.pf_img {
    display: none !important;
}

/* ==========================================================================
   뷰 페이지 관련링크(bo_v_link) & 첨부파일(bo_v_file) 밀림 및 스타일 복구 (수정 009)
   ========================================================================== */
#bo_v_file ul,
#bo_v_link ul {
    margin: 0 !important;
    list-style: none !important;
    padding: 0 !important;
}

#bo_v_link li,
#bo_v_file li {
    padding: 10px 15px !important;
    position: relative !important;
    margin: 8px 0 !important;
    border: 1px solid #dfdfdf !important;
    border-radius: 5px !important;
    -webkit-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%) !important;
    -moz-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%) !important;
    box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%) !important;
    background: #fff !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

#bo_v_link li a,
#bo_v_file li a {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    width: 100% !important;
    float: none !important;
    height: auto !important;
    line-height: 1.4 !important;
}

#bo_v_link li a strong,
#bo_v_file li a strong {
    font-size: 13px !important;
    font-weight: 500 !important;
    word-break: break-all !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.4 !important;
}

#bo_v_link li i,
#bo_v_link li svg,
#bo_v_file li i,
#bo_v_file li svg {
    float: none !important;
    color: #b2b2b2 !important;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin-right: 0 !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

#bo_v_link a:focus,
#bo_v_link li:hover a,
#bo_v_link a:active,
#bo_v_file a:focus,
#bo_v_file li:hover a,
#bo_v_file a:active {
    text-decoration: underline !important;
    color: var(--primary-color, #1a2744) !important;
}

#bo_v_link .bo_v_link_cnt,
#bo_v_file .bo_v_file_cnt {
    color: #888 !important;
    font-size: 11px !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   첨부파일(bo_v_file) 목록 가로 중앙 정렬 (수정 012)
   ========================================================================== */
#bo_v_file li a {
    justify-content: center !important;
}

/* ==========================================================================
   뷰 본문 첨부이미지 클릭 시 원본 새창 팝업 차단 (수정 012)
   ========================================================================== */
a.view_image {
    pointer-events: none !important;
    cursor: default !important;
}

/* ==========================================================================
   에디터 본문 첨부 이미지 및 가변 첨부 이미지 가로 중앙 정렬 (수정 012)
   ========================================================================== */
#bo_v_img {
    text-align: center !important;
}

#bo_v_img img {
    display: block !important;
    margin: 0 auto 20px !important;
    max-width: 100% !important;
    height: auto !important;
}

#bo_v_con img[src*=".jpg"],
#bo_v_con img[src*=".jpeg"],
#bo_v_con img[src*=".png"],
#bo_v_con img[src*=".gif"],
#bo_v_con img[src*=".JPG"],
#bo_v_con img[src*=".JPEG"],
#bo_v_con img[src*=".PNG"],
#bo_v_con img[src*=".GIF"] {
    display: block !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
}

/* ==========================================================================
   게시판 상세페이지/글쓰기 상하단 버튼 그룹(btn_bo_user) 스타일 복구 (수정 B01)
   ========================================================================== */
ul.btn_bo_user.bo_v_com,
ul.btn_bo_user {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    float: right !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

ul.btn_bo_user>li {
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
}

/* 버튼 링크/버튼 자체 스타일 */
ul.btn_bo_user>li a.btn,
ul.btn_bo_user>li button.btn,
ul.btn_bo_user>li a.btn_b01,
ul.btn_bo_user>li button.btn_b01,
ul.btn_bo_user>li a.btn_b02,
ul.btn_bo_user>li button.btn_b02 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    transition: all 0.2s ease-in-out !important;
    font-size: 14px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    float: none !important;
}

ul.btn_bo_user>li a.btn:hover,
ul.btn_bo_user>li button.btn:hover {
    background: var(--primary-color, #1a2744) !important;
    border-color: var(--primary-color, #1a2744) !important;
    color: #fff !important;
}

/* 내부 아이콘 크기 및 정렬 */
ul.btn_bo_user>li a.btn i,
ul.btn_bo_user>li button.btn i,
ul.btn_bo_user>li a.btn svg,
ul.btn_bo_user>li button.btn svg {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   뷰 페이지 관련링크(bo_v_link) 및 첨부파일(bo_v_file) 레이아웃 완전 일체화 (수정 B01)
   ========================================================================== */
#bo_v_link {
    clear: both !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

#bo_v_link h2 {
    position: absolute !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

#bo_v_link ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#bo_v_link li {
    padding: 8px 12px !important;
    margin: 6px 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    overflow: hidden !important;
}

#bo_v_link li:hover {
    border-color: var(--primary-color) !important;
    background: #f1f5f9 !important;
}

#bo_v_link a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}

#bo_v_link a:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

#bo_v_link li i.fa-link,
#bo_v_link li svg {
    color: #64748b !important;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    float: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

#bo_v_link li strong {
    font-size: 13px !important;
    font-weight: 500 !important;
    word-break: break-all !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1.4 !important;
}

#bo_v_link .bo_v_link_cnt {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    margin-left: auto !important;
    float: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

#bo_v_link li:hover i.fa-link,
#bo_v_link li:hover svg {
    color: var(--primary-color) !important;
}

#bo_v_link li:hover .bo_v_link_cnt {
    color: var(--accent-color) !important;
}

/* 첨부파일 개수 뱃지 여백 조정 - 중앙 정렬 시 균형 맞추기 */
#bo_v_file li a {
    justify-content: center !important;
}

#bo_v_file .bo_v_file_cnt {
    margin-left: 6px !important;
    display: inline-flex !important;
}

/* --------------------------------------------------------------------------
   [모바일 중첩 박스 여백 최적화] - 박스 내부에 중첩된 박스의 좌우 여백 축소
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* 기본 콘텐츠 패딩 축소 */
    .card-body {
        padding: 12px 10px !important;
    }

    .exhibition-intro {
        padding: 15px 12px !important;
        margin-bottom: 25px !important;
    }

    .editorial-article-content {
        padding: 0 !important;
    }

    .nested-content {
        padding: 0 !important;
    }

    .reading-club-section {
        padding: 20px 15px !important;
        margin-top: 30px !important;
    }

    .revival-card .rc-info {
        padding: 20px 15px !important;
    }

    /* 중첩된 내부 박스/콘텐츠 좌우 여백 대폭 축소 */
    .card-body blockquote,
    .editorial-article-content blockquote,
    .nested-content blockquote,
    .revival-card blockquote {
        padding: 12px 15px !important;
        margin: 15px 0 !important;
        font-size: 15px !important;
    }

    /* outer boxes padding reduction on mobile */
    .nested-tab-container {
        padding: 20px 10px !important;
    }
    .revival-card .rc-info {
        padding: 20px 10px !important;
    }
    .reading-club-section {
        padding: 20px 10px !important;
    }

    /* inner boxes (nested boxes) padding reduction on mobile */
    .nested-tab-container .book-raw-paragraph,
    .nested-tab-container .song-verse,
    .nested-tab-container .editorial-article-content p,
    .nested-tab-container .editorial-article-content blockquote,
    .nested-tab-container .editorial-article-content [style*="background"],
    .nested-tab-container .editorial-article-content [style*="background-color"],
    .revival-card .rc-info blockquote,
    .reading-club-section blockquote {
        padding: 12px 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .card-body .spelling-table-container,
    .card-body .table-responsive,
    .editorial-article-content .spelling-table-container,
    .editorial-article-content .table-responsive,
    .nested-content .spelling-table-container,
    .nested-content .table-responsive {
        margin: 15px 0 !important;
    }

    .card-body .book-side-img-box,
    .editorial-article-content .book-side-img-box,
    .nested-content .book-side-img-box {
        padding: 8px !important;
        margin-bottom: 20px !important;
    }

    .card-body .map-img-container,
    .editorial-article-content .map-img-container,
    .nested-content .map-img-container {
        padding: 8px !important;
        margin: 20px auto !important;
    }

    /* 구구법 및 발명물품 표의 여백 최적화 */
    .spelling-table th,
    .spelling-table td {
        padding: 6px 4px !important;
        font-size: 13px !important;
    }
}






/* ---------- Flexbox utility for side‑by‑side layout ---------- */
.flex-side {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .flex-side {
        flex-direction: column;
    }
}

.flex-side img {
    max-width: 100%;
    height: auto;
}

/* 그누보드 전체 게시판 및 댓글 쓰기 폼 하단 버튼들의 수직 정렬 정중앙(middle) 정렬 보정 */
.btn_confirm .btn,
.btn_confirm a,
.btn_confirm button,
#bo_w .btn_confirm .btn,
#bo_vc_w .btn_confirm .btn,
.bo_vc_w .btn_submit,
#bo_w .btn_cancel,
#bo_w .btn_submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    height: 45px !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   [추가 수정] 모바일 화면(최대 768px) 서브페이지 글꼴 크기 축소 및 중첩 박스 최적화
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. 일반페이지 폰트 크기 일괄 2px 감소 (인라인 스타일 및 전용 클래스 포함) */
    .yun-sub-main,
    .yun-sub-main p,
    .yun-sub-main li,
    .yun-sub-main td,
    .yun-sub-main th,
    .yun-sub-main span,
    .yun-sub-main a,
    .yun-sub-main blockquote,
    .yun-sub-main div,
    .yun-sub-main dt,
    .yun-sub-main dd,
    .yun-sub-main figcaption,
    .yun-sub-main label,
    .yun-sub-main input,
    .yun-sub-main textarea {
        font-size: 14px !important;
    }

    /* 구체적으로 기지정된 개별 폰트들에 대한 2px 축소 오버라이드 */
    .yun-sub-main [style*="font-size: 19px"],
    .yun-sub-main [style*="font-size:19px"],
    .yun-sub-main .editorial-article-content p,
    .yun-sub-main .ac-text p,
    .yun-sub-main .ac-meaning {
        font-size: 17px !important;
    }

    .yun-sub-main [style*="font-size: 18px"],
    .yun-sub-main [style*="font-size:18px"],
    .yun-sub-main .book-raw-paragraph,
    .yun-sub-main .story-gray-box p,
    .yun-sub-main .song-verse p {
        font-size: 16px !important;
    }

    .yun-sub-main [style*="font-size: 20px"],
    .yun-sub-main [style*="font-size:20px"] {
        font-size: 18px !important;
    }

    .yun-sub-main [style*="font-size: 21px"],
    .yun-sub-main [style*="font-size:21px"] {
        font-size: 19px !important;
    }

    .yun-sub-main [style*="font-size: 22px"],
    .yun-sub-main [style*="font-size:22px"] {
        font-size: 20px !important;
    }

    .yun-sub-main [style*="font-size: 24px"],
    .yun-sub-main [style*="font-size:24px"] {
        font-size: 22px !important;
    }

    .yun-sub-main [style*="font-size: 26px"],
    .yun-sub-main [style*="font-size:26px"],
    .yun-sub-main h3.sub-page-title,
    .yun-sub-main .sub-page-title h3 {
        font-size: 24px !important;
    }

    .yun-sub-main [style*="font-size: 28px"],
    .yun-sub-main [style*="font-size:28px"] {
        font-size: 26px !important;
    }

    .yun-sub-main [style*="font-size: 30px"],
    .yun-sub-main [style*="font-size:30px"],
    .yun-sub-main .ac-quote {
        font-size: 28px !important;
    }

    .yun-sub-main [style*="font-size: 32px"],
    .yun-sub-main [style*="font-size:32px"] {
        font-size: 30px !important;
    }

    .yun-sub-main [style*="font-size: 34px"],
    .yun-sub-main [style*="font-size:34px"] {
        font-size: 32px !important;
    }

    .yun-sub-main [style*="font-size: 42px"],
    .yun-sub-main [style*="font-size:42px"] {
        font-size: 40px !important;
    }

    /* 2. 모바일 중첩 박스 레이아웃 최적화 (배경/테두리 투명화 및 좌우 패딩 8px 이하 설정) */
    .sub-main-inner .story-gray-box,
    .sub-main-inner .book-raw-paragraph,
    .sub-main-inner blockquote,
    .sub-main-inner .vg-card,
    .sub-main-inner .ve-card,
    .sub-main-inner .exhibition-intro,
    .sub-main-inner .reading-club-section,
    .sub-main-inner .revival-card,
    .sub-main-inner .facility-card,
    .sub-main-inner .history-card,
    .sub-main-inner .history-detail,
    .sub-main-inner .member-card,
    .sub-main-inner .executive-card,
    .sub-main-inner .activities-card,
    .sub-main-inner .song-verse,
    .sub-main-inner .struggle-oath-text,
    .sub-main-inner .cairo-oath-text,
    .sub-main-inner .spelling-table-container,
    .sub-main-inner .table-responsive,
    .sub-main-inner div[style*="background-color"],
    .sub-main-inner div[style*="background"],
    .sub-main-inner p[style*="background-color"],
    .sub-main-inner p[style*="background"],
    .sub-main-inner blockquote[style*="background-color"],
    .sub-main-inner blockquote[style*="background"] {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 중첩 박스 하위 텍스트/리스트 요소들의 불필요한 좌우 패딩/마진 완전 제거 */
    .sub-main-inner .story-gray-box p,
    .sub-main-inner .book-raw-paragraph p,
    .sub-main-inner blockquote p,
    .sub-main-inner .vg-card p,
    .sub-main-inner .ve-card p,
    .sub-main-inner .vg-card ul,
    .sub-main-inner .ve-card ul,
    .sub-main-inner .vgc-details,
    .sub-main-inner .vgc-details li,
    .sub-main-inner div[style*="background-color"] p,
    .sub-main-inner div[style*="background"] p,
    .sub-main-inner p[style*="background-color"] span,
    .sub-main-inner p[style*="background"] span {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 모바일 관련 단체 버튼 한 줄 배열 최적화 */
    .org-nav-buttons {
        gap: 6px !important;
        margin-bottom: 25px !important;
    }
    .org-btn {
        padding: 6px 10px !important;
        border-radius: 5px !important;
    }

    /* 일반 서브페이지(회원가입, 로그인 등) 모바일 상단 간격 및 타이틀 크기 최적화 */
    .sub_content {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }
    .page_title {
        margin-bottom: 20px !important;
        padding-bottom: 8px !important;
    }
    .page_title h3 strong {
        font-size: 20px !important;
    }
}

/* 1226px 이하에서 상단 1차메뉴(.gnb) 숨김 처리 (가로폭 축소 시 행간/줄바꿈 깨짐 차단) */
@media (max-width: 1226px) {
    .hd-a .gnb,
    .hd-a #gnb,
    .hd-a .gnb-list,
    #header .gnb {
        display: none !important;
    }
}