/* ══════════════════════════════════════════════════
   PRETENDARD — 로컬 폰트 (subset woff2)
══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pretendard/Pretendard-Regular-97213db5c578498e3bab52fb858e720a.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pretendard/Pretendard-Medium-e55a007a88db0a7a45bbeedd0bc9ce77.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pretendard/Pretendard-SemiBold-3ba9cd1e8bcb4824f073865d2ed81d34.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pretendard/Pretendard-Bold-40b92fb6e0e447ca7f0c7fddb6cec9c6.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pretendard/Pretendard-ExtraBold-6dec4607c4804775486c0b22e1b96f4b.woff2') format('woff2');
}

/* SKIN06 전용 body 폰트 오버라이드 */
[data-color-theme="CupRise_Theme"] body,
[data-color-theme="CupRise_Theme"] {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Noto Sans KR', sans-serif !important;
}

/*
 * DUNET LXP — SKIN06 (부산가톨릭대학교 CUP-RISE / HAHA) 전용 CSS
 *
 * 주의사항:
 * - LXP styles.css (Bootstrap + CupRise_Theme) 와 함께 로드됨
 * - 전역 Bootstrap 변수 오버라이드 금지 (테마는 SCSS에서 관리)
 * - body, .container 전역 스타일 금지
 * - CSS 변수 대응:
 *     --color-primary      → var(--bs-primary)
 *     --color-secondary    → var(--bs-secondary, #ff6730)
 *     --color-text-main    → var(--bs-body-color)
 *     --color-bg           → var(--bs-body-bg)
 *     --color-surface      → #f8f9fa
 *     --color-border       → var(--bs-border-color)
 *     --color-primary-pale → rgba(var(--bs-primary-rgb), 0.08)
 *     --color-primary-dark → #002a5a
 *     --color-accent-dark  → #d95728
 *     --gnb-height         → 64px
 *     --radius-sm / md / full → 6px / 10px / 999px
 *     --t-base / fast      → 0.2s / 0.15s
 */

/* ══════════════════════════════════════════════════
   STICKY FOOTER — 콘텐츠가 짧아도 푸터를 뷰포트 바닥에 고정
   (짧은 서브페이지 + 큰 해상도에서 푸터 아래 빈공간 방지)
   · overflow 미사용 → 히어로 클리핑/ sticky GNB 규칙(§5) 위반 없음
   · .skip-link(absolute), .floating-side-menu(fixed)는 흐름 밖이라 무관
══════════════════════════════════════════════════ */
.page-cuprise-hero,
.site-haha {
  display: flex;
  flex-direction: column;
  min-height: 100vh !important;   /* custom_css.css의 body{min-height:unset!important} 오버라이드 */
}
.page-cuprise-hero > .main-wrapper,
.site-haha > .main-wrapper {
  flex: 1 0 auto;   /* 남는 세로 공간을 콘텐츠 영역이 흡수해 푸터를 아래로 */
}
.page-cuprise-hero > .site-footer,
.site-haha > .site-footer {
  flex-shrink: 0;   /* 푸터는 눌리지 않게 */
}

/* ══════════════════════════════════════════════════
   SKIP LINK
══════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bs-primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════════════
   FADE-UP 애니메이션
══════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════
   섹션 공통
══════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--bs-body-color);
  margin-bottom: 8px;
  word-break: keep-all;
}
.section-sub {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.65;
  word-break: keep-all;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-more:hover { border-color: var(--bs-primary); color: var(--bs-primary); }

.btn-more-sm {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  font-weight: 300;
  color: #18213a;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1;
}
.btn-more-sm:hover { color: var(--bs-primary); }

/* ══════════════════════════════════════════════════
   UTIL BAR
══════════════════════════════════════════════════ */
.util-bar {
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 12px;
  position: relative;
  z-index: 1010;
}
.util-bar .container-fluid { display: flex; align-items: center; justify-content: space-between; }
.util-left { display: flex; align-items: center; gap: 10px; }
.util-right { display: flex; align-items: center; gap: 4px; }

.util-univ-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color 0.15s;
}
.util-univ-link:hover { color: rgba(255, 255, 255, 0.9); }

.util-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 6px;
}

.util-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  padding: 0 8px;
  height: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: color 0.15s;
}
.util-link:last-child { border-right: none; }
.util-link:hover { color: rgba(255, 255, 255, 0.9); }

/* 사용자 드롭다운 */
.util-user-dropdown { position: relative; }
.util-user-btn {
  background: none;
  border: none;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.12);
}
.util-user-btn:hover { color: rgba(255,255,255,.9); }
.util-user-caret {
  font-size: 11px;
  opacity: .65;
  transition: transform .2s;
}
.util-user-btn[aria-expanded="true"] .util-user-caret { transform: rotate(180deg); }

.util-user-menu {
  min-width: 168px;
  padding: 6px 0 !important;
  border: 1px solid #eee !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.13) !important;
  background: #fff !important;
  margin-top: 6px !important;
}
.util-user-menu-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
.util-user-photo { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.util-user-photo img { width: 100%; height: 100%; object-fit: cover; }
.util-user-divider {
  margin: 4px 0 !important;
  border-color: #f0f0f0 !important;
}
.util-user-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.util-user-item iconify-icon { font-size: 15px; color: #888; transition: color .15s; }
.util-user-item:hover {
  background: #f5f7ff !important;
  color: #2563eb !important;
}
.util-user-item:hover iconify-icon { color: #2563eb; }
.util-user-logout { color: #555 !important; }
.util-user-logout:hover {
  background: #fff5f5 !important;
  color: #d93025 !important;
}
.util-user-logout:hover iconify-icon { color: #d93025; }

/* 권한선택 */
.util-user-role-wrap {
  padding: 7px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.util-user-role-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #888;
}
.util-user-role-label iconify-icon { font-size: 15px; }
.util-user-role-select {
  width: 100%;
  height: 30px;
  padding: 0 8px;
  font-size: 13px;
  color: #1a1a1a;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}
.util-user-role-select:focus { border-color: #94a3b8; }
.util-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  cursor: pointer;
  padding: 3px 8px;
  margin-left: 2px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.util-search-btn iconify-icon { font-size: 15px; }
.util-search-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* HAHA / CUP-RISE util-bar 폰트 크기 */
.site-haha .util-univ-link,
.page-cuprise-hero .util-univ-link { font-size: 16px; }
.site-haha .util-link,
.page-cuprise-hero .util-link { font-size: 16px; }
.site-haha .util-search-btn,
.page-cuprise-hero .util-search-btn { font-size: 16px; }

/* HAHA 갤러리·자료실 높이 맞춤 */
.notice-group--stretch {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.notice-group--stretch .tab-content {
  flex: 1;
}
/* 활성 탭만 flex 적용 — 비활성 탭의 display:none 유지 */
.notice-group--stretch .tab-pane.active {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.notice-group--stretch .haha-card-grid {
  flex: 1;
  grid-auto-rows: 1fr;
}

/* HAHA 갤러리·자료실 카드 그리드 */
.haha-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 2px 0;
}
.haha-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: #f5f7fb;
  border-radius: 8px;
  padding: 18px 16px 14px;
  text-decoration: none;
  transition: background 0.15s;
  min-height: 90px;
}
.haha-card:hover { background: #eaecf5; }
.haha-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a2340;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.haha-card-date {
  font-size: 14px;
  color: #9aa0b4;
}

/* ── HAHA 시니어 대상 기본 폰트 증가 ── */
.site-haha .sub-page-desc { font-size: 18px !important; }
.site-haha .sub-content { font-size: 18px; line-height: 1.8; background: #fff; }

/* HAHA 프로그램 섹션 폰트 크기 */
.site-haha .section-title { font-size: 36px !important; }
@media (max-width: 767px) {
  .section-title { font-size: 24px !important; }
  .site-haha .section-title { font-size: 24px !important; }
}
.site-haha .section-sub { font-size: 18px; }
.site-haha .courses-tabs .nav-link { font-size: 18px; }
/* HAHA 공지·갤러리·자료실 폰트 크기 */
.site-haha .notice-board-tabs2 .nav-link { font-size: 36px; }
.site-haha .btn-more-sm { font-size: 40px; }
.site-haha .btn-more { font-size: 18px; }
.site-haha .pstrip-title { font-size: 18px; }
.site-haha .pstrip-date { font-size: 16px; }
.site-haha .pstrip-link { font-size: 16px; }
.site-haha .notice-row-title { font-size: 22px; }
.site-haha .haha-card-title { font-size: 20px; }
/* HAHA 프로그램 카드 폰트 크기 */
.site-haha .cbadge { font-size: 14px; }
.site-haha .course-title { font-size: 22px !important; }
.site-haha .course-instructor { font-size: 14px; }
.site-haha .course-price { font-size: 18px; }
.site-haha .btn-apply { font-size: 18px; }

/* CUP-RISE GNB 대메뉴 폰트 크기 — 기본 24px (1400px+ 별도 지정 불필요) */

/* CUP-RISE 섹션 폰트 크기 (HAHA 동일 기준) */
.page-cuprise-hero .section-title { font-size: 36px !important; }
@media (max-width: 767px) {
  .page-cuprise-hero .section-title { font-size: 24px !important; }
}
.page-cuprise-hero .section-sub { font-size: 18px; }
.page-cuprise-hero .courses-tabs .nav-link { font-size: 16px; }
/* CUP-RISE 공지·자료실·갤러리 폰트 크기 */
.page-cuprise-hero .notice-board-tabs2 .nav-link { font-size: 36px; }
.page-cuprise-hero .btn-more-sm { font-size: 40px; }
.page-cuprise-hero .btn-more { font-size: 16px; }
.page-cuprise-hero .pstrip-title { font-size: 18px; }
.page-cuprise-hero .pstrip-date { font-size: 16px; }
.page-cuprise-hero .pstrip-link { font-size: 16px; }
.page-cuprise-hero .notice-row-title { font-size: 22px; }
/* CUP-RISE 프로그램 카드 폰트 크기 */
.page-cuprise-hero .cbadge { font-size: 14px; }
.page-cuprise-hero .course-title { font-size: 22px !important; }
.page-cuprise-hero .course-instructor { font-size: 14px; }
.page-cuprise-hero .course-price { font-size: 18px; }
.page-cuprise-hero .btn-apply { font-size: 18px; }

/* ── 모바일 반응형 폰트 크기 (HAHA + CUP-RISE 공통) ── */
@media (max-width: 767px) {
  .site-haha .section-sub,
  .page-cuprise-hero .section-sub { font-size: 15px; }

  .site-haha .courses-tabs .nav-link,
  .page-cuprise-hero .courses-tabs .nav-link { font-size: 14px; }

  .site-haha .notice-board-tabs2 .nav-link,
  .page-cuprise-hero .notice-board-tabs2 .nav-link { font-size: 22px; }

  .site-haha .btn-more-sm,
  .page-cuprise-hero .btn-more-sm { font-size: 28px; }

  .site-haha .notice-row-title,
  .page-cuprise-hero .notice-row-title { font-size: 16px; }

  .site-haha .course-title,
  .page-cuprise-hero .course-title { font-size: 18px !important; }

  .site-haha .course-price,
  .page-cuprise-hero .course-price { font-size: 16px; }

  .site-haha .btn-apply,
  .page-cuprise-hero .btn-apply { font-size: 16px; }

  /* HAHA 갤러리·자료실 카드 제목 */
  .site-haha .haha-card-title { font-size: 16px; }
}

/* HAHA 전체메뉴 — 5컬럼 */
@media (min-width: 1200px) {
  .gnb-fm-grid.gnb-fm-grid--5col { grid-template-columns: repeat(5, 1fr); }
  .gnb-fm-grid.gnb-fm-grid--6col { grid-template-columns: repeat(6, 1fr); }
}
/* HAHA GNB 대메뉴 폰트 크기 — 기본 24px (1400px+ 별도 지정 불필요) */


.lang-select-wrap { display: flex; align-items: center; gap: 5px; }
.lang-select-wrap iconify-icon { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  padding: 0 20px 0 7px;
  height: 22px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ccc'/%3E%3C/svg%3E")
    no-repeat right 5px center;
  cursor: pointer;
}
.lang-select:focus { outline: none; border-color: rgba(255, 255, 255, 0.55); }
.lang-select option { background: #1a2440; }

@media (max-width: 767px) {
  .util-bar { display: none; }
}

/* ══════════════════════════════════════════════════
   GNB — 공통
══════════════════════════════════════════════════ */
.site-gnb {
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-gnb.scrolled,
.site-gnb.menu-open,
.site-gnb.mob-menu-open {
  background: #fff !important;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.12) !important;
}

/* CUP-RISE 밝은 히어로 위에서 GNB 항상 white 표시 */
.page-cuprise-hero .site-gnb,
.page-haha-hero .site-gnb {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(12px);
}
.page-cuprise-hero .gnb-logo img,
.page-haha-hero .gnb-logo img { filter: none !important; }
.page-cuprise-hero .gnb-link,
.page-haha-hero .gnb-link { color: #18213a !important; }
.page-cuprise-hero .gnb-link::after,
.page-haha-hero .gnb-link::after { background: var(--bs-primary) !important; }
.page-cuprise-hero .gnb-item:hover > .gnb-link,
.page-haha-hero .gnb-item:hover > .gnb-link { color: var(--bs-primary) !important; }
.page-cuprise-hero .gnb-fullmenu-toggle,
.page-haha-hero .gnb-fullmenu-toggle { color: #555 !important; }
.page-cuprise-hero .gnb-mobile-toggle span,
.page-haha-hero .gnb-mobile-toggle span { background: #333 !important; }
.site-gnb.scrolled .gnb-logo img,
.site-gnb.menu-open .gnb-logo img,
.site-gnb.mob-menu-open .gnb-logo img { filter: none !important; }
.site-gnb.scrolled .gnb-link,
.site-gnb.menu-open .gnb-link { color: #18213a !important; }
.site-gnb.scrolled .gnb-link::after,
.site-gnb.menu-open .gnb-link::after { background: var(--bs-primary) !important; }
.site-gnb.scrolled .gnb-item:hover > .gnb-link,
.site-gnb.menu-open .gnb-item:hover > .gnb-link { color: var(--bs-primary) !important; }
.site-gnb.scrolled .gnb-fullmenu-toggle,
.site-gnb.menu-open .gnb-fullmenu-toggle { color: #555 !important; }
.site-gnb.scrolled .gnb-fullmenu-toggle:hover,
.site-gnb.menu-open .gnb-fullmenu-toggle:hover { color: var(--bs-primary) !important; background: rgba(var(--bs-primary-rgb), 0.08) !important; }
.site-gnb.scrolled .gnb-mobile-toggle span,
.site-gnb.mob-menu-open .gnb-mobile-toggle span { background: #333 !important; }

.gnb-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
  position: relative;
}

.gnb-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.gnb-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}
@media (max-width: 1199px) { .gnb-inner { height: 60px; } .gnb-logo img { height: 28px; } }
@media (min-width: 1200px) { .gnb-logo img { height: 36px; } }

/* GNB 메뉴 */
.gnb-menu {
  display: none;
  margin-left: auto;
  flex: none;
}
@media (min-width: 1200px) { .gnb-menu { display: flex; } }

.gnb-list {
  display: flex;
  align-items: center;
  gap: 0;
  height: 64px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gnb-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.gnb-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}
.gnb-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: #fff;
  transition: left 0.2s, right 0.2s;
}
.gnb-item:hover > .gnb-link { color: #fff; }
.gnb-item:hover > .gnb-link::after { left: 0; right: 0; }

/* 드롭다운 패널 */
@media (min-width: 1200px) {
  .gnb-item:hover > .mega-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #fff;
  border-top: 3px solid var(--bs-primary);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  padding: 8px 0;
  z-index: 200;
}
.mega-panel ul { margin: 0; padding: 0; list-style: none; }
.mega-panel li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bs-body-color);
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mega-panel li a:hover {
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--bs-primary);
}

/* GNB 우측 */
.gnb-utils {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}
@media (max-width: 1199px) {
  .gnb-fullmenu-toggle { display: none !important; }
  .gnb-inner .gnb-utils { margin-left: auto !important; }
}

.gnb-fullmenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.gnb-fullmenu-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.gnb-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.gnb-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: all 0.2s;
}
.gnb-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gnb-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.gnb-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1200px) { .gnb-mobile-toggle { display: none; } }

/* GNB 중간 구간 (1200~1399px) — 패딩 축소로 7개 메뉴 수용 (폰트 크기 유지) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .gnb-link { padding: 0 10px; }
  .gnb-logo { margin-right: 14px; }
  .gnb-utils { margin-left: 10px; gap: 4px; }
  .gnb-inner { height: 60px; }
}

/* 검색 패널 */
/* 검색 패널 — 헤더 바로 아래 전체폭 오버레이 레이어 */
.gnb-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #fff;
  padding: 22px 0;
  border-top: 1px solid var(--bs-border-color);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.gnb-search-panel[hidden] { display: none; }
.gnb-search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.gnb-search-label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--bs-primary);
  white-space: nowrap;
}
.gnb-search-field {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 6px 0 22px;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gnb-search-field:focus-within {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.12);
}
.gnb-search-field input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--bs-body-color);
  font-size: 16px;
}
.gnb-search-field input::placeholder { color: #adb5bd; }
.gnb-search-field input:focus { outline: none; }
.gnb-search-go {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.gnb-search-go:hover { opacity: 0.9; }
.search-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #6c757d;
  font-size: 22px;
  cursor: pointer;
}
.search-close:hover { color: var(--bs-body-color); }
@media (max-width: 575.98px) {
  .gnb-search-label { display: none; }
  .gnb-search-form { gap: 8px; }
}
/* 검색결과 페이지 재검색폼 — 모바일 한 단계 축소 */
@media (max-width: 767px) {
  #srSearchForm .gnb-search-field { height: 44px; padding: 0 4px 0 16px; }
  #srSearchForm .gnb-search-field input { font-size: 15px; }
  #srSearchForm .gnb-search-go { width: 34px; height: 34px; font-size: 16px; }
}

/* 전체 메가메뉴 패널 */
.gnb-fullmenu-panel { display: none; }
@media (min-width: 1024px) {
  .gnb-fullmenu-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--bs-border-color);
    z-index: 490;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 0ms linear 240ms;
    pointer-events: none;
    padding: 36px 0 44px;
    box-shadow: 0 20px 60px rgba(0, 61, 135, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .gnb-fullmenu-panel.open,
  .site-gnb:has(.gnb-item.has-mega:hover) .gnb-fullmenu-panel,
  .gnb-fullmenu-panel:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 240ms ease, transform 240ms ease, visibility 0ms;
  }
  .gnb-fm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .gnb-fm-col {
    padding: 20px 18px 24px;
    border-radius: 12px;
    transition: background 180ms;
  }
  .gnb-fm-col:hover { background: #f4f7fd; }
  .gnb-fm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--bs-border-color);
    transition: border-color 180ms;
  }
  .gnb-fm-col:hover .gnb-fm-header { border-color: var(--bs-primary); }
  .gnb-fm-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 180ms, color 180ms;
  }
  .gnb-fm-col:hover .gnb-fm-icon { background: var(--bs-primary); color: #fff; }
  .gnb-fm-heading {
    font-size: 16px;
    font-weight: 800;
    color: #18213a;
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.25;
    transition: color 150ms;
    word-break: keep-all;
  }
  .gnb-fm-col:hover .gnb-fm-heading { color: var(--bs-primary); }
  .gnb-fm-col ul { list-style: none; margin: 0; padding: 0; }
  .gnb-fm-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555e78;
    text-decoration: none;
    transition: background 140ms, color 140ms;
  }
  .gnb-fm-col ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c5cde0;
    flex-shrink: 0;
    transition: background 140ms;
  }
  .gnb-fm-col ul li a:hover { background: rgba(var(--bs-primary-rgb), 0.08); color: var(--bs-primary); }
  .gnb-fm-col ul li a:hover::before { background: var(--bs-primary); }
}

/* ════════════════════════════════════════════
   모바일 드로어 — DARK NAVY CONCEPT
════════════════════════════════════════════ */
.gnb-menu.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #18213a !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35) !important;
  z-index: 999;
  padding: 0 !important;
  height: calc(100vh - 60px) !important;
  max-height: calc(100vh - 60px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  animation: d1MenuSlide 0.25s ease;
  -webkit-overflow-scrolling: touch;
}
@keyframes d1MenuSlide {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 스크롤바 다크 테마 */
.gnb-menu.mobile-open::-webkit-scrollbar { width: 4px; }
.gnb-menu.mobile-open::-webkit-scrollbar-track { background: transparent; }
.gnb-menu.mobile-open::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

/* GNB 목록 */
.gnb-menu.mobile-open .gnb-list { flex-direction: column; height: auto; align-items: stretch; }
.gnb-menu.mobile-open .gnb-item {
  border-bottom: none !important;
  height: auto !important;
  flex-direction: column;
  align-items: stretch;
}

/* 메뉴 링크 */
.gnb-menu.mobile-open .gnb-link {
  color: rgba(255,255,255,.72) !important;
  border-bottom: none !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  height: 52px !important;
  padding: 0 50px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  position: relative !important;
  width: 100% !important;
  letter-spacing: 0px !important;
  transition: color .15s !important;
}
.gnb-menu.mobile-open .gnb-link:hover {
  background: transparent !important;
  color: #fff !important;
}
.gnb-menu.mobile-open .gnb-link::after { display: none !important; }
.gnb-menu.mobile-open .gnb-item.has-mega > .gnb-link::after {
  content: '' !important;
  display: block !important;
  position: static !important;
  margin-left: auto !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 1.5px solid rgba(255,255,255,.3) !important;
  border-bottom: 1.5px solid rgba(255,255,255,.3) !important;
  background: none !important;
  border-radius: 0 !important;
  transform: rotate(-45deg) !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
  flex-shrink: 0 !important;
  margin-right: 2px !important;
}
.gnb-menu.mobile-open .gnb-item.has-mega.mob-open > .gnb-link::after {
  transform: rotate(45deg) !important;
  border-color: rgba(255,255,255,.6) !important;
}
.gnb-menu.mobile-open .gnb-item.has-mega.mob-open > .gnb-link {
  color: #fff !important;
  background: transparent !important;
}

/* 모바일 아이콘 (데스크탑 hidden) */
.gnb-mob-icon { display: none; }
.gnb-menu.mobile-open .gnb-mob-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 20px;
  color: rgba(255,255,255,.45);
  transition: color .15s;
}
.gnb-menu.mobile-open .gnb-link:hover .gnb-mob-icon,
.gnb-menu.mobile-open .gnb-item.has-mega.mob-open > .gnb-link .gnb-mob-icon {
  color: rgba(255,255,255,.85);
}

/* 서브메뉴 (mega-panel) */
.gnb-menu.mobile-open .mega-panel {
  display: none !important;
  position: static !important;
  transform: none !important;
  background: transparent !important;
  padding: 0 0 8px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: none !important;
  border-radius: 0 !important;
}
.gnb-menu.mobile-open .gnb-item.mob-open > .mega-panel { display: block !important; }
.gnb-menu.mobile-open .mega-panel li a {
  color: rgba(255,255,255,.45) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 10px 50px 10px 88px !important;
  border-bottom: none !important;
  display: block !important;
  transition: color .12s !important;
}
.gnb-menu.mobile-open .mega-panel li a:hover {
  background: transparent !important;
  color: rgba(255,255,255,.85) !important;
}

/* ════════════════════════════════════════════
   모바일 사용자 패널 — DARK THEME
════════════════════════════════════════════ */
.mob-user-panel { display: none; }
.gnb-menu.mobile-open .mob-user-panel {
  display: block;
  flex-shrink: 0;
  text-align: center;
}

/* ── 비로그인 ── */
.mob-user-panel .mob-guest-area {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 50px 24px;
}
.mob-user-panel.guest .mob-guest-area { display: flex; }
.mob-user-panel.guest .mob-member-area { display: none; }

.mob-guest-avatar iconify-icon {
  font-size: 72px;
  color: rgba(255,255,255,.18);
  display: block;
}
.mob-guest-msg {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  margin: 0;
  max-width: 220px;
}
.mob-guest-btns {
  display: flex;
  gap: 10px;
  width: 100%;
}
.mob-guest-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .18s, color .18s;
  display: block;
}
.mob-guest-btn--login {
  background: #4e82c1;
  color: #fff;
  border: none;
}
.mob-guest-btn--login:hover { background: #3a6aaa; color: #fff; }
.mob-guest-btn--signup {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.18);
}
.mob-guest-btn--signup:hover { background: rgba(255,255,255,.13); color: #fff; }

/* ── 로그인 — 프로필 (중앙 정렬, 큰 아바타) ── */
.mob-member-area { padding: 0; }

.mob-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 16px;
  gap: 0;
}
.mob-profile-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-bottom: 14px;
  overflow: hidden;
}
.mob-profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.mob-profile-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.mob-profile-greeting {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

/* ── 빠른 버튼 행 (나의강의실 | 정보수정) ── */
.mob-quick-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 16px 50px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mob-quick-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}
.mob-quick-btn iconify-icon { font-size: 15px; color: rgba(255,255,255,.35); }
.mob-quick-btn:hover { color: rgba(255,255,255,.85); }
.mob-quick-btn:hover iconify-icon { color: rgba(255,255,255,.7); }
.mob-quick-div {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── 권한 선택 ── */
.mob-role-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 50px 4px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.45);
  font-size: 12px;
}
.mob-role-row iconify-icon { font-size: 14px; flex-shrink: 0; color: rgba(255,255,255,.4); }
.mob-role-select {
  flex: 1;
  height: 26px;
  border: none;
  padding: 0;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  background: transparent;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
}
.mob-role-select option { background: #1e2d4e; color: #fff; }

/* ── 로그아웃 — 맨 하단 ── */
.mob-logout-wrap { display: none; }
.gnb-menu.mobile-open .mob-user-panel.guest ~ .mob-logout-wrap { display: none !important; }
.gnb-menu.mobile-open .mob-logout-wrap {
  display: block;
  padding: 8px 50px 28px;
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mob-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color .18s;
}
.mob-logout-btn iconify-icon { font-size: 18px; color: rgba(255,255,255,.3); transition: color .18s; }
.mob-logout-btn:hover { color: rgba(255,255,255,.75); }
.mob-logout-btn:hover iconify-icon { color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════ */
.hero-section {
  padding: 0 !important;
  margin-top: -64px;
  position: relative;
  z-index: 0;
}
.hero-carousel { position: relative; overflow: hidden; height: 100vh; }
.hero-carousel .carousel-inner { height: 100%; }
.hero-carousel .carousel-item { height: 100%; }
@media (max-width: 767px) { .hero-carousel { min-height: 480px; height: 100svh; } }
@media (min-width: 1024px) { .hero-carousel { height: 600px; } }

@keyframes kbZoom {
  0%   { transform: scale(1) translateX(0); }
  100% { transform: scale(1.09) translateX(-1.5%); }
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(64px + 24px);
  padding-bottom: 72px;
}
.hero-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  animation: kbZoom 9s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.28) 100%
  );
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero-h1 {
  font-size: clamp(2.625rem, 6.75vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  word-break: keep-all;
}
.hero-h1 em { font-style: normal; color: #ffb347; }
.hero-lead {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  margin-bottom: 0;
  max-width: 520px;
  word-break: keep-all;
}
@media (max-width: 767px) {
  .hero-lead { font-size: 13px; }
  .hero-badge { font-size: 10px; margin-bottom: 12px; }
}

/* 히어로 하단 트랙탭 네비 */
.hero-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 0 30px;
}
@media (max-width: 767px) {
  .hero-nav { padding-bottom: 20px; }
}
.hero-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
@media (max-width: 767px) {
  .hero-nav-inner { padding: 0 20px; gap: 12px; }
}
.hero-nav-tracks {
  flex: 1;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  min-width: 0;
}
.hero-nav-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  min-width: 0;
}
.hero-nav-track-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.32);
  font-family: 'Pretendard', 'Inter', sans-serif;
  transition: color 0.3s;
  user-select: none;
}
.hero-nav-track.active .hero-nav-track-num { color: #fff; }
.hero-nav-track-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: 1px;
}
.hero-nav-track-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 1px;
}
.hero-nav-btns { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.hero-nav-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-nav-btn:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.65); }

