﻿@font-face {
  font-family: 'Manse';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/Manse.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

@import url('https://webfontworld.github.io/sandoll/GaegodingGothic.css');

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { margin: 0 !important; padding: 0 !important; }

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  background: #0c1e3f;
}

/* ═══ 히어로 ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* background: url('/images/hero_bgi.png') center center / cover no-repeat; */
  z-index: 0;
}

.hero-bg::after {
  content: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, #1a4490, transparent);
  z-index: 2;
  pointer-events: none;
}

/* ── 네비 ── */
.site-nav {
  position: relative;
  z-index: 20;
  width: 100%;
}
.sub-nav {
  background: #29a8e0;
}

.site-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav-group.right { justify-content: flex-end; }

.nav-group a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color .2s;
}

.nav-group a:hover { color: #fff; }

.nav-logo {
  flex-shrink: 0;
  padding: 0 40px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'GaegodingGothic', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-logo-text .nav-year {
  color: #fff;
  font-size: 0.85em;
  margin-right: 6px;
}

/* ── 히어로 바디 ── */
.hero-body {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  padding: 40px 20px 100px;
}

@keyframes logoPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.hero-main-logo {
  width: clamp(160px, 22vw, 320px);
  height: auto;
  display: block;
  animation: logoPulse 15s ease-in-out infinite;
  transform-origin: center;
}

.hero-slogan {
  font-family: 'GaegodingGothic', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.8rem);
  font-weight: 800;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  margin: -8px 0 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-title {
  font-family: 'Manse', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.25);
}

.hero-title .year {
  display: block;
  font-family: 'Manse', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.hero-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: clamp(0.82rem, 1.8vw, 0.98rem);
  font-weight: 500;
}

.hero-info-dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
}

/* ── 카운트다운 ── */
.countdown-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cd-caption {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  align-items: stretch;
  gap: 4px;
  /* background: rgba(0,0,0,0.4); */
  /* border: 1px solid rgba(255,255,255,0.07); */
  border-radius: 10px;
  padding: 10px 14px;
  /* backdrop-filter: blur(10px); */
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.cd-digits { display: flex; gap: 3px; }

.cd-digit {
  background: #fff;
  color: #0f2040;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 800;
  width: clamp(28px, 4vw, 40px);
  height: clamp(36px, 5vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: none;
  position: relative;
  line-height: 1;
  box-shadow: none;
}

.cd-digit::after {
  display: none;
}

.cd-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-sep {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  align-self: flex-start;
  margin-top: clamp(5px, 1vw, 9px);
  padding: 0 2px;
  line-height: 1;
}

/* ── CTA ── */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #29a8e0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 28px rgba(41,168,224,0.3);
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: 6px;
}

.hero-cta:hover {
  background: #1a92c8;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(41,168,224,0.42);
}

/* ═══ 후원사 ═══ */
.sponsors-section {
  position: relative;
  z-index: 10;
  background: #f8fafc;
  padding: 56px 20px 70px;
  border-top: 1px solid #e2e8f0;
}

.section-header-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-main-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f2040;
  letter-spacing: -0.02em;
}

.section-main-title i {
  color: #29a8e0;
  font-size: 1.1em;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 36px;
  min-width: 150px;
  min-height: 80px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.sponsor-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #29a8e0;
}

.sponsor-item img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  transition: filter .2s, opacity .2s;
}

.sponsor-item:hover img { filter: brightness(1.05); }

.sponsor-item .sponsor-name {
  font-size: .85rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

/* ── 반응형 ── */
@media (max-width: 900px) {
  .site-nav-inner { padding: 0 24px; }
  .nav-group { gap: 18px; }
  .nav-logo { padding: 0 20px; }
  .nav-logo img { height: 34px; }
}

/* ── 햄버거 버튼 ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 메뉴 패널 ── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(22, 61, 128, 0.98);
  backdrop-filter: blur(12px);
  z-index: 100;
  flex-direction: column;
  padding: 8px 0 0;
  overflow-y: auto;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .15s, background .15s;
}

.nav-mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }

.nav-mobile-sns {
  margin-top: auto;
  display: flex;
  gap: 16px;
  padding: 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile-sns a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.nav-mobile-sns a:hover {
  transform: scale(1.1);
  background: unset;
  color: unset;
}
.nav-mobile-sns .msns-insta {
  background: radial-gradient(circle at 30% 110%, #ffdb3b 0%, #ff543e 40%, #c837ab 80%);
  color: #fff;
}
.nav-mobile-sns .msns-kakao {
  background: #FEE500;
  color: #3A1D1D;
}

/* ═══ 대회안내 섹션 ═══ */
.event-info-section {
  background: #fff;
  padding: 80px 20px;
}

.event-info-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.event-info-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #29a8e0;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.event-info-title {
  font-family: 'Manse', 'Pretendard Variable', Pretendard, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #0f2040;
  line-height: 1.1;
  margin-bottom: 14px;
}

