/* 시안B CSS: 현대적 기념관 스타일 — 화이트 + 딥블루 악센트 */
:root {
    --yunb-blue: #1b3a6b;
    --yunb-blue-light: #2c5aa0;
    --yunb-red: #c0392b;
    --yunb-white: #ffffff;
    --yunb-gray-50: #f7f8fa;
    --yunb-gray-100: #eef0f3;
    --yunb-gray-300: #d1d5db;
    --yunb-gray-500: #6b7280;
    --yunb-gray-700: #374151;
    --yunb-gray-900: #111827;
    --yun-contain: 1320px;
    --yun-font-serif: 'Noto Serif KR', serif;
}

.yun-contain { max-width: var(--yun-contain); margin: 0 auto; padding: 0 24px; }

/* ===== B안 헤더 변형 ===== */
.yun-header-b .yun-util-bar { background: var(--yunb-blue); }
.yun-header-b .yun-nav-wrap { background: var(--yunb-white); border-bottom: 1px solid var(--yunb-gray-100); }
.yun-header-b .yun-nav-wrap.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.yun-header-b .yun-logo { color: var(--yunb-gray-900); }
.yun-header-b .yun-logo-mark { font-family: var(--yun-font-serif); font-size: 28px; font-weight: 900; color: var(--yunb-blue); }
.yun-header-b .yun-logo-text { font-size: 18px; font-weight: 700; color: var(--yunb-gray-900); letter-spacing: -0.5px; }
.yun-header-b .yun-gnb-link { color: var(--yunb-gray-700); line-height: 80px; }
.yun-header-b .yun-gnb-link:hover { color: var(--yunb-blue); }
.yun-header-b .yun-mobile-toggle span { background: var(--yunb-gray-900); }
.yun-header-b .yun-mega-menu { background: var(--yunb-white); border-top: 3px solid var(--yunb-blue); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.yun-header-b .yun-mega-title { color: var(--yunb-blue); }
.yun-header-b .yun-mega-col { border-right-color: var(--yunb-gray-100); }
.yun-header-b .yun-mega-sub li a { color: var(--yunb-gray-500); }
.yun-header-b .yun-mega-sub li a:hover { color: var(--yunb-blue); }

/* ===== B안 히어로 ===== */
.yunb-hero { position: relative; height: 100vh; min-height: 600px; max-height: 900px; }
.yunb-hero-swiper, .yunb-hero-swiper .swiper-wrapper, .yunb-hero-swiper .swiper-slide { height: 100%; }
.yunb-hero-slide { height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; }
.yunb-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%); }
.yunb-hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px; }
.yunb-hero-badge { display: inline-block; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 24px; border-radius: 40px; letter-spacing: 3px; margin-bottom: 24px; }
.yunb-hero-title { color: #fff; font-size: 50px; font-weight: 800; line-height: 1.3; margin: 0 0 20px; word-break: keep-all; }
.yunb-hero-desc { color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.6; margin-bottom: 36px; }
.yunb-hero-btns { display: flex; justify-content: center; gap: 16px; }
.yunb-btn-primary { display: inline-flex; align-items: center; padding: 16px 36px; background: var(--yunb-blue); color: #fff; font-size: 16px; font-weight: 700; border-radius: 8px; text-decoration: none; transition: .3s; border: 2px solid var(--yunb-blue); }
.yunb-btn-primary:hover { background: var(--yunb-blue-light); border-color: var(--yunb-blue-light); }
.yunb-btn-ghost { display: inline-flex; align-items: center; padding: 16px 36px; background: transparent; color: #fff; font-size: 16px; font-weight: 700; border: 2px solid rgba(255,255,255,.5); border-radius: 8px; text-decoration: none; transition: .3s; }
.yunb-btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.yunb-btn-outline { display: inline-flex; align-items: center; padding: 14px 28px; border: 2px solid var(--yunb-blue); color: var(--yunb-blue); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 8px; transition: .3s; }
.yunb-btn-outline:hover { background: var(--yunb-blue); color: #fff; }

/* 히어로 프로그레스 */
.yunb-hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,.15); z-index: 10; }
.yunb-hero-progress-bar { height: 100%; background: var(--yunb-red); width: 0; transition: width 5s linear; }
.yunb-hero-nav-wrap { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 20px; }
.yunb-hero-prev, .yunb-hero-next { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; transition: .3s; display: flex; align-items: center; justify-content: center; }
.yunb-hero-prev:hover, .yunb-hero-next:hover { background: rgba(255,255,255,.3); }
.yunb-hero-counter { color: #fff; font-size: 15px; letter-spacing: 2px; }
.yunb-hero-counter .current { font-weight: 700; }

/* ===== 관람정보 바 ===== */
.yunb-info-bar { background: var(--yunb-white); padding: 0; border-bottom: 1px solid var(--yunb-gray-100); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.yunb-info-grid { display: flex; align-items: center; justify-content: center; gap: 0; padding: 24px 0; }
.yunb-info-item { display: flex; align-items: center; gap: 14px; padding: 0 40px; }
.yunb-info-item i { font-size: 24px; color: var(--yunb-blue); }
.yunb-info-text { display: flex; flex-direction: column; }
.yunb-info-label { font-size: 12px; color: var(--yunb-gray-500); }
.yunb-info-text strong { font-size: 18px; color: var(--yunb-gray-900); font-weight: 700; }
.yunb-info-divider { width: 1px; height: 40px; background: var(--yunb-gray-300); }
.yunb-info-links { display: flex; gap: 12px; padding: 0 40px; }
.yunb-info-links a { display: flex; align-items: center; gap: 6px; padding: 10px 20px; background: var(--yunb-blue); color: #fff; font-size: 14px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: .3s; }
.yunb-info-links a:hover { background: var(--yunb-blue-light); }

/* ===== 카드 섹션 ===== */
.yunb-cards-section { padding: 100px 0; background: var(--yunb-gray-50); }
.yunb-section-header { text-align: center; margin-bottom: 48px; }
.yunb-section-title { font-size: 36px; font-weight: 800; color: var(--yunb-gray-900); margin: 0 0 12px; }
.yunb-section-title em { font-style: normal; color: var(--yunb-blue); }
.yunb-section-desc { font-size: 16px; color: var(--yunb-gray-500); margin: 0; }
.yunb-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.yunb-card { background: var(--yunb-white); border-radius: 16px; padding: 40px 28px; text-decoration: none; transition: .35s; box-shadow: 0 2px 8px rgba(0,0,0,.04); position: relative; overflow: hidden; border: 1px solid var(--yunb-gray-100); }
.yunb-card:hover { transform: translateY(-8px); box-shadow: 0 12px 36px rgba(27,58,107,.12); border-color: var(--yunb-blue); }
.yunb-card-icon-wrap { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, rgba(27,58,107,.08), rgba(27,58,107,.04)); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--yunb-blue); margin-bottom: 24px; transition: .3s; }
.yunb-card:hover .yunb-card-icon-wrap { background: var(--yunb-blue); color: #fff; }
.yunb-card h3 { font-size: 20px; font-weight: 700; color: var(--yunb-gray-900); margin: 0 0 12px; }
.yunb-card p { font-size: 14px; color: var(--yunb-gray-500); line-height: 1.6; margin: 0; }
.yunb-card-arrow { position: absolute; bottom: 24px; right: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--yunb-gray-50); display: flex; align-items: center; justify-content: center; color: var(--yunb-gray-500); transition: .3s; }
.yunb-card:hover .yunb-card-arrow { background: var(--yunb-blue); color: #fff; }

/* ===== 매헌 소개 (풀와이드) ===== */
.yunb-about-section { position: relative; padding: 120px 0; overflow: hidden; }
.yunb-about-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.yunb-about-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,26,46,.88) 0%, rgba(27,58,107,.8) 100%); }
.yunb-about-inner { position: relative; z-index: 2; }
.yunb-about-content { max-width: 660px; }
.yunb-about-badge { display: inline-block; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.yunb-about-title { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.3; margin: 0 0 24px; font-family: var(--yun-font-serif); }
.yunb-about-title em { font-style: normal; color: rgba(255,255,255,.5); font-weight: 400; font-size: 24px; }
.yunb-about-text { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.yunb-btn-white { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3); color: #fff; font-size: 15px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: .3s; }
.yunb-btn-white:hover { background: #fff; color: var(--yunb-blue); border-color: #fff; }

/* ===== B안 게시판 ===== */
.yunb-board-section { padding: 80px 0; background: var(--yunb-white); }
.yunb-board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.yunb-board-box { border: 1px solid var(--yunb-gray-100); border-radius: 16px; padding: 32px; }
.yunb-board-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 3px solid var(--yunb-blue); }
.yunb-board-header h3 { font-size: 20px; font-weight: 700; color: var(--yunb-gray-900); display: flex; align-items: center; gap: 10px; margin: 0; }
.yunb-board-header a { font-size: 14px; color: var(--yunb-gray-500); text-decoration: none; transition: .2s; }
.yunb-board-header a:hover { color: var(--yunb-blue); }
.yunb-board-list { list-style: none; margin: 0; padding: 0; }
.yunb-board-list li { border-bottom: 1px solid var(--yunb-gray-100); }
.yunb-board-list li:last-child { border-bottom: none; }
.yunb-board-list li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; text-decoration: none; transition: .2s; }
.yunb-board-list li a:hover { padding-left: 10px; }
.yunb-subject { font-size: 15px; color: var(--yunb-gray-700); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yunb-board-list li a:hover .yunb-subject { color: var(--yunb-blue); }
.yunb-date { font-size: 13px; color: var(--yunb-gray-500); margin-left: 16px; white-space: nowrap; }
.yunb-empty { padding: 40px 0; text-align: center; color: var(--yunb-gray-500); font-size: 14px; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .yunb-hero-title { font-size: 36px; }
    .yunb-info-grid { flex-wrap: wrap; gap: 16px; }
    .yunb-info-divider { display: none; }
    .yunb-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .yunb-board-grid { grid-template-columns: 1fr; }
    .yunb-about-title { font-size: 32px; }
}
@media (max-width: 640px) {
    .yunb-hero { min-height: 500px; }
    .yunb-hero-title { font-size: 28px; }
    .yunb-hero-desc { font-size: 15px; }
    .yunb-hero-btns { flex-direction: column; align-items: center; }
    .yunb-info-item { padding: 0 16px; }
    .yunb-cards-grid { grid-template-columns: 1fr; }
    .yunb-section-title { font-size: 28px; }
    .yunb-cards-section, .yunb-about-section { padding: 60px 0; }
    .yunb-about-title em { display: block; font-size: 18px; }
}
