/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; transition: opacity 0.3s; }
body {font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #333; background: #fff; line-height: 1.6; overflow-x: hidden;}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
img.is-broken {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: 0;
  color: #999;
  font-size: 1.5rem;
  text-align: center;
  padding: 40px;
}
.header-logo img.is-broken {display: none;}
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* CSS Variables */
:root {
  --primary: #c0392b;
  --primary-dark: #962d22;
  --primary-light: #fdeaea;
  --dark: #1a1a1a;
  --text: #333;
  --text-light: #666;
  --border: #e3e3e3;
  --bg-light: #f5f5f5;
  --bg-gray: #f0f1f3;
  --font-en: 'Montserrat', sans-serif;
  --font-ko: 'Pretendard', 'Noto Sans KR', sans-serif;
  --transition: 0.3s ease;
  --header-h: 90px;
  --radius: 13px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.12);
}

/* Header */
.header {position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: #fff; z-index: 1000; box-shadow: 0 1px 8px rgba(0,0,0,0.06);}
.header.scrolled {box-shadow: 0 2px 12px rgba(0,0,0,0.1);}
.header-inner {max-width: 1200px; width: 100%; height: 100%; margin: 0 auto; display: flex; align-items: center; padding: 0 0 0 24px; position: relative;}

/* Logo */
.header-logo {flex-shrink: 0; z-index: 2; display: flex; align-items: center; text-decoration: none;}
.header-logo-img {height: 45px; width: auto;}

/* GNB - Right-aligned before hamburger */
.gnb {margin-left: auto; margin-right: 12px;}
.gnb ul {display: flex; gap: 0;}
.gnb li {position: relative;}
.gnb li > a {display: block; padding: 0 16px; line-height: var(--header-h); font-size: 0.95rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; white-space: nowrap; transition: color 0.2s;}
.gnb li > a:hover { color: var(--primary); }
.header.scrolled .gnb li > a { color: var(--text); }
.header.scrolled .gnb li > a:hover { color: var(--primary); }

/* Mega Menu */
.mega-menu {position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.1); z-index: 999; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s; opacity: 0;}
.mega-menu.open {max-height: 480px; opacity: 1;}
.mega-menu-inner {max-width: 820px; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;}
.mega-col {padding: 0 20px; border-right: 1px solid #f0f0f0; opacity: 0.4; transition: opacity 0.3s;}
.mega-col:last-child { border-right: none; }
.mega-col.active { opacity: 1; }
.mega-item {display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 0.85rem; color: var(--text); transition: color 0.2s;}
.mega-item:hover { color: var(--primary); }
.mega-thumb {width: 100%; height: 80px; border-radius: 6px; overflow: hidden; margin-bottom: 16px;}
.mega-thumb img {width: 100%; height: 100%; object-fit: cover;}

/* Active menu indicator */
.gnb-menu li.on > a {color: var(--primary) !important; position: relative;}
.gnb-menu li.on > a::after {content: ''; position: absolute; left: 16px; right: 16px; bottom: calc(50% - 18px); height: 3px; background: var(--primary);}

/* Header Right */
.header-right {flex-shrink: 0; display: flex; align-items: center; gap: 12px; z-index: 2;}
.header-unesco-text {font-size: 0.92rem; font-weight: 400; color: rgba(0,0,0,0.45); letter-spacing: -0.02em;}
.header.scrolled .header-unesco-text {color: rgba(0,0,0,0.45);}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.header.scrolled .lang-btn {border-color: var(--border); color: var(--text);}
.header.scrolled .lang-btn:hover {border-color: var(--primary); color: var(--primary);}
.lang-btn svg {width: 14px; height: 14px;}

/* Header Icon Buttons */
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}
.header-icon-btn:hover {color: var(--primary);}
.header-icon-btn svg {width: 24px; height: 24px;}

/* Profile */
.profile {display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; border-radius: 50%; padding: 0; margin: 0; transition: opacity 0.2s;}
.profile:hover {opacity: 0.7;}
.profile svg {border-radius: 50%; overflow: hidden;}

/* Hamburger lines (mobile only) */
.hamburger-lines {display: none;}

/* Desktop Dropdown */
.gnb-brand { display: none; }
.gnb-close { display: none; }
.gnb-copyright { display: none; }
.gnb-toggle { display: none !important; }
.gnb-sub {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(6px);
  z-index: 999;
}
.gnb-menu > li:hover > .gnb-sub {opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);}
.gnb-sub li a {display: block; padding: 5px 24px; font-size: 0.85rem; font-weight: 400; color: var(--text); line-height: 1.6; white-space: nowrap; transition: color 0.2s, background 0.2s;}
.gnb-sub li a:hover {color: var(--primary); background: var(--primary-light);}

/* Main Hero: Centered Layout with BG Pattern */
.main-hero {margin-top: var(--header-h); position: relative; padding-top: 60px; padding-bottom: 32px; overflow: visible;}
.hero-bg-pattern {position: absolute; top: 208px; left: 0; width: calc(50% + 600px); max-width: 100%; bottom: 0; background: linear-gradient(135deg, #e8f5f3 0%, #d4edea 40%, #c2e5e0 100%); border-radius: 0 var(--radius) var(--radius) 0; z-index: 0;}
.hero-bg-pattern::before {content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(11,122,111,0.06) 0%, transparent 50%), radial-gradient(circle at 80% 30%, rgba(11,122,111,0.04) 0%, transparent 40%); border-radius: inherit;}
.hero-inner {position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: flex-start; gap: 32px;}
.hero-slider-box {width: 900px; height: 500px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.12);}
.hero-slider-box {position: relative;}
.hero-slider-box img {width: 100%; height: 100%; object-fit: cover;}
.hero-slider-box .slide-overlay {position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 98px 56px;}
.slide-caption-wrap {position: relative; width: 100%;}
.slide-caption {color: #fff; position: absolute; bottom: 0; left: 0; opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;}
.slide-caption.is-active {position: relative; opacity: 1; transform: translateY(0);}
.slide-caption h2 {font-size: 2.2rem; font-weight: 800; line-height: 1.35; margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); letter-spacing: -0.04em;}
.slide-caption p {font-size: 1rem; font-weight: 300; opacity: 0.9;}

/* Hero Shortcuts */
.hero-sidebar {display: flex; flex-direction: column; gap: 16px; width: 216px; height: 500px; flex-shrink: 0;}
.hero-shortcuts {display: flex; flex-direction: row; gap: 16px; margin-bottom: 39px;}
.hero-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100px;
  padding: 20px 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-shortcut:hover {transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.13);}
.hero-shortcut-icon {display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary-light); color: var(--primary);}
.hero-shortcut-icon svg {width: 24px; height: 24px;}
.hero-shortcut-label {font-size: 0.82rem; font-weight: 600; white-space: nowrap;}