.event-info-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #64748b;
  font-weight: 500;
}

/* 대회 정보 테이블 */
.event-details {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ev-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.ev-row:last-child { border-bottom: none; }

.ev-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #29a8e0;
  letter-spacing: 0.06em;
  white-space: nowrap;
  min-width: 90px;
  padding-top: 2px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ev-label i {
  font-size: 1rem;
  color: #29a8e0;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.ev-value {
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.6;
}

.ev-value strong { font-weight: 700; color: #0f2040; }

.ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.ev-tag {
  display: inline-block;
  background: #29a8e0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #1E4D9C;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f2040;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.65;
}

.feature-note {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ═══ 페이서 섹션 ═══ */
.pacer-section {
  background: #7ed8ff;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}
.pacer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.pacer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.pacer-header {
  text-align: center;
  margin-bottom: 56px;
}

.pacer-header .section-main-title {
  color: #fff;
}

.pacer-subtitle {
  margin-top: 16px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(48, 47, 47, 0.55);
  font-weight: 700;
  line-height: 1.7;
}

.pacer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pacer-card {
  border-radius: 16px;
  overflow: hidden;
  background: #1a2f54;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
}

.pacer-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.pacer-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  flex-wrap: wrap;
  gap: 4px;
}

.pacer-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  width: 100%;
}

.pacer-insta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #29a8e0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color .15s;
  width: 100%;
}

.pacer-insta:hover { color: #fff; }

.pacer-insta i { font-size: 1.1rem; }

/* ═══ 광화문페이싱 갤러리 ═══ */
.gallery-section {
  background: #f0f4f8;
  padding: 90px 20px;
  overflow: hidden;
}

.gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-subtitle {
  margin-top: 12px;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: #64748b;
  line-height: 1.7;
}

.gallery-subtitle strong {
  color: #1E4D9C;
  font-weight: 700;
}

.gallery-swiper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.gallery-single {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}
.gallery-single img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.gallery-slide {
  flex-shrink: 0;
  width: calc(25% - 12px);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

@media (max-width: 900px) {
  .gallery-slide { width: calc(50% - 8px); }
}

@media (max-width: 480px) {
  .gallery-slide { width: 100%; }
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.gallery-slide:hover img { transform: scale(1.04); }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}

.gallery-dot.active {
  background: #1E4D9C;
  transform: scale(1.3);
}



/* ═══ 코스안내 섹션 ═══ */
/* ═══ 코스안내 섹션 ═══ */
.course-section {
  background: #f8fafc;
  padding: 90px 20px;
}
.course-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.course-header {
  text-align: center;
  margin-bottom: 48px;
}
.course-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #475569;
  margin-top: 14px;
  line-height: 1.8;
}
.course-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.course-tab-btn {
  padding: 11px 30px;
  border-radius: 999px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.course-tab-btn:hover { border-color: #29a8e0; color: #29a8e0; }
.course-tab-btn.active { background: #29a8e0; border-color: #29a8e0; color: #fff; }
.course-pane { display: none; }
.course-pane.active { display: block; }

/* 지도 — 1줄 전체 너비 */
.course-map-wrap {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid #bfdbfe;
}
.course-map-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.course-map-placeholder {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.course-map-placeholder i { font-size: 4rem; color: #93c5fd; }
.course-map-placeholder span { font-size: 1rem; font-weight: 700; color: #3b82f6; }

/* 코스 정보 2단 레이아웃 */
.course-info-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
}
.course-stats-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* 코스 통계 — 2열 2행 */
.course-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
}
.course-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(30,77,156,.06);
  border: 1px solid #e2e8f0;
}
.course-stat-card .stat-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #1E4D9C; font-size: 1rem;
}
.course-stat-card .stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.course-stat-card .stat-label {
  font-size: 0.7rem; color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.course-stat-card .stat-value {
  font-size: 1.05rem; font-weight: 800;
  color: #0f2040; line-height: 1.2;
  white-space: nowrap;
}
.course-stat-card .stat-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.course-stat-card .stat-badge {
  display: inline-block;
  padding: 1px 9px;
  background: #dbeafe; color: #1E4D9C;
  border-radius: 999px; font-size: 0.68rem; font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 코스 특징 */
.course-features {
  flex: 1;
  min-width: 0;
  background: #fff; border-radius: 16px;
  padding: 26px 28px; border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(30,77,156,.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.course-features-title {
  font-size: 0.95rem; font-weight: 800; color: #0f2040;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.course-features-title i { color: #1E4D9C; }
.course-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px; list-style: none;
}
.course-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: #334155; line-height: 1.5;
}
.course-feature-list li i { color: #1E4D9C; flex-shrink: 0; margin-top: 3px; font-size: 0.85rem; }

/* 대회장소 탭 */
.venue-map-wrap {
  width: 100%; height: 420px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid #e2e8f0; background: #dbeafe;
  margin-bottom: 28px;
}
.venue-map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.venue-info-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.venue-info-card {
  background: #fff; border-radius: 16px;
  padding: 20px 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid #e2e8f0;
  display: flex; flex-direction: column; gap: 6px;
}
.venue-info-card .vi-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: .06em;
}
.venue-info-card .vi-label i { color: #1E4D9C; font-size: 0.9rem; }
.venue-info-card .vi-value {
  font-size: 0.93rem; color: #0f2040;
  font-weight: 600; line-height: 1.5;
}
@media (max-width: 900px) {
  .course-info-layout { grid-template-columns: 1fr; gap: 16px; }
  .venue-info-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .course-section { padding: 60px 20px; }
  .course-map-wrap { height: 240px; }
  .venue-map-wrap { height: 280px; }
  .course-tabs { gap: 6px; }
  .course-tab-btn { padding: 8px 18px; font-size: 0.88rem; }
  .course-features { padding: 20px; }
  .course-stats-row, .venue-info-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── 반응형 ── */
@media (max-width: 1000px) {
  .nav-group { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  .nav-logo { padding: 0; }
  .countdown { padding: 12px 14px; gap: 4px; }
  .hero-body { gap: 18px; }
  .hero-main-logo { width: 58vw; max-width: 280px; }
  .hero-slogan { font-size: clamp(1.25rem, 5.5vw, 1.6rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .pacer-grid { grid-template-columns: repeat(2, 1fr); }
  .event-info-section { padding: 56px 20px; }
  .pacer-section { padding: 60px 20px; }
  .event-details { padding: 20px; }
  .ev-label { min-width: 70px; font-size: 0.85rem; }
  .ev-value { font-size: 0.95rem; }
  .sponsor-item { min-width: 120px; padding: 16px 24px; }
}

/* ═══ 시상 및 기념품 섹션 ═══ */
.award-section {
  background: linear-gradient(180deg, #f0f4f8 0%, #fff 100%);
  padding: 90px 20px;
}
.award-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.award-header {
  text-align: center;
  margin-bottom: 52px;
}
.award-header .section-label {
  margin-bottom: 10px;
}

/* 섹션 구분 타이틀 */
.award-block {
  margin-bottom: 48px;
}
.award-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f2040;
  margin-bottom: 16px;
}
.award-block-title i {
  color: #29a8e0;
}

/* 테이블 공통 */
.award-table-scroll {
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30,77,156,.08);
}
.award-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 580px;
  background: #fff;
}
.award-table thead tr {
  background: #29a8e0;
}
.award-table thead th {
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.award-table thead th:first-child { border-radius: 18px 0 0 0; }
.award-table thead th:last-child  { border-radius: 0 18px 0 0; }

.award-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.award-table tbody tr:last-child { border-bottom: none; }
.award-table tbody tr:hover { background: #f8fafc; }
.award-table tbody tr.row-top1 { background: #fffbeb; }
.award-table tbody tr.row-top2 { background: #f8fafc; }
.award-table tbody tr.row-top3 { background: #fff5f5; }
.award-table tbody tr.row-top1:hover { background: #fef9d7; }
.award-table tbody tr.row-top2:hover { background: #edf2f7; }
.award-table tbody tr.row-top3:hover { background: #ffe4e4; }

.award-table tbody td {
  padding: 14px 20px;
  text-align: center;
  color: #334155;
  font-weight: 500;
}
.award-table tbody td.rank-cell {
  width: 100px;
  font-weight: 700;
}
.award-table tbody td .prize-amt {
  font-weight: 700;
  color: #0f2040;
}
.award-table tbody td .dash { color: #cbd5e1; }

/* 순위 배지 */
.rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.rank-pill.r1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,.35);
}
.rank-pill.r2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(100,116,139,.3);
}
.rank-pill.r3 {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(234,88,12,.3);
}
.rank-pill.rn {
  background: #f1f5f9;
  color: #64748b;
}

/* 안내사항 */
.award-notes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 28px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.award-notes li {
  font-size: 0.88rem;
  color: #64748b;
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.award-notes li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: #94a3b8;
  font-size: 0.82rem;
}
/* ═══ 기념품 그리드 ═══ */
.gift-block { margin-top: 28px; }
.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gift-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e2e8f0;
   background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.gift-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.gift-item img {
  width: 100%;
   aspect-ratio: 1 / 1;
   height: auto;
   object-fit: contain;
   padding: 10px;
   box-sizing: border-box;
  display: block;
}

/* 경품추첨 */
.raffle-block { margin-top: 36px; }
.raffle-img-wrap {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-align: center;
}
.raffle-img-wrap img {
  width: 100%;
  max-width: 1200;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 기념품 모달 */
.gift-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 9000;
  overflow-y: auto;
  padding: 48px 20px 20px;
  box-sizing: border-box;
}
.gift-modal.is-open { display: block; }
.gift-modal-box {
  position: relative;
  width: min(90vw, 700px);
  margin: 0 auto;
}
.gift-modal-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.gift-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #0f2040;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  z-index: 1;
}
.gift-modal-close:hover { background: #f1f5f9; }
@media (max-width: 768px) {
  .gift-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ═══ 참가신청 섹션 ═══ */
.register-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
  padding: 90px 20px;
}
.register-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.register-header {
  text-align: center;
  margin-bottom: 52px;
}
.register-subtitle {
  margin-top: 14px;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: #64748b;
  line-height: 1.8;
}
.register-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.register-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 28px 28px;
  flex: 1 1 180px;
  max-width: 240px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s, transform .15s, background .2s;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.register-card:hover {
  border-color: #29a8e0;
  box-shadow: 0 8px 32px rgba(41,168,224,.15);
  transform: translateY(-4px);
}
.register-card.selected {
  border-color: #1E4D9C;
  border-width: 3px;
  background: linear-gradient(160deg, #dbeafe 0%, #bfdbfe 100%);
  box-shadow: 0 12px 40px rgba(30,77,156,.30);
  transform: translateY(-6px);
}
.register-card.selected .reg-title { color: #1E4D9C; }
.register-card.selected .reg-price { background: #1E4D9C; color: #fff; }
.register-card.selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 14px;
  color: #1E4D9C;
  font-size: 0.9rem;
}
.register-card.selected .reg-icon {
  box-shadow: 0 6px 24px rgba(30,77,156,.5);
}
.reg-btn-primary:disabled,
.reg-btn-primary.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}
.reg-icon {
  width: 64px; height: 64px;
  background: #29a8e0;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 4px;
  box-shadow: 0 6px 20px rgba(41,168,224,.3);
}
.reg-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f2040;
  letter-spacing: -0.01em;
}
.reg-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  min-height: 36px;
}
.reg-price {
  margin-top: 6px;
  background: #eff6ff;
  color: #1E4D9C;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.reg-total {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}
.register-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #eff9ff;
  border: 1.5px solid #bee3f8;
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 36px;
}
.register-notice i {
  color: #29a8e0;
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.register-notice p {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.7;
}
.register-notice p strong {
  color: #1E4D9C;
}
.register-notice p + p {
  margin-top: 4px;
  color: #64748b;
}
.register-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.reg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1E4D9C, #29a8e0);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 17px 48px;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 24px rgba(41,168,224,.3);
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.reg-btn-primary:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(41,168,224,.4);
}
.reg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1E4D9C;
  font-size: 1rem;
  font-weight: 700;
  padding: 17px 48px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid #1E4D9C;
  letter-spacing: -0.01em;
  transition: background .2s, color .2s, transform .15s;
}
.reg-btn-secondary:hover {
  background: #1E4D9C;
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .register-cards { gap: 14px; }
  .register-card { max-width: 100%; flex: 1 1 calc(50% - 14px); min-width: 140px; padding: 28px 18px 22px; }
  .register-btns { flex-direction: column; align-items: stretch; }
  .reg-btn-primary, .reg-btn-secondary { justify-content: center; padding: 16px 24px; }
}

/* ═══ 커뮤니티 섹션 ═══ */
.community-section {
  background: #fff;
  padding: 100px 20px 110px;
  border-top: 1px solid #edf2f7;
}
.community-inner {
  max-width: 1280px;
  margin: 0 auto;
}
/* 헤더 - 중앙 정렬 */
.comm-header-row {
  text-align: center;
  margin-bottom: 48px;
}
.comm-header-row .section-label { margin-bottom: 6px; }
.comm-header-row h2 { font-size: 2rem; font-weight: 900; color: #0f2040; line-height: 1.2; }
/* 탭 네비게이션 - 코스안내 pill 스타일 (중앙 정렬) */
.community-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.comm-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 999px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: inherit;
}
.comm-tab-btn i { font-size: 0.85rem; }
.comm-tab-btn:hover { border-color: #29a8e0; color: #29a8e0; }
.comm-tab-btn.active { background: #29a8e0; border-color: #29a8e0; color: #fff; }
.comm-pane { display: none; }
.comm-pane.active { display: block; }
/* 테이블 */
.comm-table-wrap {
  border: 1px solid #e8eef5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(30,77,156,.06);
}
.comm-table {
  width: 100%;
  border-collapse: collapse;
}
.comm-table thead tr { background: #f8fafc; }
.comm-table thead th {
  padding: 13px 24px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-align: left;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #e8eef5;
}
.comm-table thead th.tc { text-align: center; }
.comm-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .13s;
}
.comm-table tbody tr:last-child { border-bottom: none; }
.comm-table tbody tr:hover { background: #f5f9ff; }
.comm-table tbody td {
  padding: 16px 24px;
  font-size: 0.88rem;
  color: #334155;
  vertical-align: middle;
}
.comm-td-num {
  width: 60px;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
}
.comm-td-title { font-weight: 500; line-height: 1.5; }
.comm-td-author { width: 96px; text-align: center; color: #64748b; font-size: 0.82rem; }
.comm-td-views { width: 72px; text-align: center; color: #94a3b8; font-size: 0.8rem; }
.comm-td-date { width: 110px; text-align: center; color: #94a3b8; font-size: 0.8rem; white-space: nowrap; }
.comm-pin-icon { color: #3b82f6; font-size: 0.8rem; }
.comm-pin-row td { color: #1e293b; }
.comm-pin-row { background: #fafbff !important; }
.comm-secret-icon { color: #94a3b8; font-size: 0.78rem; margin-right: 5px; }
/* 뱃지 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 7px;
  vertical-align: middle;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.badge-new    { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.badge-done   { background: #f0fdf4; color: #16a34a; border: 1px solid #86efac; }
.badge-wait   { background: #fff7ed; color: #c2410c; border: 1px solid #fdba74; }
.badge-secret { background: #f8fafc; color: #94a3b8; border: 1px solid #e2e8f0; }
.comm-empty {
  padding: 72px 20px;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.9rem;
}
.comm-empty i { font-size: 2.2rem; margin-bottom: 14px; display: block; }
/* FAQ 2단 그리드 */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 24px;
  background: #fafbff;
  box-shadow: 0 2px 14px rgba(30,77,156,.06);
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: #bfdbfe; }
.faq-item.open {
  border-color: #93c5fd;
  box-shadow: 0 4px 20px rgba(30,77,156,.1);
  grid-row: span 1;
}
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  transition: background .13s;
}
.faq-question:hover { background: #f5f9ff; }
.faq-item.open .faq-question { background: #eff6ff; }
.faq-q-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #1E4D9C, #29a8e0);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900;
  margin-top: 1px;
}
.faq-item.open .faq-q-mark { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.faq-q-text {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.55;
}
.faq-item.open .faq-q-text { color: #1E4D9C; }
.faq-chevron {
  flex-shrink: 0;
  color: #cbd5e1;
  font-size: 0.75rem;
  transition: transform .25s;
  margin-top: 4px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: #3b82f6; }
.faq-answer {
  display: none;
  padding: 14px 20px 18px 60px;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.9;
  border-top: 1px solid #dbeafe;
  background: #f0f7ff;
}
.faq-answer img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
  border-radius: 6px;
}
.faq-item.open .faq-answer { display: block; }
/* 모달 */
.comm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,32,64,.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.comm-modal-overlay.open { opacity: 1; pointer-events: auto; }
.comm-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: none;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  transform: translateY(28px) scale(.97);
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .2s;
  opacity: 0;
}
.comm-modal::-webkit-scrollbar { display: none; }
.comm-modal-overlay::-webkit-scrollbar { display: none; }
.comm-modal-overlay.open .comm-modal { transform: translateY(0) scale(1); opacity: 1; }
.comm-modal-head {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 32px 22px;
  border-bottom: 1px solid #f0f4f8;
}
.comm-modal-head-left { flex: 1; min-width: 0; }
.comm-modal-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1E4D9C;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.comm-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f2040;
  line-height: 1.5;
  word-break: break-word;
}
.comm-modal-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.comm-modal-close {
  flex-shrink: 0;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  color: #475569;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  transition: background .15s, color .15s;
}
.comm-modal-close:hover { background: #e2e8f0; color: #0f2040; }
.comm-modal-divider {
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
  margin: 0 32px;
}
.comm-modal-body {
  padding: 28px 32px 44px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 2.05;
  white-space: pre-wrap;
  word-break: break-word;
}
/* 질의응답 등록 버튼 영역 */
.qna-pane-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
/* 페이지네이션 + 버튼 행 */
.comm-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
/* 페이지네이션 */
.comm-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.comm-pagination .pg-btn {
  min-width: 34px; height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
}
.comm-pagination .pg-btn:hover { border-color: #1E4D9C; color: #1E4D9C; }
.comm-pagination .pg-btn.active { background: #1E4D9C; border-color: #1E4D9C; color: #fff; }
.comm-pagination .pg-btn:disabled { opacity: .35; pointer-events: none; }
.qna-write-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1E4D9C, #29a8e0);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.qna-write-btn:hover { opacity: .88; transform: translateY(-1px); }
/* 모달 헤드 오른쪽 버튼 영역 */
.comm-modal-head-right {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}
.comm-modal-actions { display: flex; gap: 6px; }
.comm-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 9px;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.comm-action-btn.edit  { background: #eff6ff; color: #1E4D9C; }
.comm-action-btn.edit:hover  { background: #dbeafe; }
.comm-action-btn.delete { background: #fef2f2; color: #dc2626; }
.comm-action-btn.delete:hover { background: #fee2e2; }
/* 댓글 섹션 */
.comm-comments {
  border-top: 1px solid #f0f4f8;
  padding: 26px 32px 36px;
}
.comm-comments-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f2040;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.comm-comments-title i { color: #1E4D9C; }
.cmt-loading, .cmt-empty {
  color: #94a3b8; font-size: 0.85rem;
  text-align: center; padding: 20px 0;
}
.cmt-item {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}
.cmt-item:last-child { border-bottom: none; }
.cmt-admin {
  background: #f0f7ff; border-radius: 8px;
  margin: 0 -6px; padding: 14px 6px;
}
.cmt-item-head {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 5px;
}
.cmt-author { font-size: 0.82rem; font-weight: 700; color: #1E4D9C; }
.cmt-admin .cmt-author { color: #1d4ed8; }
.cmt-author i { color: #2563eb; font-size: 0.75rem; }
.cmt-del-btn {
  background: none; border: none; color: #cbd5e1;
  cursor: pointer; font-size: 0.8rem;
  padding: 2px 6px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.cmt-del-btn:hover { color: #dc2626; background: #fef2f2; }
.cmt-content {
  font-size: 0.87rem; color: #334155;
  line-height: 1.7; white-space: pre-wrap;
}
.comm-comment-form {
  margin-top: 18px;
  border: 1.5px solid #e8eef5;
  border-radius: 12px; overflow: hidden;
}
.ccf-row {
  display: flex; align-items: center;
  border-bottom: 1.5px solid #e8eef5;
}
.ccf-row input {
  flex: 1; padding: 10px 14px;
  border: none; font-size: 0.88rem;
  font-family: inherit; outline: none; color: #334155;
}
.ccf-row button {
  flex-shrink: 0; padding: 10px 18px;
  background: #1E4D9C; color: #fff;
  border: none; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: opacity .15s;
  font-family: inherit;
  display: flex; align-items: center; gap: 6px;
}
.ccf-row button:hover { opacity: .88; }
.comm-comment-form textarea {
  width: 100%; display: block;
  padding: 12px 14px; border: none;
  font-size: 0.86rem; font-family: inherit;
  resize: none; outline: none; color: #334155;
  line-height: 1.6; background: #fafcff;
}
/* QnA 등록/수정 폼 모달 */
.qna-form-body {
  padding: 24px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.qnaf-row { display: flex; flex-direction: column; gap: 6px; }
.qnaf-row > label {
  font-size: 0.8rem; font-weight: 700; color: #475569;
}
.qnaf-row > label small { font-weight: 500; color: #94a3b8; }
.req { color: #dc2626; }
.qnaf-row input[type=text],
.qnaf-row input[type=password],
.qnaf-row textarea {
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem; font-family: inherit;
  color: #1e293b; outline: none;
  transition: border-color .15s; background: #fff;
}
.qnaf-row input:focus,
.qnaf-row textarea:focus { border-color: #1E4D9C; }
.qnaf-row textarea { resize: vertical; line-height: 1.7; }
.qnaf-row-2 { flex-direction: row !important; gap: 14px; }
.qnaf-row-2 > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.qnaf-row-2 > div > label { font-size: 0.8rem; font-weight: 700; color: #475569; }
.qnaf-row-2 > div > label small { font-weight: 500; color: #94a3b8; }
.qnaf-check-label {
  display: inline-flex; align-items: center;
  gap: 8px; cursor: pointer;
  font-size: 0.88rem; color: #475569; font-weight: 600;
}
.qnaf-check-label input { accent-color: #1E4D9C; width: 16px; height: 16px; }
.qna-form-footer {
  padding: 16px 32px;
  border-top: 1px solid #f0f4f8;
  display: flex; justify-content: flex-end; gap: 10px;
}
.qnaf-btn-cancel {
  padding: 10px 24px;
  border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #fff; color: #64748b;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.qnaf-btn-cancel:hover { background: #f8fafc; }
.qnaf-btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 28px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #1E4D9C, #29a8e0);
  color: #fff; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: opacity .15s, transform .15s;
}
.qnaf-btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.qnaf-btn-submit:disabled { opacity: .5; pointer-events: none; }
.qna-form-msg {
  margin: 0 32px 4px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; display: none;
}
.qna-form-msg.error   { background: #fef2f2; color: #dc2626; display: block; }
.qna-form-msg.success { background: #f0fdf4; color: #16a34a; display: block; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .comm-tab-btn { padding: 9px 16px; font-size: 0.82rem; gap: 5px; }
  .comm-table thead th.tc-hide-m,
  .comm-table tbody td.tc-hide-m { display: none; }
  .faq-grid { padding: 14px; gap: 8px; }
  .faq-answer { padding-left: 18px; }
  .comm-modal-head { padding: 20px 18px 16px; }
  .comm-modal-body { padding: 20px 18px 32px; }
  .comm-modal-divider { margin: 0 18px; }
  .comm-modal-actions { display: none; }
  .comm-comments { padding: 20px 18px 28px; }
  .qna-form-body { padding: 18px; }
  .qna-form-footer { padding: 14px 18px; }
  .qnaf-row-2 { flex-direction: column !important; }
  .qna-form-msg { margin: 0 18px 4px; }
  .founder-section { padding: 80px 20px; }
  .founder-badges { flex-wrap: wrap; gap: 10px; }
  .founder-cards { grid-template-columns: 1fr; }
  .founder-closing-box { padding: 36px 24px; }
}

/* ── Our Philosophy 섹션 ── */
.founder-section {
  position: relative;
  padding: 120px 40px;
  background-color: #0a1628;
  background-image: url('/images/our_bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.founder-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7,18,40,.90) 0%, rgba(15,35,80,.82) 50%, rgba(7,18,40,.90) 100%);
  pointer-events: none;
}
.founder-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}
/* 헤더 (중앙) */
.founder-header {
  text-align: center;
  max-width: 700px;
}
.founder-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #29a8e0;
  background: rgba(41,168,224,.12);
  border: 1px solid rgba(41,168,224,.35);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 22px;
}
.founder-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.founder-heading span { color: #29a8e0; }
.founder-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}
/* 좌우 2단 레이아웃 */
.founder-split {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: start;
}
/* 왼쪽: 리드 텍스트 */
.founder-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 2;
  margin: 0;
}
.founder-lead strong {
  color: #fff;
  font-weight: 700;
}
/* 오른쪽: 카드 리스트 */
.founder-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.founder-list-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid #29a8e0;
  border-radius: 0 0 14px 14px;
  padding: 28px 30px 24px;
  transition: background .2s;
}
.founder-list-item:hover {
  background: rgba(41,168,224,.07);
}
.founder-list-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.founder-list-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  margin: 0;
}
/* 클로징 */
.founder-closing-box {
  width: 100%;
  background: linear-gradient(135deg, rgba(30,77,156,.4), rgba(41,168,224,.2));
  border: 1px solid rgba(41,168,224,.25);
  border-radius: 20px;
  padding: 46px 60px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.founder-closing-box .fc-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
}
.founder-closing-box .fc-title span {
  background: linear-gradient(90deg, #29a8e0, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.founder-closing-box .fc-desc {
  font-size: .93rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.founder-closing-box .fc-welcome {
  display: inline-block;
  margin-top: 18px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
}
@media(max-width:900px){
  .founder-section { padding: 80px 24px; }
  .founder-split { grid-template-columns: 1fr; gap: 40px; }
  .founder-closing-box { padding: 36px 24px; }
}

/* ── 푸터 ── */
.site-footer {
  background: #29a8e0;
  color: rgba(255,255,255,.68);
  padding: 0;
}
.site-footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 40px 36px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.footer-logo {
  flex: 0 0 150px;
}
.footer-logo img {
  display: block;
  width: 100%;
  max-width: 132px;
  height: auto;
}
.footer-brand {
  flex: 0 0 220px;
  margin-left: auto;
  text-align: right;
}
.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}
.footer-info {
  flex: 1;
  min-width: 0;
}
.footer-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-bottom: 9px;
  font-size: 0.82rem;
}
.footer-info-label {
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-right: 4px;
}
.footer-info-val {
  color: rgba(255,255,255,.8);
}
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom-links a:hover { color: #29a8e0; }
@media(max-width:768px){
  .site-footer-main { flex-direction:column; gap:28px; padding:36px 20px 24px; }
  .site-footer-bottom { flex-direction:column; gap:10px; text-align:center; padding:16px 20px; }
  .footer-logo { flex: none; }
  .footer-brand { flex: none; margin-left: 0; text-align: left; }
}

/* ═══ 갤러리 섹션 ═══ */
.gallery-section {
  background: #f8fafc;
  padding: 90px 20px;
  border-top: 1px solid #edf2f7;
}
.gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}
.gallerySwiper {
  position: relative;
}
.gallery-swiper-pagination {
  margin-top: 16px;
  text-align: center;
  line-height: 1;
}
.gallery-swiper-pagination .swiper-pagination-bullet {
  background: #94a3b8;
  opacity: 1;
  width: 8px; height: 8px;
}
.gallery-swiper-pagination .swiper-pagination-bullet-active {
  background: #1E4D9C;
  width: 22px;
  border-radius: 4px;
}
.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
}
.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-slide:hover .gallery-thumb-wrap img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,32,64,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-overlay i { font-size: 1.8rem; color: #fff; }
.gallery-slide:hover .gallery-overlay { opacity: 1; }
.gallery-title {
  margin-top: 12px;
  font-size: .9rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ═══ 서브 네비게이션 ═══ */
.sub-nav-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.sub-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 0;
}
.sub-nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 24px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.sub-nav-link:hover {
  color: #1E4D9C;
}
.sub-nav-link.active {
  color: #1E4D9C;
  border-bottom-color: #1E4D9C;
}
@media (max-width: 768px) {
  .sub-nav-inner {
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sub-nav-inner::-webkit-scrollbar { display: none; }
  .sub-nav-link { padding: 14px 16px; font-size: 0.88rem; }
}

/* ═══ 플로팅 SNS 버튼 ═══ */
.float-sns {
  position: fixed;
  right: 20px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9000;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform .2s, box-shadow .2s;
  font-size: 1.5rem;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.float-insta {
  background: radial-gradient(circle at 30% 110%, #ffdb3b 0%, #ff543e 40%, #c837ab 80%);
  color: #fff;
}
.float-kakao {
  background: #FEE500;
  color: #3A1D1D;
}
@media (max-width: 640px) {
  .float-btn { width: 46px; height: 46px; font-size: 1.3rem; }
  .float-sns { right: 14px; bottom: 24px; }
}
.confirm-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,32,64,.55); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; }
.confirm-modal-overlay.open { display: flex; }
.confirm-modal { background: #fff; border-radius: 20px; padding: 36px 32px 28px; width: 100%; max-width: 420px; margin: 20px; box-shadow: 0 20px 60px rgba(15,32,64,.25); animation: cmSlideUp .22s ease; }
@keyframes cmSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.confirm-modal-icon { width: 52px; height: 52px; background: #eff6ff; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.confirm-modal-icon i { font-size: 1.3rem; color: #1E4D9C; }
.confirm-modal-title { font-size: 1.2rem; font-weight: 900; color: #0f2040; text-align: center; margin-bottom: 6px; }
.confirm-modal-sub { font-size: 0.85rem; color: #94a3b8; text-align: center; margin-bottom: 10px; }
.confirm-modal-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.confirm-modal-field label { font-size: 0.78rem; font-weight: 700; color: #475569; }
.confirm-modal-field input { padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 0.92rem; font-family: inherit; color: #1e293b; outline: none; transition: border-color .15s; width: 100%; box-sizing: border-box; }
.confirm-modal-field input:focus { border-color: #1E4D9C; }
.confirm-modal-err { display: none; font-size: 0.82rem; font-weight: 600; color: #dc2626; margin-bottom: 12px; padding: 10px 14px; background: #fef2f2; border-radius: 8px; border: 1px solid #fca5a5; }
.confirm-modal-btns { display: flex; gap: 10px; margin-top: 20px; }
.confirm-modal-submit { flex: 1; padding: 13px; background: linear-gradient(135deg, #1E4D9C, #29a8e0); color: #fff; font-size: 0.95rem; font-weight: 700; border: none; border-radius: 12px; cursor: pointer; font-family: inherit; transition: opacity .15s; }
.confirm-modal-submit:hover { opacity: .88; }
.confirm-modal-cancel { padding: 13px 20px; background: #f1f5f9; color: #64748b; font-size: 0.95rem; font-weight: 700; border: none; border-radius: 12px; cursor: pointer; font-family: inherit; transition: background .15s; }
.confirm-modal-cancel:hover { background: #e2e8f0; }