/* HERO QUICK BAR */
.hero-quickbar {
  padding: 0 !important;
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
}
.hqb-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767px) { .hqb-grid { grid-template-columns: repeat(2, 1fr); } }
.hqb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  color: #333;
  border-right: 1px solid #e4e4e7;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.hqb-item:last-child { border-right: none; }
@media (max-width: 767px) {
  .hqb-item:nth-child(2) { border-right: none; }
  .hqb-item:nth-child(1),
  .hqb-item:nth-child(2) { border-bottom: 1px solid #e4e4e7; }
}
.hqb-item:hover { background: #fff; color: var(--bs-primary); }
.hqb-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s, color 0.2s;
}
.hqb-item:hover .hqb-icon { background: var(--bs-primary); color: #fff; }
.hqb-label { font-size: 13px; font-weight: 700; }

/* ══════════════════════════════════════════════════
   공지사항 롤링 UI (POPUP STRIP)
══════════════════════════════════════════════════ */
.popup-strip { margin: 0; border-radius: 0; overflow: hidden; background: #003D87; }
.popup-strip-wrap { display: flex; align-items: stretch; min-height: 64px; max-width: 1400px; margin: 0 auto; }
.popup-strip-slides {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  min-height: 64px;
}
.pstrip-track {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 36px;
  min-width: 0;
}
.popup-strip-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}
.popup-strip-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.popup-strip-slide.slide-out { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.pstrip-cat {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 2px 7px;
}
.pstrip-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pstrip-date {
  flex-shrink: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Pretendard', 'Inter', sans-serif;
}
.pstrip-link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
  transition: background 0.2s, color 0.2s;
}
.pstrip-link:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.popup-strip-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
  min-width: 170px;
  width: 170px;
  background: #c7c7c7;
  position: relative;
}
.popup-strip-nav::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  width: 100vw;
  background: #c7c7c7;
  pointer-events: none;
}
.pstrip-btn {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.pstrip-btn:hover { background: rgba(255, 255, 255, 0.25); color: #fff; }
.pstrip-counter {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: 'Pretendard', 'Inter', sans-serif;
  padding: 0 4px;
  white-space: nowrap;
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .pstrip-date { display: none; }
  .pstrip-title { font-size: 13px; }
  .popup-strip-nav { display: none; }
  .pstrip-link-text { display: none; }
  .pstrip-link { padding: 4px 8px; gap: 0; }
}

/* ══════════════════════════════════════════════════
   가이드북 배너 (GUIDE BANNER)
══════════════════════════════════════════════════ */
.guide-banner-wrap { padding-top: 50px; padding-bottom: 0; }

/* 가이드 배너 + 전화 카드 2컬럼 레이아웃 */
.gbanner-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  height: 100px;
}
@media (min-width: 768px) { .gbanner-row { height: 150px; } }
.gbanner-row .guide-banner { flex: 1; min-width: 0; height: 100%; }

/* 대표전화 카드 */
.gbanner-contact {
  flex-shrink: 0;
  width: 350px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 20px;
  background: #0f1e3d;
  border-radius: 12px;
  color: #fff;
  box-sizing: border-box;
}
.gbc-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gbc-phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gbc-phone-icon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.gbc-phone-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}
.gbc-phone-num:hover { color: rgba(255, 255, 255, 0.75); }
.gbc-call-btn {
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #0f1e3d;
  background: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 5px 16px;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s;
}
.gbc-phone-num { min-width: 0; }
.gbc-call-btn:hover { background: rgba(255, 255, 255, 0.85); color: #0f1e3d; }
.gbc-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}
.gbc-info em { font-style: normal; font-weight: 700; color: rgba(255, 255, 255, 0.55); margin-right: 2px; }
@media (max-width: 991px) {
  .gbanner-row { flex-direction: column; height: auto; }
  .gbanner-row .guide-banner { height: 150px; flex: none; }
  .gbanner-contact { width: 100%; height: auto; padding: 14px 18px; border-radius: 10px; }
}
/* .gbanner-contact 모바일 표시는 아래 미디어 쿼리에서 처리 */

.guide-banner {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: 12px;
}
@media (min-width: 768px) { .guide-banner { height: 150px; } }
.gbanner-slides { position: relative; width: 100%; height: 100%; }
.gbanner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.gbanner-slide.active { opacity: 1; pointer-events: auto; }
.gbanner-slide { background: linear-gradient(120deg, #3d9fdb 0%, #6ec6f0 60%, #a0dcf7 100%); }
.gbanner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  pointer-events: none;
}
.gbanner-text { pointer-events: auto; text-align: center; }
.gbanner-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 7px;
}
.gbanner-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}
.gbanner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 99px;
  padding: 6px 18px;
  text-decoration: none;
  transition: background 0.2s;
}
.gbanner-cta:hover { background: rgba(255, 255, 255, 0.36); color: #fff; }

/* 슬라이드 — 수강생 모집 공고 */
.gbanner-content--notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 0 36px;
  pointer-events: none;
  height: 100%;
}
.gbn-info {
  pointer-events: auto;
  text-align: left;
}
.gbn-info .gbanner-eyebrow { margin-bottom: 3px; }
.gbn-info .gbanner-title { font-size: 20px; margin: 0 0 6px; }
.gbanner-notice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  flex-wrap: wrap;
}
.gbanner-notice-meta em {
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 3px;
}
.gbn-sep { color: rgba(255, 255, 255, 0.3); }
.gbn-btns {
  display: flex;
  flex-direction: row;
  gap: 8px;
  pointer-events: auto;
  flex-wrap: wrap;
}
.gbanner-cta--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.9);
}
.gbanner-cta--outline:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; color: #fff; }
@media (max-width: 767px) {
  /* 배너 행 높이 자동 */
  .gbanner-row { height: auto; flex-direction: column; gap: 12px; }
  .gbanner-row .guide-banner { height: auto; }
  /* 배너 높이 자동 — position: absolute 해제 */
  .guide-banner { height: auto; }
  .gbanner-slides { position: relative; height: auto; }
  .gbanner-slide { position: relative; inset: auto; opacity: 0; height: 0; overflow: hidden; pointer-events: none; }
  .gbanner-slide.active { opacity: 1; height: auto; overflow: visible; pointer-events: auto; }
  .gbanner-content { position: relative; inset: auto; padding: 20px 20px 48px; }
  .gbanner-content--notice { padding: 20px 20px 48px; gap: 10px; }
  .gbanner-eyebrow { display: none; }
  .gbanner-title { font-size: 16px; margin-bottom: 8px; }
  .gbn-btns { flex-direction: row; flex-wrap: wrap; }
  /* 전화번호 카드 모바일 노출 */
  .gbanner-contact { display: flex; width: 100%; }
}
.gbanner-nav {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gbanner-num {
  width: 26px;
  height: 26px;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Pretendard', 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.gbanner-num.active { background: rgba(255, 255, 255, 0.95); border-color: transparent; color: #2190c8; }
.gbanner-num:not(.active):hover { background: rgba(255, 255, 255, 0.32); }
.gbanner-pp {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s;
}
.gbanner-pp:hover { background: rgba(255, 255, 255, 0.32); }
@media (max-width: 767px) {
  .gbanner-nav { bottom: 10px; right: 12px; gap: 5px; }
  .gbanner-num, .gbanner-pp { width: 22px; height: 22px; font-size: 9px; }
}

/* ══════════════════════════════════════════════════
   교육과정 (COURSES SECTION)
══════════════════════════════════════════════════ */
.courses-section { background: var(--bs-body-bg); }
.courses-section .section-head { margin-bottom: 13px; }

.courses-tabs-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.courses-tabs-bar .courses-tabs { flex: 1; margin-bottom: 0 !important; }
@media (max-width: 767px) {
  .courses-tabs-bar { flex-wrap: wrap !important; gap: 8px !important; }
  .courses-tabs-bar .btn-more { width: 100% !important; justify-content: center !important; margin-top: 4px !important; }
}

.courses-tabs .nav-link {
  color: #6c757d;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px !important;
  border: 1.5px solid var(--bs-border-color) !important;
  background: #f8f9fa;
  margin-right: 6px;
  margin-bottom: 6px;
  transition: all 0.2s;
}
.courses-tabs .nav-link.active,
.courses-tabs .nav-link:hover {
  background: var(--bs-primary) !important;
  color: #fff !important;
  border-color: var(--bs-primary) !important;
}
@media (max-width: 767px) {
  .courses-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px !important;
    margin-bottom: 1.5rem !important;
  }
  .courses-tabs::-webkit-scrollbar { display: none; }
  .courses-tabs .nav-item { flex-shrink: 0 !important; }
}

.courses-section .tab-content .row {
  --bs-gutter-x: 1.625rem;
  --bs-gutter-y: 1.625rem;
}
@media (min-width: 768px) {
  .courses-section .tab-content .row {
    --bs-gutter-x: 2.125rem;
    --bs-gutter-y: 2.125rem;
  }
}

/* 강의 카드 */
.course-card-new {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid var(--bs-border-color);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.course-card-new:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); transform: translateY(-3px); }

.course-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8ecf4;
}
.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.course-card-new:hover .course-thumb img { transform: scale(1.04); }