/* Hero Banner */
.hero-banner {display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; background: linear-gradient(to bottom, #0b7a6f, #1a9e8f 50%, #2ab8a8); border-radius: var(--radius); text-decoration: none; color: #fff; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;}
.hero-banner:hover {transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.15);}
.hero-banner-badge {font-size: 0.65rem; font-weight: 700; background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 10px; letter-spacing: 0.5px;}
.hero-banner-title {font-size: 1.05rem; font-weight: 800; margin: 0;}
.hero-banner-desc {font-size: 0.72rem; opacity: 0.85; margin: 0;}


/* Hero Contact */
.hero-contact {flex: 1; display: flex; flex-direction: column; justify-content: center; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,0.08); padding: 20px; text-align: center;}
.hero-contact-title {display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 12px;}
.hero-contact-title svg {width: 18px; height: 18px; color: var(--primary);}
.hero-contact-tel {display: block; font-size: 1.25rem; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: -0.5px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #eee;}
.hero-contact-tel:hover {opacity: 0.8;}
.hero-contact-desc {font-size: 0.8rem; color: var(--text-light); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid #eee; line-height: 1.4; letter-spacing: -0.3px;}
.hero-support-btn {display: block; margin-top: 14px; padding: 8px 0; text-align: center; font-size: 0.8rem; font-weight: 600; color: #fff; background: #0b7a6f; border-radius: 6px; text-decoration: none; transition: opacity 0.2s;}
.hero-support-btn:hover {opacity: 0.85;}
.hero-contact-info {list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px;}
.hero-contact-info li {font-size: 0.75rem; color: var(--text-light); display: flex; gap: 8px; text-align: left;}
.hero-contact-info li span {font-weight: 600; color: var(--text); min-width: 48px; flex-shrink: 0;}

/* Main News: Tabs + 3-Column Cards */
.main-news {padding: 64px 0;}
.main-news .container {max-width: 1200px; margin: 0 auto; padding: 0 24px;}
.news-header {display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px;}
.news-header h2 {font-size: 1.6rem; font-weight: 800; color: var(--dark);}
.news-tabs {display: flex; gap: 4px;}
.news-tab {padding: 8px 20px; font-size: 0.88rem; font-weight: 500; color: var(--text-light); background: none; border: 1px solid var(--border); border-radius: 24px; cursor: pointer; transition: all 0.2s;}
.news-tab:hover {border-color: #666; color: #444;}
.news-tab.is-active {background: #555; border-color: #555; color: #fff; font-weight: 600;}
.news-more {font-size: 0.85rem; font-weight: 500; color: var(--text-light); display: flex; align-items: center; gap: 4px;}
.news-more:hover { color: var(--primary); }
.news-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;}
.news-panel {display: none;}
.news-panel.is-active {display: block; animation: fadeIn 0.35s ease;}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.news-card {background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;}
.news-card:hover {transform: translateY(-4px); box-shadow: var(--shadow-hover);}
.news-card-body {padding: 24px;}
.news-card-body .news-tag {display: inline-block; font-size: 0.75rem; font-weight: 600; color: #1a3a6b; background: #e8eef8; padding: 3px 10px; border-radius: 12px; margin-bottom: 16px;}
.news-card-body h4 {font-size: 0.95rem; font-weight: 600; color: var(--dark); line-height: 1.5; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.news-card-body .news-desc {font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.news-card-body time {font-family: var(--font-en); font-size: 0.78rem; color: #aaa;}

/* Related Banners */
.related-banners {padding: 40px 0; background: #f5f6f8;}
.related-banners .container {max-width: 1200px; margin: 0 auto; padding: 0 24px;}
.related-banner-row {display: flex; gap: 16px;}
.related-banner-link {flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 10px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s;}
.related-banner-link:hover {border-color: var(--primary); box-shadow: 0 2px 12px rgba(0,0,0,0.06);}
.related-banner-link img {height: 58px; width: auto; max-width: 100%; object-fit: contain;}

/* Hero (legacy - keep for subpages with video) */
.hero {position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center;}
.hero-video {position: absolute; inset: 0; z-index: 0;}
.hero-video video {width: 100%; height: 100%; object-fit: cover;}
.hero-video-mobile {display: none; position: absolute; inset: 0; z-index: 0; background: url('../images/hero_main_mobile.jpg') center/cover no-repeat;}
.hero-bg-img {position: absolute; inset: 0; z-index: 0; overflow: hidden;}
.hero-bg-img img {width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s ease-in-out infinite alternate;}
.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
  105deg,
  transparent 40%,
  rgba(255,255,255,0.15) 45%,
  rgba(255,255,255,0.25) 50%,
  rgba(255,255,255,0.15) 55%,
  transparent 60%
  );
  background-size: 200% 100%;
  animation: heroShimmer 5s ease-in-out infinite;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}
@keyframes heroShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Hero Slides */
.hero-slide {position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 1.8s ease; display: flex; align-items: center; justify-content: center;}
.hero-slide.is-leaving {opacity: 0; z-index: 1;}
.hero-slide.is-active {opacity: 1; z-index: 2;}
.hero-slide::before {content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1;}
.hero-slide .hero-video {position: absolute; inset: 0; z-index: 0;}
.hero-slide .hero-content {position: relative; z-index: 2;}
.hero-indicators {position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px;}
.hero-dot {width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background 0.3s;}
.hero-dot.is-active {background: #fff;}
.hero-replay {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.hero-replay svg {width: 22px; height: 22px; margin-left: 3px;}
.hero-replay:hover {background: rgba(255,255,255,0.3);}
.hero-replay.is-visible {display: flex;}
.hero-content {position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 24px;}
.hero-sub {font-family: var(--font-en); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s 0.3s forwards;}
.hero-title {font-size: 3rem; font-weight: 800; line-height: 1.3; margin-bottom: 20px; opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s 0.6s forwards;}
.hero-desc {font-size: 1.1rem; font-weight: 300; line-height: 1.8; opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s 0.9s forwards;}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Tab Bar */
.hero-tab-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 5px;
  gap: 2px;
  opacity: 0;
  animation: fadeUpCenter 0.8s 1.2s forwards;
}
@keyframes fadeUpCenter {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.hero-tab-slider {position: absolute; height: calc(100% - 10px); border-radius: 100px; background: #fff; transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; opacity: 0;}
.hero-tab-slider.is-visible {opacity: 1;}
.hero-tab {position: relative; z-index: 1; padding: 10px 24px; font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.85); border-radius: 100px; white-space: nowrap; transition: color 0.3s, font-weight 0.3s;}
.hero-tab:hover {color: #fff;}
.hero-tab.is-active {color: var(--primary); font-weight: 700;}

/* Section Common */
.section-title {font-family: var(--font-en); font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.02em; text-align: center;}

/* SUB Page Header (page-header banner) */
.page-header {margin-top: var(--header-h); padding: 48px 0; background: linear-gradient(135deg, var(--primary) 0%, #0a9e8f 100%); text-align: center;}
.page-header h1 {font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 6px;}
.page-header p {font-size: 0.92rem; color: rgba(255,255,255,0.7);}
.page-content {padding: 48px 0; min-height: 50vh;}

/* SUB Page Hero (legacy) */
.sub-hero {position: relative; width: 100%; height: 75px; margin-top: var(--header-h); background: var(--primary); display: flex; align-items: center; justify-content: flex-start; overflow: hidden;}
.sub-hero-inner {position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between;}
.sub-hero-summary {font-family: 'Gowun Batang', serif; font-size: 1.05rem; color: rgba(255,255,255,0.7); text-align: right; line-height: 1.5; white-space: nowrap;}
.sub-hero-title {font-family: var(--font-en); font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0;}
.sub-hero-desc {font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,0.6);}
.sub-hero-desc {font-family: var(--font-en); font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase;}
.sub-title-text {font-family: 'Gowun Batang', serif; font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--primary);}

/* SUB Side Nav */
.sub-side-nav {position: fixed; left: calc(50% + 600px + 20px); top: 50%; transform: translateY(-50%); z-index: 100; padding: 0 0 0 14px; border-left: 1px solid #ddd;}
.sub-side-nav-title {display: none;}
.sub-side-nav a {display: block; padding: 5px 0; font-size: 0.88rem; color: var(--text-light); white-space: nowrap; transition: color 0.2s; position: relative;}
.sub-side-nav a:hover {color: var(--primary);}
.sub-side-nav a::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.sub-side-nav a.is-current, .sub-side-nav a.on {color: var(--primary); font-weight: 700;}
.sub-side-nav a.is-current::before, .sub-side-nav a.on::before {border-color: var(--primary); background: var(--primary);}

/* SUB Page Content */
.sub-page-content {padding: 60px 0 80px; min-height: 60vh;}
.sub-page-body {font-size: 0.95rem; color: var(--text-light); line-height: 1.8; text-align: center;}

/* CEO Greeting */
.ceo-section {text-align: left;}
.ceo-top {display: flex; align-items: center; gap: 28px; margin-bottom: 36px;}
.ceo-thumb {width: auto; height: auto;}
.ceo-thumb img {width: 120px; height: auto; border-radius: var(--radius);}
.ceo-thumb-placeholder {width: 100%; height: 100%; background: var(--bg-light); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: .8rem;}
.ceo-quote-title {font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-top: -5px; margin-bottom: 6px;}
.ceo-quote-desc {font-size: .88rem; color: var(--text-light); line-height: 1.7;}
.ceo-text p {font-size: .95rem; line-height: 1.85; color: var(--text); margin-bottom: 16px; text-align: justify;}
.ceo-text p.ceo-sign {font-family: 'Nanum Pen Script', cursive; font-size: 3rem; line-height: 1; color: var(--dark); text-align: right; margin-bottom: 0;}
.ceo-columns {display: grid; grid-template-columns: 1fr 1fr; gap: 40px;}
.ceo-sign {margin-top: 32px; font-family: 'Nanum Pen Script', cursive; font-size: 3rem; color: var(--dark); text-align: right;}

/* Declaration */
.declaration-list {display: flex; flex-direction: column; gap: 0; text-align: left;}
.declaration-item {display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border);}
.declaration-item:last-child {border-bottom: none;}
.declaration-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
}
.declaration-text {flex: 1; font-size: .95rem; line-height: 1.8; color: var(--text); padding-top: 6px;}

/* History Timeline */
.history-timeline {text-align: left;}
.history-group {display: grid; grid-template-columns: 120px 1fr; gap: 0; border-bottom: 1px solid var(--border); padding: 28px 0;}
.history-group:first-child {padding-top: 0;}
.history-group:last-child {border-bottom: none;}
.history-year {font-family: var(--font-en); font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; padding-top: 4px;}
.history-list {display: flex; flex-direction: column; gap: 12px;}
.history-list li {display: flex; gap: 16px; font-size: .93rem; line-height: 1.6; color: var(--text);}
.history-date {flex-shrink: 0; width: 130px; font-family: var(--font-en); font-weight: 600; font-size: .85rem; color: var(--text-light);}
.history-desc {flex: 1;}

/* Branch */
.branch-wrap {text-align: left;}
.branch-tabs {display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;}
.branch-tab {padding: 9px 20px; font-size: .9rem; font-weight: 600; color: var(--text-light); background: var(--bg-light); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; transition: var(--transition);}
.branch-tab:hover {color: var(--primary); border-color: var(--primary);}
.branch-tab.is-active {background: var(--primary); color: #fff; border-color: var(--primary);}
.branch-panel {display: none;}
.branch-panel.is-active {display: block;}
.branch-head {display: grid; grid-template-columns: 1fr 200px; gap: 32px; margin-bottom: 28px;}
.branch-info {display: flex; flex-direction: column;}
.branch-dl {display: flex; border-bottom: 1px solid var(--border); padding: 14px 0;}
.branch-dl:first-child {padding-top: 0;}
.branch-dl dt {flex-shrink: 0; width: 80px; font-size: .85rem; font-weight: 700; color: var(--primary-dark);}
.branch-dl dd {flex: 1; font-size: .93rem; line-height: 1.7; color: var(--text);}
.branch-dl dd.branch-name {font-size: 1rem; font-weight: 700; color: var(--dark);}
.branch-img {display: flex; align-items: stretch;}
.branch-img-placeholder {width: 100%; background: var(--bg-light); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: .85rem; min-height: 160px;}
.branch-img img {width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);}
.branch-body {border-top: 2px solid var(--primary); padding-top: 24px;}
.branch-body-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;}
.branch-body .branch-dl {flex-direction: column; gap: 8px;}
.branch-body .branch-dl dt {width: auto; font-size: .9rem;}
.branch-program {padding-left: 0;}
.branch-program li {font-size: .93rem; line-height: 1.8; color: var(--text);}
.branch-program li span {font-weight: 600; color: var(--dark);}
.branch-ul {padding-left: 18px; list-style: disc;}
.branch-ul li {font-size: .93rem; line-height: 1.7; color: var(--text); margin-bottom: 4px;}
.biz-block {margin-bottom: 36px; text-align: left;}
.biz-block:last-child {margin-bottom: 0;}
.biz-block-title {font-size: 1.1rem; font-weight: 700; color: var(--dark); padding-bottom: 12px; border-top: 2px solid #ddd; padding-top: 16px; margin-bottom: 16px;}
.sub-page-body > .biz-block:first-of-type .biz-block-title {border-top: none; padding-top: 0;}
.biz-block .branch-body {border-top: none; padding-top: 20px;}
.biz-block .branch-body .branch-dl dt {font-size: 1.05rem;}
.biz-highlight-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 16px;}
.biz-highlight {background: #f5f5f5; border-left: 4px solid var(--primary); padding: 16px 20px; font-size: .93rem; line-height: 1.7; color: var(--dark);}
.biz-highlight-full {grid-column: 1 / -1;}

/* Volunteer Form */
.volunteer-notice {background: var(--primary-light); border-top: 3px solid var(--primary); padding: 16px 24px; margin-bottom: 0; text-align: center; font-size: .93rem; color: var(--dark);}
.volunteer-layout {display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;}
.volunteer-left {min-width: 0;}
.volunteer-right {min-width: 0;}
.volunteer-info {margin-top: 0; text-align: left;}
.volunteer-info-title {font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; margin-top: 20px; border-bottom: 1px solid #ddd; padding-bottom: 8px;}
.volunteer-info-title:first-child {margin-top: 0;}
.volunteer-info .branch-ul {margin-bottom: 0;}
.privacy-agree {margin-top: 24px; text-align: left;}
.privacy-box {background: #f9f9f9; border: 1px solid #e5e5e5; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 14px; text-align: left;}
.privacy-box p {font-size: .85rem; line-height: 1.8; color: var(--text);}
.privacy-check {display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--dark); cursor: pointer;}
.privacy-check input[type="checkbox"] {width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer;}
.volunteer-form {text-align: left;}
.form-row {display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid #e5e5e5;}
.form-row-single {grid-template-columns: 1fr;}
.form-group {display: flex; align-items: center; gap: 16px; padding: 16px 0;}
.form-group-full {width: 100%;}
.form-label {font-size: .9rem; font-weight: 600; color: var(--dark); min-width: 160px; flex-shrink: 0;}
.form-input,
.form-select,
.form-textarea {flex: 1; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-size: .9rem; font-family: inherit; color: var(--dark); background: #fff; outline: none; transition: border-color .2s;}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {border-color: var(--primary);}
.form-select {appearance: auto;}
.form-textarea {resize: vertical; min-height: 160px;}
.form-phone {flex: 1; display: flex; align-items: center; gap: 6px;}
.form-input-phone {width: 80px; flex: none; text-align: center;}
.form-phone span {color: #999;}
.form-actions {border-top: 1px solid #e5e5e5; padding-top: 24px; margin-top: 8px; text-align: center;}
.volunteer-submit {grid-column: 1 / -1; text-align: center; padding-top: 24px;}
.form-btn {display: inline-block; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); padding: 12px 48px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .2s;}
.form-btn:hover {background: var(--primary-dark);}
.support-intro {font-size: .95rem; line-height: 1.8; color: var(--text); text-align: left;}
.support-account,
.support-contact {text-align: left;}
.support-account .branch-dl,
.support-contact .branch-dl {flex-direction: row; gap: 12px; align-items: center;}
.support-account .branch-dl dt,
.support-contact .branch-dl dt {min-width: 80px;}
.branch-gallery {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px;}
.branch-gallery-card {border-radius: var(--radius); overflow: hidden; background: var(--bg-light);}
.branch-gallery-thumb {width: 100%; aspect-ratio: 4 / 3; background: var(--bg-gray); border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: .8rem;}
.branch-gallery-card img {width: 100%; aspect-ratio: 4 / 3; object-fit: cover;}
.branch-gallery-title {padding: 10px 12px; font-size: .85rem; font-weight: 600; color: var(--text); text-align: center;}

/* Vision */
.vision-bar {height: 4px; background: linear-gradient(to right, #e85d3a 25%, #f5a623 25%, #f5a623 50%, #4a69bd 50%, #4a69bd 75%, #0b7a6f 75%); border-radius: 2px; margin-bottom: 40px;}
.vision-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;}
.vision-card {background: var(--bg-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-align: center;}
.vision-icon {padding: 28px 0 16px; display: flex; justify-content: center;}
.vision-icon svg {width: 44px; height: 44px; color: var(--text-light);}
.vision-title {display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; color: #fff; font-size: 1.05rem; font-weight: 700;}
.vision-initial {display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.25); font-family: var(--font-en); font-size: 1.1rem; font-weight: 800;}
.vision-desc {flex: 1; padding: 20px 18px; font-size: .88rem; line-height: 1.75; color: var(--text); text-align: left;}
.vision-bottom {height: 5px;}

/* ORG Chart */
.org-layout {display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start;}
.org-layout-img {width: 100%; border-radius: var(--radius);}
.org-layout-right .ceo-quote {background: none; padding: 0; text-align: left;}
.org-chart {display: flex; flex-direction: column; align-items: center; gap: 0; padding: 40px 0;}
.org-row {display: flex; justify-content: center; align-items: center; gap: 24px; position: relative;}
.org-row-3 {width: 100%; max-width: 600px; justify-content: space-between;}
.org-row-3::before {content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: var(--primary); z-index: 0;}
.org-row-split {display: flex; align-items: flex-start; gap: 32px;}
.org-branch {display: flex; flex-direction: column; gap: 12px;}
.org-row-branches {display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative;}
.org-row-branches::before {content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--primary);}
.org-line {width: 2px; height: 24px; background: var(--primary);}
.org-box {position: relative; z-index: 1; padding: 12px 28px; border-radius: 8px; font-size: .9rem; font-weight: 600; text-align: center; line-height: 1.4; white-space: nowrap;}
.org-primary {background: var(--primary); color: #fff;}
.org-sub {background: #fff; color: var(--primary); border: 2px solid var(--primary);}
.org-accent {background: var(--primary-light); color: var(--primary-dark); border: 1px solid var(--primary);}
.org-leaf {background: #fff; color: var(--text); border: 2px solid var(--primary); padding: 10px 16px; font-size: .82rem; white-space: normal; min-width: 70px;}

/* Intro Slider */
.intro-slider {position: relative; overflow: hidden;}
.intro-slider .intro-header {padding-bottom: 20px; border-bottom: 1px solid var(--border); padding-right: 200px;}
.intro-slider .intro-line {display: none;}
.intro-slider-track {display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);}
.intro-slide {width: 100%; flex-shrink: 0;}
.intro-slide .intro-grid {align-items: stretch;}
.intro-slide .intro-image {position: relative; aspect-ratio: auto; min-height: 360px; background: var(--bg-light); border-radius: 8px; overflow: hidden;}
.slide-controls {
  position: absolute;
  top: 6px;
  right: calc(50% + 24px);
  left: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.slide-counter {font-family: var(--font-en); font-size: 0.82rem; font-weight: 700; color: var(--text-light);}
.slide-counter .current {color: var(--primary); font-size: 1rem;}
.slide-dots {display: flex; gap: 5px;}
.slide-dot {width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background 0.3s, width 0.3s; border: none; padding: 0;}
.slide-dot.is-active {background: var(--primary); width: 8px; border-radius: 50%;}
.slide-toggle {width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; background: none; border: none;}
.slide-toggle::before {content: ''; display: block; width: 10px; height: 10px; background: var(--dark); border-radius: 1px;}
.slide-toggle.is-paused::before {width: 0; height: 0; background: none; border-left: 10px solid var(--dark); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-radius: 0;}

/* Intro Section */
.intro-section {padding: 64px 0; border-bottom: 1px solid var(--border);}
.intro-section:last-child {border-bottom: none;}
.intro-header {display: flex; align-items: center; gap: 20px; margin-bottom: 32px;}
.intro-title {font-size: 1.6rem; font-weight: 800; color: var(--dark); white-space: nowrap; flex-shrink: 0;}
.intro-line {flex: 1; height: 1px; background: var(--border);}
.intro-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;}
.intro-text p {font-size: 0.92rem; color: var(--text); line-height: 1.9; margin-bottom: 16px;}
.intro-text p:last-child {margin-bottom: 0;}
.intro-text strong {font-weight: 700; color: var(--dark);}
.intro-image {border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-light);}
.intro-image img {width: 100%; height: 100%; object-fit: cover;}

/* 인사말 카드 */
.greeting-list {display: flex; flex-direction: column; gap: 48px;}
.greeting-card {display: flex; gap: 40px; align-items: flex-start;}
.greeting-card:nth-child(even) {flex-direction: row;}
.greeting-photo {width: 180px; height: 220px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg-light);}
.greeting-photo img {width: 100%; height: 100%; object-fit: cover;}
.greeting-body {flex: 1;}
.greeting-name {font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 2px;}
.greeting-name span {font-size: 0.85rem; font-weight: 500; color: var(--text-light); margin-left: 8px;}
.greeting-divider {width: 40px; height: 3px; background: var(--primary); margin: 12px 0 16px; border-radius: 2px;}
.greeting-body p {font-size: 0.92rem; color: var(--text); line-height: 1.9;}

/* 섬기는분들 */
.ppl-section-title {font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary);}
.ppl-tag-list {display: flex; flex-wrap: wrap; gap: 8px;}
.ppl-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
.ppl-tag:hover {background: var(--primary); color: #fff; border-color: var(--primary);}
.ppl-tag small {font-size: 0.75rem; color: #999; font-weight: 400;}
.ppl-tag:hover small {color: rgba(255,255,255,0.7);}
.ppl-accordion {display: flex; flex-direction: column; gap: 8px;}
.ppl-acc-item {border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden;}
.ppl-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: #fafafa;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: background 0.2s;
  text-align: left;
}
.ppl-acc-header:hover {background: #f0f4ff;}
.ppl-acc-header em {font-style: normal; font-weight: 400; color: var(--text-light); font-size: 0.88rem;}
.ppl-acc-icon {font-size: 1.2rem; color: var(--primary); font-weight: 700; flex-shrink: 0; width: 24px; text-align: center;}
.ppl-acc-body {display: none; padding: 16px 20px 20px; border-top: 1px solid #e8e8e8;}
.ppl-acc-item.is-open .ppl-acc-body {display: block;}
.ppl-acc-item.is-open .ppl-acc-header {background: #f0f4ff;}
.ppl-staff-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;}
.ppl-staff-card {display: flex; flex-direction: column; align-items: center; padding: 20px 16px; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; text-align: center; transition: all 0.2s;}
.ppl-staff-card:hover {border-color: var(--primary); box-shadow: 0 2px 12px rgba(0,0,0,0.06);}
.ppl-staff-role {font-size: 0.78rem; font-weight: 600; color: var(--primary); margin-bottom: 6px;}
.ppl-staff-name {font-size: 1rem; font-weight: 700; color: var(--dark);}

/* 오시는길 */
.location-map-wrap {margin-top: 32px; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid #eee;}
.location-info {display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px;}
.location-info-card {display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; transition: box-shadow 0.3s, transform 0.3s;}
.location-info-card:hover {box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px);}
.location-info-icon {width: 48px; height: 48px; flex-shrink: 0; background: var(--bg-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px; color: var(--primary);}
.location-info-icon svg {width: 100%; height: 100%;}
.location-info-body h4 {font-size: 0.88rem; font-weight: 700; color: var(--primary); margin-bottom: 6px;}
.location-info-body p {font-size: 0.9rem; line-height: 1.7; color: var(--text); margin: 0;}

/* 연혁 타임라인 */
.hist-timeline {position: relative; margin-top: 48px; padding-bottom: 40px;}
.hist-timeline::before {content: ''; position: absolute; left: calc(280px + 20px); top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary), #b2dfdb 40%, #e0e0e0);}
.hist-year-block {display: flex; align-items: flex-start; gap: 0; margin-bottom: 56px; position: relative; opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(.23,1,.32,1), transform 0.7s cubic-bezier(.23,1,.32,1);}
.hist-year-block.is-visible {opacity: 1; transform: translateY(0);}
.hist-left {width: 280px; flex-shrink: 0; text-align: right; padding-right: 20px; opacity: 0; transform: translateX(-30px); transition: opacity 0.6s 0.2s cubic-bezier(.23,1,.32,1), transform 0.6s 0.2s cubic-bezier(.23,1,.32,1);}
.hist-year-block.is-visible .hist-left {opacity: 1; transform: translateX(0);}
.hist-year {font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 16px;}
.hist-thumb {width: 200px; height: 130px; border-radius: 10px; overflow: hidden; margin-left: auto; background: var(--bg-light); box-shadow: 0 4px 16px rgba(0,0,0,0.06);}
.hist-thumb img {width: 100%; height: 100%; object-fit: cover;}
.hist-center {width: 42px; flex-shrink: 0; display: flex; justify-content: center; padding-top: 14px; position: relative; z-index: 1;}
.hist-dot {width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(11,122,111,0.15); transition: transform 0.3s, box-shadow 0.3s;}
.hist-year-block.is-visible .hist-dot {animation: histPulse 0.6s 0.3s ease-out both;}
@keyframes histPulse {
  0% { transform: scale(0.5); box-shadow: 0 0 0 0 rgba(11,122,111,0.35); }
  60% { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(11,122,111,0.1); }
  100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(11,122,111,0.15); }
}
.hist-right {flex: 1; padding-left: 20px; padding-top: 2px; opacity: 0; transform: translateX(30px); transition: opacity 0.6s 0.3s cubic-bezier(.23,1,.32,1), transform 0.6s 0.3s cubic-bezier(.23,1,.32,1);}
.hist-year-block.is-visible .hist-right {opacity: 1; transform: translateX(0);}
.hist-events {list-style: none; padding: 24px 28px; margin: 0; background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;}
.hist-events li {position: relative; padding: 8px 0 8px 72px; font-size: 0.92rem; line-height: 1.65; color: var(--text); border-bottom: 1px solid #f5f5f5;}
.hist-events li:last-child {border-bottom: none; padding-bottom: 0;}
.hist-events li:first-child {padding-top: 0;}
.hist-events li em {position: absolute; left: 0; top: 8px; font-style: normal; font-weight: 600; font-size: 0.82rem; color: var(--primary); font-family: 'Montserrat', sans-serif; width: 62px;}
.hist-events li:first-child em {top: 0;}
.hist-events li strong {color: var(--primary); font-weight: 700;}

/* 오시는길 지도 */
.map-wrap {border-radius: 8px; overflow: hidden; margin-top: 24px; background: var(--bg-light); height: 320px;}
.map-wrap iframe {width: 100%; height: 100%; border: 0;}

/* 스크롤 Reveal 애니메이션 */
[data-reveal] {opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(.23,1,.32,1), transform 0.7s cubic-bezier(.23,1,.32,1);}
[data-reveal].is-visible {opacity: 1; transform: translateY(0);}

/* 국내사업 탭 */
.dtab-bar {position: relative; margin-bottom: 36px; padding: 0;}
.dtab-scroll {display: flex; flex-wrap: wrap; gap: 8px;}
.dtab-btn {
  flex: 1;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
  text-align: center;
}
.dtab-btn:hover {background: var(--bg-light); border-color: #ccc;}
.dtab-btn.is-active {color: #fff; font-weight: 700; background: var(--primary); border-color: var(--primary);}
.dtab-panels { position: relative; }
.dtab-panel {display: none; animation: dtabFade 0.4s ease;}
.dtab-panel.is-active { display: block; }
@keyframes dtabFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 탭 콘텐츠 */
.dtab-detail {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch;}
.dtab-detail-body {min-width: 0;}
.dtab-detail-img {border-radius: 14px; overflow: hidden; min-width: 0; aspect-ratio: 4/3;}
.dtab-detail-img:has(img) {box-shadow: 0 4px 20px rgba(0,0,0,0.08);}
.dtab-detail-img:has(.intro-image-placeholder) {box-shadow: none;}
.img-placeholder {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-light); border-radius: 14px; color: var(--text-light); font-size: 0.9rem; font-weight: 500;}
.dtab-detail-img img {width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;}
.dtab-detail-body h4 {font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 10px;}
.dtab-detail-body p {font-size: 0.92rem; line-height: 1.85; color: var(--text); margin-bottom: 10px;}
.dtab-tag {display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--primary); background: var(--bg-light); padding: 4px 14px; border-radius: 20px; margin: 0 4px 16px 0;}
.container {max-width: 1200px; margin: 0 auto; padding: 0 24px;}

/* Quick Menu */
.quick-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.quick-menu.is-visible {opacity: 1; pointer-events: auto;}
.qm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  width: 72px;
  background: rgba(24,50,65,0.85);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.8);
  font-size: 0.65rem;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.qm-item:first-child {border-radius: 8px 8px 0 0;}
.qm-item:last-child {border-radius: 0 0 8px 8px;}
.qm-item:hover {background: var(--primary); color: #fff;}
.qm-item svg {width: 22px; height: 22px;}
.qm-chatbot {background: var(--primary); color: #fff;}
.qm-chatbot:hover {background: var(--primary-dark);}

/* Top Button */
.top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s;
  cursor: pointer;
  border: none;
}
.top-btn.is-visible {opacity: 1; pointer-events: auto;}
.top-btn:hover {background: var(--primary-dark);}
.top-btn svg {width: 20px; height: 20px;}

/* IDC Page */
.idc-intro {text-align: center; padding: 20px 0 60px;}
.idc-section-title {font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 16px;}
.idc-section-desc {font-size: 0.95rem; color: var(--text-light); line-height: 1.8;}
.idc-infra-section {background: var(--bg-light); padding: 60px 0; margin-bottom: 60px;}
.idc-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px;}
.idc-card {background: #fff; border-radius: 12px; padding: 32px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s;}
.idc-card:hover {transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1);}
.idc-card-icon {width: 48px; height: 48px; color: var(--primary); margin-bottom: 20px;}
.idc-card-icon svg {width: 100%; height: 100%;}
.idc-card-title {font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 16px;}
.idc-card-list {list-style: none; padding: 0;}
.idc-card-list li {font-size: 0.88rem; color: var(--text-light); padding: 6px 0; padding-left: 16px; position: relative;}
.idc-card-list li::before {content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); transform: translateY(-50%);}

/* 보안 & 관제 */
.idc-security-grid {display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; margin-bottom: 60px;}
.idc-sec-item {display: flex; gap: 20px; align-items: flex-start; padding: 28px; border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.3s;}
.idc-sec-item:hover {border-color: var(--primary);}
.idc-sec-num {font-family: var(--font-en); font-size: 1.5rem; font-weight: 800; color: var(--primary); flex-shrink: 0; line-height: 1;}
.idc-sec-item h4 {font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px;}
.idc-sec-item p {font-size: 0.88rem; color: var(--text-light); line-height: 1.6;}

/* 서비스 라인업 */
.idc-lineup-section {background: var(--bg-light); padding: 60px 0; margin-bottom: 60px;}
.idc-lineup-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px;}
.idc-lineup-card {background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.3s;}
.idc-lineup-card:hover {transform: translateY(-4px);}
.idc-lineup-card.featured {border: 2px solid var(--primary);}
.idc-lineup-header {font-family: var(--font-en); font-size: 1.2rem; font-weight: 800; text-align: center; padding: 20px; background: var(--dark); color: #fff;}
.idc-lineup-card.featured .idc-lineup-header {background: var(--primary);}
.idc-lineup-body {padding: 28px 24px;}
.idc-lineup-desc {font-size: 0.9rem; color: var(--text-light); text-align: center; margin-bottom: 20px; line-height: 1.6;}
.idc-lineup-body ul {list-style: none; padding: 0;}
.idc-lineup-body ul li {font-size: 0.88rem; color: var(--text); padding: 8px 0; padding-left: 20px; position: relative; border-bottom: 1px solid var(--border);}
.idc-lineup-body ul li:last-child {border-bottom: none;}
.idc-lineup-body ul li::before {content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700;}

/* KT IDC 센터 */
.idc-center-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;}
.idc-center-card {text-align: center; padding: 32px 20px; border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.3s, background 0.3s;}
.idc-center-card:hover {border-color: var(--primary); background: var(--bg-light);}
.idc-center-card h4 {font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px;}
.idc-center-card p {font-size: 0.85rem; color: var(--text-light);}

/* CTA */
.idc-cta {margin-top: 60px; padding: 60px 0; background: var(--dark); text-align: center;}
.idc-cta h3 {font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 12px;}
.idc-cta p {font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 28px;}
.idc-cta-btn {display: inline-block; padding: 14px 40px; background: var(--primary); color: #fff; font-size: 0.95rem; font-weight: 700; border-radius: 8px; transition: background 0.3s;}
.idc-cta-btn:hover {background: var(--primary-dark);}

/* 입주 절차 */
.colo-process {display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 32px; margin-bottom: 60px;}
.colo-step {text-align: center; flex: 1; max-width: 180px;}
.colo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.colo-step h4 {font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px;}
.colo-step p {font-size: 0.82rem; color: var(--text-light); line-height: 1.6;}
.colo-step-arrow {color: var(--border); font-size: 1.5rem; padding-top: 8px; flex-shrink: 0;}

/* IDC 반응형 */
@media (max-width: 1024px) {
  .idc-grid { grid-template-columns: repeat(2, 1fr); }
  .idc-lineup-grid { grid-template-columns: repeat(3, 1fr); }
  .idc-center-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .idc-grid { grid-template-columns: 1fr; }
  .idc-security-grid { grid-template-columns: 1fr; }
  .idc-lineup-grid { grid-template-columns: 1fr; }
  .idc-center-grid { grid-template-columns: repeat(2, 1fr); }
  .idc-section-title { font-size: 1.3rem; }
  .colo-process { flex-direction: column; align-items: center; gap: 8px; }
  .colo-step-arrow { transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .idc-center-grid { grid-template-columns: 1fr; }
}

/* About */
.about {padding: 100px 0; background: #fff;}

/* Business */
.business {padding: 100px 0; background: var(--bg-light);}

/* Campaign */
.campaign-img-wrap {position: relative;}
.campaign-full-img {position: relative; border-radius: 14px; overflow: hidden;}
.campaign-full-img img {width: 100%; display: block;}
.campaign-detail-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.campaign-detail-btn:hover {background: var(--primary);}
.campaign-img-center {display: flex; align-items: center; justify-content: center; aspect-ratio: auto;}
.campaign-detail-btn-center {top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%);}
.campaign-detail-btn-lg {padding: 16px 40px; font-size: 1.1rem;}

/* Campaign Support Box */
.campaign-support-box {margin-top: 28px; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px 24px; color: var(--text); overflow: hidden;}
.campaign-support-title {font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px dotted var(--border);}
.campaign-support-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;}
.campaign-support-item {display: flex; flex-direction: column; align-items: center; gap: 6px;}
.campaign-support-icon {width: 48px; height: 48px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; margin-bottom: 4px;}
.campaign-support-icon svg {width: 26px; height: 26px;}
.campaign-support-item strong {font-size: 0.82rem; font-weight: 700; line-height: 1.3;}
.campaign-support-item p {font-size: 0.75rem; line-height: 1.4; color: var(--text-light); margin: 0;}
.campaign-receipt {margin-top: 20px; padding-top: 16px; border-top: 1px dotted var(--border);}
.campaign-receipt-title {font-size: 1rem; font-weight: 700; margin-bottom: 10px;}
.campaign-receipt ul {list-style: none; padding: 0; margin: 0;}
.campaign-receipt li {font-size: 0.82rem; line-height: 1.7; color: var(--text-light); padding-left: 14px; position: relative;}
.campaign-receipt li::before {content: "\00B7"; position: absolute; left: 2px; font-weight: 700;}

@media (max-width: 768px) {
  .campaign-support-grid {grid-template-columns: repeat(2, 1fr); gap: 20px 12px;}
  .campaign-support-box {padding: 20px 16px;}
}
.campaign-modal {max-width: 900px; width: 90%;}
.campaign-modal-body {padding: 0;}
.campaign-modal-body img {width: 100%; display: block; border-radius: 0 0 12px 12px;}
.campaign-gallery-body {padding: 16px; max-height: 80vh; overflow-y: auto;}
.campaign-gallery-list {display: flex; flex-direction: column; gap: 12px;}
.campaign-gallery-list img {width: 100%; display: block; border-radius: 8px;}

/* Campaign Info Box */
.campaign-info-box {background: #f8f9fa; border-radius: 14px; padding: 40px; border: 1px solid var(--border);}
.campaign-info-section {margin-bottom: 28px;}
.campaign-info-section:last-child {margin-bottom: 0;}
.campaign-info-section p {font-size: 0.95rem; line-height: 1.8; color: var(--text);}
.campaign-info-label {font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px;}
.campaign-info-footer {margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border);}
.campaign-info-item {display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.95rem; color: var(--text);}
.campaign-info-icon {color: var(--primary); font-size: 0.8rem;}
.campaign-ars {display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap;}
.campaign-ars-label {display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; letter-spacing: 0.05em;}
.campaign-ars-number {font-size: 1.3rem; font-weight: 800; color: var(--primary); letter-spacing: 0.02em;}
.campaign-ars-desc {width: 100%; font-size: 0.82rem; color: var(--text-light); margin-top: 4px;}

@media (max-width: 768px) {
  .campaign-info-box {padding: 24px 18px;}
  .campaign-info-section p {font-size: 0.88rem;}
  .campaign-ars-number {font-size: 1.1rem;}
}

.campaign {padding: 100px 0; background: #fff;}

/* Campaign SUB Page */
.campaign-section {margin-bottom: 60px;}
.campaign-section-title {font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 28px; padding-bottom: 12px; border-bottom: 2px solid var(--primary);}

/* Resources */
.resources {padding: 100px 0; background: var(--bg-light);}

/* 북한사업 */
.nk-columns {display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px;}
.nk-col .intro-text p {font-size: 0.92rem; color: var(--text); line-height: 1.9; margin-bottom: 16px;}
.nk-col .intro-text p:last-child {margin-bottom: 0;}
.nk-gallery {display: grid; grid-template-columns: 1fr 1fr; gap: 24px;}
.nk-gallery-item {border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.06);}
.nk-slider {position: relative; overflow: hidden;}
.nk-slider-track {display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);}
.nk-slide {width: 100%; flex-shrink: 0; aspect-ratio: 16/9;}
.nk-slide img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
.nk-slider-dots {position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px;}
.nk-dot {width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; transition: background 0.3s;}
.nk-dot.is-active {background: #fff;}

/* 연대 이미지 */
.nk-columns .nk-col {display: flex; flex-direction: column;}
.alliance-desc {font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 20px;}
.alliance-images {display: flex; flex-direction: column; gap: 16px; margin-top: auto;}
.alliance-img {border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); aspect-ratio: 16/10;}
.alliance-img img {width: 100%; height: 100%; object-fit: cover; object-position: center;}

/* 기획 페이지 */
.planning-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 48px;}
.planning-item {display: flex; flex-direction: column;}
.planning-slider {position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-top: auto;}
.planning-slider-track {display: flex; transition: transform 0.5s ease;}
.planning-slide {min-width: 100%; aspect-ratio: 16/10;}
.planning-slide img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
.planning-slider-dots {position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px;}
.planning-dot {width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.3s;}
.planning-dot.is-active {background: #fff;}

/* 일반 게시판 */
/* List Card */
.list-card-wrap {display: flex; flex-direction: column; gap: 0;}
.list-card {display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #eee; text-decoration: none; color: var(--text); transition: background 0.15s;}
.list-card:first-child {border-top: 2px solid var(--dark);}
.list-card:hover {background: #fafafa;}
.list-card-num {font-family: var(--font-en); font-size: 0.85rem; color: var(--text-light); min-width: 40px; text-align: center; flex-shrink: 0;}
.list-card-body {flex: 1; min-width: 0;}
.list-card-title {font-size: 0.95rem; font-weight: 600; color: var(--dark); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.list-card-desc {font-size: 0.82rem; color: var(--text-light); line-height: 1.5; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
.list-card-meta {display: flex; gap: 12px; flex-shrink: 0; align-items: center;}
.list-card-meta span {font-size: 0.78rem; color: #aaa; font-family: var(--font-en); white-space: nowrap;}
.list-card-tag {display: inline-block; font-size: 0.7rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 2px 8px; border-radius: 10px; margin-bottom: 4px;}

.board-header {display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 0.88rem; color: var(--text-light);}
.board-header strong {color: var(--primary); font-weight: 700;}
.board-table {overflow-x: auto;}
.board-table table {width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.6;}
.board-table th {background: #f0f0f0; color: #555; font-weight: 600; padding: 13px 16px; text-align: center; font-size: 0.88rem; white-space: nowrap;}
.board-table td {padding: 13px 16px; border-bottom: 1px solid #eee; color: var(--text); vertical-align: middle;}
.board-table td:first-child {text-align: center; color: var(--text-light); font-family: var(--font-en); font-size: 0.85rem; width: 60px;}
.board-table td:last-child {text-align: center; color: #aaa; font-family: var(--font-en); font-size: 0.82rem; width: 110px; white-space: nowrap;}
.board-table td:nth-child(2) {cursor: pointer;}
.board-table td:nth-child(2):hover {color: var(--primary);}
.board-table tbody tr:hover {background: #fafafa;}
.board-pagination {display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 32px;}
.board-pagination a,
.board-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 0.85rem;
  font-family: var(--font-en);
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s;
}
.board-pagination a:hover {border-color: #1a3a6b; color: #1a3a6b;}
.board-pagination .is-active {background: #1a3a6b; border-color: #1a3a6b; color: #fff; font-weight: 700;}
.board-pagination .pg-prev,
.board-pagination .pg-next {font-size: 0.78rem;}
.board-footer {display: flex; align-items: center; justify-content: center; position: relative; margin-top: 32px;}
.board-footer .board-pagination {margin-top: 0;}
.board-write-btn {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 4px;
  transition: background 0.2s;
}
.board-write-btn:hover {background: var(--primary-dark); color: #fff;}

/* 갤러리 게시판 */
.gallery-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;}
.gallery-card {background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;}
.gallery-card:hover {transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1);}
.gallery-thumb {aspect-ratio: 4/3; background: var(--bg-light); overflow: hidden;}
.gallery-thumb img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;}
.gallery-card:hover .gallery-thumb img {transform: scale(1.05);}
.gallery-thumb-placeholder {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 0.85rem;}
.gallery-info {padding: 16px 18px;}
.gallery-info h4 {font-size: 0.92rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.gallery-info time {font-family: var(--font-en); font-size: 0.78rem; color: #aaa;}

/* 영상 게시판 */
.video-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;}
.video-card {display: block; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s;}
.video-card:hover {transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1);}
.video-thumb {position: relative; aspect-ratio: 16/9; background: #222; overflow: hidden;}
.video-thumb img {width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s, transform 0.4s;}
.video-card:hover .video-thumb img {opacity: 1; transform: scale(1.05);}
.video-thumb-placeholder {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #2a2a2a; color: #555; font-size: 0.82rem;}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.video-card:hover .video-play-btn {background: rgba(255,0,0,0.85); transform: translate(-50%, -50%) scale(1.1);}
.video-play-btn svg {width: 22px; height: 22px; fill: #fff; margin-left: 3px;}
.video-info {padding: 16px 18px;}
.video-info h4 {font-size: 0.92rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.video-info time {font-family: var(--font-en); font-size: 0.78rem; color: #aaa;}

/* Footer */
.footer {background: #2b2b2b; color: rgba(255,255,255,0.65); font-size: 0.85rem;}
.footer-inner {max-width: 1200px; margin: 0 auto; padding: 0 24px;}

/* Footer Link Bar */
.footer-top {display: flex; align-items: center; justify-content: space-between; gap: 0; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12);}
.footer-logo-text {display: none;}
.footer-links {display: flex; align-items: center; gap: 0;}
.footer-links a {font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.75); padding: 0 16px; border-right: 1px solid rgba(255,255,255,0.15); transition: color 0.2s;}
.footer-links a:last-child {border-right: none;}
.footer-links a:first-child {color: #fff; font-weight: 700; padding-left: 0;}
.footer-links a:hover { color: #fff; }

/* Footer Bottom - 2 column */
.footer-bottom {padding: 28px 0; display: flex; justify-content: space-between; align-items: flex-start;}
.footer-info .footer-org-name {display: block; font-size: 1.25rem; font-weight: 800; color: rgba(255,255,255,0.55); margin-bottom: 6px;}
.footer-info p {font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.55);}
.footer-copyright {opacity: 0.7;}
.footer-contact {text-align: right; flex-shrink: 0;}
.footer-contact .contact-tel {font-size: 1.5rem; font-weight: 800; color: #fff; font-family: var(--font-en); display: block; margin-bottom: 6px;}
.footer-contact p {font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.55);}
.footer-partner img {height: 36px; width: auto; opacity: 0.6;}
.footer-social {display: flex; gap: 12px;}
.footer-social a {width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: all 0.2s;}
.footer-social a:hover {border-color: var(--primary); color: var(--primary);}
.footer-banners {display: flex; align-items: stretch; gap: 20px; margin-top: 5px;}
.footer-banners a {display: block; height: 60px; opacity: 0.7; transition: opacity 0.2s; border: 1px solid #555; border-radius: 4px; overflow: hidden;}
.footer-banners a:hover {opacity: 1;}
.footer-banners img {height: 100%; width: auto; display: block;}
.footer-powered {flex-shrink: 0; display: flex; align-items: center; gap: 4px;}
.footer-powered span,
.footer-powered a {font-family: var(--font-en); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;}
.footer-powered span {color: rgba(255,255,255,0.35);}
.footer-powered a {color: #fff; transition: color 0.2s;}
.footer-powered a:hover { color: var(--primary); }

/* Responsive: Sub-side-nav Hide */
@media (max-width: 1340px) {
  .sub-side-nav { display: none; }
}

/* Write Modal */
.modal-overlay {display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, 0.5); align-items: center; justify-content: center;}
.modal-overlay.is-open {display: flex;}
.modal {background: #fff; border-radius: 8px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);}
.modal-header {display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #eee;}
.modal-header h3 {font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0;}
.modal-close {background: none; border: none; font-size: 1.5rem; color: #999; cursor: pointer; line-height: 1; padding: 0;}
.modal-close:hover {color: var(--text);}
.modal-body {padding: 24px;}
.modal-field {margin-bottom: 20px;}
.modal-field:last-child {margin-bottom: 0;}
.modal-field label {display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 8px;}
.modal-input {width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.92rem; color: var(--text); box-sizing: border-box; transition: border-color 0.2s;}
.modal-input:focus {outline: none; border-color: var(--primary);}
.modal-textarea {
  width: 100%;
  min-height: 200px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--text);
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.2s;
}
.modal-textarea:focus {outline: none; border-color: var(--primary);}
.modal-file {font-size: 0.88rem; color: var(--text-light);}
.modal-footer {display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid #eee;}
.modal-btn-cancel {padding: 9px 22px; font-size: 0.88rem; font-weight: 600; color: var(--text); background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; transition: background 0.2s;}
.modal-btn-cancel:hover {background: #eee;}
.modal-btn-submit {padding: 9px 22px; font-size: 0.88rem; font-weight: 600; color: #fff; background: var(--primary); border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s;}
.modal-btn-submit:hover {background: var(--primary-dark);}
.modal-footer-between {justify-content: space-between;}
.modal-footer-left {display: flex; gap: 8px;}
.modal-btn-edit {padding: 9px 22px; font-size: 0.88rem; font-weight: 600; color: var(--primary); background: #fff; border: 1px solid var(--primary); border-radius: 4px; cursor: pointer; transition: all 0.2s;}
.modal-btn-edit:hover {background: var(--primary); color: #fff;}
.modal-btn-delete {padding: 9px 22px; font-size: 0.88rem; font-weight: 600; color: #e74c3c; background: #fff; border: 1px solid #e74c3c; border-radius: 4px; cursor: pointer; transition: all 0.2s;}
.modal-btn-delete:hover {background: #e74c3c; color: #fff;}

/* Gallery Modal */
.modal-gallery {max-width: 800px;}
.modal-gallery .modal-body {padding: 0;}
.gallery-modal-main {width: 100%; aspect-ratio: 16/10; background: #f5f5f5; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;}
.gallery-modal-main img {width: 100%; height: 100%; object-fit: contain;}
.gallery-modal-main .gallery-placeholder {color: #bbb; font-size: 1rem;}
.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-modal-nav:hover {background: rgba(0,0,0,0.7);}
.gallery-modal-prev { left: 12px; }
.gallery-modal-next { right: 12px; }
.gallery-modal-thumbs {display: flex; gap: 8px; padding: 12px 24px; background: #fafafa; border-top: 1px solid #eee; overflow-x: auto;}
.gallery-modal-thumbs img {width: 72px; height: 54px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s;}
.gallery-modal-thumbs .is-active {border-color: var(--primary); opacity: 1;}
.gallery-modal-thumbs .thumb-placeholder {
  width: 72px;
  height: 54px;
  background: #eee;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #bbb;
  flex-shrink: 0;
  transition: all 0.2s;
}
.gallery-modal-thumbs .thumb-placeholder.is-active {border-color: var(--primary); opacity: 1;}
.gallery-modal-info {padding: 16px 24px;}
.gallery-modal-info h4 {font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px;}
.gallery-modal-info time {font-size: 0.82rem; color: #999; font-family: var(--font-en);}
.gallery-modal-counter {position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.5); color: #fff; font-size: 0.78rem; padding: 3px 10px; border-radius: 12px; font-family: var(--font-en);}

/* Overview Button */
.board-overview-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 4px;
  transition: all 0.2s;
}
.board-overview-btn:hover {background: var(--primary); color: #fff;}

/* View Modal */
.modal-view {max-width: 720px;}

/* Wide Modal */
.modal-wide {max-width: 960px;}
.modal-wide .modal-body {padding: 0 24px; max-height: 70vh; overflow-y: auto;}
.modal-wide .modal-body table {width: 100%; border-collapse: collapse; font-size: 0.88rem; line-height: 1.6;}
.modal-wide .modal-body thead {position: sticky; top: 0; z-index: 1;}
.modal-wide .modal-body th {background: var(--dark); color: #fff; font-weight: 600; padding: 11px 14px; white-space: nowrap; font-size: 0.84rem;}
.modal-wide .modal-body td {padding: 10px 14px; border-bottom: 1px solid #f0f0f0; color: var(--text); vertical-align: middle;}
.modal-wide .modal-body tbody tr:hover {background: #fafafa;}
.modal-wide .modal-body td:first-child {text-align: center; white-space: nowrap; color: #999; font-family: var(--font-en); font-size: 0.82rem;}
.modal-wide .modal-body td:nth-child(2) {text-align: center; white-space: nowrap; font-weight: 600; font-size: 0.84rem;}
.modal-meta {padding: 0 24px 16px; font-size: 0.82rem; color: #999; border-bottom: 1px solid #eee;}
.modal-content {font-size: 0.94rem; line-height: 1.8; color: var(--text); white-space: pre-line;}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .gnb li > a { padding: 0 16px; font-size: 0.88rem; }
  .intro-grid { gap: 32px; }

  /* Main hero tablet */
  .hero-inner { flex-direction: column; }
  .hero-slider-box { width: 100%; height: 400px; }
  .hero-sidebar { display: none; }
  .hero-bg-pattern { top: 200px; }

  /* Banners tablet */
  .related-banner-row { flex-wrap: wrap; }
  .related-banner-link { flex: 1 1 calc(50% - 8px); }

  /* 타임라인 태블릿 */
  .hist-timeline::before { left: calc(200px + 20px); }
  .hist-left { width: 200px; }
  .hist-year { font-size: 2.2rem; }
  .hist-thumb { width: 160px; height: 100px; }

  /* 국내사업 탭 태블릿 */
  .dtab-detail { gap: 32px; }

  /* 게시판 태블릿 */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .hero-video { display: none; }
  .hero-video-mobile { display: block; }
  .header-right {margin-left: auto;}
  .profile {display: none;}
  .header-icon-btn .hamburger-lines {display: flex; flex-direction: column; gap: 5px;}
  .header-icon-btn .hamburger-lines span {display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 1px;}

  .gnb {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 22px 28px 40px;
    transition: right 0.35s ease;
    z-index: 2000;
    transform: none;
    left: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .gnb.open { right: 0; }
  .gnb-brand {display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e8e8e8; font-size: 1.2rem; font-weight: 800; color: var(--primary); font-family: var(--font-en);}
  .gnb ul {flex-direction: column; gap: 0;}
  .gnb-menu > li {position: relative; border-bottom: 1px solid #eee;}
  .gnb-menu > li > a {display: block; padding: 10px 0; font-size: 1rem; color: var(--dark); line-height: 1.3; border-bottom: none;}
  .gnb-menu > li > a:hover { color: var(--primary); }
  .gnb-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 8px; right: 0;
    width: 36px; height: 36px;
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
  }
  .gnb-toggle:hover {background: var(--bg-light); color: var(--primary);}
  .gnb-sub {
    display: flex !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
  }
  .gnb-sub.is-open {padding-bottom: 12px;}
  .gnb-sub li {border: none;}
  .gnb-sub li a {display: block; padding: 3px 0; font-size: 0.85rem; color: var(--text-light); border-bottom: none !important; line-height: 1.3; background: none;}
  .gnb-sub li a:hover {color: var(--primary); background: none;}
  .mega-menu { display: none; }
  .gnb-close {display: block; position: absolute; top: 24px; right: 20px; font-size: 1.6rem; color: var(--text-light); line-height: 1;}
  .gnb-copyright {display: block; margin-top: auto; font-size: 0.72rem; color: var(--text-light); font-family: var(--font-en);}
  .header-inner { padding: 0 16px; }
  .header-logo-text { font-size: 0.95rem; }
  .header-unesco-text { display: none; }
  .lang-btn { padding: 5px 10px; font-size: 0.7rem; }

  /* Main hero mobile */
  .main-hero { padding-top: 32px; padding-bottom: 48px; }
  .hero-slider-box { height: 300px; }
  .hero-slider-box .slide-overlay { padding: 24px 20px; }
  .slide-caption h2 { font-size: 1.6rem; }
  .slide-caption p { font-size: 0.88rem; }
  .hero-bg-pattern { top: 120px; }
  .hero-shortcuts { gap: 12px; }
  .hero-shortcut { width: 88px; padding: 14px 8px; }
  .hero-shortcut-icon { width: 40px; height: 40px; }
  .hero-shortcut-icon svg { width: 20px; height: 20px; }
  .hero-shortcut-label { font-size: 0.75rem; }

  /* News mobile */
  .news-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }

  /* Related banners mobile */
  .related-banner-row { flex-wrap: wrap; }
  .related-banner-link { flex: 1 1 calc(50% - 8px); padding: 14px 12px; }
  .related-banner-link img { max-height: 32px; }
  .quick-menu { display: none; }
  .top-btn { right: 16px; bottom: 16px; width: 40px; height: 40px; }
  .sub-hero { height: 65px; }
  .sub-hero-title { font-size: 1.4rem; line-height: 1; margin-bottom: 3px; }
  .sub-hero-desc { font-size: 0.75rem; }
  .sub-hero-desc { font-size: 0.7rem; }
  .sub-hero-inner { padding: 0 24px; }
  .sub-page-content { padding: 30px 0 50px; }
  .sub-page-content .container { padding: 0 16px; }
  .sub-title-text { font-size: 1.2rem; margin-bottom: 24px; padding-bottom: 12px; }
  .ceo-top { flex-direction: column; text-align: center; }
  .ceo-columns { grid-template-columns: 1fr; gap: 0; }
  .history-group { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .history-year { font-size: 1.5rem; }
  .history-list li { flex-direction: column; gap: 2px; }
  .history-date { width: auto; }
  .vision-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .branch-head { grid-template-columns: 1fr; gap: 20px; }
  .branch-img-placeholder { min-height: 120px; }
  .branch-tab { padding: 8px 14px; font-size: .82rem; }
  .branch-body-grid { grid-template-columns: 1fr; }
  .biz-highlight-grid { grid-template-columns: 1fr; }
  .volunteer-layout { grid-template-columns: 1fr; }
  .volunteer-left { order: 1; }
  .volunteer-right { order: 2; }
  .volunteer-submit { order: 3; }
  .form-row { grid-template-columns: 1fr; }
  .form-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-label { min-width: auto; }
  .form-input-phone { width: 60px; }
  .branch-gallery { grid-template-columns: repeat(2, 1fr); }
  .org-layout { grid-template-columns: 1fr; }
  .org-row-3 { max-width: 100%; gap: 8px; }
  .org-row-split { flex-direction: column; align-items: center; }
  .org-branch { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .org-box { padding: 10px 16px; font-size: .82rem; }
  .org-row-branches { gap: 8px; }
  .org-row-branches::before { left: 5%; right: 5%; }
  .intro-section { padding: 24px 0; }
  .intro-title { font-size: 1.3rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .greeting-card,
  .greeting-card:nth-child(even) { flex-direction: column; }
  .greeting-photo { width: 140px; height: 170px; }
  .greeting-divider { margin: 12px auto 16px; }
  .intro-image { aspect-ratio: 16/9; }
  .intro-slider-track { display: block; }
  .intro-slider-track .intro-slide { margin-bottom: 32px; }
  .intro-slider-track .intro-slide:last-child { margin-bottom: 0; }
  .intro-slide .intro-image { display: block; aspect-ratio: 16/9; min-height: auto; }
  .slide-controls { display: none; }
  .intro-slider .intro-header { padding-right: 0; }
  .ppl-staff-grid { grid-template-columns: repeat(2, 1fr); }

  /* 타임라인 모바일 */
  .hist-timeline::before { left: 20px; }
  .hist-year-block { flex-direction: column; gap: 0; }
  .hist-left {width: 100%; text-align: left; padding-right: 0; padding-left: 46px; display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px;}
  .hist-year { font-size: 1.8rem; margin-bottom: 0; margin-top: 8px; }
  .hist-thumb { width: 120px; height: 80px; margin-left: auto; flex-shrink: 0; }
  .hist-center {position: absolute; left: 0; top: 6px; width: 42px;}
  .hist-right { padding-left: 46px; }
  .hist-events { padding: 16px 18px; }
  .hist-events li { padding-left: 56px; font-size: 0.85rem; }
  .hist-events li em { width: 48px; font-size: 0.78rem; }
  .location-info { grid-template-columns: 1fr; gap: 16px; }
  .location-info-card { padding: 18px; }
  .map-wrap { height: 240px; }

  /* 국내사업 탭 모바일 */
  .dtab-btn { font-size: 0.82rem; }
  .dtab-detail { grid-template-columns: 1fr; gap: 20px; }
  .dtab-detail-img { aspect-ratio: 4/3; }
  .hero-title { font-size: 1.8rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-tab-bar { bottom: 24px; }
  .hero-tab { padding: 8px 16px; font-size: 0.8rem; }

  /* 북한사업 모바일 */
  .nk-columns { grid-template-columns: 1fr; gap: 32px; }
  .nk-gallery { grid-template-columns: 1fr; }
  .planning-grid { grid-template-columns: 1fr; gap: 32px; }
  .ppl-staff-grid { grid-template-columns: 1fr; }

  /* 게시판 모바일 */
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .board-table th:first-child,
  .board-table td:first-child { display: none; }
  .board-table td:last-child { width: 80px; font-size: 0.75rem; }
  .modal-wide .modal-body th:first-child,
  .modal-wide .modal-body td:first-child { display: none; }

  /* Footer mobile */
  .footer-top { flex-direction: column; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 0; justify-content: flex-start; }
  .footer-links a { padding: 4px 10px; font-size: 0.78rem; }
  .footer-bottom {flex-direction: column; align-items: center; text-align: center; gap: 20px;}
  .footer-contact { text-align: center; }
}

/* Responsive: Small Mobile */
@media (max-width: 480px) {
  .sub-hero { height: 55px; }
  .sub-hero-title { font-size: 1.2rem; line-height: 1; margin-bottom: 2px; }
  .sub-hero-desc { font-size: 0.7rem; }
  .sub-hero-inner { padding: 0 20px; }
  .hero-title { font-size: 1.5rem; }
  .hero-sub { font-size: 0.8rem; }
  .hero-tab { padding: 7px 12px; font-size: 0.75rem; }
  .section-title { font-size: 1.5rem; }
  .related-banner-link { padding: 12px 8px; }
  .related-banner-link img { max-height: 28px; }
  .slide-caption h2 { font-size: 1.3rem; }

  /* Hero small mobile */
  .hero-slider-box { height: 240px; }
  .hero-shortcuts { flex-direction: row; }
  .hero-shortcut { width: 80px; padding: 12px 6px; }
  .hero-shortcut-label { font-size: 0.7rem; }
}