.course-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  z-index: 2;
}
.cbadge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  line-height: 1.4;
}
.cbadge-dday  { background: var(--bs-secondary, #ff6730); color: #fff; }
.cbadge-type  { background: rgba(0, 0, 0, 0.52); color: #fff; }
.cbadge-online { background: var(--bs-primary); color: #fff; }
.cbadge-new   { background: #16a34a; color: #fff; }
.cbadge-free  { background: rgba(var(--bs-primary-rgb), 0.08); color: var(--bs-primary); }

.course-hover-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 65, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.course-card-new:hover .course-hover-info { opacity: 1; }
.course-hover-info dl { margin: 0; }
.course-hover-info dl > div {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.course-hover-info dl > div:last-child { border-bottom: none; }
.course-hover-info dt {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  min-width: 52px;
  flex-shrink: 0;
}
.course-hover-info dd {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}
.course-hover-info dd small { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.btn-wish {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}
.btn-wish:hover { background: var(--bs-secondary, #ff6730); border-color: var(--bs-secondary, #ff6730); }

.course-body { padding: 14px 16px 12px; display: flex; flex-direction: column; flex: 1; }
.course-title {
  font-size: 18px !important;
  font-weight: 600;
  color: var(--bs-body-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
  word-break: keep-all;
  height:62px;
}

@media (max-width: 991px) {
  .course-title {
    height:30px;
  }
}

.course-instructor { font-size: 14px; color: #9aa3b8; margin-bottom: 6px; }
.course-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--bs-primary);
  font-family: 'Pretendard', 'Inter', sans-serif;
  margin: 0 0 10px;
  flex: 1;
}
/* 수강신청 버튼 — 디자인 시안 pill 스타일 */
.btn-apply {
  display: block;
  width: 100%;
  height: 38px;
  line-height: 36px;
  text-align: center;
  border-radius: 9999px;
  background: #fff;
  color: #5a6480;
  border: 1.5px solid #b5bece;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-apply:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}

/* 폐강 카드 hover-info */
.course-card-new--closed .course-hover-info {
  background: rgba(40, 40, 40, 0.88);
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}
.course-card-new--closed .closed-icon {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

/* 폐강 카드 */
.course-card-new--closed { cursor: default; }
.course-card-new--closed:hover { box-shadow: none; transform: none; }
.course-card-new--closed .course-thumb img { filter: grayscale(60%); opacity: 0.7; }
.course-card-new--closed:hover .course-thumb img { transform: none; }
.course-card-new--closed .cbadge-dday { background: #9aa0b0; }

/* 폐강 버튼 */
.btn-apply--closed {
  background: #f0f1f4;
  color: #aaa;
  border-color: #dde0e8;
  pointer-events: none;
  cursor: default;
}

/* ══════════════════════════════════════════════════
   공지사항 섹션 (NOTICE SECTION)
══════════════════════════════════════════════════ */
.notice-section-v2 { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .notice-section-v2 { padding: 80px 0; } }

/* ══════════════════════════════════════════════════
   HAHA 시설 안내도 — campus map hotspot
══════════════════════════════════════════════════ */
.campus-map-frame { display: grid; gap: 0.8rem; justify-items: center; }
.campus-map-stage {
  position: relative;
  width: min(100%, 1280px);
  border: 1px solid #dcd5d8;
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(circle at center top, rgba(255,255,255,0.68), transparent 48%),
              linear-gradient(#f8f4f5 0%, #f0ebee 100%);
  box-shadow: 0 18px 34px rgba(67,35,49,0.09);
  line-height: 0;
  isolation: isolate;
}
.campus-map-base {
  display: block; width: 100%; height: auto;
  transition: filter 0.28s, transform 0.28s;
  user-select: none;
}
/* hover 시 베이스 이미지 어둡게 */
.campus-map-stage:has(.campus-hotspot:hover) .campus-map-base {
  filter: brightness(0.45) saturate(0.92);
  transform: scale(1.002);
}
.campus-map-overlay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2; overflow: visible;
}
.campus-hotspot { cursor: pointer; }
.campus-hotspot-hitarea {
  fill: rgba(255,255,255,0); stroke: none;
  pointer-events: all; cursor: pointer;
}
.campus-zone-reveal {
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s, transform 0.4s;
  transform-origin: center center;
}
.campus-hotspot:hover .campus-zone-reveal { opacity: 1; transform: scale(1.02); }
.campus-zone-border {
  fill: none; stroke: rgba(23,36,51,0); stroke-width: 5;
  stroke-linejoin: round; pointer-events: none;
  transition: stroke 0.28s, transform 0.4s;
  transform-origin: center center;
}
.campus-hotspot:hover .campus-zone-border { stroke: rgb(23,36,51); transform: scale(1.02); }
/* 레이블 */
.campus-hotspot-label {
  opacity: 0.96;
  transition: opacity 0.18s, transform 0.22s, filter 0.22s;
  pointer-events: auto; cursor: pointer;
  transform-box: fill-box; transform-origin: center center;
  filter: drop-shadow(0 8px 18px rgba(15,23,42,0.18));
}
/* 다른 hotspot hover 시 나머지 레이블 흐리게 */
.campus-map-stage:has(.campus-hotspot:hover) .campus-hotspot-label {
  opacity: 0.3; filter: none;
}
.campus-hotspot:hover .campus-hotspot-label,
.campus-hotspot:focus-within .campus-hotspot-label {
  opacity: 1 !important; transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 12px 22px rgba(15,23,42,0.3));
}
.campus-hotspot-label-line { stroke: rgb(23,36,51); stroke-width: 4; stroke-linecap: round; transition: stroke-width 0.22s; }
.campus-hotspot-label-bg { fill: rgba(15,23,42,0.96); transition: fill 0.22s; }
.campus-hotspot-label-border { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1.5; transition: stroke 0.22s; }
.campus-hotspot-label-dot { fill: rgb(23,36,51); transition: fill 0.22s; }
.campus-hotspot-label-text { fill: #fff; font-size: 34px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.campus-hotspot-label-subtext { font-size: 28px; font-weight: 800; fill: #fff; dominant-baseline: middle; }
.campus-hotspot:hover .campus-hotspot-label-line { stroke-width: 5; }
.campus-hotspot:hover .campus-hotspot-label-bg { fill: rgba(12,18,28,0.98); }
.campus-hotspot:hover .campus-hotspot-label-border { stroke: rgba(255,255,255,0.46); }
.campus-map-hint { margin: 0; color: #7a8399; font-size: 0.84rem; text-align: center; line-height: 1.5; }
@media (max-width: 920px) { .campus-map-stage { width: 100%; } }
@media (max-width: 767px) { .campus-hotspot-label-text { font-size: 24px; } }

/* 시설 카드 (안내도 → 상세 링크) */
.haha-fac-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid #e8ecf4;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.haha-fac-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 6px 20px rgba(0,61,135,0.10);
  transform: translateY(-2px);
  color: inherit;
}
.haha-fac-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--fac-color, var(--bs-primary));
}
.haha-fac-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.haha-fac-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #18213a;
}
.haha-fac-card__building {
  font-size: 13px;
  color: #7a8399;
}
.haha-fac-card__arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: #b5bece;
  transition: color 0.18s;
}
.haha-fac-card:hover .haha-fac-card__arrow { color: var(--bs-primary); }

/* ══════════════════════════════════════════════════
   HAHA 시설현황 탭 패널 (sub_facility_status)
══════════════════════════════════════════════════ */
.haha-fac-tabs { flex-wrap: wrap; }

/* 모바일: flex column, 순서 제어 */
.haha-fac-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
}
.haha-fac-panel__header     { order: 1; }
.haha-fac-panel__img-wrap   { order: 2; }
.haha-fac-panel__table-wrap { order: 3; }

/* 데스크탑: Grid — 사진이 전체 높이 span */
@media (min-width: 992px) {
  .haha-fac-panel {
    display: grid;
    grid-template-columns: 360px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 36px;
    row-gap: 20px;
  }
  .haha-fac-panel__img-wrap   { grid-column: 1; grid-row: 1 / 3; }
  .haha-fac-panel__header     { grid-column: 2; grid-row: 1; }
  .haha-fac-panel__table-wrap { grid-column: 2; grid-row: 2; }
}

.haha-fac-panel__img-wrap { width: 100%; }

/* 시설 사진 돋보기 */
.haha-fac-img-btn {
  position: relative;
  display: block;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}
.haha-fac-zoom-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
  z-index: 1;
}
.haha-fac-img-btn:hover .haha-fac-zoom-overlay { background: rgba(0,0,0,0.38); }
.haha-fac-zoom-icon {
  font-size: 52px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.22s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.haha-fac-img-btn:hover .haha-fac-zoom-icon { opacity: 1; }

.haha-fac-panel__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
@media (min-width: 992px) {
  .haha-fac-panel__img {
    height: 100%;
    min-height: 320px;
  }
}
.haha-fac-panel__photo-caption {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #4a5568;
  margin-top: 8px;
}

.haha-fac-panel__header { margin-bottom: 0; }

/* 단계/상태 배지 */
.haha-stage-badge-wrap { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.haha-stage-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}
/* 단계 배지 */
.haha-stage-badge--1   { background: rgba(14,116,144,0.1);  color: #0e7490; border: 1px solid rgba(14,116,144,0.3); }
.haha-stage-badge--2   { background: rgba(180,83,9,0.1);    color: #b45309; border: 1px solid rgba(180,83,9,0.3); }
.haha-stage-badge--etc { background: rgba(100,100,100,0.1); color: #555;    border: 1px solid rgba(100,100,100,0.3); }
/* 상태 배지 */
.haha-stage-badge--dasusen { background: rgba(0,61,135,0.08);  color: #003D87; border: 1px solid rgba(0,61,135,0.25); }
.haha-stage-badge--remo    { background: rgba(15,118,110,0.08); color: #0f766e; border: 1px solid rgba(15,118,110,0.25); }
.haha-stage-badge--new     { background: rgba(21,128,61,0.08);  color: #15803d; border: 1px solid rgba(21,128,61,0.25); }

.haha-fac-panel__title {
  font-size: 30px;
  font-weight: 800;
  color: #18213a;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.haha-fac-panel__building {
  font-size: 16px;
  font-weight: 500;
  color: #7a8399;
}
.haha-fac-panel__desc {
  font-size: 20px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════
   HAHA 야외시설 (sub_outdoor)
══════════════════════════════════════════════════ */


/* ── 야외시설 소개 + 주요정보 섹션 ── */

/* 소개문구 */
.haha-outdoor-intro {
  font-size: 22px;
  color: #2d3748;
  line-height: 1.8;
  margin: 28px 0 0;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 767px) { .haha-outdoor-intro { font-size: 18px; } }

/* 인포 칩 — 연한 배경 카드 + 에디토리얼 스탯 */
.haha-info-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eaeff8;
}
@media (max-width: 767px) { .haha-info-chips { grid-template-columns: repeat(2, 1fr); } }
.haha-info-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid #eaeff8;
  transition: background 0.18s;
}
.haha-info-chip:hover { background: rgba(0,61,135,0.04); }
.haha-info-chip:last-child { border-right: none; }
@media (max-width: 767px) {
  .haha-info-chip:nth-child(2) { border-right: none; }
  .haha-info-chip:nth-child(1),
  .haha-info-chip:nth-child(2) { border-bottom: 1px solid #eaeff8; }
}
.haha-info-chip__icon { font-size: 22px; color: var(--bs-primary); opacity: 0.65; line-height: 1; margin-bottom: 4px; }
.haha-info-chip__value { font-size: 30px; font-weight: 900; color: #18213a; line-height: 1; letter-spacing: -0.02em; }
.haha-info-chip__label { font-size: 18px; color: #9aabbc; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 767px) {
  .haha-info-chip__value {
    font-size: 20px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

/* ── 레이아웃 A: 폴라로이드 사진첩 (4열, 4:3) ── */
.haha-polaroid-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 767px) { .haha-polaroid-gallery { grid-template-columns: repeat(2, 1fr); } }
.haha-polaroid-item {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 8px 8px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
  cursor: zoom-in;
  transition: transform 0.25s, box-shadow 0.25s;
}
.haha-polaroid-item:hover {
  transform: translateY(-6px) rotate(0.4deg);
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}
.haha-polaroid-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
/* D타입 오버레이 */
.haha-polaroid-item .haha-fac-zoom-overlay {
  position: absolute;
  inset: 8px 8px 28px;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
  z-index: 1;
}
.haha-polaroid-item:hover .haha-fac-zoom-overlay { background: rgba(0,0,0,0.35); }
.haha-polaroid-item .haha-fac-zoom-icon {
  font-size: 44px; color: #fff; opacity: 0;
  transition: opacity 0.22s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.haha-polaroid-item:hover .haha-fac-zoom-icon { opacity: 1; }



/* ══════════════════════════════════════════════════
   HAHA 하하 건강센터 (sub_health_center)
══════════════════════════════════════════════════ */

/* 섹션 헤딩 */
.haha-health-heading {
  font-size: 28px;
  font-weight: 800;
  color: #18213a;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
@media (max-width: 767px) { .haha-health-heading { font-size: 22px; } }

/* 소개 문구 */
.haha-health-intro {
  font-size: 20px;
  color: #4a5568;
  line-height: 1.8;
  margin: 0 0 28px;
  word-break: keep-all;
}

/* 기본 정보 바 (4열) */
.haha-infobar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #f6f9ff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eaeff8;
  margin-bottom: 52px;
}
@media (max-width: 991px) { .haha-infobar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .haha-infobar { grid-template-columns: 1fr; } }
.haha-infobar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 22px;
  border-right: 1px solid #eaeff8;
}
.haha-infobar-item:last-child { border-right: none; }
@media (max-width: 991px) {
  .haha-infobar-item:nth-child(2) { border-right: none; }
  .haha-infobar-item:nth-child(1),
  .haha-infobar-item:nth-child(2) { border-bottom: 1px solid #eaeff8; }
}
@media (max-width: 575px) {
  .haha-infobar-item { border-right: none; border-bottom: 1px solid #eaeff8; }
  .haha-infobar-item:last-child { border-bottom: none; }
}
/* 아이콘+라벨 div 래퍼 → 배지 (primary bg, white text) */
.haha-infobar-item > div:has(.haha-infobar-icon) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #3B6FBF;
  align-self: flex-start;
}
/* 보조 정보 div */
.haha-infobar-item > div:not(:has(.haha-infobar-icon)) {
  font-size: 16px; color: #6b7893; font-weight: 500; word-break: keep-all; line-height: 1.5;
}
.haha-infobar-icon { font-size: 18px; color: #fff; opacity: 1; line-height: 1; flex-shrink: 0; }
.haha-infobar-label { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.02em; white-space: nowrap; }
.haha-infobar-value { font-size: 18px; font-weight: 700; color: #3b3b3b; line-height: 1.6; word-break: keep-all; }

/* 서비스 카드 (3열) */
.haha-service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 52px;
}
@media (max-width: 767px) { .haha-service-cards { grid-template-columns: 1fr; } }
.haha-service-card {
  background: #fff;
  border: 1.5px solid #eaeff8;
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.haha-service-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 8px 24px rgba(0,61,135,0.10);
  transform: translateY(-3px);
}
.haha-service-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(var(--bs-primary-rgb), 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--bs-primary);
  margin-bottom: 16px;
}
.haha-service-card__title { font-size: 24px; font-weight: 800; color: #18213a; margin-bottom: 10px; word-break: keep-all; }
.haha-service-card__desc { font-size: 18px; color: #4a5568; line-height: 1.7; margin-bottom: 14px; word-break: keep-all; }
.haha-service-card__tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 600; color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.06);
  padding: 6px 14px; border-radius: 9999px;
}

/* 공간 사진 캡션 */
.haha-health-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 767px) { .haha-health-photos { grid-template-columns: repeat(2, 1fr); } }
.haha-health-photo { display: flex; flex-direction: column; }
.haha-photo-caption { text-align: center; font-size: 16px; font-weight: 700; color: #4a5568; margin-top: 10px; }

/* ══════════════════════════════════════════════════
   HAHA 대관안내 (sub_rental)
══════════════════════════════════════════════════ */

/* 대관 가능 시설 이미지 카드 */
.haha-rental-fac-card {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1.5px solid #eaeff8; text-decoration: none; color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.haha-rental-fac-card:hover {
  border-color: var(--bs-primary); box-shadow: 0 8px 24px rgba(0,61,135,0.10);
  transform: translateY(-3px); color: inherit;
}
.haha-rental-fac-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.haha-rental-fac-card__body {
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; background: #fff;
}
.haha-rental-fac-card__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--fac-color, var(--bs-primary)); flex-shrink: 0;
}
.haha-rental-fac-card__text { flex: 1; }
.haha-rental-fac-card__name { font-size: 18px; font-weight: 800; color: #18213a; display: block; margin-bottom: 2px; }
.haha-rental-fac-card__desc { font-size: 14px; color: #7a8399; }
.haha-rental-fac-card__arrow { font-size: 20px; color: #b5bece; transition: color 0.18s; }
.haha-rental-fac-card:hover .haha-rental-fac-card__arrow { color: var(--bs-primary); }

/* 신청 단계 — 모든 박스 동일 스타일 (white + primary 테두리) */
.haha-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 40px;
}
@media (max-width: 767px) { .haha-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .haha-steps { grid-template-columns: 1fr; } }
.haha-step {
  background: #fff;
  border: 1.5px solid #bdccdf;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.haha-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: #3B6FBF; color: #fff; font-size: 16px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.haha-step__desc { font-size: 17px; color: #2d3748; line-height: 1.65; font-weight: 500; word-break: keep-all; flex: 1; }
.haha-step__sub {
  background: #f8fafd;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8edf5;
}
.haha-step__sub-row {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid #e8edf5;
}
.haha-step__sub-row:last-child { border-bottom: none; }
.haha-step__sub-label {
  display: flex; align-items: center; justify-content: center;
  min-width: 76px; padding: 10px 12px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: #3B6FBF; flex-shrink: 0; align-self: stretch;
}
.haha-step__sub-value {
  padding: 10px 14px;
  font-size: 15px; font-weight: 600; color: #18213a;
  letter-spacing: -0.01em;
}

/* 안내 사항 */
.haha-notice-list { list-style: none; padding: 0; margin: 16px 0 40px; display: flex; flex-direction: column; gap: 10px; }
.haha-notice-item { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; color: #4a5568; line-height: 1.65; word-break: keep-all; }
.haha-notice-item iconify-icon { font-size: 20px; color: var(--bs-primary); flex-shrink: 0; margin-top: 4px; }

/* 공간 사용료 테이블 — 셀 내용 overflow 방지 */
.haha-rental-table td, .haha-rental-table th { white-space: normal !important; width: auto !important; word-break: keep-all; overflow-wrap: break-word; vertical-align: middle; }
.haha-rental-table th:first-child, .haha-rental-table td:first-child { width: 50% !important; text-align: center !important; font-weight: 600; }
.haha-rental-table th:nth-child(2), .haha-rental-table td:nth-child(2),
.haha-rental-table th:nth-child(3), .haha-rental-table td:nth-child(3) { width: 25% !important; text-align: center !important; }

/* 문의전화 박스 */
.haha-rental-contact {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; background: rgba(var(--bs-primary-rgb), 0.06);
  border-radius: 12px; margin-bottom: 40px;
}
.haha-rental-contact__label { font-size: 14px; font-weight: 700; color: var(--bs-primary); }
.haha-rental-contact__num { font-size: 22px; font-weight: 900; color: #18213a; letter-spacing: -0.01em; }
@media (max-width: 767px) { .haha-rental-contact { width: 100%; } }

/* 프로그램 운동 시간표 */
.haha-program-table td, .haha-program-table th { white-space: normal !important; width: auto !important; text-align: center !important; vertical-align: middle; font-size: 18px; }
.haha-program-table th:first-child, .haha-program-table td:first-child { width: 28% !important; }
.haha-program-table th:nth-child(2), .haha-program-table td:nth-child(2) { width: 30% !important; }
.haha-program-table th:nth-child(3), .haha-program-table td:nth-child(3) { width: 42% !important; }

/* ══════════════════════════════════════════════════
   HAHA 스포츠 프로그램 상세 (sports_view)
══════════════════════════════════════════════════ */
.sports-detail {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}
@media (max-width: 991px) { .sports-detail { grid-template-columns: 1fr; gap: 24px; } }
.sports-detail__img { width: 100%; border-radius: 12px; display: block; box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
.sports-detail__title { font-size: 28px; font-weight: 800; color: #18213a; margin: 12px 0 8px; word-break: keep-all; }
.sports-detail__desc { font-size: 20px; color: #4a5568; line-height: 1.75; margin-bottom: 24px; word-break: keep-all; }
.sports-info-table { width: 100%; border-top: 2px solid #18213a; margin-bottom: 24px; }
.sports-info-row { display: flex; align-items: stretch; border-bottom: 1px solid #eaeff8; font-size: 18px; }
.sports-info-label {
  min-width: 100px; background: #f6f9ff; padding: 14px 16px;
  color: #4a5568; font-weight: 700; flex-shrink: 0;
  border-right: 1px solid #eaeff8; word-break: keep-all;
  display: flex; align-items: center;
}
.sports-info-value { padding: 14px 20px; flex: 1; color: #18213a; font-weight: 500; word-break: keep-all; line-height: 1.6; }
.sports-detail__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 575px) { .sports-detail__actions { flex-direction: column; } .sports-detail__actions .btn { width: 100%; justify-content: center; } }

/* 프로그램 상세 — 2열 레이아웃 (이미지 좌 + 정보 우) */
.haha-program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 28px;
}
@media (max-width: 991px) { .haha-program-detail { grid-template-columns: 1fr; gap: 24px; } }
.haha-program-detail__poster {
  width: 100%; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  display: block;
}

/* 운동 시간표 — 그룹 카드 스타일 */
.haha-timecards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 28px;
}
@media (max-width: 575px) { .haha-timecards { grid-template-columns: 1fr; } }
.haha-timecard {
  background: #f6f9ff;
  border: 1.5px solid #eaeff8;
  border-radius: 14px;
  padding: 20px 18px;
}
.haha-timecard__label {
  font-size: 15px; font-weight: 700; color: var(--bs-primary);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.haha-timecard__time {
  font-size: 18px; font-weight: 600; color: #18213a; line-height: 1.65;
}

/* 운동 시간표 — 심플 스케줄 컴포넌트 */
.haha-schedule {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eaeff8;
  margin: 16px 0 28px;
}
.haha-schedule-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #eaeff8;
}
.haha-schedule-row:last-child { border-bottom: none; }
.haha-schedule-label {
  width: 140px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f6f9ff;
  font-size: 18px; font-weight: 700; color: var(--bs-primary);
  padding: 16px 12px; text-align: center;
  border-right: 1px solid #eaeff8;
}
.haha-schedule-times {
  flex: 1; padding: 14px 20px;
  display: flex; flex-direction: column; gap: 4px; justify-content: center;
}
.haha-schedule-time {
  font-size: 18px; color: #2d3748; font-weight: 500;
}
@media (max-width: 575px) {
  .haha-schedule-row { flex-direction: column; }
  .haha-schedule-label {
    width: 100%; justify-content: flex-start;
    border-right: none; border-bottom: 1px solid #eaeff8;
    padding: 10px 16px;
  }
  .haha-schedule-times { padding: 10px 16px; }
  .haha-schedule-time { font-size: 16px; }
}

/* 시설현황 전체보기 테이블 — 가로스크롤로 한줄 표시 (데스크탑·모바일 공통) */
.haha-overview-table {
  table-layout: auto;
  width: 100%;
}
/* 상속된 고정 컬럼 너비(14%/19%) 해제, 모든 환경에서 nowrap */
.haha-overview-table th,
.haha-overview-table td { width: auto !important; vertical-align: middle; text-align: center; white-space: nowrap; }
.haha-overview-table td:nth-child(2) { font-weight: 700; }

/* 시설현황 테이블 */
.haha-fac-table thead tr th {
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  white-space: nowrap;
}
.haha-fac-table td { font-size: 20px; vertical-align: middle; }
.haha-fac-table td:first-child,
.haha-fac-table th:first-child { width: 14%; text-align: center; font-weight: 600; white-space: nowrap; }
.haha-fac-table td:nth-child(2),
.haha-fac-table th:nth-child(2) { width: 19%; text-align: center; white-space: nowrap; }
.haha-fac-table td:nth-child(3),
.haha-fac-table th:nth-child(3) { text-align: center; }

/* 대관 사용료 테이블 — 전체 중앙정렬, 텍스트 줄바꿈 허용(옆 칸 침범 방지) */
.haha-fee-table th,
.haha-fee-table td { width: auto !important; text-align: center; vertical-align: middle; white-space: normal !important; word-break: keep-all; overflow-wrap: break-word; }

/* 못자리도서관 운영 목적 — 사진 배경 카드 */
.haha-goal-card {
  position: relative; overflow: hidden;
  height: 100%; min-height: 250px;
  border-radius: 16px; padding: 34px 26px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-color: #18213a; background-size: cover; background-position: center;
  transition: box-shadow .2s, transform .2s;
}
.haha-goal-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,33,58,.55), rgba(24,33,58,.86));
  transition: background .2s;
}
.haha-goal-card > * { position: relative; z-index: 1; }
.haha-goal-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.20); }
.haha-goal-card:hover::before { background: linear-gradient(180deg, rgba(24,33,58,.62), rgba(24,33,58,.92)); }
.haha-goal-card__ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.haha-goal-card__title { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 10px; word-break: keep-all; }
.haha-goal-card__desc { font-size: 16px; color: rgba(255,255,255,.88); line-height: 1.65; margin: 0; word-break: keep-all; }
.haha-goal-card--1 { background-image: url(/assets/images/SKIN06/haha/lib_goal_collection-14f5ac88f61cfce8d1abef2e5e89ba2a.jpg); }
.haha-goal-card--2 { background-image: url(/assets/images/SKIN06/haha/lib_goal_culture-f0e80b3673a47a8f9577e21aef5e2f89.jpg); }
.haha-goal-card--3 { background-image: url(/assets/images/SKIN06/haha/lib_goal_habit-c32c185a2d68368b1b27f622ab3d343d.jpg); }

/* 못자리도서관 프로그램 구성 — 사진 배경 카드 */
.haha-prog-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 330px; padding: 28px 26px;
  border-radius: 16px; color: #fff;
  background-color: #18213a; background-size: cover; background-position: center;
  transition: box-shadow .2s, transform .2s;
}
.haha-prog-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,33,58,.45), rgba(24,33,58,.88));
  transition: background .2s;
}
.haha-prog-card > * { position: relative; z-index: 1; }
.haha-prog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.haha-prog-card:hover::before { background: linear-gradient(180deg, rgba(24,33,58,.55), rgba(24,33,58,.93)); }
.haha-prog-card__ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin-bottom: 16px; }
.haha-prog-card__title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; word-break: keep-all; }
.haha-prog-card__desc { font-size: 16px; color: rgba(255,255,255,.9); line-height: 1.6; margin-bottom: 16px; word-break: keep-all; }
.haha-prog-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.haha-prog-card__tag { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 9999px; }
.haha-prog-card__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--bs-primary); background: #fff; border: none; padding: 9px 18px; border-radius: 9999px; transition: background .15s; }
.haha-prog-card__btn:hover { background: #eaf1fb; }
.haha-prog-card--curation { background-image: url(/assets/images/SKIN06/haha/lib_prog_curation-791814f132da34afebb8996231cc770e.jpg); }
.haha-prog-card--review   { background-image: url(/assets/images/SKIN06/haha/lib_prog_review-68f2959c36ae1b8f1684f0500c135ea3.jpg); }
.haha-prog-card--writing  { background-image: url(/assets/images/SKIN06/haha/lib_prog_writing-3357fdcd17cd0d80039a097b47981173.jpg); }
.haha-prog-card--booktalk { background-image: url(/assets/images/SKIN06/haha/lib_prog_booktalk-dc7c459e43069744cfbae8ba8d11d1d6.jpg); }
.haha-prog-card--award    { background-image: url(/assets/images/SKIN06/haha/lib_prog_award-dbe804671745fad6534dbf6d785b56ab.jpg); }

/* 연간 운영 일정 — 시기·유형 컬럼 좁게 */
.haha-schedule-table th:nth-child(1),
.haha-schedule-table td:nth-child(1) { width: 18% !important; white-space: nowrap; }
.haha-schedule-table th:nth-child(2),
.haha-schedule-table td:nth-child(2) { width: 14% !important; white-space: nowrap; }

/* 이용 안내 — 번호 카드 그리드 */
.haha-guide-grid { margin-top: 4px; }
.haha-guide-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: 100%;
  padding: 18px 20px;
  background: #f7f9fc;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
}
.haha-guide-card__num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.haha-guide-card__text { margin: 0; font-size: 17px; line-height: 1.6; color: #333; word-break: keep-all; }
@media (max-width: 767px) { .haha-guide-card__text { font-size: 16px; } }

/* 못자리도서관 — 프로그램 상세 블록 */
.haha-lib-prog {
  padding: 28px 28px 24px;
  background: #fff;
  border: 1.5px solid #eaeff8;
  border-radius: 16px;
  margin-bottom: 24px;
}
.haha-lib-prog:last-child { margin-bottom: 0; }
.haha-lib-prog__head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.haha-lib-prog__head .badge { font-size: 15px; font-weight: 700; padding: 7px 14px; }
.haha-lib-prog__desc { font-size: 18px; color: #4a5568; line-height: 1.7; margin-bottom: 22px; word-break: keep-all; }
.haha-lib-prog__label { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; color: #18213a; margin-bottom: 14px; }
.haha-lib-prog__label iconify-icon { color: var(--bs-primary); font-size: 20px; }

/* 운영 방법 — 단계 플로우 */
.haha-flow { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.haha-flow__step {
  flex: 1 1 0;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #f6f9ff;
  border: 1px solid #e1e9f7;
  border-radius: 12px;
}
.haha-flow__num {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff; font-weight: 700; font-size: 15px;
}
.haha-flow__text { margin: 0; font-size: 16px; font-weight: 600; color: #2d3748; line-height: 1.45; word-break: keep-all; }
.haha-flow__arrow { display: flex; align-items: center; color: #9bb2d6; font-size: 22px; flex: 0 0 auto; }
@media (max-width: 767px) {
  .haha-flow { flex-direction: column; gap: 8px; }
  .haha-flow__step { width: 100%; }
  .haha-flow__arrow { transform: rotate(90deg); align-self: center; }
}

/* 기대효과 */
.haha-effect {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: rgba(var(--bs-primary-rgb), 0.06);
  border-radius: 12px;
}
.haha-effect > iconify-icon { font-size: 24px; color: var(--bs-primary); flex: 0 0 auto; }
.haha-effect__label { display: inline-block; font-size: 14px; font-weight: 700; color: var(--bs-primary); margin-right: 8px; }
.haha-effect__text { font-size: 17px; font-weight: 700; color: #18213a; word-break: keep-all; }
.notice-group { margin-bottom: 40px; }
.notice-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 0;
  border-bottom: 1.5px solid #18213a;
}
.notice-group-head .btn-more-sm { padding-bottom: 14px; }
.notice-group-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #18213a;
  letter-spacing: -0.02em;
  margin: 0;
}
.notice-board-tabs2 {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.notice-board-tabs2::-webkit-scrollbar { display: none; }
.notice-board-tabs2 .nav-item { display: flex; }
.notice-board-tabs2 .nav-link {
  padding: 0 24px 14px 0;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: #c5c9d6;
  letter-spacing: -0.02em;
  border: none !important;
  border-radius: 0 !important;
  background: none;
  line-height: 1;
  transition: color 0.15s;
  white-space: nowrap;
}
.notice-board-tabs2 .nav-link:hover { color: #18213a; }
.notice-board-tabs2 .nav-link.active { color: #18213a !important; background: none !important; }

.notice-list-v2 { list-style: none; padding: 0; margin: 0; }
.notice-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f5;
  color: var(--bs-body-color);
  text-decoration: none;
  transition: background 0.15s;
}
@media (max-width: 767px) { .notice-row { padding: 18px 0 !important; } }
.notice-row:hover .notice-row-title { color: var(--bs-primary); }
.notice-date-block {
  flex-shrink: 0;
  width: 68px;
  text-align: center;
  margin-right: 16px;
}
@media (max-width: 575px) {
  .notice-date-block { width: 56px !important; }
  .notice-ym { white-space: nowrap !important; }
}
.notice-day {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #18213a;
  font-family: 'Pretendard', 'Inter', sans-serif;
}
@media (max-width: 575px) { .notice-day { font-size: 16px; } }
.notice-ym {
  display: block;
  font-size: 14px;
  color: #9aa3b8;
  font-family: 'Pretendard', 'Inter', sans-serif;
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.notice-vbar {
  flex-shrink: 0;
  width: 1px;
  height: 30px;
  background: #e0e3ee;
  margin-right: 16px;
}
.notice-row-title {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
  line-height: 1.5;
  color: #333;
}
.notice-row-arr { flex-shrink: 0; font-size: 13px; color: #c5c9d6; margin-left: 10px; }
.notice-row:hover .notice-row-arr { color: var(--bs-primary); }

/* 자료실 */
.archive-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f5;
  text-decoration: none;
  color: var(--bs-body-color);
  transition: background 0.15s;
}
@media (max-width: 767px) { .archive-row { padding: 18px 0 !important; } }
.archive-row:hover .notice-row-title { color: var(--bs-primary); }
.archive-file-icon { flex-shrink: 0; width: 52px; text-align: center; margin-right: 16px; font-size: 20px; }
.archive-dl-btn {
  flex-shrink: 0;
  margin-left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef0f5;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.archive-row:hover .archive-dl-btn { background: var(--bs-primary); color: #fff; }

/* 갤러리 */
.notice-gallery-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 8px;
}
@media (max-width: 479px) { .notice-gallery-grid2 { grid-template-columns: repeat(2, 1fr); } }
.gallery-thumb2 {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
}
.gallery-thumb2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-thumb2:hover img { transform: scale(1.06); }
.gallery-overlay2 {
  position: absolute;
  inset: 0;
  background: rgba(24, 33, 58, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-thumb2:hover .gallery-overlay2 { opacity: 1; }
.gallery-caption2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}
.gallery-cap-title { font-size: 18px; font-weight: 700; line-height: 1.3; word-break: keep-all; }
.gallery-cap-date { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.65); font-family: 'Pretendard', 'Inter', sans-serif; letter-spacing: 0.04em; }

/* FAQ 아코디언 */
.faq-accordion2 .accordion-item { background: transparent; border: none; border-bottom: 1px solid #eef0f5; }
.faq-accordion2 .accordion-item:last-child { border-bottom: none; }
.faq-accordion2 .accordion-button {
  background: transparent;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding: 16px 0;
  box-shadow: none;
  word-break: keep-all;
}
.faq-accordion2 .accordion-button:not(.collapsed) { background: transparent; color: var(--bs-primary); }
.faq-accordion2 .accordion-body { padding: 0 32px 16px 0; font-size: 14px; color: #666; line-height: 1.7; word-break: keep-all; }

/* Q&A */
.qna-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f5;
  text-decoration: none;
  color: var(--bs-body-color);
  transition: color 0.15s;
}
.qna-row:hover .qna-row-title { color: var(--bs-primary); }
.qna-row-left { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 0; }
.qna-row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qna-row-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  flex: 1;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.qna-status2 { font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.qna-status2.answered2 { background: #eef0f5; color: #555; }
.qna-status2.waiting2  { background: var(--bs-primary); color: #fff; }
.qna-row-date { font-size: 13px; color: #9aa3b8; font-family: 'Pretendard', 'Inter', sans-serif; white-space: nowrap; }
.qna-write-btn2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1.5px solid #d0d4e0;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.qna-write-btn2:hover { border-color: var(--bs-primary); color: var(--bs-primary); }

/* ══════════════════════════════════════════════════
   빠른 접근 (QUICK ACCESS)
══════════════════════════════════════════════════ */
/* 푸터 빠른링크 + 법적고지 통합 바 — CUP-RISE 전용 */
.footer--cuprise .footer-quickbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}
.footer--cuprise .footer-quickbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.footer--cuprise .footer-quickbar-nav a {
  position: relative;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 13px 20px;
  transition: color 0.18s;
  letter-spacing: -0.01em;
}
.footer--cuprise .footer-quickbar-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.18);
}
.footer--cuprise .footer-quickbar-nav a:first-child { padding-left: 0; }
.footer--cuprise .footer-quickbar-nav a:hover { color: #fff; }
.footer--cuprise .footer-quickbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 991px) {
  .footer--cuprise .footer-quickbar-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer--cuprise .footer-quickbar-right { padding-bottom: 10px; flex-wrap: wrap; width: 100%; }
}
@media (max-width: 767px) {
  .footer--cuprise .footer-quickbar-nav { padding: 8px 0; }
  .footer--cuprise .footer-quickbar-nav a { padding: 8px 14px; font-size: 12px; }
  .footer--cuprise .footer-quickbar-nav a:first-child { padding-left: 0; }
  /* 법적고지 + 관련사이트 세로 정렬 */
  .footer--cuprise .footer-quickbar-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 14px;
  }
  .footer--cuprise .footer-related-wrap {
    width: 100%;
  }
  .footer--cuprise .footer-related-select {
    width: 100%;
    min-width: unset;
  }
  /* 브랜드 정보 폰트 조정 */
  .footer-contact p { font-size: 14px !important; }
  /* footer-bottom 세로 정렬 */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-bottom-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 479px) {
  .footer--cuprise .footer-quickbar-nav a { padding: 7px 10px; font-size: 11px; }
  .footer--cuprise .footer-quickbar-nav a:first-child { padding-left: 0; }
  .footer-copy { font-size: 11px !important; }
  .footer-legal a { font-size: 11px !important; padding: 0 8px; }
  .footer-desc { font-size: 12px !important; }
}

/* ══════════════════════════════════════════════════
   서브페이지 GNB — 항상 white 고정
══════════════════════════════════════════════════ */
.page-sub .site-gnb {
  background: #fff !important;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08) !important;
  position: sticky;
  top: 0;
}
.page-sub .gnb-logo img { filter: none !important; }
.page-sub .gnb-link { color: #18213a !important; }
.page-sub .gnb-link::after { background: var(--bs-primary) !important; }
.page-sub .gnb-item:hover > .gnb-link { color: var(--bs-primary) !important; }
.page-sub .gnb-fullmenu-toggle { color: #555 !important; }
.page-sub .gnb-fullmenu-toggle:hover { color: var(--bs-primary) !important; background: rgba(var(--bs-primary-rgb), 0.08) !important; }
.page-sub .gnb-mobile-toggle span { background: #333 !important; }

/* 강의실 페이지 — GNB 스크롤, lecture-nav만 sticky */
.page-lecture .site-gnb {
  position: relative !important;
  top: auto !important;
}

/* ══════════════════════════════════════════════════
   강의 네비게이션 바 (LECTURE NAV)
══════════════════════════════════════════════════ */
.lecture-nav {
  background: var(--bs-primary);
  position: sticky;
  top: 0;
  z-index: 900;
}
.lnav-inner {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  gap: 0;
}

/* 강좌 선택 드롭다운 */
.lnav-course-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 0;
  max-width: 300px;
  position: relative;
  overflow: visible;
}
.lnav-course-wrap:hover { max-width: none; }
.lnav-course-wrap:hover .lnav-course-dropdown { position: absolute; left: 0; top: 0; z-index: 50; }
.lnav-course-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px;
  height: 52px;
  min-width: 260px;
  max-width: 300px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, max-width 0.25s ease;
  white-space: nowrap;
}
.lnav-course-wrap:hover .lnav-course-btn {
  max-width: none;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
.lnav-course-btn.show { background: rgba(255,255,255,0.12); color: #fff; }
.lnav-course-btn iconify-icon { flex-shrink: 0; font-size: 16px; color: rgba(255,255,255,0.5); }
.lnav-course-btn::after { margin-left: auto; }
.lnav-course-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lnav-course-wrap:hover .lnav-course-name {
  overflow: visible;
  text-overflow: unset;
}
.lnav-course-menu {
  min-width: 320px;
  background: #162848;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.lnav-course-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7) !important;
  font-size: 16px;
  padding: 10px 16px;
  white-space: normal;
  transition: background 0.15s, color 0.15s;
}
.lnav-course-item iconify-icon { flex-shrink: 0; font-size: 10px; }
.lnav-course-item:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; }
.lnav-course-item.active {
  background: rgba(94,182,255,0.18) !important;
  color: #fff !important;
  font-weight: 700;
  border-left: 3px solid #5eb6ff;
}
.lnav-course-item.active iconify-icon { color: #5eb6ff; }

/* 강의실 메뉴 */
.lnav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0 8px;
  gap: 0;
}
.lnav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.lnav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 52px;
  line-height: 1;
  padding: 2px 16px 0;
  box-sizing: border-box;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.lnav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.15s;
}
.lnav-link iconify-icon { font-size: 17px; }
.lnav-link:hover { color: #fff; }
.lnav-item--active .lnav-link {
  color: #fff;
  font-weight: 700;
}
.lnav-item--active .lnav-link::after { background: #5eb6ff; }

/* 서브 드롭다운 */
.lnav-sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #162848;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 8px 8px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.lnav-item.has-lnav-sub:hover .lnav-sub-menu { display: block; }
.lnav-sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lnav-sub-menu li a:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* 로케이션 메뉴 (브레드크럼) */
.lnav-location {
  background: #fff;
  border-bottom: 1px solid #eef0f5;
}
.lnav-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  font-size: 13px;
}
.lnav-bc-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f0f4fb;
  color: #3B6FBF;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s;
}
.lnav-bc-home:hover { background: #dce6f7; }
.lnav-bc-sep { color: #ccc; font-size: 12px; display: flex; align-items: center; }
.lnav-bc-item {
  color: #555;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.lnav-bc-item:hover { background: #f0f4fb; color: #3B6FBF; }
.lnav-bc-item--current { color: #3B6FBF; font-weight: 700; }
.lnav-bc-dropdown .dropdown-menu {
  min-width: 160px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* 서브페이지 콘텐츠 */
.sub-content { padding: 40px 0 80px; }
.sub-content-inner { max-width: 100%; }
.sub-page-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid #eef0f5; }
.sub-page-title { font-size: 22px; font-weight: 800; color: #18213a; margin: 0 0 6px; }
.sub-page-desc { font-size: 14px; color: #7a8399; margin: 0; }

/* 강의 상세 탭 — Bootstrap sticky-top 기본값(1020)을 GNB(1000)보다 낮게 재정의 */
.lecture-detail-tab { z-index: 100; }

/* 강의 상세 탭 — GNB(64px) 바로 아래 sticky */
.page-sub .lecture-detail-tab {
  top: 64px;
  z-index: 100;
}
/* 탭 앵커 스크롤 오프셋 — GNB(64px) + 탭바(42px) + 여유(10px) */
.page-sub [id^="tab-item-"] {
  scroll-margin-top: 120px;
}
/* 태블릿/모바일 — GNB 60px 기준 */
@media (max-width: 1199px) {
  .page-sub .lecture-detail-tab {
    top: 60px;
  }
  .page-sub [id^="tab-item-"] {
    scroll-margin-top: 112px;
  }
}

/* 모바일 */
@media (max-width: 767px) {
  /* 강의 네비 전체 */
  .lnav-inner { flex-direction: column; min-height: auto; }

  /* 강좌 드롭다운 — hover 펼침 비활성, 전체 너비 */
  .lnav-course-wrap {
    max-width: 100% !important;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: visible;
  }
  .lnav-course-wrap:hover { max-width: 100% !important; }
  .lnav-course-wrap:hover .lnav-course-dropdown { position: static; }
  .lnav-course-btn {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100%;
    height: 44px;
    font-size: 12px;
  }
  .lnav-course-wrap:hover .lnav-course-btn { max-width: 100% !important; }
  .lnav-course-name { overflow: hidden !important; text-overflow: ellipsis !important; }
  .lnav-course-menu { width: 100%; min-width: 0; }

  /* 강의실 메뉴 — 가로 스크롤 */
  .lnav-menu {
    margin-left: 0;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 4px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lnav-menu::-webkit-scrollbar { display: none; }
  .lnav-item { flex-shrink: 0; }
  .lnav-link { padding: 0 12px; font-size: 12px; height: 44px; white-space: nowrap; }
  .lnav-sub-menu li a { font-size: 13px; padding: 8px 14px; }
  .lnav-course-item { font-size: 13px; padding: 9px 14px; }
  /* 서브메뉴 — hover 비활성, 클릭으로 열기 */
  .lnav-item.has-lnav-sub:hover .lnav-sub-menu { display: none; }
  .lnav-item.has-lnav-sub.mob-sub-open .lnav-sub-menu {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    z-index: 9999;
  }

  /* 브레드크럼 */
  .lnav-location { overflow: visible; }
  .lnav-breadcrumb { flex-wrap: nowrap; overflow: visible; }
  .lnav-bc-item { white-space: nowrap; font-size: 12px; }
  .lnav-bc-dropdown .dropdown-menu { position: absolute !important; min-width: 160px; }
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer {
  background: #18213a;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 0;
  font-size: 14px;
}
/* CUP-RISE: 퀵바가 최상단이므로 상단 padding 제거 */
.footer--cuprise { padding-top: 0; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { flex: 1; min-width: 240px; }
.footer-logos { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.footer-logos .footer-logo-img { margin-bottom: 0; }
.footer-logo-img { margin-bottom: 12px; display: block; }
.footer-desc { color: rgba(255, 255, 255, 0.5); font-size: 13px !important; margin-bottom: 8px; }
.footer-contact { font-style: normal; }
.footer-contact p { color: rgba(255, 255, 255, 0.5); font-size: 16px !important; margin: 0; }
.footer-contact strong { color: rgba(255, 255, 255, 0.75); margin-right: 6px; }

.footer-contact-box { flex-shrink: 0; }
.fcb-phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.fcb-phone-icon { font-size: 22px; }
.fcb-phone-main { flex: 1; }
.fcb-phone-label { display: block; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.04em; margin-bottom: 2px; }
.fcb-phone-number { font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.fcb-call-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bs-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.fcb-call-btn:hover { background: #002a5a; color: #fff; }
.fcb-info-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; }
.fcb-info-item { display: flex; gap: 5px; }
.fcb-label { color: rgba(255, 255, 255, 0.45); }
.fcb-value { color: rgba(255, 255, 255, 0.75); }
.fcb-sep { color: rgba(255, 255, 255, 0.2); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding:18px 0;
}
.footer-copy { font-size: 13px !important; color: rgba(255, 255, 255, 0.35); letter-spacing: 0.03em; margin: 0; }
.footer-bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 0; flex-wrap: wrap; }
.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.15s;
}
.footer-legal a:first-child { padding-left: 0; }
.footer-legal a:last-child { border-right: none; }
.footer-legal a:hover { color: #fff; }
.footer-legal a.emphasis { color: rgba(255, 255, 255, 0.7) !important; font-weight: 700; }
.footer-legal a.emphasis:hover { color: #fff !important; }

.footer-related-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.footer-related-label { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.4); white-space: nowrap; }
.footer-related-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.07)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239AA3B8'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 0 28px 0 12px;
  height: 32px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  min-width: 160px;
}
.footer-related-select:focus { outline: none; border-color: rgba(255, 255, 255, 0.3); }
.footer-related-select option { background: #1a2440; color: rgba(255, 255, 255, 0.8); }

@media (max-width: 767px) { .footer-nav { display: none !important; } }

/* ══════════════════════════════════════════════════
   HERO CATEGORY — 밝은 오버랩 카드 팬 (CUP-RISE 메인)
══════════════════════════════════════════════════ */

/* ── 섹션 컨테이너 ── */
.hero-category {
  position: relative;
  width: 100%;
  padding: 56px 0 68px;
  background: linear-gradient(150deg, #fdfcfa 0%, #fef8f0 50%, #fdf3e8 100%);
  overflow: visible;
  margin-top: 0;
  z-index: 0;
}

/* ── 식물/잎 장식 래퍼 — overflow 클리핑 담당 ── */
.hcat-leaves-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hcat-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hcat-leaf--tl { top: -20px; left: -20px; width: 260px; height: 320px; }
.hcat-leaf--br { bottom: -10px; right: -10px; width: 200px; height: 260px; }

/* ── 카드 묶음 (오버랩 팬 레이아웃) ── */
.hcat-cards {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 24px;
  gap: 0;
}

/* ── 개별 카드 ── */
.hcat-citem {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-right: -28px;
  cursor: pointer;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease-in-out,
              filter 0.6s ease-in-out;
  animation: hcatCardIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hcat-citem:last-child { margin-right: 0; }

/* z-index + 카드별 테마 컬러 변수 */
.hcat-c1 { z-index: 1; animation-delay: 0.05s; --card-color: #d4622a; }
.hcat-c2 { z-index: 2; animation-delay: 0.12s; --card-color: #2e80a0; }
.hcat-c3 { z-index: 3; animation-delay: 0.19s; --card-color: #c0406e; }
.hcat-c4 { z-index: 4; animation-delay: 0.26s; --card-color: #b87818; }
.hcat-c5 { z-index: 5; animation-delay: 0.33s; --card-color: #3a7850; }
.hcat-c6 { z-index: 6; animation-delay: 0.40s; --card-color: #7040a8; }

/* 주변 카드 흐림 — 호버된 카드에 포커스 */
.hcat-cards:has(.hcat-citem:hover) .hcat-citem:not(:hover) {
  opacity: 0.52;
  filter: brightness(0.86) saturate(0.7);
  transform: scale(0.97);
}

/* 호버 카드 */
.hcat-citem:hover {
  transform: scale(1.06);
  z-index: 20;
  opacity: 1 !important;
  filter: none !important;
}

/* 카드별 테마 컬러 그림자 */
.hcat-c1:hover { box-shadow: 0 24px 60px rgba(212, 98, 42, 0.30), 0 6px 16px rgba(0,0,0,0.08); }
.hcat-c2:hover { box-shadow: 0 24px 60px rgba(46, 128, 160, 0.30), 0 6px 16px rgba(0,0,0,0.08); }
.hcat-c3:hover { box-shadow: 0 24px 60px rgba(192, 64, 110, 0.30), 0 6px 16px rgba(0,0,0,0.08); }
.hcat-c4:hover { box-shadow: 0 24px 60px rgba(184, 120, 24, 0.30), 0 6px 16px rgba(0,0,0,0.08); }
.hcat-c5:hover { box-shadow: 0 24px 60px rgba(58, 120, 80, 0.30), 0 6px 16px rgba(0,0,0,0.08); }
.hcat-c6:hover { box-shadow: 0 24px 60px rgba(112, 64, 168, 0.30), 0 6px 16px rgba(0,0,0,0.08); }


/* 광택 스위프 — 호버 시 빛이 가로로 스쳐지나감 */
.hcat-citem::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.20) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  z-index: 8;
  pointer-events: none;
  transition: left 0s;
}
.hcat-citem:hover::before {
  left: 140%;
  transition: left 0.58s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hcatCardIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; }
}

/* ── 카드 상단 텍스트 영역 ── */
.hcat-ci-body {
  padding: 26px 22px 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 200px;
}

/* ── 아이콘 뱃지 ── */
.hcat-ci-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 4px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.3s ease;
}
.hcat-citem:hover .hcat-ci-badge { transform: scale(1.12) rotate(-6deg); }
.hcat-c1:hover .hcat-ci-badge { background: rgba(224, 114, 56, 0.22); }
.hcat-c2:hover .hcat-ci-badge { background: rgba(58, 144, 176, 0.22); }
.hcat-c3:hover .hcat-ci-badge { background: rgba(208, 80, 128, 0.22); }
.hcat-c4:hover .hcat-ci-badge { background: rgba(212, 140, 21, 0.22); }
.hcat-c5:hover .hcat-ci-badge { background: rgba(74, 138, 92, 0.22); }
.hcat-c6:hover .hcat-ci-badge { background: rgba(128, 85, 184, 0.22); }

/* 카드별 뱃지 색상 */
.hcat-c1 .hcat-ci-badge { background: rgba(224, 114, 56, 0.12); color: #d4622a; }
.hcat-c2 .hcat-ci-badge { background: rgba(58, 144, 176, 0.12); color: #2e80a0; }
.hcat-c3 .hcat-ci-badge { background: rgba(208, 80, 128, 0.12); color: #c0406e; }
.hcat-c4 .hcat-ci-badge { background: rgba(212, 140, 21, 0.12); color: #b87818; }
.hcat-c5 .hcat-ci-badge { background: rgba(74, 138, 92, 0.12); color: #3a7850; }
.hcat-c6 .hcat-ci-badge { background: rgba(128, 85, 184, 0.12); color: #7040a8; }

/* ── 카드 제목 ── */
.hcat-ci-title {
  font-size: clamp(13px, 1.2vw, 15.5px);
  font-weight: 800;
  color: #1c2036;
  line-height: 1.35;
  letter-spacing: -0.02em;
  word-break: keep-all;
  margin: 0;
  transition: color 0.3s ease;
}
.hcat-citem:hover .hcat-ci-title { color: var(--card-color); }

/* ── 카드 설명 ── */
.hcat-ci-desc {
  font-size: clamp(11px, 0.9vw, 12.5px);
  color: #7a8399;
  line-height: 1.65;
  margin: 0;
  word-break: keep-all;
}

/* ── 카드 하단 사진 ── */
.hcat-ci-photo {
  height: clamp(160px, 17vw, 240px);
  overflow: hidden;
}
.hcat-ci-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s ease;
  display: block;
}
.hcat-citem:hover .hcat-ci-photo img {
  transform: scale(1.10);
  filter: brightness(1.05) saturate(1.1);
}

/* ── 반응형 ── */

/* 태블릿 가로 (1024~1199px): 6열 유지, 텍스트 축소 */
@media (max-width: 1199px) {
  .hcat-cards { padding: 0 16px; }
  .hcat-ci-body { min-height: 165px; padding: 18px 14px 12px; }
  .hcat-ci-photo { height: clamp(120px, 13vw, 180px); }
  .hcat-ci-title { font-size: 12px; }
  .hcat-ci-desc { font-size: 10.5px; }
}

/* 태블릿 세로 (768~1023px): 3열 2행으로 전환, 오버랩 해제 */
@media (max-width: 1023px) {
  .hero-category { padding: 44px 0 56px; }
  .hcat-cards {
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 24px;
    justify-content: center;
    align-items: stretch;
  }
  .hcat-citem {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    margin-right: 0 !important;
  }
  .hcat-c1, .hcat-c2, .hcat-c3,
  .hcat-c4, .hcat-c5, .hcat-c6 { z-index: 1; }
  .hcat-ci-body { min-height: 150px; padding: 20px 16px 14px; }
  .hcat-ci-photo { height: 160px; }
  .hcat-ci-title { font-size: 14px; }
  .hcat-ci-desc { font-size: 12px; }
  .hcat-citem:hover { transform: scale(1.03); }
  .hcat-cards:has(.hcat-citem:hover) .hcat-citem:not(:hover) { opacity: 1; filter: none; transform: none; }
  .hcat-leaf--tl { width: 180px; height: 220px; }
  .hcat-leaf--br { width: 140px; height: 180px; }
}

/* 모바일 (≤767px): 2열 3행 */
@media (max-width: 767px) {
  .hero-category { padding: 32px 0 44px; }
  .hcat-cards {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 16px;
    justify-content: center;
    align-items: stretch;
  }
  .hcat-citem {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    margin-right: 0 !important;
  }
  .hcat-ci-body { min-height: 130px; padding: 16px 14px 12px; }
  .hcat-ci-photo { height: 130px; }
  .hcat-ci-title { font-size: 13px; }
  .hcat-ci-desc { font-size: 11px; line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hcat-ci-badge { width: 38px; height: 38px; font-size: 17px; }
  .hcat-citem:hover { transform: scale(1.03); }
  .hcat-cards:has(.hcat-citem:hover) .hcat-citem:not(:hover) { opacity: 1; filter: none; transform: none; }
  .hcat-leaf--tl { width: 140px; height: 180px; }
  .hcat-leaf--br { display: none; }
}

/* 소형 모바일 (≤479px): 2열 유지, 더 작게 */
@media (max-width: 479px) {
  .hcat-cards { gap: 10px; padding: 0 12px; }
  .hcat-citem { flex: 0 0 calc(50% - 5px); max-width: calc(50% - 5px); }
  .hcat-ci-body { min-height: 110px; padding: 14px 12px 10px; gap: 6px; }
  .hcat-ci-photo { height: 110px; }
  .hcat-ci-title { font-size: 12px; }
  .hcat-ci-desc { font-size: 10px; -webkit-line-clamp: 2; }
  .hcat-ci-badge { width: 34px; height: 34px; font-size: 15px; margin-bottom: 2px; }
}

/* ══════════════════════════════════════════════════
   CUP-RISE 히어로 전용 오버라이드 (.page-cuprise-hero)
══════════════════════════════════════════════════ */

/* 카드 내부 flex column — 사진 하단 고정 (썸네일 공백 제거) */
.page-cuprise-hero .hcat-citem {
  display: flex;
  flex-direction: column;
}
.page-cuprise-hero .hcat-ci-body {
  flex: 1;
  min-height: 0;
}
.page-cuprise-hero .hcat-ci-photo { flex-shrink: 0; }

/* 소개문구 3줄 고정 높이 + 말줄임 */
.page-cuprise-hero .hcat-ci-desc {
  height: calc(3 * 1.65em);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════
   HAHA 히어로 전용 오버라이드 (.page-haha-hero)
══════════════════════════════════════════════════ */

/* 섹션 배경 — CUP-RISE와 차별화 (연한 블루그레이 계열) */
.page-haha-hero .hero-category {
  background: linear-gradient(160deg, #eef3fb 0%, #f4f7fd 60%, #e8f0fc 100%);
}

/* 카드 내부 flex column — 사진이 항상 하단 고정 */
.page-haha-hero .hcat-citem {
  display: flex;
  flex-direction: column;
}
.page-haha-hero .hcat-ci-body {
  flex: 1;
  min-height: 0;
}
.page-haha-hero .hcat-ci-photo {
  flex-shrink: 0;
}

/* 소개문구 2줄 말줄임 (모든 사이즈) */
.page-haha-hero .hcat-ci-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 태블릿 (768~1023px): 2열 2행 (4카드 기준) */
@media (max-width: 1023px) {
  .page-haha-hero .hcat-citem {
    flex: 0 0 calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
  }
}

/* ══════════════════════════════════════════════════
   CUP-RISE 히어로 전용 (눈문배지·타이틀·설명·버튼)
══════════════════════════════════════════════════ */
.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.625rem, 6.75vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  word-break: keep-all;
}
.hero-title em { font-style: normal; color: #ffb347; }
.hero-desc {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  margin-bottom: 0;
  max-width: 520px;
  word-break: keep-all;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: #fff;
  color: var(--bs-primary);
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn-hero-primary:hover { background: #f0f4ff; color: var(--bs-primary); }
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.75); color: #fff; }
@media (max-width: 767px) {
  .hero-eyebrow { font-size: 10px; margin-bottom: 12px; }
  .hero-desc { font-size: 13px; }
  .hero-actions { gap: 8px; margin-top: 20px; }
  .btn-hero-primary, .btn-hero-outline { height: 42px; padding: 0 20px; font-size: 14px; }
}

/* ══════════════════════════════════════════════════
   HAHA 전용 — 신뢰지표 (trust stats)
══════════════════════════════════════════════════ */
.trust-section { background: #f8f9fa; padding: 56px 0; }
.trust-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 767px) { .trust-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.trust-stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--bs-primary);
  font-family: 'Pretendard', 'Inter', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.trust-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  word-break: keep-all;
}

/* ══════════════════════════════════════════════════
   HAHA 프로그램 카드 (간단한 카드형)
══════════════════════════════════════════════════ */
.program-card-s5 {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.program-card-s5:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12); transform: translateY(-3px); }
.program-card-s5 .pc-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8ecf4;
}
.program-card-s5 .pc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.program-card-s5:hover .pc-thumb img { transform: scale(1.05); }
.program-card-s5 .pc-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.program-card-s5 .pc-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--bs-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.program-card-s5 .pc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bs-body-color);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.program-card-s5 .pc-meta { font-size: 13px; color: #9aa3b8; margin-top: auto; }
.program-card-s5 .pc-price { font-size: 15px; font-weight: 700; color: var(--bs-primary); margin-top: 8px; }

/* ══════════════════════════════════════════════════
   FLOATING SIDE MENU (.floating-side-menu / .fsm-*)
══════════════════════════════════════════════════ */
.floating-side-menu {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 890;
  display: flex;
  flex-direction: column;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.18);
}
.fsm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  min-height: 84px;
  padding: 13px 9px;
  gap: 7px;
  background: var(--bs-primary);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.fsm-item:last-child { border-bottom: none; }
.fsm-item:hover { background: #002a5a; color: #fff; }
.fsm-icon { font-size: 26px; line-height: 1; }
.fsm-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0.92;
}
.fsm-top {
  background: rgba(20, 30, 55, 0.75) !important;
  backdrop-filter: blur(4px);
}
.fsm-top:hover { background: rgba(10, 18, 38, 0.9) !important; }
@media (max-width: 1199px) { .floating-side-menu { display: none; } }

/* ══════════════════════════════════════════════════
   HAHA 3-COLUMN SHORTCUT BANNER (.d2-popup-zone)
══════════════════════════════════════════════════ */
.d2-popup-zone {
  padding: 0;
  margin: 0;
}
.d2-popup-row {
  display: flex;
  align-items: stretch;
  min-height: 110px;
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 768px) { .d2-popup-row { min-height: 130px; } }
.d2-popup-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: filter 0.2s;
}
.d2-popup-item:last-child { border-right: none; }
.d2-popup-item:nth-child(1) {
  background: linear-gradient(135deg, #5b7fa6 0%, #7b9cbd 100%);
}
.d2-popup-item:nth-child(2) {
  background: linear-gradient(135deg, #4a7a5e 0%, #6b9d7e 100%);
}
.d2-popup-item:nth-child(3) {
  background: linear-gradient(135deg, #9e6b4a 0%, #c49070 100%);
}
.d2-popup-item:hover { filter: brightness(1.08); color: #fff; }
.d2-popup-icon {
  font-size: 36px;
  flex-shrink: 0;
  opacity: 0.9;
}
.d2-popup-text { text-align: left; }
.d2-popup-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}
.d2-popup-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.d2-popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  padding: 4px 12px;
}
@media (max-width: 767px) {
  .d2-popup-row { flex-direction: column; }
  .d2-popup-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .d2-popup-item:last-child { border-bottom: none; }
  .d2-popup-icon { font-size: 28px; }
  .d2-popup-title { font-size: 16px; }
}

/* ══════════════════════════════════════════════════
   CUP-RISE 교육과정 서브페이지 (.edu-qnav / .edu-section / .edu-info-strip)
══════════════════════════════════════════════════ */

/* 강의명 타이틀 (26px) */
.edu-sec-title { font-size: 1.625rem; display: flex; align-items: center; gap: 10px; color: #4e82c1; }
.edu-sec-title::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: #4e82c1;
  border-radius: 50%;
}

/* 퀵내비 (sticky) — GNB(64px) 바로 아래 고착 */
.edu-qnav {
  position: sticky;
  top: 64px;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #e8e8e5;
  box-shadow: 0 6px 6px -6px rgba(0, 0, 0, .12);
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}
.edu-qnav::-webkit-scrollbar { height: 3px; }
.edu-qnav::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); border-radius: 2px; }
.edu-qnav::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 1199px) {
  .edu-qnav { top: 60px; }
}

/* 탭 센터 정렬(데스크탑) */
/* safe center: overflow 발생 시 flex-start로 fallback → 첫 탭 잘림 방지 */
.edu-qnav .courses-tabs {
  justify-content: safe center;
  flex-wrap: nowrap;
  min-width: 100%;
  margin-bottom: 0 !important;
}
.edu-qnav .courses-tabs .nav-item {
  flex-shrink: 0;
}
.edu-qnav .courses-tabs .nav-link {
  padding-left: 18px;
  padding-right: 18px;
  margin-bottom: 0;
  white-space: nowrap;
}

.edu-section { scroll-margin-top: 119px; }
@media (max-width: 767px) {
  .edu-section { scroll-margin-top: 109px; }
}

/* 강의 설명문 */
.edu-sec-desc {
  font-size: 16px;
  line-height: 1.85;
  color: #3d4551;
  word-break: keep-all;
}

/* 수강정보 스트립 */
.edu-info-strip { row-gap: 12px; }
.edu-info-label { font-size: 14px; letter-spacing: .05em; }
.edu-info-value { font-size: 18px; }

/* 수강신청 버튼 — 스트립 우측 */
.edu-info-apply {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.edu-info-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), 0.35);
}
@media (max-width: 767px) {
  .edu-info-apply {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
    justify-content: center;
  }
}

/* 음악원 과정 카드 */
.edu-course-card {
  border: 1px solid #e8e8e5;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.edu-course-card-name {
  background: var(--bs-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}
.edu-course-card-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.edu-course-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0efed;
  font-size: 16px;
  line-height: 1.65;
  color: #3d4551;
}
.edu-course-row:last-child { border-bottom: none; }
.edu-course-row span:not(.edu-course-row-label) { font-weight: 700; }
.edu-course-row-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* ── 모바일 반응형 ── */
@media (max-width: 767px) {
  /* 퀵내비: shadow·스크롤바 제거 */
  .edu-qnav { box-shadow: none; padding: 6px 0; scrollbar-width: none; }
  .edu-qnav::-webkit-scrollbar { display: none; }

  /* 탭 왼쪽 정렬 */
  .edu-qnav .courses-tabs { justify-content: flex-start !important; }

  /* 섹션 상하 여백 축소 */
  .edu-section { padding-top: 2rem !important; padding-bottom: 2rem !important; }

  /* 강의 제목 폰트 크기 */
  .edu-sec-title { font-size: 1.25rem; }

  /* 수강정보 스트립 → 1열 목록 (왼쪽 정렬, 전체 너비) */
  .edu-info-strip {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;   /* align-items-center 오버라이드 */
    gap: 0 !important;
    row-gap: 0 !important;
    padding: 0 !important;
  }
  .edu-info-strip > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important;
    gap: 4px !important;
    flex-shrink: unset !important;
    width: 100% !important;
  }
  .edu-info-strip > div:last-child { border-bottom: none !important; }

  /* 값/레이블 폰트 */
  .edu-info-value { font-size: 16px; }
  .edu-info-label { font-size: 12px; }
}

/* 커리큘럼 번호 목록 */
.edu-goal-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.edu-goal-item { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 1.65; color: #3d4551; }
.edu-goal-item > span:last-child { padding-top: 3px; }
.edu-goal-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--bs-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

/* 교육과정 시간 블록 카드 */
.edu-time-card {
  background: #f8f9fa;
  border: 1px solid #eef0f5;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.edu-time-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dee2e6;
}
.edu-time-card-title { font-size: 15px; font-weight: 700; color: #18213a; margin-bottom: 0; }
.edu-time-card-num {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--bs-primary);
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-family: 'Pretendard', 'Inter', sans-serif;
}
.edu-time-card-num small { font-size: 0.8rem; font-weight: 700; margin-left: 1px; }
.edu-time-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.edu-time-list li {
  font-size: 15px;
  color: #3d4551;
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
  word-break: keep-all;
}
.edu-time-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #9aa3b8;
}
@media (max-width: 767px) {
  .edu-time-card { padding: 16px; }
  .edu-time-list li { font-size: 14px; }
}

@media (max-width: 767.98px) {
  .btn-sm-mobile {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
  }
}

/* ══════════════════════════════════════════════════
   GALLERY LIST
══════════════════════════════════════════════════ */
/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Card */
.gallery-card {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.08);
  transition: box-shadow .2s, transform .2s;
}
.gallery-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
  transform: translateY(-2px);
}
.gallery-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9ecef;
}
.gallery-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-card:hover .gallery-card-img img { transform: scale(1.05); }
.gallery-card-body { padding: 12px 14px 14px; }
.gallery-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-card-date { font-size: 1rem; color: #aaa; margin: 0; }

/* Pagination */
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
}
.gallery-page-btn {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
  color: #555;
  cursor: pointer;
  transition: all .15s;
}
.gallery-page-btn:hover:not(:disabled) { border-color: var(--bs-primary); color: var(--bs-primary); }
.gallery-page-btn.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  font-weight: 700;
}
.gallery-page-btn:disabled { opacity: .35; cursor: default; }

/* ══════════════════════════════════════════════════
   COURSE HINT ICON — 마우스 아이콘 슬라이드 인 애니메이션
══════════════════════════════════════════════════ */
@keyframes cursorSlideIn {
  0%   { transform: translate(calc(-50% - 130px), -50%); opacity: 0; }
  14%  { opacity: 1; }
  52%  { transform: translate(-50%, -50%); opacity: 1; }
  72%  { transform: translate(-50%, -50%); opacity: 1; }
  88%  { opacity: 0; }
  100% { transform: translate(calc(-50% - 130px), -50%); opacity: 0; }
}
.course-hint-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  pointer-events: none;
  animation: cursorSlideIn 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
/* hover 시 hint 아이콘 숨김 (hover-info가 z-index:3으로 덮음) */
.course-card-new:hover .course-hint-icon {
  opacity: 0;
  transition: opacity 0.2s;
  animation-play-state: paused;
}

/* ══════════════════════════════════════════════════
   시설현황 — sub_intro_facilities (CUP-RISE)
══════════════════════════════════════════════════ */

.sp-intro-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #3d4551;
  margin-bottom: 48px;
  word-break: keep-all;
}
@media(max-width:767px) { .sp-intro-lead { font-size: 16px; } }

/* 카테고리 섹션 */
.sp-fac-section { margin-bottom: 52px; }
.sp-fac-section:last-child { margin-bottom: 0; }
.sp-fac-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8eaf0;
}
.sp-fac-section-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #002a5a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sp-fac-section-title { font-size: 17px; font-weight: 800; color: #0d1b2a; }
.sp-fac-section-count { font-size: 12px; color: #a0aab8; font-weight: 500; margin-left: 4px; }

/* 시설 그리드 */
.sp-fac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media(max-width:1023px) { .sp-fac-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:767px)  { .sp-fac-grid { grid-template-columns: repeat(2, 1fr); } }

.sp-fac-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #e4e8ef;
}
.sp-fac-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.sp-fac-item:hover img { transform: scale(1.05); }
.sp-fac-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.sp-fac-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }

/* ── 벤토 그리드 (4열, 심플) ── */
.fac-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 6px;
}
.fac-gallery-grid .sp-fac-item { aspect-ratio: unset; cursor: pointer; }

/* img1: 2×2 피처드 / img10: 2×1 와이드 */
.fac-gallery-grid .sp-fac-item:nth-child(1)  { grid-column: span 2; grid-row: span 2; }
.fac-gallery-grid .sp-fac-item:nth-child(10) { grid-column: span 2; }

/* hover: 줌 아이콘 */
.fac-gallery-grid .sp-fac-item::after {
  content: '\f52a';
  font-family: 'bootstrap-icons';
  font-size: 22px;
  color: #fff;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, opacity .25s;
  border-radius: inherit;
  z-index: 1;
  opacity: 0;
}
.fac-gallery-grid .sp-fac-item:hover::after { background: rgba(0,0,0,.35); opacity: 1; }

/* 모바일: 2열 균등 */
@media(max-width:767px) {
  .fac-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 4px;
  }
  .fac-gallery-grid .sp-fac-item { grid-column: auto !important; grid-row: auto !important; }
}

/* ── 라이트박스 ── */
.fac-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fac-lightbox[hidden] { display: none !important; }
.fac-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fac-lb-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 94vw;
}
.fac-lb-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color .2s;
}
.fac-lb-close:hover { color: #fff; }
.fac-lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fac-lb-img {
  max-width: 84vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.fac-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  border: none;
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background .2s;
  z-index: 2;
}
.fac-lb-nav:hover { background: rgba(0,0,0,.7); }
.fac-lb-prev { left: 10px; }
.fac-lb-next { right: 10px; }
.fac-lb-counter { font-size: 12px; color: rgba(255,255,255,.5); }

@media(max-width:767px) {
  .fac-lb-img { max-width: 96vw; max-height: 62vh; }
  .fac-lb-nav { width: 36px; height: 36px; font-size: 14px; }
  .fac-lb-prev { left: 6px; }
  .fac-lb-next { right: 6px; }
  .fac-lb-close { top: -38px; font-size: 20px; }
}

/* ══════════════════════════════════════════════════
   오시는 길 — sub_intro_directions (CUP-RISE)
══════════════════════════════════════════════════ */

/* 주소 블록 */
.sp-dir-address {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 0 28px;
  margin-top: 0;
  margin-bottom: 0;
}
.sp-dir-addr-pin {
  font-size: 36px;
  color: #4e82c1;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.sp-dir-addr-main {
  font-size: 22px;
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 4px;
  word-break: keep-all;
}
.sp-dir-addr-sub {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
  word-break: keep-all;
}
.sp-dir-addr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 16px;
  color: #3d4551;
  margin-bottom: 18px;
}
.sp-dir-addr-meta strong { font-weight: 700; color: #0d1b2a; }
.sp-dir-addr-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #4e82c1;
  text-decoration: none;
  border: 1px solid #c5d4e8;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.sp-dir-addr-cta:hover { background: #4e82c1; color: #fff; border-color: #4e82c1; }
@media(max-width:767px) {
  .sp-dir-address { flex-direction: column; gap: 14px; }
  .sp-dir-addr-main { font-size: 18px; }
  .sp-dir-addr-sub, .sp-dir-addr-meta { font-size: 15px; }
}

/* 구분선 — 그라데이션 페이드 + 중앙 점 */
.sp-dir-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  margin-bottom: 0;
}
.sp-dir-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #4e82c1);
}
.sp-dir-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, #4e82c1);
}
.sp-dir-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4e82c1;
  flex-shrink: 0;
}

/* 지도 영역 */
.sp-dir-map {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}
.sp-dir-map a { display: block; }
.sp-dir-map img, .sp-dir-map picture { display: block; width: 100%; }

/* Daum Roughmap — 주소 텍스트 영역 숨김 + 지도 영역 전체 확장 */
.sp-dir-map .root_daum_roughmap .cont { display: none !important; }
.sp-dir-map .root_daum_roughmap .wrap_map { height: 100% !important; }

/* 교통 안내 — 4열 플랫 스트립 */
.sp-dir-transport {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid #e8eaf0;
  margin-top: 0;
}
@media(max-width:767px) { .sp-dir-transport { grid-template-columns: 1fr; } }
.sp-dir-tcard {
  padding: 28px 24px;
  border-right: 1px solid #e8eaf0;
}
.sp-dir-tcard:last-child { border-right: none; }
@media(max-width:767px) {
  .sp-dir-tcard { border-right: none; border-bottom: 1px solid #e8eaf0; }
  .sp-dir-tcard:last-child { border-bottom: none; }
}
.sp-dir-tcard-icon {
  font-size: 30px;
  color: #4e82c1;
  margin-bottom: 16px;
  display: block;
}
.sp-dir-tcard-title {
  font-size: 17px;
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 10px;
}
.sp-dir-tcard-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #6b7280;
  word-break: keep-all;
  margin: 0;
}
@media(max-width:767px) {
  .sp-dir-tcard-desc { font-size: 15px; }
}

/* ══════════════════════════════════════════════════
   설립목적 — sub_intro_purpose (CUP-RISE)
══════════════════════════════════════════════════ */

/* 인용구 박스 */
.sp-quote-box {
  background: #002a5a;
  border-radius: 14px;
  padding: 36px 40px;
  margin-bottom: 48px;
  position: relative;
}
.sp-quote-box::before {
  content: '\201C';
  font-size: 6rem;
  line-height: 1;
  color: rgba(255,255,255,.15);
  position: absolute;
  top: 8px; left: 20px;
  font-family: Georgia, serif;
}
.sp-quote-box p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.8;
  color: rgba(255,255,255,.92);
  word-break: keep-all;
  margin: 0;
  position: relative;
  z-index: 1;
}
@media(max-width:767px) { .sp-quote-box { padding: 28px 24px; } }

/* 핵심 가치 카드 */
.sp-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
@media(max-width:767px) { .sp-value-grid { grid-template-columns: 1fr; } }
.sp-value-card {
  background: #f7f8fb;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.sp-value-card:hover { box-shadow: 0 6px 24px rgba(0,42,90,.1); transform: translateY(-3px); }
.sp-value-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,42,90,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #002a5a;
  margin: 0 auto 14px;
}
.sp-value-title { font-size: 15px; font-weight: 800; color: #0d1b2a; margin-bottom: 7px; }
.sp-value-desc  { font-size: 13px; line-height: 1.7; color: #6b7280; word-break: keep-all; margin: 0; }

/* 본문 섹션 */
.sp-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #002a5a;
}
.sp-body-text {
  font-size: 18px;
  line-height: 1.85;
  color: #3d4551;
  word-break: keep-all;
  margin-bottom: 32px;
}
@media(max-width:767px) { .sp-body-text { font-size: 16px; } }

/* 연락처 박스 */
.sp-contact-box { background: #f7f8fb; border: 1px solid #e8eaf0; border-radius: 12px; padding: 26px; }
.sp-contact-box-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9ca3af; margin-bottom: 14px; }
.sp-contact-row { display: flex; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #eceae6; align-items: flex-start; word-break: keep-all; }
.sp-contact-row:last-child { border-bottom: none; }
.sp-contact-label { flex-shrink: 0; width: 52px; color: #9ca3af; font-weight: 500; }
.sp-contact-value { color: #1a2030; font-weight: 600; line-height: 1.6; }

/* 설립목적 페이지 레이아웃 */
.sp-purpose-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.sp-purpose-header {
  text-align: center;
  padding-bottom: 8px;
  position: relative;
}
.sp-purpose-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4e82c1;
  margin-bottom: 28px;
}
.sp-purpose-eyebrow::before,
.sp-purpose-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #4e82c1;
}
.sp-purpose-lead {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.75;
  color: #0d1b2a;
  word-break: keep-all;
  margin: 0;
  position: relative;
}
.sp-purpose-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 44px 0;
}
.sp-purpose-divider::before,
.sp-purpose-divider::after {
  content: '';
  display: block;
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: #dde4ef;
}
.sp-purpose-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4e82c1;
  flex-shrink: 0;
}
.sp-purpose-body {
  font-size: 18px;
  line-height: 1.9;
  color: #5a6475;
  word-break: keep-all;
  text-align: center;
  margin: 0;
}
/* 설립목적 이미지 (본문 위 가로 배치) */
.sp-purpose-img-wrap {
  margin-bottom: 36px;
}
.sp-purpose-img-full {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media(max-width:767px) {
  .sp-purpose-eyebrow { font-size: 18px; }
  .sp-purpose-eyebrow::before,
  .sp-purpose-eyebrow::after { width: 20px; }
  .sp-purpose-lead { font-size: 1.1rem; }
  .sp-purpose-body { font-size: 16px; text-align: left; }
  .sp-purpose-img-full { height: 200px; }
}

/* ══════════════════════════════════════════════════
   연혁 타임라인 — sub_intro_history (CUP-RISE)
══════════════════════════════════════════════════ */

/* 탭 — 데스크탑:중앙정렬 / 태블릿·모바일:가로스크롤 */
.hs-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .hs-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4e82c1 #e8edf4;
    padding-bottom: 6px;
  }
  .hs-tabs::-webkit-scrollbar { height: 4px; }
  .hs-tabs::-webkit-scrollbar-track { background: #e8edf4; border-radius: 2px; }
  .hs-tabs::-webkit-scrollbar-thumb { background: #4e82c1; border-radius: 2px; }
  .hs-tab-btn { font-size: 14px; flex-shrink: 0; }
}
.hs-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 10px;
  border: 2px solid #dde4ef;
  background: #fff;
  color: #6b7280;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hs-tab-btn:hover:not(.active) { border-color: #4e82c1; color: #4e82c1; background: rgba(78,130,193,.06); }
.hs-tab-btn.active { background: #4e82c1; border-color: #4e82c1; color: #fff; }
.hs-tab-panel { display: none; }
.hs-tab-panel.active { display: block; }

/* 타임라인 컨테이너 */
.hs-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 0 60px;
}
.hs-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: #dde4ef;
  z-index: 0;
}

/* 연도 그룹 — 홀수:우측 / 짝수:좌측 교차 */
.hs-year-group {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 52px;
}
.hs-year-group:nth-child(even) { justify-content: flex-start; }
.hs-year-group:last-child { padding-bottom: 0; }

/* 원형 마커 (tailim.com dots 애니메이션) */
@keyframes hs-ripple {
  0%   { opacity: .55; transform: scale(1); }
  100% { opacity: 0;   transform: scale(3.5); }
}
.hs-circle-marker {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4e82c1;
  z-index: 2;
  transition: transform .3s;
}
.hs-year-group.on .hs-circle-marker { transform: translateX(-50%) scale(1.2); }
.hs-circle-marker::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4e82c1;
  animation: hs-ripple 1.5s ease-in-out infinite;
}

/* 정보 박스 */
.hs-info-box {
  width: calc(50% - 34px);
  position: relative;
  z-index: 1;
}
/* 홀수(우측): 좌측 연결선 */
.hs-year-group:nth-child(odd) .hs-info-box::before {
  content: '';
  position: absolute;
  right: 100%; top: 24px;
  width: 32px; height: 2px;
  background: #dde4ef;
}
/* 짝수(좌측): 우측 연결선 + 텍스트 우측정렬 */
.hs-year-group:nth-child(even) .hs-info-box::before {
  content: '';
  position: absolute;
  left: 100%; top: 24px;
  width: 32px; height: 2px;
  background: #dde4ef;
}
.hs-year-group:nth-child(even) .hs-info-box { text-align: right; }

/* 연도 숫자 */
.hs-year-num {
  font-size: 48px;
  font-weight: 800;
  color: #4e82c1;
  line-height: 1;
  margin-bottom: 20px;
}

/* 항목 목록 */
.hs-items { list-style: none; padding: 0; margin: 0; }
.hs-item {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #dde4ef;
  font-size: 18px;
  align-items: flex-start;
}
.hs-item:last-child { border-bottom: none; }
.hs-year-group:nth-child(even) .hs-item { flex-direction: row-reverse; }
.hs-date {
  flex-shrink: 0;
  width: auto;
  white-space: nowrap;
  color: #6b7280;
  font-weight: 600;
  font-size: 15px;
  padding-top: 3px;
}
.hs-text { color: #3d4551; line-height: 1.65; word-break: keep-all; flex: 1; font-size: 18px; }
.hs-year-group:nth-child(even) .hs-text { text-align: right; }

/* 배지 */
.hs-badge { display:inline-block; font-size:10px; font-weight:700; background:rgba(78,130,193,.1); color:#4e82c1; border-radius:4px; padding:1px 6px; margin-left:6px; vertical-align:middle; white-space:nowrap; }
.hs-badge--award { background:#fef3c7; color:#92400e; }
.hs-badge--mou { background:#ecfdf5; color:#065f46; }

/* 기간 배너 — 에디토리얼 타이포그래피 스타일 */
.hs-period-banner {
  text-align: center;
  padding: 0 0 44px;
  margin-bottom: 0;
}
.hs-pb-range {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #4e82c1;
  margin-bottom: 10px;
}
.hs-pb-range::before,
.hs-pb-range::after {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: #4e82c1;
}
.hs-pb-sep { display: none; }
.hs-pb-motto {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #0d1b2a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  word-break: keep-all;
}
@media(max-width:767px) {
  .hs-pb-range::before,
  .hs-pb-range::after { width: 28px; }
  .hs-pb-motto { font-size: 20px; }
}

/* 사진 (해당 연도에 이미지가 있을 때) */
.hs-photo { margin-top: 14px; border-radius: 10px; overflow: hidden; }
.hs-photo img { width: 100%; height: 180px; object-fit: cover; display: block; }

/* 모바일: 좌측 단일 컬럼
   ─ timeline padding 제거 → year-group이 timeline 좌측 경계와 동일 위치
   ─ ::before(선)와 .hs-circle-marker 모두 left: 12px → 완전 정렬 */
@media (max-width: 767px) {
  .hs-timeline { padding: 0 0 40px 0; }
  .hs-timeline::before { left: 12px; transform: none; }
  /* 마커: year-group이 timeline과 같은 왼쪽 기준이므로 left: 12px로 선과 일치 */
  .hs-circle-marker {
    left: 12px;
    top: 18px;
    transform: translateX(-50%);
    width: 10px; height: 10px;
  }
  .hs-year-group,
  .hs-year-group:nth-child(even) {
    justify-content: flex-start;
    padding-left: 32px;  /* 12px(선) + 10px(여백) + 10px(원 반지름 여유) = 32px */
  }
  .hs-info-box,
  .hs-year-group:nth-child(even) .hs-info-box { width: 100%; text-align: left; }
  .hs-year-group:nth-child(odd) .hs-info-box::before,
  .hs-year-group:nth-child(even) .hs-info-box::before { display: none; }
  .hs-year-num { font-size: 28px; }
  .hs-item { font-size: 16px; }
  .hs-text { font-size: 16px; }
  .hs-date { font-size: 13px; width: auto; white-space: nowrap; }
  .hs-year-group:nth-child(even) .hs-item { flex-direction: row; }
  .hs-year-group:nth-child(even) .hs-text { text-align: left; }
}

/* ══════════════════════════════════════════════════
   수강안내 — sub_enroll_guide (CUP-RISE)
══════════════════════════════════════════════════ */

/* 탭 패널 제목 */
.eg-panel-header {
  text-align: center;
  padding-bottom: 40px;
}
.eg-panel-title {
  font-size: 26px;
  font-weight: 900;
  color: #0d1b2a;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
}
.eg-panel-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: #4e82c1;
  border-radius: 2px;
  margin: 10px auto 0;
}
@media(max-width:767px) { .eg-panel-title { font-size: 20px; } }

/* 수강생 모집 타이틀 (블릿 없음, 24px) */
.eg-recruit-title {
  font-size: 24px;
  font-weight: 900;
  color: #0d1b2a;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* 메인 탭 */
.eg-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.eg-tab-btn {
  padding: 11px 22px;
  border-radius: 10px;
  border: 2px solid #dde4ef;
  background: #fff;
  color: #6b7280;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.eg-tab-btn:hover:not(.active) { border-color: #4e82c1; color: #4e82c1; background: rgba(78,130,193,.06); }
.eg-tab-btn.active { background: #4e82c1; border-color: #4e82c1; color: #fff; }
.eg-tab-panel { display: none; }
.eg-tab-panel.active { display: block; }
@media(max-width:767px) {
  .eg-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #4e82c1 #e8edf4; padding-bottom: 6px; }
  .eg-tabs::-webkit-scrollbar { height: 4px; }
  .eg-tabs::-webkit-scrollbar-track { background: #e8edf4; }
  .eg-tabs::-webkit-scrollbar-thumb { background: #4e82c1; border-radius: 2px; }
  .eg-tab-btn { }
}

/* ── 수강신청절차 Step Flow ── */
.eg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 36px;
  position: relative;
}
@media(max-width:767px) { .eg-steps { grid-template-columns: repeat(2, 1fr); } }
.eg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  position: relative;
}
/* 화살표 연결 (우측 제외 마지막) */
.eg-step:not(:nth-child(4n)):not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 44px;
  width: 2px;
  height: 24px;
  background: #dde4ef;
}
.eg-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #4e82c1;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(78,130,193,.3);
}
.eg-step-text {
  font-weight: 600;
  color: #3d4551;
  line-height: 1.5;
  word-break: keep-all;
}
.eg-step-sub {
  color: #9ca3af;
  margin-top: 4px;
  word-break: keep-all;
}
.eg-notice-box {
  background: rgba(78,130,193,.08);
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 600;
  color: #002a5a;
  word-break: keep-all;
}

/* ── 모집안내 학기 탭 ── */
.eg-sem-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  margin-bottom: 32px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.eg-sem-tabs::-webkit-scrollbar { display: none; }
.eg-sem-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #dde4ef;
  background: #fff;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .18s;
}
.eg-sem-btn:hover:not(.active) { border-color: #4e82c1; color: #4e82c1; }
.eg-sem-btn.active { background: #4e82c1; border-color: #4e82c1; color: #fff; }
.eg-sem-panel { display: none; }
.eg-sem-panel.active { display: block; }

/* ── 과정 카드 그리드 ── */
.eg-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:1023px) { .eg-course-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:767px)  { .eg-course-grid { grid-template-columns: 1fr; } }

.eg-course-card {
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.eg-course-card:hover { box-shadow: 0 8px 28px rgba(0,42,90,.1); transform: translateY(-3px); }
.eg-course-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.eg-course-card-body { padding: 20px; }
.eg-course-card-title {
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 12px;
  word-break: keep-all;
}
.eg-course-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.eg-course-meta-row {
  display: flex;
  gap: 8px;
}
.eg-meta-label { color: #9ca3af; font-weight: 600; flex-shrink: 0; width: 60px; }
.eg-meta-value { color: #3d4551; font-weight: 500; }
.eg-course-card-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: #4e82c1;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .18s;
}
.eg-course-card-btn:hover { background: #3a6aaa; color: #fff; }

/* ── 수강료 납입 안내 ── */
.eg-account-box {
  background: #f7f8fb;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.eg-account-box-title {
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
}
.eg-account-row {
  display: flex;
  gap: 16px;
  align-items: center;
}
.eg-account-bank { font-weight: 800; color: #4e82c1; }
.eg-account-num  { font-weight: 700; color: #0d1b2a; font-size: 18px; letter-spacing: .04em; }
.eg-account-name { color: #6b7280; }

.eg-caution-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.eg-caution-item { display: flex; align-items: flex-start; gap: 10px; color: #5a6475; line-height: 1.65; word-break: keep-all; }
.eg-caution-item::before { content: '·'; flex-shrink: 0; color: #4e82c1; font-weight: 900; font-size: 1.5em; line-height: 1.1; }
/* 중첩 caution-list 레이아웃 + 하위 뎁스 bullet 다른 타입 */
.eg-caution-item > .eg-caution-list { margin-top: 6px; padding-left: 4px; }
.eg-caution-item .eg-caution-item::before { content: '–'; color: #9ca3af; font-size: 1em; font-weight: 400; line-height: 1.5; }

/* 모집안내 과정 카테고리 제목 */
.eg-cat-title {
  font-size: 20px;
  font-weight: 900;
  color: #0d1b2a;
  background: none;
  padding: 14px 0 6px;
  margin-top: 20px;
  margin-bottom: 12px;
  border-radius: 0;
  letter-spacing: -0.01em;
}
.eg-cat-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #4e82c1;
  border-radius: 2px;
  margin-top: 8px;
}
.eg-cat-title + .eg-caution-list {
  margin-bottom: 8px;
}

/* NEW 강좌 뱃지 */
.eg-new-badge {
  display: inline-block;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 1px 5px;
  border-radius: 20px;
  vertical-align: middle;
  margin-right: 5px;
  line-height: 1.3;
}

/* ── 감면/환불 테이블 ── */
.eg-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

/* 모바일: 모집안내 테이블 줄바꿈 방지 → 가로 스크롤 */
@media(max-width:767px) {
  .eg-table--mojip th,
  .eg-table--mojip td { white-space: nowrap; }
}

/* 모바일: 납입·감면 테이블(eg3) — 가로 스크롤 반응형 (항목 많은 감면표 대응) */
@media(max-width:767px) {
  #eg3 .eg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #eg3 .eg-table--grid { min-width: 560px; }
  #eg3 .eg-table--grid th,
  #eg3 .eg-table--grid td { word-break: keep-all; white-space: normal; }
}

/* 모바일: 환불안내 테이블(eg4) — 가로 스크롤 반응형 */
@media(max-width:767px) {
  #eg4 .eg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #eg4 .eg-table--grid { min-width: 540px; }
  #eg4 .eg-table--grid th,
  #eg4 .eg-table--grid td { white-space: normal; word-break: keep-all; }
}
.eg-table { width: 100%; border-collapse: collapse; }
.eg-table th { background: #4e82c1; color: #fff; padding: 12px 14px; text-align: center; font-weight: 700; white-space: nowrap; }
.eg-table td { padding: 11px 14px; border-bottom: 1px solid #e8eaf0; color: #3d4551; vertical-align: middle; text-align: center; word-break: keep-all; }
.eg-table td:first-child { font-weight: 700; color: #0d1b2a; text-align: center; }

/* 모집안내 테이블: 줄무늬 + 마지막 줄 하단 테두리 유지 */
.eg-table--mojip tr:nth-child(even) td { background: #f9fafb; }
.eg-table--mojip tr:last-child td { border-bottom: 1px solid #e8eaf0; }

/* 수강료 납입·감면·환불 테이블: 가로+세로 전체 그리드 라인 */
.eg-table--grid th,
.eg-table--grid td { border: 1px solid #c8d4e8; }
.eg-table--grid tbody th { background: #f7f8fb; color: #3d4551; font-weight: 700; }
.eg-table--grid td:first-child { font-weight: 400; color: #3d4551; }
.eg-rate-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(78,130,193,.12);
  color: #4e82c1;
  font-weight: 800;
}

.eg-numbered-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.eg-numbered-item { display: flex; gap: 12px; color: #5a6475; line-height: 1.7; word-break: keep-all; }
.eg-numbered-item-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #4e82c1;
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.eg-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #4e82c1;
  margin-bottom: 16px;
}
.eg-desc-text {
  font-size: 15px;
  line-height: 1.8;
  color: #5a6475;
  margin-bottom: 24px;
  word-break: keep-all;
}

/* ══════════════════════════════════════════════════
   HAHA 소개 페이지 (sub01_intro_*)
══════════════════════════════════════════════════ */

/* ─── 사업소개 ─── */
.about-intro-text h4 { font-size: 28px; font-weight: 800; color: #18213a; margin-bottom: 20px; }
.about-intro-text p { font-size: 20px; line-height: 1.85; color: #4a5568; margin-bottom: 20px; word-break: keep-all; }
.about-intro-text p:last-child { margin-bottom: 0; }
.about-intro-text strong { color: #18213a; font-weight: 700; }
@media (max-width:767px) {
  .about-intro-text h4 { font-size: 22px; }
  .about-intro-text p { font-size: 17px; }
}

/* 동영상 플레이어 */
.campus-video-wrap {
  width: 100%;
}
.campus-video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* 동영상 썸네일 (포스터 이미지 + 재생버튼) */
.campus-video-thumb {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}
.campus-video-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.campus-video-thumb:hover img { transform: scale(1.03); }
.campus-video-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 42, 0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.3s;
}
.campus-video-thumb:hover .campus-video-thumb__overlay { background: rgba(14, 22, 42, 0.52); }
.campus-video-thumb__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #18213a;
  transition: transform 0.25s, background 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.campus-video-thumb:hover .campus-video-thumb__play {
  transform: scale(1.1);
  background: #fff;
}
.campus-video-thumb__label {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
@media (max-width:767px) {
  .campus-video-thumb__play { width: 56px; height: 56px; font-size: 24px; }
  .campus-video-thumb__label { font-size: 14px; }
}

/* ─── 사업개요 ─── */
.overview-lead { font-size: 20px; color: #4a5568; line-height: 1.8; word-break: keep-all; margin-bottom: 0; }
.stat-card {
  background: #fff;
  border: 1.5px solid #e0e8f5;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
}
.stat-card iconify-icon { font-size: 36px; color: #3B6FBF; margin-bottom: 14px; display: block; }
.stat-card__label { font-size: 13px; color: #8596a8; font-weight: 600; margin: 0 0 6px; }
.stat-card__value { font-size: 20px; font-weight: 800; color: #18213a; margin: 0 0 0; line-height: 1.35; word-break: keep-all; }
.stat-card__desc { font-size: 13px; color: #6a7a8c; line-height: 1.5; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #edf1f8; word-break: keep-all; letter-spacing: -0.2px; }
@media (max-width: 767px) {
  .stat-card { padding: 18px 14px; }
  .stat-card iconify-icon { font-size: 28px; margin-bottom: 10px; }
  .stat-card__label { font-size: 12px; }
  .stat-card__value { font-size: 15px; }
  .stat-card__desc { font-size: 11px; }
}
.roadmap-section-title { font-size: 24px; font-weight: 800; color: #18213a; margin: 48px 0 8px; }
.roadmap-section-desc { font-size: 18px; color: #4a5568; line-height: 1.75; margin-bottom: 24px; word-break: keep-all; }
.roadmap-card {
  background: #fff;
  border: 1.5px solid #e0e8f5;
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
}
.roadmap-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.roadmap-card__step {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  background: #3B6FBF;
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
}
.roadmap-card__area {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  background: #eef3fb;
  color: #3B6FBF;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #b8ccec;
}
.roadmap-card h5 { font-size: 20px; font-weight: 800; color: #18213a; margin-bottom: 10px; }
.roadmap-card__desc { font-size: 16px; color: #4a5568; line-height: 1.7; margin-bottom: 16px; word-break: keep-all; }
.roadmap-card__list { padding-left: 0; list-style: none; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.roadmap-card__list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #3B6FBF;
  background: #f0f5fc;
  border: 1px solid #b8ccec;
  border-radius: 6px;
  padding: 8px 14px;
  text-decoration: none;
  line-height: 1.45;
  word-break: keep-all;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.roadmap-card__list li a::after {
  content: '›';
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.18s, transform 0.18s;
}
.roadmap-card__list li a:hover {
  background: #3B6FBF;
  color: #fff;
  border-color: #3B6FBF;
}
.roadmap-card__list li a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

/* ─── 주요기능 ─── */
.function-card { background: #fff; border: 1.5px solid #e0e8f5; border-radius: 14px; overflow: hidden; height: 100%; }
.function-card__img { aspect-ratio: 4/3; overflow: hidden; background: #f6f9ff; }
.function-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.function-card:hover .function-card__img img { transform: scale(1.04); }
.function-card__body { padding: 22px 20px; }
.function-card__title { font-size: 22px; font-weight: 800; color: #18213a; margin-bottom: 8px; }
.function-card__desc { font-size: 17px; color: #4a5568; line-height: 1.75; margin: 0; word-break: keep-all; }
@media (max-width:767px) {
  .function-card__title { font-size: 19px; }
  .function-card__desc { font-size: 15px; }
}

/* ─── BI소개 ─── */
@font-face {
  font-family: 'Jalnan';
  src: url('/assets/fonts/jalnan/Jalnan.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 로고 박스 */
.bi-logo-box { display: flex; flex-direction: column; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.bi-logo-img { background: #fff; padding: 60px 40px; text-align: center; }
.bi-logo-img img { max-width: 360px; width: 100%; display: inline-block; }
.bi-logo-txt { background: rgb(246, 245, 245); padding: 18px 28px 22px; font-size: 18px; color: #333; line-height: 1.65; word-break: keep-all; }

/* 다운로드 버튼 */
.bi-download-row { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 56px; }
.bi-btn-down {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #DF3C6E;
  background: transparent;
  border: 1px solid #DF3C6E;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  word-break: keep-all;
}
.bi-btn-down:hover { background: #DF3C6E; color: #fff; }
.bi-btn-down iconify-icon { font-size: 18px; flex-shrink: 0; }

/* HAHA 타이틀 (잘난체) */
.bi-haha-title {
  font-family: 'Jalnan', sans-serif;
  color: #DF3C6E;
  font-size: 45px;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 28px;
  word-break: keep-all;
}

/* 브랜드 설명 */
.bi-brand-desc { font-size: 18px; color: #4a5568; line-height: 1.85; margin: 0 auto 48px; max-width: 700px; word-break: keep-all; text-align: center; }
.bi-info-card { background: #fff; border: 1.5px solid #e0e8f5; border-radius: 14px; padding: 28px 24px; height: 100%; }
.bi-info-card__label { font-size: 12px; font-weight: 700; color: #3B6FBF; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px; }
.bi-info-card__title { font-family: 'Jalnan', sans-serif; font-size: 30px; font-weight: 400; color: #41354F; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1.5px solid #e0e8f5; line-height: 1.3; }
.bi-info-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bi-info-card ul li { font-size: 17px; color: #4a5568; line-height: 1.7; padding-left: 18px; position: relative; word-break: keep-all; }
.bi-info-card ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--bs-primary); }
@media (max-width:767px) {
  .bi-logo-img { padding: 36px 24px; }
  .bi-logo-txt { font-size: 16px; padding: 14px 18px 18px; }
  .bi-download-row { justify-content: flex-start; }
  .bi-btn-down { font-size: 15px; padding: 10px 14px; }
  .bi-haha-title { font-size: 28px; }
  .bi-brand-desc { font-size: 16px; }
  .bi-info-card__title { font-size: 24px; }
  .bi-brand-desc { font-size: 16px; }
  .bi-info-card ul li { font-size: 15px; }
}

/* ─── 추진경과 ─── */
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(223, 60, 110, 0.25); }
  50%       { box-shadow: 0 0 16px 4px rgba(223, 60, 110, 0.15); }
}

.haha-timeline {
  position: relative;
  display: grid;
  gap: 40px;
}
.haha-timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 46px;
  bottom: 46px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3B6FBF 0%, #a8c4f0 100%);
  opacity: 0.7;
  z-index: 0;
}

/* 연도 그룹 */
.haha-timeline__year-group {
  display: grid;
  grid-template-columns: 93px 1fr;
  gap: 32px;
  align-items: start;
}

/* 연도 배지 */
.haha-timeline__year-label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 80px;
  z-index: 1;
}
.haha-timeline__year-badge {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5f93d4 0%, #3B6FBF 100%);
  box-shadow: 0 12px 22px rgba(59, 111, 191, 0.22);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* 항목 목록 */
.haha-timeline__items { display: grid; gap: 14px; }

/* 카드 항목 */
.haha-timeline__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 90px 20px 24px;
  border-radius: 48px;
  border: 1px solid rgb(227, 216, 221);
  background: #fff;
  box-shadow: 0 8px 18px rgba(112, 96, 88, 0.08);
}
.haha-timeline__item::after {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.haha-timeline__item--done .haha-timeline__date { color: #3B6FBF; }
.haha-timeline__item--done::after  { content: '완료'; background: #e8f0fc; color: #3B6FBF; }
.haha-timeline__item--live         { border: 2px solid #DF3C6E; background: rgb(255, 247, 249); animation: live-pulse 2s ease-in-out infinite; }
.haha-timeline__item--live::after  { content: '진행'; background: #DF3C6E; color: #fff; }
.haha-timeline__item--plan::after  { content: '계획'; background: #FFF6E6; color: #B67816; }

.haha-timeline__date {
  margin: 0;
  color: #DF3C6E;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 110px;
}
.haha-timeline__text {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  color: #18213a;
  line-height: 1.45;
  word-break: keep-all;
  flex: 1;
}

@media (max-width: 991px) {
  .haha-timeline__year-group { grid-template-columns: 72px 1fr; gap: 20px; }
  .haha-timeline__year-badge { width: 64px; height: 64px; font-size: 17px; }
  .haha-timeline::before { left: 34px; }
}
@media (max-width: 767px) {
  .haha-timeline { gap: 28px; }
  .haha-timeline::before { left: 28px; top: 36px; bottom: 36px; width: 3px; }
  .haha-timeline__year-group { grid-template-columns: 58px 1fr; gap: 14px; }
  .haha-timeline__year-badge { width: 54px; height: 54px; font-size: 15px; }
  .haha-timeline__items { gap: 10px; }
  .haha-timeline__item { padding: 16px 16px 46px 18px; border-radius: 20px; flex-wrap: wrap; gap: 6px; }
  .haha-timeline__item::after { top: auto; bottom: 12px; right: 16px; transform: none; }
  .haha-timeline__date { font-size: 14px; min-width: auto; }
  .haha-timeline__text { font-size: 16px; }
}

/* ══════════════════════════════════════════════════
   리빙랩 (sub05_living_*)
══════════════════════════════════════════════════ */

/* 탭 바 (중앙 정렬 단독) */
.living-tab-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.living-tab-bar .eg-tabs { margin-bottom: 0; }

/* 총건수 + 우측 액션 버튼 행 */
.living-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #dee2e6;
  padding-top: 16px;
  margin-bottom: 20px;
}
.living-count-bar .living-tab-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 공모 카드 배지 오버레이 */
.living-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 4px;
  z-index: 1;
}

/* 게시물 상세 제목 (공모 상세 / 심사결과 상세 공통) */
.post-view-title {
  font-size: clamp(1.375rem, 3.2vw, 2rem);
  font-weight: 700;
  color: #18213a;
  line-height: 1.3;
  margin-bottom: 0;
}

/* 게시물 메타 */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #6a7a8c;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f8;
  margin-bottom: 20px;
}
.post-meta strong { color: #18213a; }
.post-period {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f8;
  margin-bottom: 20px;
}

/* 이전글/다음글 */
.post-nav { border-top: 2px solid #18213a; margin-top: 40px; }
.post-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f8;
  font-size: 15px;
}
.post-nav-label {
  flex-shrink: 0;
  min-width: 54px;
  font-weight: 700;
  color: #8596a8;
  font-size: 13px;
}
.post-nav-link {
  flex: 1;
  color: #18213a;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-nav-link:hover { color: var(--bs-primary); text-decoration: underline; }

/* 신청폼 상단 안내문구 */
.living-form-desc {
  font-size: 15px;
  color: #5a6678;
  margin-bottom: 24px;
}
.living-form-desc .req { color: var(--bs-danger); }

/* 연령 자동 계산 표시 */
.living-age-display { font-size: 16px; font-weight: 700; color: #18213a; }
.living-age-display.is-empty { font-weight: 400; color: #98a2b3; }

/* 동의 항목 블록 */
.living-agree-item { padding: 16px 2px; border-bottom: 1px solid #edf1f8; }
.living-agree-item:last-child { border-bottom: none; }
.living-agree-title { font-weight: 700; color: #18213a; }
.living-agree-desc { font-size: 14px; color: #5a6678; line-height: 1.6; }

/* 구글폼 제출 확인 박스 */
.living-gform-confirm {
  background: #f6f9ff;
  border: 1px solid #dbe5f5;
  border-radius: 10px;
  padding: 18px 20px;
}
.living-gform-confirm-q { font-weight: 700; color: #18213a; }

/* 신청폼 섹션 */
.living-form-section { margin-bottom: 36px; }
.living-form-section-title {
  font-size: 20px;
  font-weight: 900;
  color: #0d1b2a;
  padding: 0 0 12px 0;
  margin-bottom: 0;
  border-bottom: 2px solid #0d1b2a;
  background: none;
  letter-spacing: -0.01em;
}
.living-form-table { width: 100%; border-collapse: collapse; }
.living-form-table th {
  width: 180px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e0e8f0;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  vertical-align: middle;
  white-space: nowrap;
}
.living-form-table td {
  padding: 12px 16px;
  border: 1px solid #e0e8f0;
  vertical-align: middle;
}
.living-form-table .req { color: var(--bs-danger); margin-left: 2px; }

/* 기타 직접입력 */
.living-other-input { display: none; margin-top: 8px; }
.living-other-input.show { display: block; }

/* 결과 테이블 */
.living-board-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.living-board-table thead th {
  background: #f6f9ff;
  border-top: 2px solid #18213a;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 16px;
  font-weight: 700;
  color: #18213a;
  text-align: center;
  white-space: nowrap;
}
.living-board-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f8;
  vertical-align: middle;
  color: #3d4551;
}
.living-board-table tbody tr:hover { background: #f8fafc; }
.living-board-table .td-num { text-align: center; width: 60px; color: #8596a8; }
.living-board-table .td-title { word-break: keep-all; }
.living-board-table .td-title a { color: #18213a; text-decoration: none; font-weight: 500; }
.living-board-table .td-title a:hover { color: var(--bs-primary); text-decoration: underline; }
.living-board-table .td-center { text-align: center; }
.living-board-table-wrap { overflow-x: auto; }

/* 상태 뱃지는 LXP 공통 Bootstrap 배지 사용 (lxp_common_components 참고)
   예) badge rounded-pill bg-blue bg-opacity-10 text-blue — result-badge 커스텀 제거됨 */

/* 나의 리빙랩 프로그램 탭 */
.living-tabs { border-bottom: 2px solid #e5e9f0; gap: 4px; flex-wrap: wrap; }
.living-tabs .nav-link {
  border: none;
  background: none;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #8694a5;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 0;
}
.living-tabs .nav-link:hover { color: #18213a; }
.living-tabs .nav-link.active { color: var(--bs-primary); border-bottom-color: var(--bs-primary); background: none; }
.living-tab-count {
  display: inline-block;
  min-width: 22px;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  border-radius: 999px;
  background: #eef1f5;
  color: #8694a5;
  vertical-align: middle;
}
.living-tabs .nav-link.active .living-tab-count { background: var(--bs-primary); color: #fff; }

@media (max-width: 767px) {
  .living-count-bar { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* 나의 리빙랩 프로그램 탭 — 한 줄 유지(가로 스크롤 fallback) */
  .living-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .living-tabs::-webkit-scrollbar { display: none; }
  .living-tabs .nav-link { font-size: 15px; padding: 10px 12px; white-space: nowrap; }
  .living-tab-count { font-size: 11px; min-width: 20px; padding: 1px 7px; margin-left: 5px; }

  /* 하단 버튼 사이즈 축소 */
  .living-form-btns .btn { padding: 6px 14px; font-size: 13px; }

  /* 폼 테이블 → 세로 스택 레이블+입력 */
  .living-form-table,
  .living-form-table tbody,
  .living-form-table tr,
  .living-form-table th,
  .living-form-table td { display: block; width: 100%; box-sizing: border-box; }
  .living-form-table tr { border-bottom: 1px solid #e8edf4; padding: 14px 0; }
  .living-form-table tr:last-child { border-bottom: none; }
  .living-form-table th {
    background: transparent;
    border: none;
    padding: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    white-space: normal;
  }
  .living-form-table td { border: none; padding: 0; }

  .living-board-table { font-size: 13px; min-width: 600px; }
  .living-board-table thead th, .living-board-table tbody td { padding: 10px 8px; }
  .post-nav-item { gap: 8px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   시설/기자재 예약 (sub04_facility) — 둘러보기 + 상세
═══════════════════════════════════════════════════════════ */

/* 목록으로 */
.fac-back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 600; color: #5a6678; text-decoration: none;
}
.fac-back-link:hover { color: var(--bs-primary); }

/* ── 둘러보기: 총 건수 + 검색 + 필터 ─────────────────── */
.fac-listbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.fac-count { flex-shrink: 0; font-size: 16px; color: #5a6678; margin-right: auto; }
.fac-count strong { color: var(--bs-primary); font-weight: 800; }
.fac-search {
  flex: 0 1 300px; display: flex; align-items: center; gap: 8px;
  background: #f6f8fb; border: 1px solid #e5e9f0; border-radius: 999px;
  padding: 8px 16px; color: #8694a5; font-size: 16px;
}
.fac-search:focus-within { border-color: var(--bs-primary); background: #fff; }
.fac-search-input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  font-size: 15px; color: #18213a;
}
.fac-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fac-chip {
  border: 1px solid #e0e5ee; background: #fff; color: #5a6678;
  border-radius: 999px; padding: 8px 18px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.fac-chip:hover { border-color: #c2cbd9; color: #18213a; }
.fac-chip.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }

/* ── 시설 카드 그리드 ────────────────────────────────── */
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fac-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid #eef0f5; border-radius: 12px; overflow: hidden;
  background: #fff; transition: transform .2s, box-shadow .2s;
}
.fac-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.10); }
.fac-card-thumb { position: relative; aspect-ratio: 4/3; background: #f1efe8; overflow: hidden; }
.fac-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fac-card-thumb--empty {
  background: repeating-linear-gradient(135deg, #f3f1ea, #f3f1ea 14px, #efece3 14px, #efece3 28px);
}
.fac-badge-avail {
  background: rgba(22,163,74,.14); color: #16a34a;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.fac-card-body { padding: 14px 16px 16px; }
.fac-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
/* 배지 — pill 스타일 (목록 카드 + 상세 공통) */
.fac-tag-bld {
  background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.fac-tag-room {
  background: #eef1f5; color: #5a6678;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.fac-tag-scope {
  border: 1px solid #d6dce6; color: #5a6678;
  font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 999px;
}
.fac-card-name { font-size: 18px; font-weight: 700; color: #18213a; margin: 0 0 10px; }
.fac-card-meta { display: flex; align-items: center; justify-content: space-between; }
.fac-card-cap { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: #5a6678; }
.fac-card-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--bs-primary); }
.fac-empty { text-align: center; color: #8694a5; padding: 48px 0; }

/* ── 부대시설 ─────────────────────────────────────────── */
.fac-notice {
  display: flex; align-items: flex-start; gap: 8px;
  background: #f6f9ff; border: 1px solid #dbe5f5; border-radius: 10px;
  padding: 14px 18px; margin-bottom: 22px; color: #44516a; font-size: 15px; line-height: 1.6;
}
.fac-notice iconify-icon { color: var(--bs-primary); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.subfac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subfac-card {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid #eef0f5; border-radius: 12px; padding: 18px 20px; background: #fff;
}
.subfac-thumb {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px;
  background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.subfac-name { font-size: 16px; font-weight: 700; color: #18213a; margin: 0 0 2px; }
.subfac-price { font-size: 16px; font-weight: 700; color: var(--bs-primary); margin: 0 0 2px; }
.subfac-price span { font-size: 13px; font-weight: 500; color: #8694a5; }
.subfac-stock { font-size: 13px; color: #8694a5; margin: 0; }

/* ── 상세: 좌측 정보 ─────────────────────────────────── */
.fac-hero { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: #f1efe8; }
.fac-hero img { width: 100%; height: 100%; object-fit: cover; }
.fac-hero-btn {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(24,33,58,.78); color: #fff; border: none;
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(2px);
}
.fac-hero-btn:hover { background: rgba(24,33,58,.92); }
.fac-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding-top: 18px; margin-bottom: 20px; }
.fac-detail-name { font-size: 26px; font-weight: 800; color: #18213a; margin: 10px 0 0; }
.fac-detail-head .fac-card-tags .fac-tag-bld,
.fac-detail-head .fac-card-tags .fac-tag-room,
.fac-detail-head .fac-card-tags .fac-tag-scope { font-size: 13px; padding: 5px 14px; }
.fac-detail-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 0; }
.fac-detail-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #5a6678; }
.fac-detail-meta iconify-icon { color: var(--bs-primary); }
.fac-detail-meta strong { color: #18213a; font-weight: 700; }
.fac-sec-title {
  font-size: 18px; font-weight: 700; color: #18213a;
  padding-left: 10px; border-left: 3px solid var(--bs-primary); margin-bottom: 14px;
}
.fac-sec-desc { font-size: 15px; color: #5a6678; line-height: 1.7; }
.fac-info-table { width: 100%; border-collapse: collapse; border-top: 1px solid #e8edf4; }
.fac-info-table th, .fac-info-table td {
  padding: 14px 16px; font-size: 15px; text-align: left; vertical-align: top;
  border-bottom: 1px solid #eef0f5; word-break: keep-all;
}
.fac-info-table th { width: 38%; background: #f8fafc; color: #44516a; font-weight: 600; }
.fac-info-table td { color: #18213a; font-weight: 500; }
.fac-subfac-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fac-subfac-chip {
  border: 1px solid #e0e5ee; background: #f8fafc; color: #44516a;
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px;
}
/* 시설·장비 정보 탭 앵커 스크롤 오프셋 (GNB + sticky 탭바) */
.page-sub [id^="fac-tab-"],
.page-sub [id^="eq-tab-"] { scroll-margin-top: 120px; }
@media (max-width: 1199px) {
  .page-sub [id^="fac-tab-"],
  .page-sub [id^="eq-tab-"] { scroll-margin-top: 112px; }
}

/* ── 상세: 우측 예약 패널 ────────────────────────────── */
.fac-booking {
  border: 1px solid #e5e9f0; border-radius: 14px; padding: 22px;
  background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.05);
}
.fac-booking-title { font-size: 18px; font-weight: 800; color: #18213a; margin: 0 0 16px; }
.fac-book-block { padding: 16px 0; border-top: 1px solid #f0f3f8; }
.fac-book-block:first-of-type { border-top: none; padding-top: 0; }
.fac-book-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: #18213a; margin-bottom: 10px;
}
.fac-book-label iconify-icon { color: var(--bs-primary); }
.fac-book-hint { font-size: 13px; color: #8694a5; margin: 8px 0 0; }
.fac-slot-cap { font-size: 13px; font-weight: 600; color: #8694a5; margin: 12px 0 6px; }
.fac-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fac-slot {
  border: 1px solid #e0e5ee; background: #fff; color: #44516a;
  border-radius: 8px; padding: 9px 0; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .12s;
}
.fac-slot:hover:not(:disabled) { border-color: var(--bs-primary); color: var(--bs-primary); }
.fac-slot.active { background: #18213a; border-color: #18213a; color: #fff; }
.fac-slot:disabled { opacity: .35; cursor: not-allowed; }
.fac-slot-info { background: #f8fafc; border-radius: 8px; padding: 12px 14px; margin-top: 12px; font-size: 13px; color: #5a6678; }
.fac-slot-summary { font-weight: 700; color: var(--bs-primary); }
.fac-counter { display: flex; align-items: center; justify-content: space-between; }
.fac-counter-cap { font-size: 14px; color: #8694a5; }
.fac-counter-ctrl { display: flex; align-items: center; gap: 4px; }
.fac-counter-btn {
  width: 34px; height: 34px; border: 1px solid #d6dce6; background: #fff;
  border-radius: 8px; font-size: 18px; font-weight: 700; color: #44516a; cursor: pointer;
}
.fac-counter-btn:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.fac-counter-num { min-width: 52px; text-align: center; font-size: 16px; font-weight: 700; color: #18213a; }
.fac-hvac { display: flex; align-items: center; justify-content: space-between; }
.fac-hvac .form-check { display: flex; align-items: center; gap: 8px; padding-left: 0; }
.fac-hvac .form-check-input { float: none; margin: 0; }
.fac-hvac .form-check-label { font-size: 14px; color: #5a6678; }
.fac-addon-list { list-style: none; margin: 0; padding: 0; }
.fac-addon-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #f0f3f8;
}
.fac-addon-item:last-child { border-bottom: none; }
.fac-addon-item label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #18213a; cursor: pointer; margin: 0; }
.fac-addon-price { font-size: 14px; font-weight: 600; color: #5a6678; }
.fac-sum { border-top: 1px dashed #d6dce6; padding-top: 16px; margin-top: 4px; }
.fac-sum-row { display: flex; justify-content: space-between; font-size: 15px; color: #5a6678; margin-bottom: 8px; }
.fac-sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid #eef0f5; padding-top: 14px; margin-top: 6px;
}
.fac-sum-total span:first-child { font-size: 16px; font-weight: 700; color: #18213a; }
.fac-sum-total span:last-child { font-size: 24px; font-weight: 800; color: var(--bs-primary); }
.fac-info-box {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fdf6ec; border: 1px solid #f5e3c8; border-radius: 10px;
  padding: 14px 16px; margin-top: 14px; font-size: 13px; color: #6b5836; line-height: 1.6;
  word-break: keep-all;
}
.fac-info-box iconify-icon { color: #d98a16; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.fac-info-box p { margin: 0; }
.fac-reserve-btn { margin-top: 18px; font-size: 17px; font-weight: 700; padding: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

@media (min-width: 992px) {
  .fac-booking { position: sticky; top: 88px; }
}

/* ── 서약서 / 접수 모달 ──────────────────────────────── */
.fac-pledge .modal-title,
.fac-done .modal-title { font-weight: 800; color: #fff; }
/* 접수 안내 모달 — 헤더 라운드 처리 (서약서 모달과 동일) */
.fac-done { overflow: hidden; }
.fac-pledge-lead { background: #f8fafc; border-radius: 8px; padding: 12px 14px; font-size: 14px; color: #44516a; margin-bottom: 18px; }
.fac-pledge-list { padding-left: 20px; margin: 0; }
.fac-pledge-list li { font-size: 15px; color: #2c3647; line-height: 1.7; margin-bottom: 10px; word-break: keep-all; }
.fac-pledge-foot { font-size: 14px; color: #5a6678; line-height: 1.7; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #eef0f5; word-break: keep-all; }
.fac-done-icon { font-size: 56px; color: #16a34a; line-height: 1; margin-bottom: 12px; }
.fac-done-title { font-size: 20px; font-weight: 800; color: #18213a; margin: 0 0 8px; }
.fac-done-desc { font-size: 14px; color: #5a6678; line-height: 1.6; margin: 0 0 20px; word-break: keep-all; }
.fac-done-info { text-align: left; border-top: 1px solid #eef0f5; padding-top: 16px; margin: 0; }
.fac-done-info dt { font-size: 13px; font-weight: 700; color: #8694a5; margin-bottom: 4px; }
.fac-done-info dd { font-size: 16px; color: #18213a; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fac-done-info dd:last-child { margin-bottom: 0; }
.fac-done-amount { font-weight: 800; color: var(--bs-primary); }

/* 입금 계좌 안내 모달 — 계좌 표 */
.pay-account-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.pay-account-table th, .pay-account-table td { border: 1px solid #e5e9f0; padding: 10px 8px; text-align: center; }
.pay-account-table thead th { background: #f6f9ff; color: #5a6678; font-weight: 700; }
.pay-account-table tbody td { color: #18213a; font-weight: 600; }
/* ── 시설 예약 반응형 ────────────────────────────────── */
@media (max-width: 1199px) {
  .fac-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .fac-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .subfac-grid { grid-template-columns: 1fr; }
  .fac-listbar { flex-wrap: wrap; }
  .fac-listbar .fac-search { order: 3; flex: 1 0 100%; font-size: 16px; }
  .fac-count { order: 1; }
  .fac-listbar .btn { order: 2; margin-left: auto; }
  .fac-card-name { font-size: 16px; }
  .fac-detail-name { font-size: 22px; }
  .fac-slots { grid-template-columns: repeat(4, 1fr); }
  .fac-sum-total span:last-child { font-size: 20px; }
}
@media (max-width: 479px) {
  .fac-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   장비 대여 (sub04_equipment / _view) — 시설 fac-* 재사용 + 신청 폼
   ═══════════════════════════════════════════════════════════ */
.fac-back-link { font-size: 14px; font-weight: 600; color: #5a6678; text-decoration: none; }
.fac-back-link:hover { color: var(--bs-primary); }

/* 신청 폼 안내문 */
.eq-form-desc { font-size: 13px; color: #6b7689; line-height: 1.6; margin: -8px 0 18px; word-break: keep-all; }

/* 번호 섹션 제목 (▌ 1. 신청자 기본정보) */
.eq-sec-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 800; color: #18213a;
  margin: 0 0 14px;
}
.eq-sec-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bs-primary); color: #fff;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.eq-sec-hint { font-size: 12.5px; color: #8694a5; margin: -8px 0 14px; word-break: keep-all; }

/* 폼 필드 */
.eq-field { margin-bottom: 14px; }
.eq-field-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 600; color: #44516a; margin-bottom: 6px;
}
.eq-field-label iconify-icon { color: var(--bs-primary); font-size: 16px; }
.eq-label-sub { font-size: 12px; font-weight: 500; color: #8694a5; }

/* 소속구분 칩 그룹 */
.eq-affil { display: flex; flex-wrap: wrap; gap: 6px; }

/* 고정(수정 불가) 입력 — 회색 배경 + 자물쇠 아이콘 */
.eq-input-lock { position: relative; }
.eq-input-lock .eq-lock-icon {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  color: #9aa6b6; font-size: 16px; pointer-events: none;
}
.eq-input-fixed {
  background-color: #f1f3f7; color: #6b7689; cursor: not-allowed; padding-right: 38px;
}
.eq-input-fixed:focus {
  background-color: #f1f3f7; border-color: #dde3ee; box-shadow: none; color: #6b7689;
}

/* 시작시간 슬롯 — 시간 + 잔여 수량 2줄 */
.eq-slot { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0; line-height: 1.2; }
.eq-slot-time { font-size: 14px; font-weight: 700; }
.eq-slot-stock { font-size: 11px; font-weight: 600; color: #16a34a; }
.eq-slot.active .eq-slot-stock { color: #b9f6ca; }
.eq-slot:disabled .eq-slot-stock { color: #8694a5; }

/* 예상 사용료 — 시간/개수 상세 */
.eq-fee-detail { font-size: 12px; font-weight: 500; color: #8694a5; }

/* 예상 사용료 — 협의 */
.eq-fee-negotiable { font-size: 22px; font-weight: 800; color: #18213a; }

.eq-agree-check .form-check-label { font-size: 14px; font-weight: 600; color: #2c3647; }

/* 제출 안내 */
.eq-submit-hint { font-size: 12.5px; color: #8694a5; text-align: center; margin: 8px 0 0; }

@media (max-width: 767px) {
  .eq-fee-negotiable { font-size: 20px; }
  /* 소속구분 칩 — 한 줄에 모두 표시 */
  .eq-affil { flex-wrap: nowrap; gap: 4px; }
  .eq-affil-chip { padding: 5px 9px; font-size: 12px; white-space: nowrap; flex-shrink: 1; }
}

/* ═══════════════════════════════════════════════════════════
   나의 신청·결제 내역 (sub08_mypage_payment)
═══════════════════════════════════════════════════════════ */

/* 검색 필터 (PDF 8p) */
.pay-filter {
  border: 1px solid #e5e9f0; border-radius: 12px; background: #fff;
  padding: 8px 22px; margin-bottom: 22px;
}
.pay-filter-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0f3f8; }
.pay-filter-row:last-of-type { border-bottom: none; }
.pay-filter-label { flex-shrink: 0; width: 88px; font-size: 15px; font-weight: 700; color: #18213a; }
.pay-filter-field { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pay-filter-field .form-control { max-width: 360px; }
.pay-date-field .pay-date { max-width: 170px; }
.pay-date-sep { color: #8694a5; }
.pay-quick { display: inline-flex; gap: 4px; margin-left: 6px; }
.pay-quick-btn {
  border: 1px solid #e0e5ee; background: #fff; color: #5a6678;
  border-radius: 8px; padding: 7px 14px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .12s;
}
.pay-quick-btn:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.pay-quick-btn.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.pay-status-checks { gap: 8px 18px; }
.pay-check { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #44516a; cursor: pointer; margin: 0; }
.pay-filter-btns { display: flex; justify-content: center; gap: 8px; padding: 16px 0 4px; }

/* 목록 상단 */
.pay-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pay-status-guide { font-size: 14px; font-weight: 600; color: #5a6678; text-decoration: none; }
.pay-status-guide:hover { color: var(--bs-primary); }

/* 테이블 — 시설명/장비명 셀 (명칭 bold, 신청번호는 보조 스타일 유지) */
.pay-table .td-title { line-height: 1.5; font-weight: 700; color: #18213a; }
.pay-resv-no { display: block; font-size: 12px; font-weight: 600; color: #8694a5; margin-bottom: 2px; }
.pay-table .td-center small { color: #8694a5; font-weight: 400; }
/* 총결제금액 bold + 한 줄 유지 */
.pay-table tbody td.td-amount { font-weight: 700; color: #18213a; white-space: nowrap; }
.pay-table thead th { white-space: nowrap; }
/* 보유 장소 — 한 줄 유지 */
.pay-table tbody td.td-place { white-space: nowrap; }

/* 유의사항 */
.pay-notice { background: #f8fafc; border: 1px solid #eef0f5; border-radius: 12px; padding: 18px 22px; margin-top: 28px; }
.pay-notice-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pay-notice-head .pay-notice-title { margin-bottom: 0; }
.pay-notice-title { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: #18213a; margin: 0 0 10px; }
.pay-notice-title iconify-icon { color: var(--bs-primary); }
.pay-notice ul { margin: 0; padding-left: 18px; }
.pay-notice li { font-size: 14px; color: #5a6678; line-height: 1.7; word-break: keep-all; }

/* 신청·결제상태 안내 (접이식 카드) */
.pay-guide-card { border: 1px solid #e5e9f0; border-radius: 12px; overflow: hidden; margin-top: 28px; }
.pay-guide-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #f8fafc; border: none; padding: 14px 18px;
  font-size: 16px; font-weight: 700; color: #18213a; cursor: pointer;
}
.pay-guide-toggle > span { display: inline-flex; align-items: center; gap: 6px; }
.pay-guide-toggle > span iconify-icon { color: var(--bs-primary); }
.pay-guide-caret { color: #8694a5; transition: transform .2s; }
.pay-guide-toggle[aria-expanded="false"] .pay-guide-caret { transform: rotate(-90deg); }
.pay-guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px;
  padding: 18px; border-top: 1px solid #eef0f5;
}
.pay-guide-item { display: flex; align-items: flex-start; gap: 8px; }
.pay-guide-item .badge { flex-shrink: 0; }
.pay-guide-item p { margin: 0; font-size: 13px; color: #5a6678; line-height: 1.5; word-break: keep-all; }
@media (max-width: 991px) { .pay-guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .pay-guide-grid { grid-template-columns: 1fr; } }
/* 빈 상태 (과정·기자재) */
.pay-empty { text-align: center; color: #98a2b3; padding: 70px 0; }
.pay-empty iconify-icon { font-size: 52px; color: #cbd3df; }
.pay-empty p { margin: 14px 0 0; font-size: 16px; }

/* ═══════════════════════════════════════════════════════════
   강사 소개 (sub06_instructor)
═══════════════════════════════════════════════════════════ */

/* 검색 */
.inst-search {
  display: flex; align-items: center; gap: 8px; max-width: 420px; margin: 0 auto 22px;
  background: #f6f8fb; border: 1px solid #e5e9f0; border-radius: 999px;
  padding: 10px 18px; color: #8694a5; font-size: 18px;
}
.inst-search:focus-within { border-color: var(--bs-primary); background: #fff; }
.inst-search-input { flex: 1; min-width: 0; border: none; background: none; outline: none; font-size: 16px; color: #18213a; }

/* 총 인원 + 정렬 */
.inst-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.inst-bar strong { color: var(--bs-primary); }
.inst-sort { display: inline-flex; align-items: center; gap: 10px; }
.inst-sort-btn { border: none; background: none; padding: 0; font-size: 15px; font-weight: 600; color: #8694a5; cursor: pointer; }
.inst-sort-btn:hover { color: #18213a; }
.inst-sort-btn.active { color: var(--bs-primary); }
.inst-sort-div { width: 1px; height: 12px; background: #d6dce6; }

/* 카드 그리드 */
.inst-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.inst-card { }
.inst-card-inner {
  position: relative; display: flex; flex-direction: column; align-items: center;
  width: 100%; border: 1px solid #eef0f5; border-radius: 12px; background: #fff;
  padding: 22px 12px; cursor: pointer; transition: box-shadow .2s, transform .2s; overflow: hidden;
}
.inst-card-inner:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.10); }
.inst-photo { width: 104px; height: 104px; border-radius: 12px; overflow: hidden; background: #f1efe8; margin-bottom: 12px; }
.inst-photo img { width: 100%; height: 100%; object-fit: cover; }
.inst-name { font-size: 17px; font-weight: 700; color: #18213a; }
.inst-edu { margin-top: 4px; font-size: 13px; color: #8694a5; text-align: center; line-height: 1.4; word-break: keep-all; }
/* 호버 오버레이 (skin02 방식) */
.inst-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(24,33,58,.82); color: #fff; font-size: 15px; font-weight: 600;
  opacity: 0; transition: opacity .2s;
}
.inst-card-inner:hover .inst-overlay,
.inst-card-inner:focus-visible .inst-overlay { opacity: 1; }
.inst-overlay-ic {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 24px;
}
.inst-empty { text-align: center; color: #8694a5; padding: 48px 0; }

/* 상세 모달 */
.inst-modal .modal-title { font-weight: 800; color: #fff; }
.inst-profile-photo { width: 110px; height: 110px; border-radius: 12px; overflow: hidden; background: #f1efe8; }
.inst-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.inst-profile-info { list-style: none; margin: 0; padding: 0; }
.inst-profile-info li { padding: 5px 0; font-size: 15px; color: #18213a; word-break: keep-all; }
.inst-profile-info li strong { color: #44516a; }
.inst-modal-title { font-size: 17px; font-weight: 700; color: #18213a; margin: 0 0 12px; }

@media (max-width: 1199px) { .inst-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
  .inst-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .inst-search { font-size: 16px; }
  .inst-profile-photo { margin: 0 auto 12px; }
  .inst-career-table, .inst-course-table { min-width: 520px; }
}

@media (max-width: 767px) {
  .pay-filter { padding: 6px 16px; }
  .pay-filter-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pay-filter-label { width: auto; }
  .pay-filter-field .form-control { max-width: none; width: 100%; }
  .pay-date-field .pay-date { flex: 1; max-width: none; }
  .pay-quick { margin-left: 0; flex-wrap: wrap; }
  .pay-table { min-width: 680px; }

  /* ── 결제내역 테이블 → 카드형 전환 (가로스크롤 제거) ── */
  .living-board-table-wrap { overflow: visible; }
  .pay-table { min-width: 0; }
  .pay-table thead { display: none; }
  .pay-table tbody,
  .pay-table tr,
  .pay-table td { display: block; width: auto; }
  .pay-table tr {
    border: 1px solid #e5e9f0; border-radius: 12px;
    padding: 14px 16px; margin-bottom: 12px; background: #fff;
  }
  .pay-table td {
    border: none; padding: 6px 0; text-align: left;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
  }
  .pay-table td::before {
    content: attr(data-label);
    flex-shrink: 0; font-size: 12.5px; font-weight: 600; color: #8694a5;
  }
  /* 장비명/시설명 — 카드 헤더 (라벨 없이 전체폭) */
  .pay-table td.td-title {
    display: block; padding: 0 0 10px; margin-bottom: 8px;
    border-bottom: 1px solid #eef0f5;
  }
  .pay-table td.td-title::before { display: none; }
  /* 값 우측 정렬 보정 */
  .pay-table td.td-center { text-align: right; }
  .pay-table .td-center small { font-weight: 400; }
  /* 액션 — 라벨 숨기고 버튼 가로 배치 */
  .pay-table td:last-child { padding-top: 12px; margin-top: 4px; }
  .pay-table td:last-child::before { display: none; }
  .pay-table td:last-child .d-flex { flex-direction: row !important; width: 100%; gap: 8px; }
  .pay-table td:last-child .btn { flex: 1; }
  .pay-table td:last-child > .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   리빙랩 프로그램 안내 (sub05_living_intro)
═══════════════════════════════════════════════════════════ */

/* 인트로 */
.ll-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--bs-primary); margin-bottom: 8px; }
.ll-intro-title { font-size: 30px; font-weight: 800; color: #18213a; margin: 0 0 14px; }
.ll-intro-lead { font-size: 16px; color: #5a6678; line-height: 1.8; margin: 0 0 18px; }
.ll-intro-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ll-intro-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #f1efe8; }
.ll-intro-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 섹션 공통 타이틀 */
.ll-sec-title { font-size: 24px; font-weight: 800; color: #18213a; margin: 0 0 8px; }
.ll-sec-desc { font-size: 16px; color: #5a6678; line-height: 1.7; margin: 0; }

/* 운영 목적 카드 */
.ll-goal-card {
  position: relative; overflow: hidden;
  height: 100%; min-height: 240px;
  border-radius: 14px; padding: 34px 22px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-color: #18213a; background-size: cover; background-position: center;
  transition: box-shadow .2s, transform .2s;
}
.ll-goal-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,33,58,.55), rgba(24,33,58,.84));
  transition: background .2s;
}
.ll-goal-card > * { position: relative; z-index: 1; }
.ll-goal-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.20); }
.ll-goal-card:hover::before { background: linear-gradient(180deg, rgba(24,33,58,.62), rgba(24,33,58,.9)); }
.ll-goal-ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.ll-goal-title { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.ll-goal-desc { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.6; margin: 0; }
.ll-goal-1 { background-image: url(/assets/images/SKIN06/ll_goal_01.jpg); }
.ll-goal-2 { background-image: url(/assets/images/SKIN06/ll_goal_02.jpg); }
.ll-goal-3 { background-image: url(/assets/images/SKIN06/ll_goal_03.jpg); }

/* 운영 내용 — 리스트 블록 중앙 정렬(li 내용은 좌측) */
.ll-goal-list-center { max-width: 1150px; margin-left: auto; margin-right: auto; text-align: left; }

/* 참여 대상 패널 카드 */
.ll-panel-card { height: 100%; border: 1px solid #eef0f5; border-radius: 14px; background: #fff; padding: 22px; }
.ll-panel-head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #f0f3f8; }
.ll-panel-head iconify-icon { font-size: 26px; color: var(--bs-primary); }
.ll-panel-name { font-size: 18px; font-weight: 800; color: #18213a; }
.ll-panel-count { margin-left: auto; }
.ll-panel-info { list-style: none; margin: 0; padding: 0; }
.ll-panel-info li { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; color: #18213a; word-break: keep-all; }
.ll-panel-info li span { flex-shrink: 0; width: 44px; font-weight: 700; color: #8694a5; }
.ll-panel-info li strong { font-weight: 500; }

/* 운영 지원 */
.ll-support-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  border-radius: 14px; padding: 24px 28px; color: #fff;
  background-color: #18213a;
  background-image:
    radial-gradient(circle at 92% 50%, rgba(94,182,255,.22), transparent 46%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: auto, 16px 16px;
}
.ll-support-box > * { position: relative; z-index: 1; }
.ll-support-box iconify-icon { font-size: 34px; color: #9ec1ff; flex-shrink: 0; }
.ll-support-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); }
.ll-support-org { font-size: 19px; font-weight: 700; margin: 2px 0 0; }

/* 하단 CTA */
.ll-cta { text-align: center; background: #fff; border: 1px solid #e5e9f0; border-radius: 16px; padding: 40px 24px; }
.ll-cta-title { font-size: 24px; font-weight: 800; color: #18213a; margin: 0 0 8px; }
.ll-cta-desc { font-size: 16px; color: #5a6678; margin: 0 0 22px; }
.ll-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (max-width: 767px) {
  .ll-intro-title { font-size: 24px; }
  .ll-sec-title { font-size: 20px; }
  .ll-cta-btns .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════
   나의 건강측정/상담 (sub08_mypage_health)
═══════════════════════════════════════════════════ */

/* 헤더 요약 카드 */
.health-summary-card {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  padding: 28px 28px 24px;
}
.health-summary-name { font-size: 22px; font-weight: 800; color: #18213a; margin: 0 0 4px; }
.health-summary-meta { font-size: 14px; color: #8492a6; margin: 0; }

/* 수치 카드 */
.health-metric-card {
  background: #f8fafc;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 16px 18px;
  height: 100%;
}
.health-metric-label { font-size: 13px; font-weight: 600; color: #5a6678; }
.health-fixed-badge { font-size: 11px !important; padding: 2px 7px !important; }
.health-metric-value { font-size: 32px; font-weight: 800; color: #18213a; line-height: 1.2; margin: 6px 0 4px; }
.health-metric-value--alert { color: #e84040; }
.health-metric-unit { font-size: 14px; font-weight: 500; color: #8492a6; }
.health-metric-change { font-size: 13px; display: flex; align-items: center; gap: 2px; }

/* 차트 카드 */
.health-chart-card,
.health-history-card,
.health-program-card {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  padding: 24px 24px 20px;
}
.health-section-icon { font-size: 20px; color: var(--bs-primary); }
.health-section-title { font-size: 17px; font-weight: 700; color: #18213a; }
.health-section-head {
  border-bottom: 1px solid #e5e9f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* 항목 선택 탭 */
.health-metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 767.98px) {
  .health-metric-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .health-metric-tabs::-webkit-scrollbar { display: none; }
}
.health-metric-tab {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #dde3ee;
  background: #f4f6fb;
  color: #5a6678;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.health-metric-tab:hover { border-color: var(--bs-primary); color: var(--bs-primary); background: #f0f4ff; }
.health-metric-tab.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; font-weight: 600; }
.health-pin-icon { font-size: 13px; color: #2196f3; }
.health-metric-tab.active .health-pin-icon { color: rgba(255,255,255,0.9); }
.health-tab-alert { color: #e84040; }
.health-metric-tab.active .health-tab-alert { color: #ffcdd2; }
.health-chart-desc {
  font-size: 12.5px;
  color: #8492a6;
  line-height: 1.5;
}
.health-chart-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
  vertical-align: middle;
}
.health-center-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid var(--bs-primary);
  border-radius: 20px;
  color: var(--bs-primary);
  font-size: 12.5px;
  font-weight: 500;
}

/* 이력 아코디언 */
.health-history-accordion .accordion-item { border: none; border-bottom: 1px solid #e5e9f0; }
.health-history-accordion .accordion-item:last-child { border-bottom: none; }
.health-history-btn {
  background: transparent !important;
  box-shadow: none !important;
  padding: 14px 0;
  color: #18213a;
}
.health-history-btn:not(.collapsed) { color: var(--bs-primary); }
.health-hist-icon { font-size: 18px; color: var(--bs-primary); flex-shrink: 0; }
.health-hist-cal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8edf5;
  color: #8492a6;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.health-history-btn:not(.collapsed) .health-hist-cal {
  background: var(--bs-primary);
  color: #fff;
}
.health-hist-date { font-size: 15px; }
/* 날짜 + 메타 묶음 — PC: 한 줄(날짜 좌·메타 우), 모바일: 2줄 스택 */
.health-hist-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 20px; /* 메타 문구와 우측 화살표 사이 간격 */
}
.health-hist-dateline { display: flex; align-items: center; gap: 8px; }
.health-hist-meta { white-space: nowrap; }
@media (max-width: 767.98px) {
  .health-hist-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .health-hist-meta { font-size: 12.5px; }
}
.health-history-body { padding: 4px 0 16px; }
.health-hist-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  height: 100%;
}
.health-hist-item--alert { background: #fff5f5; }
.health-hist-label { display: block; font-size: 12px; color: #8492a6; font-weight: 500; margin-bottom: 3px; }
.health-hist-val { display: block; font-size: 20px; font-weight: 700; color: #18213a; }

/* AI 추천 배너 */
.health-recommend-banner {
  background: linear-gradient(135deg, #002f6e 0%, #003D87 70%, #00509e 100%);
  border-radius: 16px;
  padding: 24px 28px;
  color: #fff;
}
.health-banner-icon { color: rgba(255,255,255,0.7); }
.health-banner-title { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.health-banner-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.health-banner-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.health-banner-desc { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.78); margin-top: 2px; }

/* 추천 영역 탭 */
.health-area-tabs { gap: 0; border-bottom: 2px solid #e5e9f0; }
.health-area-tabs .nav-link {
  color: #5a6678;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 20px 10px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.health-area-tabs .nav-link:hover { color: var(--bs-primary); }
.health-area-tabs .nav-link.active { color: var(--bs-primary); border-bottom-color: var(--bs-primary); }
.health-area-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  background: #e5e9f0;
  color: #5a6678;
  transition: all 0.18s;
}
.health-area-tabs .nav-link.active .health-area-count { background: var(--bs-primary); color: #fff; }

/* 추천 프로그램 카드 */
.health-prog-card {
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.health-prog-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  color: rgba(255,255,255,0.8);
}
.health-prog-thumb--refresh { background: linear-gradient(135deg, #43b89c, #0d7c5f); }
.health-prog-thumb--exercise { background: linear-gradient(135deg, #5b8def, #2563eb); }
.health-prog-thumb--nutrition { background: linear-gradient(135deg, #f59e42, #e57c13); }
.health-prog-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.health-prog-title { font-size: 15px; font-weight: 700; color: #18213a; margin: 0 0 4px; }
.health-prog-area { font-size: 12px; color: #8492a6; margin: 0 0 6px; }
.health-prog-price { font-size: 16px; font-weight: 800; color: var(--bs-primary); margin: 0 0 12px; margin-top: auto; }

/* 업로드 인라인 섹션 */
.health-upload-inline {
  background: #f0faf7;
  border: 1.5px solid #3eb08f;
  border-radius: 12px;
  padding: 20px 24px;
}
.health-upload-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  display: flex;
  align-items: center;
}
.health-upload-close:hover { color: #333; }
.health-upload-dropzone {
  border: 2px dashed #b2d8cf;
  border-radius: 10px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.health-upload-dropzone:hover,
.health-upload-dropzone.is-dragover { background: #f0faf7; border-color: #3eb08f; }

/* 이력 항목 배지 */
.health-hist-badge { font-size: 11px !important; padding: 2px 7px !important; margin-top: 4px; }

/* 반응형 */
@media (max-width: 767px) {
  .health-summary-card { padding: 20px 16px; }
  .health-summary-name { font-size: 18px; }
  /* 상단 건강데이터 카드 — 데이터 폰트 축소 */
  .health-metric-label { font-size: 12px; }
  .health-metric-value { font-size: 21px; }
  .health-metric-unit { font-size: 12px; }
  .health-metric-change { font-size: 12px; }
  .health-chart-card,
  .health-history-card,
  .health-program-card { padding: 18px 16px; }
  .health-recommend-banner { padding: 20px 18px; }
  .health-area-tabs .nav-link { font-size: 14px; padding: 7px 14px 9px; }
  .health-upload-inline { padding: 16px; }
  /* 이력 세부내용 — 데이터 폰트 축소 */
  .health-hist-item { padding: 8px 11px; }
  .health-hist-label { font-size: 11px; }
  .health-hist-val { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   강사마당 > 강사 신청 — 부트스트랩으로 대체 불가한 최소 잔여
   (탭은 living-tabs 유지, 그 외 모두 부트스트랩 기본/공용 사용)
   ═══════════════════════════════════════════════════════════ */
/* 고정 크기 원형 (부트스트랩에 임의 width/height 유틸 없음) */
.gs-avatar { width: 48px; height: 48px; }
.gs-status-circle { width: 64px; height: 64px; }
.gs-profile-avatar { width: 76px; height: 76px; }
/* 첨부 드롭존 점선 (부트스트랩 테두리는 실선만) */
.gs-dropzone { border-style: dashed !important; cursor: pointer; transition: border-color .15s, background-color .15s; }
.gs-dropzone:hover { border-color: var(--bs-primary) !important; }
/* 접수 단계 스텝퍼 연결선 (색은 bg-* 유틸로 덮어씀) */
.gs-step-line { height: 2px; background: #e5e9f0; border-radius: 2px; }
/* 스텝퍼 마일스톤 원형 도트 */
.gs-step-dot { width: 26px; height: 26px; flex-shrink: 0; font-size: 13px; font-weight: 700; }
.gs-step-dot iconify-icon { font-size: 15px; }
/* 상세 모달 — 한글 단어 줄바꿈 방지(제목·내용) */
.gs-detail { word-break: keep-all; }
/* 상세 모달 — 첨부파일 다운로드 칩 */
.gs-file-chip {
  padding: 7px 14px; border: 1px solid #dde3ec; border-radius: 8px;
  background: #f8fafc; color: #44516a; font-size: 14px; text-decoration: none;
  transition: border-color .15s, color .15s, background-color .15s;
}
.gs-file-chip-ico { color: #97a3b4; font-size: 16px; }
.gs-file-chip-dl { color: #aab6c8; font-size: 15px; }
.gs-file-chip:hover { border-color: var(--bs-primary); color: var(--bs-primary); background: #fff; }
.gs-file-chip:hover .gs-file-chip-ico,
.gs-file-chip:hover .gs-file-chip-dl { color: var(--bs-primary); }
/* 상세 모달 — 섹션 내용 좌측 들여쓰기 (제목 대비 계층) */
.gs-detail > :not(h6) { padding-left: 8px; }
/* 상세 모달 — 항목 라벨 앞 불릿 (불릿+라벨 flex로 묶어 라인 정렬) */
.gs-detail dl dt { display: flex; align-items: baseline; gap: 7px; }
.gs-detail dl dt::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--bs-primary); transform: translateY(-1px); }
/* 행 삭제 버튼 아이콘 — 크기 확보 + 중앙정렬 */
.gs-row-del { display: inline-flex; align-items: center; justify-content: center; }
.gs-row-del iconify-icon { font-size: 16px; line-height: 1; }

/* ============================================
   강사 신청내역 카드 — Type C (타임라인 강조형)
   부트스트랩으로 표현 불가한 부분만 정의 (다크 헤더/타임라인/사이드패널)
============================================ */
.cc-card { background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 2px 6px rgba(0,0,0,.06), 0 8px 28px rgba(0,0,0,.05); }
/* 상단 다크 헤더 */
.cc-header { padding:26px 28px 22px; position:relative; overflow:hidden; }
.hdr-review  { background:linear-gradient(135deg,#1A1208 0%,#2D1E0A 100%); }
.hdr-reject  { background:linear-gradient(135deg,#1A0808 0%,#2D0E0E 100%); }
.hdr-approve { background:linear-gradient(135deg,#081A0E 0%,#0E2D18 100%); }
.cc-header::before { content:''; position:absolute; top:-50px; right:-50px; width:180px; height:180px; border-radius:50%; opacity:.1; pointer-events:none; }
.hdr-review::before  { background:#F97316; }
.hdr-reject::before  { background:#EF4444; }
.hdr-approve::before { background:#22C55E; }
.hdr-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px; }
.hdr-top-left { display:flex; flex-direction:column; gap:6px; }
/* 상태 필 */
.status-pill { display:inline-flex; align-items:center; gap:7px; border-radius:100px; padding:5px 14px; font-size:11px; font-weight:700; width:fit-content; border:1px solid; }
.pill-review  { background:rgba(249,115,22,.18); color:#FF8A3D; border-color:rgba(249,115,22,.3); }
.pill-reject  { background:rgba(239,68,68,.18);  color:#FF7070; border-color:rgba(239,68,68,.3); }
.pill-approve { background:rgba(34,197,94,.18);  color:#4EDE80; border-color:rgba(34,197,94,.3); }
.ring-dot { width:7px; height:7px; border-radius:50%; }
.ring-review  { background:#FF8A3D; animation:ccRingAnim 2s ease-in-out infinite; }
.ring-reject  { background:#FF7070; }
.ring-approve { background:#4EDE80; }
@keyframes ccRingAnim { 0%,100%{box-shadow:0 0 0 2px rgba(255,138,61,.3)} 50%{box-shadow:0 0 0 5px rgba(255,138,61,.1)} }
.hdr-id { font-family:'Pretendard','Inter',sans-serif; font-size:12px; color:rgba(255,255,255,1); letter-spacing:.06em; }
/* 상세보기 버튼 */
.cc-detail-btn { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:rgba(255,255,255,.6); background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); border-radius:8px; padding:8px 14px; cursor:pointer; white-space:nowrap; transition:background .15s, color .15s; }
.cc-detail-btn:hover { background:rgba(255,255,255,.18); color:#fff; }
/* 이름 */
.hdr-name { display:flex; align-items:baseline; gap:10px; margin-bottom:14px; }
.name-ko { font-size:26px; font-weight:800; color:#fff; letter-spacing:-.05em; line-height:1; }
.name-en { font-size:13px; font-weight:400; color:rgba(255,255,255,.32); }
/* 정보 칩 행 */
.hdr-chips { display:flex; gap:8px; flex-wrap:wrap; }
.cc-chip { display:flex; align-items:center; gap:5px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); border-radius:8px; padding:5px 11px; font-size:12px; font-weight:500; color:rgba(255,255,255,.72); }
.cc-chip iconify-icon { font-size:12px; color:rgba(255,255,255,.36); }
/* 하단 본문 */
.cc-body { padding:22px 28px 26px; display:grid; grid-template-columns:1fr 240px; gap:28px; align-items:start; }
/* 타임라인 */
.cc-timeline { display:flex; flex-direction:column; }
.tl-item { display:grid; grid-template-columns:32px 1fr; gap:0 14px; }
.tl-left { display:flex; flex-direction:column; align-items:center; }
.tl-icon { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; z-index:1; }
.ti-done    { background:#111; color:#fff; }
.ti-review  { background:#F97316; color:#fff; box-shadow:0 0 0 4px rgba(249,115,22,.15); }
.ti-reject  { background:#EF4444; color:#fff; }
.ti-approve { background:#22C55E; color:#fff; }
.ti-idle    { background:#F2F2F2; color:#CACACA; }
.tl-line { flex:1; width:2px; min-height:24px; margin:4px 0; }
.ll-review  { background:linear-gradient(to bottom,#111,#EFEFEF); }
.ll-reject  { background:linear-gradient(to bottom,#111,#EF4444); }
.ll-approve { background:#111; }
.tl-item:last-child .tl-line { display:none; }
.tl-content { padding-bottom:22px; padding-top:4px; }
.tl-item:last-child .tl-content { padding-bottom:0; }
.tl-title { font-size:14px; font-weight:700; color:#111; margin-bottom:3px; }
.tt-review  { color:#F97316; }
.tt-reject  { color:#EF4444; }
.tt-approve { color:#22C55E; }
.tt-idle    { color:#C8C8C8; }
.tl-desc { font-size:12px; color:#ABABAB; line-height:1.6; }
.tl-badge { display:inline-block; font-size:10px; font-weight:600; border-radius:5px; padding:2px 8px; margin-top:6px; letter-spacing:.02em; }
.tb-done    { background:#F2F2F2; color:#666; }
.tb-reject  { background:#FFF0F0; color:#EF4444; }
.tb-approve { background:#EDFFF4; color:#22C55E; }
/* 우측 안내 패널 */
.cc-side { border-radius:12px; padding:16px; border:1px solid; }
.sp-review  { background:#FFF7F0; border-color:#FFD0A8; }
.sp-reject  { background:#FFF2F2; border-color:#FFBABA; }
.sp-approve { background:#F0FFF5; border-color:#A8EFC4; }
.sp-title { font-size:14px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:8px; display:flex; align-items:center; gap:5px; }
.sp-title-review  { color:#F97316; }
.sp-title-reject  { color:#EF4444; }
.sp-title-approve { color:#22C55E; }
.sp-text { font-size:13px; line-height:1.7; }
.sp-text-review  { color:#7A3E10; }
.sp-text-reject  { color:#7A1010; }
.sp-text-approve { color:#0F5C2A; }
.sp-text strong { font-weight:700; }
.sp-text-review  strong { color:#C44F00; }
.sp-text-reject  strong { color:#C41010; }
.sp-text-approve strong { color:#166534; }
.sp-divider { width:100%; height:1px; margin:12px 0; }
.sp-divider-review  { background:#FFD0A8; }
.sp-divider-reject  { background:#FFBABA; }
.sp-divider-approve { background:#A8EFC4; }
.sp-date-label { font-size:12px; color:#666; margin-bottom:2px; }
.sp-date-value { font-family:'Pretendard','Inter',sans-serif; font-size:12px; color:#555; }
@media (max-width:640px) {
  .cc-body { grid-template-columns:1fr; }
  .hdr-chips { gap:6px; }
}

/* ============================================
   강사 신청내역 카드 — Type B (다크 사이드바형) · 검토중 전용
   모든 규칙을 .cb-card 하위로 스코프 (Type C와 클래스명 충돌 방지)
============================================ */
.cb-card { display:grid; grid-template-columns:200px 1fr; border-radius:18px; overflow:hidden; box-shadow:0 2px 6px rgba(0,0,0,.07), 0 8px 28px rgba(0,0,0,.07); min-height:220px; }
/* 좌측 사이드바 */
.cb-card .cb-side { padding:26px 22px; display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; background:#1C1410; }
.cb-card .side-review  { background:#1C1410; }
.cb-card .side-reject  { background:#1C1010; }
.cb-card .side-approve { background:#0F1C14; }
.cb-card .cb-side::before { content:''; position:absolute; top:-30px; right:-30px; width:100px; height:100px; border-radius:50%; opacity:.12; pointer-events:none; background:#F97316; }
.cb-card .side-review::before  { background:#F97316; }
.cb-card .side-reject::before  { background:#EF4444; }
.cb-card .side-approve::before { background:#22C55E; }
.cb-card .status-pill { display:inline-flex; align-items:center; gap:6px; border-radius:100px; padding:5px 12px; font-size:11px; font-weight:700; width:fit-content; margin-bottom:18px; background:rgba(249,115,22,.2); color:#FF8A3D; }
.cb-card .pill-review  { background:rgba(249,115,22,.2); color:#FF8A3D; }
.cb-card .pill-reject  { background:rgba(239,68,68,.2);  color:#FF7070; }
.cb-card .pill-approve { background:rgba(34,197,94,.2);  color:#4EDE80; }
.cb-card .pulse-dot { width:6px; height:6px; border-radius:50%; background:#FF8A3D; animation:cbPulse 1.8s ease-in-out infinite; }
.cb-card .pulse-review  { background:#FF8A3D; animation:cbPulse 1.8s ease-in-out infinite; }
.cb-card .pulse-reject  { background:#FF7070; animation:none; }
.cb-card .pulse-approve { background:#4EDE80; animation:none; }
@keyframes cbPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
.cb-card .cb-name { font-size:22px; font-weight:800; color:#fff; letter-spacing:-.04em; line-height:1.15; margin-bottom:3px; }
.cb-card .cb-name-en { font-size:11px; font-weight:400; color:rgba(255,255,255,.3); letter-spacing:.02em; }
.cb-card .cb-id { font-family:'Pretendard','Inter',sans-serif; font-size:12px; color:rgba(255,255,255,.85); letter-spacing:.02em; padding-top:16px; border-top:1px solid rgba(255,255,255,.1); margin-top:auto; }
.cb-card .cb-id-row { line-height:1.7; }
.cb-card .cb-id-label { color:rgba(255,255,255,.4); margin-right:4px; }
/* 우측 본문 */
.cb-card .cb-main { background:#fff; padding:22px 24px; display:flex; flex-direction:column; }
.cb-card .cb-top { display:flex; justify-content:flex-end; align-items:center; margin-bottom:18px; gap:8px; }
.cb-card .notif-badge { width:20px; height:20px; border-radius:50%; background:#EF4444; color:#fff; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.cb-card .detail-btn { font-size:12px; font-weight:600; color:#444; background:transparent; border:1.5px solid #E4E4E4; border-radius:8px; padding:7px 14px; cursor:pointer; display:flex; align-items:center; gap:5px; transition:border-color .15s, background .15s; }
.cb-card .detail-btn:hover { border-color:#999; background:#F8F8F8; }
/* 정보 2×2 그리드 */
.cb-card .cb-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px 28px; margin-bottom:18px; }
.cb-card .cf-label { font-size:13px; font-weight:500; color:#666; display:flex; align-items:center; gap:4px; margin-bottom:3px; }
.cb-card .cf-label iconify-icon { font-size:14px; }
.cb-card .cf-value { font-size:15px; font-weight:600; color:#111; line-height:1.35; }
/* 진행 단계 */
.cb-card .cb-progress { padding-top:16px; border-top:1px solid #F2F2F2; margin-top:auto; }
.cb-card .progress-track { display:flex; align-items:flex-start; gap:0; margin-bottom:12px; }
.cb-card .prog-step { display:flex; flex-direction:column; align-items:center; gap:5px; }
.cb-card .prog-circle { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; }
.cb-card .pc-done    { background:#111; color:#fff; }
.cb-card .pc-review  { background:#F97316; color:#fff; }
.cb-card .pc-reject  { background:#EF4444; color:#fff; }
.cb-card .pc-approve { background:#22C55E; color:#fff; }
.cb-card .pc-idle    { background:#F2F2F2; color:#C0C0C0; }
.cb-card .prog-name { font-size:13px; font-weight:600; white-space:nowrap; }
.cb-card .pn-done    { color:#111; }
.cb-card .pn-review  { color:#F97316; }
.cb-card .pn-reject  { color:#EF4444; }
.cb-card .pn-approve { color:#22C55E; }
.cb-card .pn-idle    { color:#333; font-weight:400; }
.cb-card .prog-line { flex:1; height:2px; margin-top:13px; background:linear-gradient(to right,#111,#EFEFEF); }
.cb-card .pl-review  { background:linear-gradient(to right,#111,#EFEFEF); }
.cb-card .pl-reject  { background:linear-gradient(to right,#111,#EF4444); }
.cb-card .pl-approve { background:#111; }
/* 안내 */
.cb-card .notice { display:flex; align-items:flex-start; gap:8px; padding:10px 13px; border-radius:8px; font-size:12px; line-height:1.6; background:#FFF7F0; color:#8C4A1A; }
.cb-card .notice iconify-icon { font-size:14px; flex-shrink:0; margin-top:1px; color:#F97316; }
.cb-card .notice strong { color:#C44F00; }
.cb-card .notice-review  { background:#FFF7F0; color:#8C4A1A; }
.cb-card .notice-review iconify-icon { color:#F97316; }
.cb-card .notice-review strong { color:#C44F00; }
.cb-card .notice-reject  { background:#FFF2F2; color:#8C1A1A; }
.cb-card .notice-reject iconify-icon { color:#EF4444; }
.cb-card .notice-reject strong { color:#C41010; }
.cb-card .notice-approve { background:#F0FFF5; color:#145C2A; }
.cb-card .notice-approve iconify-icon { color:#22C55E; }
.cb-card .notice-approve strong { color:#166534; }
@media (max-width:640px) {
  .cb-card { grid-template-columns:1fr; }
  .cb-card .cb-side { min-height:140px; }
  .cb-card .cb-fields { grid-template-columns:1fr; gap:14px; }
}

/* 상세보기 모달 — 반려사유 박스 (카드 notice-reject 스타일 차용, 폰트는 모달 기본 유지) */
.gs-reject-notice { display:flex; align-items:flex-start; gap:10px; padding:14px 16px; background:#FFF2F2; color:#8C1A1A; }
.gs-reject-notice iconify-icon { color:#EF4444; flex-shrink:0; margin-top:2px; }
.gs-reject-notice strong { color:#C41010; }

/* ============================================
   HAHA 프로그램 소개 페이지 (에듀=아이콘 카드 / 스포츠=리스트)
============================================ */
.haha-prog-ico { width:60px; height:60px; }
.haha-edu-card { transition: transform .18s ease, box-shadow .18s ease; }
.haha-edu-card:hover { transform: translateY(-4px); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1) !important; }

/* 스포츠 프로그램 — Type B (매거진 에디토리얼) */
.hsb-hero { padding: 8px 0 40px; border-bottom: 1px solid #E4E0D8; }
.hsb-hero-label { display:flex; align-items:center; gap:10px; font-size:12px; font-weight:600; letter-spacing:.2em; color:#C5473A; text-transform:uppercase; margin-bottom:20px; }
.hsb-hero-label span { display:block; width:32px; height:1px; background:#C5473A; }
.hsb-hero-h1 { font-size:clamp(32px,5vw,60px); font-weight:700; color:#111; line-height:1.15; letter-spacing:-.04em; margin-bottom:24px; }
.hsb-hero-h1 em { font-style:normal; color:#C5473A; }
.hsb-hero-body { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.hsb-lead { font-size:clamp(15px,1.5vw,17px); color:#4A4540; line-height:1.85; }
.hsb-hero-tags { display:flex; flex-wrap:wrap; gap:8px; }
.hsb-tag { background:#F2EDE4; color:#6A5A40; border-radius:100px; padding:7px 16px; font-size:14px; font-weight:500; }

.hsb-content { padding-top:8px; }
.hsb-content-head { display:flex; align-items:baseline; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.hsb-content-title { font-size:clamp(20px,2.5vw,26px); font-weight:700; color:#111; letter-spacing:-.03em; margin:0; }
.hsb-count { font-size:16px; color:#111; }

.hsb-list { display:flex; flex-direction:column; }
.hsb-item { display:grid; grid-template-columns:64px 1fr 200px; gap:0 24px; align-items:start; padding:28px 8px; border-bottom:1px solid #E8E4DC; }
.hsb-item-num { font-size:32px; font-weight:700; color:#c4c9d0; letter-spacing:-.05em; line-height:1; padding-top:4px; }
.hsb-item-tag { font-size:11px; font-weight:600; letter-spacing:.1em; color:#C5473A; text-transform:uppercase; margin-bottom:8px; }
.hsb-item-title { font-size:clamp(17px,1.8vw,20px); font-weight:700; color:#111; letter-spacing:-.03em; margin-bottom:8px; line-height:1.3; }
.hsb-item-desc { font-size:15px; color:#6c757d; line-height:1.7; margin:0; }
.hsb-item-img { width:100%; height:120px; border-radius:12px; object-fit:cover; }

@media (max-width:991px) {
  .hsb-hero-body { grid-template-columns:1fr; gap:24px; }
  .hsb-item { grid-template-columns:48px 1fr; }
  .hsb-item-img { display:none; }
}
@media (max-width:767px) {
  .hsb-item { grid-template-columns:40px 1fr; }
}

/* 프로그램 개요 — 모바일 영역 이탈 방지 (폰트 축소 + 배지 줄바꿈 허용) */
.haha-intro { overflow-wrap:anywhere; }
.haha-intro .badge { white-space:normal; line-height:1.5; }
@media (max-width:575.98px) {
  .haha-intro { padding:1.25rem !important; }
  .haha-intro .haha-prog-ico { width:52px; height:52px; }
  .haha-intro .haha-prog-ico iconify-icon { font-size:26px !important; }
  .haha-intro p { font-size:1rem !important; }
  .haha-intro .badge { font-size:.8125rem !important; }
}
