/* =========================================
   components.css — 비아이매트릭스 아카데미
   ========================================= */

/* ════════════════════════════════════════
   검색 오버레이
   ════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 31, 0.85);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.search-overlay__inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-overlay__input {
  flex: 1;
  height: 60px;
  padding: 0 20px;
  border: 2px solid var(--charcoal);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.search-overlay__input:focus {
  border: 2px solid var(--charcoal);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.search-overlay__close {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.search-overlay__close:hover {
  background: rgba(255,255,255,0.2);
}

/* ════════════════════════════════════════
   NEW HEADER — 로고 & GNB
   ════════════════════════════════════════ */
.logo-new {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--footer {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.logo-icon--sm {
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 7px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text__brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-text__sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-hint);
  letter-spacing: 2px;
}

/* GNB Simple */
.gnb-simple {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}

.gnb-simple__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-sub);
  text-decoration: none;
}
.gnb-simple__link:hover {
  font-weight: 600;
  color: var(--text-primary);
}
.gnb-simple__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #a66fff, #5067ff);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gnb-simple__link:hover::after,
.gnb-simple__link.active::after {
  opacity: 1;
}

/* 헤더 아이콘 버튼 */
.header-icon-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-sub);
  transition: border-color 0.15s, color 0.15s;
}

.header-icon-btn:hover {
  border-color: var(--border-gray);
  color: var(--charcoal);
}

/* 언어 토글 */
.lang-toggle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: border-color 0.15s, color 0.15s;
}

.lang-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* 새 버튼: Blue / Outline-White */
.btn--blue {
  background: var(--blue);
  color: #fff;
  border: none;
}

.btn--blue:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn--white {
  background: rgba(255,255,255,1);
  color: #000;
  border: 1.5px solid rgba(255, 255, 255, 1);
  transition: all 0.2s ease-in-out; 
}

.btn--white:hover {
  background: rgba(255,255,255,1);
  color: #000;
  border: 1.5px solid rgba(255, 255, 255, 1);
  transform: scale(1.02); 
}

.btn--outline-white {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease-in-out;  
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.02); 
}

/* ════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════ */
/*
.hero {
  background: var(--hero-bg) url('../assets/images/main.jpg') center/cover no-repeat;
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 31, 0.72);
  pointer-events: none;
}

/* 히어로 섹션의 기준점 설정 */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #06101f; 
  min-height: 500px;
  display: flex;
  align-items: center;    /* 세로 중앙 */
  justify-content: center;
}

.hero__animation-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 200%;
  transform: translate(-50%, -45%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,16,31,0.0), rgba(6,16,31,0.0));
  z-index: 1;
}



.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  display: flex;
  flex-direction: column; /* 텍스트를 위아래로 쌓음 */
  align-items: center;    /* 가로 중앙 */
  justify-content: center; /* 세로 중앙 */
  text-align: center;     /* 텍스트 내용물 중앙 정렬 */
  width: 100%;
}

.hero__content {
  /* flex: 1 대신 중앙 배치를 위해 width 설정 */
  max-width: 800px; /* 가독성을 위해 최대 너비 제한 */
  margin: 0 auto;
}


.hero__title {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.hero__title .point {
  background: linear-gradient(to right, #a66fff, #5067ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero__sub {
  font-size: 24px;
  color: #bfcad8;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
  padding: 0 30px;
}

.hero__btns {
  display: flex;
  gap: 12px;
  align-items: center;    /* 가로 중앙 */
  justify-content: center; /* 세로 중앙 */
}

/* 대시보드 카드 */
.hero__dashboard {
  flex-shrink: 0;
  width: 420px;
}

.dash-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.dash-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.dash-card__title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

.dash-card__dots {
  display: flex;
  gap: 5px;
}

.dash-card__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dash-stat {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
}

.dash-stat__val {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.dash-stat__label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  line-height: 1.3;
}

.dash-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dash-chart-area {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px;
}

.dash-chart-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.dash-line-svg {
  width: 100%;
  height: 48px;
  display: block;
}

.dash-donut-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-donut-svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.dash-donut-legend {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dash-donut-legend div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dash-donut-legend span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   PLATFORM CARDS
   ════════════════════════════════════════ */
.platforms-section {
  background: #fff;
  padding: 36px 0 24px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.platform-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* v2 — 로고 크게, 세로 레이아웃 */
.platform-card--v2 {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.platform-card--v2.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15), 0 4px 16px rgba(0,0,0,0.08);
}

.platform-card--v2[data-course-tab="trinity"].is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(13,148,136,0.15), 0 4px 16px rgba(0,0,0,0.08);
}

.platform-card--v2 .platform-card__link {
  position: absolute;
  top: 28px;
  right: 28px;
}

.platform-card__logo-big {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.platform-card__tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
}

.platform-card__desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

.platform-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   SCHEDULE SECTION
   ════════════════════════════════════════ */
.schedule-section {
  background: var(--bg-card);
  padding: 56px 0;
}

.schedule-card {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}

.schedule-table tr:last-child {
  border-bottom: none;
}

.schedule-table tr:hover {
  background: #F8FAFC;
}

.schedule-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-sub);
  vertical-align: middle;
}

.schedule-date {
  text-align: center;
  min-width: 58px;
}

.schedule-date__day {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
}

.schedule-date__dow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-hint);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.schedule-title-cell {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.schedule-instructor {
  font-size: 13px;
  white-space: nowrap;
}

.schedule-time {
  font-size: 13px;
  white-space: nowrap;
}

.schedule-mode {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  white-space: nowrap;
}

.schedule-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.schedule-status--open    { background: #EFF6FF; color: var(--blue); }
.schedule-status--closing { background: #FFF7ED; color: #EA580C; }
.schedule-status--closed  { background: var(--border-light); color: var(--text-hint); }
.schedule-status--upcoming{ background: #F0FDF4; color: #16A34A; }

/* ════════════════════════════════════════
   VIDEOS SECTION
   ════════════════════════════════════════ */
.videos-section {
  background: var(--bg);
  padding: 80px 0;
}

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

.video-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.video-card__thumb {
  position: relative;
  /*aspect-ratio: 16 / 9;*/
  overflow: hidden;
  background: #0F172A;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
}

.video-card__play svg {
  width: 44px;
  height: 44px;
}

.video-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.video-card__body {
  padding: 25px 25px 25px;
}

.video-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════
   BOTTOM SECTION (FAQ + 커뮤니티)
   ════════════════════════════════════════ */
.bottom-section {
  background: var(--bg);
  padding: 56px 0 64px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

/* FAQ */
.faq-col {
  display: flex;
  flex-direction: column;
  order: 2;
}

.community-col {
  order: 1;
}

.faq-list-new {
  margin-top: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
}

.faq-item-new {
  border-bottom: 1px solid var(--border-light);
}

.faq-item-new:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  gap: 12px;
  font-family: var(--font);
}

.faq-q:hover {
  background: var(--border-light);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-hint);
  transition: transform 0.2s;
}

.faq-item-new.is-open .faq-q {
  color: var(--blue) !important;
  font-weight: 600;
}

.faq-item-new.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0; 
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.28s ease !important;
}

.faq-item-new.is-open .faq-a {
  max-height: 300px; 
  opacity: 1;
}

.faq-a p {
  padding: 25px 30px; 
  font-size: 15px;    
  color: #475569;     
  line-height: 1.65;
  margin: 0;
}


/* 커뮤니티 0520 */
.community-col {
  display: flex;
  flex-direction: column;
}

.community-col .section__title {
  margin-bottom: 0;
}

.community-list {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.community-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: background 0.15s;
}

.community-item:last-child {
  border-bottom: none;
}

.community-item:hover {
  background: var(--border-light);
}

.community-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.community-item__icon--blue   { background: var(--blue-pale); }
.community-item__icon--green  { background: #F0FDF4; }
.community-item__icon--purple { background: #FAF5FF; }
.community-item__icon--orange { background: #FFF7ED; }

.community-item__body {
  flex: 1;
  min-width: 0;
}

.community-item__cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.community-item__text {
  font-size: 12px;
  color: var(--text-hint);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 오프라인 이벤트 카드 */
.offline-event-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #0B1E3D 0%, #1E3A5F 100%);
  padding: 24px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offline-event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.offline-event-card__content {
  position: relative;
}

.offline-event-card__tag {
  font-size: 11px;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.offline-event-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.offline-event-card__info {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}

.offline-event-card__btn {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.offline-event-card__btn:hover {
  background: var(--blue-dark);
}

/* ════════════════════════════════════════
   커뮤니티 카드 v2 (온라인 + 오프라인 나란히)
   ════════════════════════════════════════ */
.community-card {
  margin-top: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}

.community-card__online {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.community-card__offline {
  padding: 24px;
}

.community-card__sub-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.community-card__sub-desc {
  font-size: 12px;
  color: var(--text-hint);
  margin-bottom: 16px;
}

.community-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-item-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.community-item-v2:hover {
  background: var(--bg);
}

.community-item-v2__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.community-item-v2__icon { background: #F1F5F9; }

.community-item-v2__cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.community-item-v2__text {
  font-size: 11px;
  color: var(--text-hint);
  margin-top: 2px;
}

.offline-event-v2__img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.offline-event-v2__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.offline-event-v2__info {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.offline-event-v2__btn {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}

.offline-event-v2__btn:hover {
  color: var(--blue-dark);
}

/* ════════════════════════════════════════
   과정별 교육 카드 (탭)
   ════════════════════════════════════════ */
.course-tabs-section {
  padding: 0 0 48px;
  background: #fff;
}

.course-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.course-tab-btns {
  display: flex;
  gap: 8px;
  background: var(--bg);
  padding: 4px;
  border-radius: 10px;
}

.course-tab-btn {
  padding: 8px 24px;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--text-hint);
  transition: background 0.2s, color 0.2s;
}

.course-tab-btn.is-active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.course-cards-panel {
  animation: fadeIn 0.2s ease;
}

.course-cards-panel.is-hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.course-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-cards-grid--single {
  grid-template-columns: 360px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.course-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.course-card--teal {
  border-top: 4px solid var(--teal);
}

.course-card:not(.course-card--teal) {
  border-top: 3px solid var(--blue);
}

.course-card__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
}

.course-card--teal .course-card__num {
  color: var(--teal);
}

.course-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.course-card__desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
}

.course-tabs-section .course-card__meta {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.course-tabs-section .course-card__meta li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: left;
  width: 100%;
  align-items: flex-start;
}

.course-tabs-section .course-card__meta li span:first-child {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 52px;
  flex-shrink: 0;
  text-align: left;
}

.course-card__meta small {
  font-size: 11px;
  color: var(--text-hint);
}

@media (max-width: 900px) {
  .course-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .course-cards-grid { grid-template-columns: 1fr; }
  .course-cards-grid--single { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   NEW FOOTER
   ════════════════════════════════════════ */
/* ════════════════════════════════════════
   FOOTER — BIM 스타일 (이미지 디자인 기준)
   ════════════════════════════════════════ */
.site-footer-new {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bim__wrap {
  max-width: 1192px;
  margin: 0 auto;
  padding: 48px 0;
  position: relative;
}

/* ── 소셜 아이콘 행 ── */
.footer-bim__social-row {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.footer-bim__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  background: transparent;
}

.footer-bim__social-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.10);
}

/* ── 링크 메뉴 행 ── */
.footer-bim__links-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.footer-bim__links-row a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bim__links-row a:hover {
  color: #fff;
}

.footer-bim__divider {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  user-select: none;
}

/* ── 하단: 회사 정보 + 로고 ── */
.footer-bim__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bim__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-bim__company {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  margin-bottom: 2px;
}

.footer-bim__addr {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.footer-bim__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.footer-bim__logo-wrap {
  flex-shrink: 0;
}

.footer-bim__logo {
  height: 40px;
  width: auto;
}

/* ── Family Site 드롭다운 ── */
.footer-bim__family {
  position: absolute;
  top: 48px;
  right: 0px;
}

.footer-bim__family-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  min-width: 140px;
  justify-content: space-between;
  transition: border-color 0.15s;
}

.footer-bim__family-select:hover {
  border-color: rgba(255,255,255,0.35);
}

.footer-bim__family-arrow {
  color: rgba(255,255,255,0.5);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.footer-bim__family-dropdown {
  display: none;
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5em;
  overflow: hidden;
  z-index: 100;
}

.footer-bim__family-dropdown.is-open {
  display: block;
}

.footer-bim__family-arrow.is-open {
  transform: rotate(180deg);
}

.footer-bim__family-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.12s, color 0.12s;
}

.footer-bim__family-dropdown a:last-child {
  border-bottom: none;
}

.footer-bim__family-dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* ════════════════════════════════════════
   SECTION 공통
   ════════════════════════════════════════ */
.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.section-more-link:hover {
  opacity: 0.7;
}

.data-loading {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-hint);
  font-size: 14px;
}

/* ════════════════════════════════════════
   모바일 네비 (신규 메뉴용)
   ════════════════════════════════════════ */
.mobile-nav__links {
  padding: 8px 0;
}

.mobile-nav__links a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav__links a:hover {
  background: var(--border-light);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero__dashboard { width: 360px; }
  .hero__title { font-size: 40px; }
  .hero__sub {font-size: 22px;}
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner { flex-direction: column; gap: 40px; }
  .hero__dashboard { width: 100%; max-width: 480px; }
  .hero__title { font-size: 36px; }
  .hero__sub {font-size: 20px;}
  .platforms-grid { grid-template-columns: 1fr; }
  .bottom-grid { grid-template-columns: 1fr; gap: 32px; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .gnb-simple { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 64px; }
  .hero__title { font-size: 34px; }
  .hero__sub {font-size: 19px;}
  .dash-stats { grid-template-columns: repeat(4, 1fr); }
  .dash-stat__val { font-size: 15px; }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  /* footer bim 반응형 */
  .footer-bim__wrap { padding: 36px 20px 28px; }
  .footer-bim__family { position: static; margin-top: 28px; }
  .footer-bim__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bim__logo-wrap { align-self: flex-start; }
}


/* ════════════════════════════════════════
   NOTICE BANNER
   ════════════════════════════════════════ */
.notice-bar {
  background: var(--gray-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-align: center;
  padding: 9px 24px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.notice-bar strong {
  color: var(--gold);
  font-weight: 600;
}

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
.site-header {
  background: var(--bg-card);
  /*border-bottom: 1px solid var(--border);*/
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 0;
  min-height: 68px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .logo__img {
    height: 28px;
  }
}

/* Search */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search__input {
  width: 100%;
  height: 42px;
  padding: 0 48px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.header-search__input::placeholder {
  color: var(--text-hint);
}

.header-search__input:focus {
  border-color: var(--charcoal-light);
  background: var(--bg-card);
}

.header-search__btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-hint);
  padding: 4px;
  display: flex;
  align-items: center;
}

.header-search__btn:hover {
  color: var(--charcoal);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.header-actions__link:hover {
  color: var(--charcoal);
  background: var(--bg);
}

.header-actions__divider {
  width: 1px;
  height: 14px;
  background: var(--border);
}

/* ════════════════════════════════════════
   GNB NAVIGATION
   ════════════════════════════════════════ */
.gnb {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  padding: 12px 0;
}

.gnb__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gnb__item {
  position: relative;
}

.gnb__trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 13px 10px 17px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  /*background: #f2f4f6;*/
  background: #fff;
  border: 1px solid var(--border);
}

.gnb__trigger .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  color: var(--text-hint);
}

.gnb__item.is-open .gnb__trigger {
  color: var(--charcoal);
  background: rgba(44, 62, 107, 0.06);
}

.gnb__item.is-open .gnb__trigger .arrow {
  transform: rotate(180deg);
  color: var(--charcoal);
}

/* Mega Menu */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 450px;
  z-index: 999;
  overflow: hidden;
}

.gnb__item.is-open .mega-menu {
  display: flex;
}

.mega-menu__nav {
  width: 180px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 10px 0;
  flex-shrink: 0;
}

.mega-menu__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 15px;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mega-menu__nav-item:hover {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
}

.mega-menu__nav-item.is-active {
  color: var(--gray-dark);
  font-weight: 600;
  background: var(--bg-card);
  border-left: 3px solid var(--charcoal);
  padding-left: 17px;
}

.mega-menu__panel {
  flex: 1;
  padding: 20px 24px;
  display: none;
}

.mega-menu__panel.is-active {
  display: block;
}

.mega-menu__panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.mega-menu__link {
  display: block;
  padding: 9px 12px;
  font-size: 15px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  line-height: 1.5;
  transition: all 0.2s ease;
}

.mega-menu__link:hover {
  color: var(--text-primary);
  background: rgba(44, 62, 107, 0.06);
}

.mega-menu__link strong {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.mega-menu__link span {
  font-size: 13px;
  color: var(--text-hint);
  line-height: 1.4;
}

/* GNB Extra Links */
.gnb__extra {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gnb__extra-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 18px;
  border: 1.5px solid #CCC;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  align-self: flex-end;
}

.gnb__extra-link:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.gnb__extra-link-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 6px 18px;
  border: 1.5px solid var(--blue);
  background: var(--blue);
  border-radius: var(--radius-xl);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  align-self: flex-end;
}

.gnb__extra-link-blue:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* 모바일 검색 토글 버튼 */
.mobile-search-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
  border: none;
  flex-shrink: 0;
}

.mobile-search-toggle:hover {
  background: var(--bg);
  color: var(--charcoal);
}

/* 모바일 검색 패널 */
.mobile-search-panel {
  display: none;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.mobile-search-panel.is-open {
  display: block;
}

.mobile-search-panel .header-search {
  display: block;
  max-width: 100%;
}

.mobile-search-panel .header-search__input {
  max-width: 100%;
}

@media (max-width: 767px) {
  .mobile-search-toggle {
    display: flex;
  }
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.hamburger__line {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-card);
  z-index: 2000;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

.mobile-nav__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-nav__close:hover {
  background: var(--bg);
  color: var(--text-primary);
}

.mobile-nav__section {
  border-bottom: 1px solid var(--border);
}

.mobile-nav__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav__category .arrow {
  transition: transform 0.2s ease;
  color: var(--text-hint);
}

.mobile-nav__section.is-open .mobile-nav__category .arrow {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  display: none;
  padding: 0 20px 12px;
}

.mobile-nav__section.is-open .mobile-nav__sub {
  display: block;
}

.mobile-nav__sub-link {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
}

.mobile-nav__sub-link:hover {
  color: var(--charcoal);
  background: var(--bg);
}

.mobile-nav__actions {
  padding: 20px;
  display: flex;
  gap: 10px;
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

/* Primary: navy background */
.btn--primary {
  background: var(--charcoal);
  color: #fff;
  border: 1px solid var(--charcoal);
}

.btn--primary:hover {
  background: var(--gray-dark);
  border-color: var(--gray-dark);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.btn--blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-round {
  border-radius: var(--radius-xl);
}

.btn--white {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--white:hover {
  color: #fff;
  border: 1px solid var(--charcoal);
  border-color: var(--border-gray);
}

/* Secondary: white background + navy border */
.btn--secondary {
  background: var(--charcoal);
  color: #fff;
  border: 1px solid var(--charcoal);
  padding: 14px 15px;
  border-radius: var(--radius-md);
}

.btn--secondary:hover {
  background: var(--gray-dark);
}

/* Accent: blue background */
.btn--accent {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  font-weight: 700;
}

.btn--accent:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

/* Sizes */
.btn--sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-md);
  min-height: 36px;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn--herobtn {
  padding: 17px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-lg);
}

.btn--full {
  width: 100%;
}

/* ════════════════════════════════════════
   BADGES
   ════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.badge--charcoal {
  background: rgba(44, 62, 107, 0.08);
  color: var(--charcoal);
}

.badge--gold {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
}

.badge--gray {
  background: var(--bg);
  color: var(--text-sub);
  border: 1px solid var(--border);
}

.badge--green {
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
}

/* Level badges */
.level-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

.level-badge--lv1 {
  background: rgba(44, 62, 107, 0.08);
  color: var(--charcoal);
}

.level-badge--lv2 {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.level-badge--basic {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.level-badge--applied {
  background: rgba(59, 130, 246, 0.12);
  color: #1e40af;
}

.level-badge--advanced {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.level-badge--expert {
  background: rgba(44, 62, 107, 0.1);
  color: var(--charcoal);
}

/* ════════════════════════════════════════
   HERO BANNER SLIDER
   ════════════════════════════════════════ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--gray-dark);
}

.hero-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 슬라이드 — 전체 너비 + 이미지 배경 구조 */
.hero-slide {
  min-width: 100%;
  position: relative;
  height: 380px;
  overflow: hidden;
}

/* 전체를 덮는 배경 이미지 레이어 */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 기본 스크림 — 오른쪽만 살짝 어둡게 */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 35%,
    rgba(10, 18, 38, 0.25) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* 슬라이드 1 — 밝은 이미지, 오른쪽 살짝만 */
.hero-slide--1::before {
  background: linear-gradient(
    to right,
    transparent 40%,
    rgba(10, 18, 38, 0.18) 100%
  );
}

/* 슬라이드 3 — 어두운 이미지, 스크림 최소화 */
.hero-slide--3::before {
  background: linear-gradient(
    to right,
    transparent 40%,
    rgba(10, 18, 38, 0.1) 100%
  );
}

/* 콘텐츠 레이어 — 컨테이너 기준으로 패널 시작 위치 맞춤 */
.hero-slide__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  /* 컨테이너 좌측 여백만큼 패널 시작점 이동 */
  padding-left: 24px;
}

/* ── 우윳빛 텍스트 패널 — 전체 높이, 로고 기준 정렬 ── */
.hero-slide__content {
  width: 460px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  background: rgba(248, 249, 250, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-slide__tag {
  display: inline-block;
  background: rgba(44, 62, 107, 0.08);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}

.hero-slide__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-dark);
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin-bottom: 14px;
}

.hero-slide__desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Slider Controls */
.hero-slider__controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
}

.hero-dot.is-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

/* 반응형 — 태블릿 */
@media (max-width: 1199px) {
  .hero-slide__content {
    width: 400px;
    padding: 44px 40px;
  }

  .hero-slide__title {
    font-size: 26px;
  }
}

/* 반응형 — 모바일 */
@media (max-width: 767px) {
  .hero-slide {
    height: auto;
    min-height: 480px;
  }

  .hero-slide__inner {
    align-items: flex-end;
    padding-left: 0;
    max-width: 100%;
  }

  /* 모바일: 패널이 하단을 꽉 채우는 가로 형태 */
  .hero-slide__content {
    width: 100%;
    padding: 28px 16px 36px;
    background: rgba(248, 249, 250, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }

  .hero-slide__title {
    font-size: 20px;
  }

  .hero-slide__desc {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .hero-arrow {
    display: none;
  }
}

/* ════════════════════════════════════════
   QUICK BANNER
   ════════════════════════════════════════ */
.quick-banners {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.quick-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--charcoal);
  border-radius: 0;
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.quick-banner:hover {
  background: var(--gray-dark);
}

.quick-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.quick-banner__body {
  flex: 1;
  min-width: 0;
}

.quick-banner__date {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
}

.quick-banner__text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-banner__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--gray-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.quick-banner__btn:hover {
  background: var(--gold-hover);
}

/* ════════════════════════════════════════
   COURSE GRID CARD (course-list 전용)
   ════════════════════════════════════════ */
#courseGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  #courseGrid {
    grid-template-columns: 1fr;
  }
}
.cg-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.cg-card:hover {
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.cg-card__thumb {
  aspect-ratio: 16/9;
  background: #EEF1F7;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.cg-card__thumb img {
  position: absolute;     
  top: 50%;               
  left: 50%;             
  transform: translate(-50%, -50%); 
  width: 100%;
  height: auto;           
  min-height: 100%;        
  object-fit: cover;
  display: block;
}

.cg-card__thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  gap: 10px;
  color: var(--text-hint);
  font-size: 13px;
}

.cg-card__thumb-placeholder svg {
  opacity: 0.4;
}

.cg-card__level {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.30);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.cg-card__body {
  padding: 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cg-card__report {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cg-card__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 7px;
}

.cg-card__sub {
  font-size: 13px;
  color: var(--text-hint);
  flex: 1;
  line-height: 1.3;
}

.cg-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.cg-card__duration {
  font-size: 12px;
  color: var(--text-hint);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ════════════════════════════════════════
   FILTER SIDEBAR
   ════════════════════════════════════════ */
.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.filter-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.filter-sidebar__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.filter-sidebar__reset {
  font-size: 13px;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-sidebar__reset:hover {
  color: var(--charcoal);
}

.filter-group {
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
}

.filter-group__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.filter-group__arrow {
  color: var(--text-hint);
  transition: transform 0.2s ease;
}

.filter-group.is-open .filter-group__arrow {
  transform: rotate(180deg);
}

.filter-group__body {
  display: none;
  padding: 4px 20px 16px;
}

.filter-group.is-open .filter-group__body {
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
}

.filter-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-option__text::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border-gray);
  border-radius: 4px;
  background-color: #fff;
  vertical-align: middle;
  margin-right: 8px; 
  transition: all 0.2s ease; 
}

.filter-option input[type="checkbox"]:checked + .filter-option__text::before {
  background-color: var(--blue);
  border-color: var(--blue);
}

.filter-option input[type="checkbox"]:checked + .filter-option__text::after {
  content: "";
  position: absolute;
  left: 7px; 
  top: 13px; 
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0; /* 오른쪽과 아래쪽 테두리로 L자 만들기 */
  transform: rotate(45deg); /* 45도 회전시켜서 체크 모양 완성 */
}

.filter-option__text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}


.filter-option__count {
  font-size: 13px;
  color: var(--text-hint);
}

/* ════════════════════════════════════════
   COURSE LIST PAGE
   ════════════════════════════════════════ */
.list-header {
  padding: 15px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
  background: var(--bg-card);
}

.list-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.list-header__meta {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 8px;
}

.active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding: 5px 13px;
  background: var(--border);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-xl);
}

.active-filter-tag__remove {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  font-size: 10px;
  margin-top: -3px;
}

.active-filter-tag__remove:hover {
  opacity: 1;
}

/* Sort bar */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sort-bar__count {
  font-size: 18px;
  color: var(--text-sub);
}

.sort-bar__count strong {
  color: var(--blue);
  font-weight: 700;
}

/* ════════════════════════════════════════
   COURSE DETAIL PAGE
   ════════════════════════════════════════ */
.detail-hero {
  background: #06101F url('../assets/images/sub-hero-course.jpg') center/cover no-repeat;
  padding: 60px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(1, 1, 8, 0.95) 30%, rgba(1, 1, 8, 0.6) 50%, rgba(1, 1, 8, 0.5) 70%, rgba(1, 1, 8, 0.95) 90%);
  pointer-events: none;
}

/*.detail-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}*/

.detail-hero .container {
  position: relative;
  z-index: 2;
}

.detail-hero__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.3);
}

.detail-hero__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-hero__tag {
  background: rgba(255, 255, 255, 0.60);
  color: #000;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px 3px;
  border-radius: 999px;
}

.detail-hero__title {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.detail-hero__subtitle {
  font-size: 16px;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 8px;
}

.detail-hero__outcome {
  font-size: 16px;
  color: #b7bfc9;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 700px;
}

.detail-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.detail-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.detail-hero__meta-item strong {
  color: #fff;
  font-weight: 600;
}

.detail-hero__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

/* Practice Banner */
.practice-banner {
  background: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0;
  min-height: 120px;
}

.practice-banner__content {
  flex: 1;
}

.practice-banner__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.4;
}

.practice-banner__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.practice-banner__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.practice-banner__btn:hover {
  background: rgba(255, 255, 255, 1);
}

/* Detail Sections */
.detail-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.detail-section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.checklist__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(44, 62, 107, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checklist__icon svg {
  color: var(--charcoal);
}

/* Persona Tags */
.persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.persona-tag {
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-sub);
}

/* Video Placeholder */
.video-placeholder {
  background: #1A1A2E;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  flex-direction: column;
  gap: 12px;
}

/* Sticky Purchase Card */
.purchase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.purchase-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.purchase-card__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.purchase-card__price-note {
  font-size: 12px;
  color: var(--text-hint);
  margin-bottom: 20px;
}

.purchase-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.purchase-card__info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.purchase-card__info-label {
  color: var(--text-gray);
}

.purchase-card__info-value {
  color: var(--text-sub);
  font-weight: 500;
}

/* Related Courses */
.related-card {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.related-card:hover {
  border: 1px solid var(--border);
  background: var(--bg);
}

.related-card__thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: #EEF1F7;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card__body {
  flex: 1;
  min-width: 0;
}

.related-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.related-card__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

/* Related Section */
.related-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.related-sidebar__head {
  padding: 16px 30px;
  border-bottom: 1px solid var(--border);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.related-sidebar__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Next Courses */
.next-courses {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 32px;
}

.next-courses__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.next-courses__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ════════════════════════════════════════
   HOMEPAGE SECTIONS
   ════════════════════════════════════════ */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-head-row .btn--secondary {
  flex-shrink: 0;
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.industry-card:hover {
  border-color: var(--charcoal-light);
}

.industry-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(44, 62, 107, 0.06);
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}

.industry-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.industry-card__count {
  font-size: 11px;
  color: var(--text-hint);
}



/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1199px) {
  .industry-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

}


@media (max-width: 767px) {
  .header-search {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .gnb__inner {
    display: none;
  }

  .hero-slide {
    padding: 48px 0;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .next-courses__list {
    grid-template-columns: 1fr;
  }

  .practice-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .quick-banner__text {
    font-size: 13px;
  }

  .detail-hero__title {
    font-size: 22px;
  }
}

/* ════════════════════════════════════════
   MOBILE FILTER DRAWER
   ════════════════════════════════════════ */

/* 모바일 필터 토글 바 (767px 이하에서만 표시) */
.mobile-filter-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 10px;
  }

  .mobile-filter-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .mobile-filter-bar__btn:hover {
    border-color: var(--charcoal-light);
    color: var(--charcoal);
  }

  .mobile-filter-bar__btn.has-filter {
    border-color: var(--charcoal);
    background: rgba(44, 62, 107, 0.06);
    color: var(--charcoal);
  }

  .mobile-filter-bar__count {
    font-size: 13px;
    color: var(--text-sub);
    flex: 1;
    text-align: right;
  }

  .mobile-filter-bar__count strong {
    color: var(--charcoal);
    font-weight: 700;
  }
}

/* 필터 드로어 오버레이 */
.filter-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1900;
}

.filter-drawer-overlay.is-open {
  display: block;
}

/* 필터 드로어 패널 */
.filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2000;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.filter-drawer.is-open {
  transform: translateY(0);
}

.filter-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

.filter-drawer__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.filter-drawer__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.filter-drawer__close:hover {
  background: var(--bg);
}

.filter-drawer__body {
  padding: 0 0 100px;
}

.filter-drawer__footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  z-index: 2001;
}

/* ── 태블릿 반응형 보완 ── */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-with-sidebar {
    grid-template-columns: 220px 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }

  .section__title {
    font-size: 22px;
  }

  .industry-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── 모바일에서 사이드바 숨기기 / 드로어로 전환 ── */
@media (max-width: 767px) {
  /* course-list 사이드바는 숨기고 드로어로 */
  .page-with-sidebar {
    grid-template-columns: 1fr;
  }

  .page-with-sidebar > aside {
    display: none;
  }

  /* sort-bar에서 카운트는 모바일 필터 바로 이동되므로 숨김 */
  .sort-bar {
    display: none;
  }

  /* 디테일 페이지 사이드 카드 순서 변경 */
  .detail-layout {
    grid-template-columns: 1fr;
  }

  /* 구매 카드는 모바일에서 sticky 해제 + 숨김 (하단 고정 CTA 사용) */
  .sticky-card {
    position: static;
    display: none;
  }
}

/* 모바일 하단 고정 CTA (detail 페이지) */
.mobile-purchase-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-purchase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    z-index: 500;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .mobile-purchase-bar__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
  }

  /* 모바일 CTA 공간 확보 */
  .detail-page-body {
    padding-bottom: 80px;
  }
}

/* ── 공통 — 과목 목록 카드 그리드 태블릿 ── */
@media (min-width: 768px) and (max-width: 1199px) {
  .page-with-sidebar .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-with-sidebar .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── 목록 헤더 반응형 ── */
@media (max-width: 767px) {
  .list-header {
    padding: 20px 0 16px;
    margin-bottom: 0;
  }

  .list-header__inner {
    padding: 0 16px;
  }
}

/* =========================================
   동영상 + 타임라인 섹션
   ========================================= */
.video-section {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.video-section__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.video-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.video-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* 영상 플레이어 */
.video-player-wrap {
  position: relative;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-player-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 12px;
}

/* 타임라인 사이드바 */
.video-timeline {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.video-timeline__header {
  padding: 16px 20px;
  background: var(--charcoal);
  color: #fff;
}

.video-timeline__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}

.video-timeline__video-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.video-timeline__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.video-timeline__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}

.video-timeline__item:hover {
  background: rgba(44,62,107,0.06);
  border-left-color: var(--gold);
}

.video-timeline__item.is-active {
  background: rgba(245,158,11,0.08);
  border-left-color: var(--gold);
}

.video-timeline__item.is-active .video-timeline__time {
  color: var(--gold);
  font-weight: 700;
}

.video-timeline__time {
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  background: rgba(44,62,107,0.08);
  padding: 3px 8px;
  border-radius: 4px;
  min-width: 44px;
  text-align: center;
  flex-shrink: 0;
  font-family: monospace;
}

.video-timeline__chapter {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.video-timeline__play-icon {
  margin-left: auto;
  color: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.video-timeline__item:hover .video-timeline__play-icon,
.video-timeline__item.is-active .video-timeline__play-icon {
  opacity: 1;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-timeline {
    max-height: 280px;
    overflow-y: auto;
  }

  .video-section {
    padding: 32px 0;
  }
}

/* ── 챕터 바 (영상 아래 가로 목차) ── */
/* ── 챕터 바 (EPA 스타일) ── */
.chap-bar {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.chap-bar__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.chap-bar__icon {
  width: 40px;
  height: 40px;
  background: #ecf5fd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.chap-bar__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.chap-bar__meta {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 2px;
}

.chap-bar__section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--bg);
  padding: 8px 24px;
  border-bottom: 1px solid var(--border);
}

.chap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chap-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.15s;
}

.chap-item:last-child {
  border-bottom: none;
}

.chap-item:hover {
  background: #F8FAFC;
}

.chap-item.is-active {
  background: #FFFBEB;
}

.chap-item__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-hint);
  flex-shrink: 0;
  transition: all 0.15s;
}

.chap-item:hover .chap-item__circle {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.chap-item.is-active .chap-item__circle {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.chap-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chap-item__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.chap-item.is-active .chap-item__label {
  color: var(--charcoal);
}

.chap-item__time {
  font-size: 13px;
  color: var(--text-hint);
}

/* =========================================
   FAQ 섹션
   ========================================= */
.faq-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.faq-section .faq-list-new {
  margin-top: 0;
  background: #fff;
  border: 1.5px solid #E8EDF3;
  border-radius: 20px;
  overflow: hidden;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--font);
  line-height: 1.5;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--text-hint);
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 4px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-answer strong {
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .faq-section {
    padding: 48px 0;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px 4px;
  }
}

/* ════════════════════════════════════════
   PLATFORM TAB SECTION (Process ESG style)
   ════════════════════════════════════════ */
.platform-tab-section {
  background: #fff;
  padding: 80px 0 72px;
}

.platform-tab-header {
  margin-bottom: 48px;
}

.platform-tab-header__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.platform-tab-header__desc {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 탭 버튼 영역 */
.platform-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.platform-tab {
  position: relative;
  background: #F8FAFC;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.platform-tab::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
  border-radius: 2px 2px 0 0;
}

.platform-tab--trinity::before {
  background: var(--teal);
}

.platform-tab.is-active::before {
  transform: scaleX(1);
}

.platform-tab.is-active {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.12);
}

.platform-tab--trinity.is-active {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(13, 148, 136, 0.12);
}

.platform-tab:not(.is-active):hover {
  border-color: #C7D4E8;
  background: #fff;
}

.platform-tab__inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.platform-tab__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 4px;
}

.platform-tab__info {
  flex: 1;
}

.platform-tab__tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
  line-height: 1.4;
}

.platform-tab--trinity .platform-tab__tagline {
  color: var(--teal);
}

.platform-tab__desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

.platform-tab__arrow {
  font-size: 22px;
  color: var(--text-hint);
  flex-shrink: 0;
  align-self: center;
  transition: transform 0.2s, color 0.2s;
}

.platform-tab.is-active .platform-tab__arrow,
.platform-tab:hover .platform-tab__arrow {
  transform: translateX(4px);
  color: var(--blue);
}

.platform-tab--trinity.is-active .platform-tab__arrow,
.platform-tab--trinity:hover .platform-tab__arrow {
  color: var(--teal);
}

/* 패널 */
.platform-panel {
  animation: panelFadeIn 0.3s ease;
}

.platform-panel--hidden {
  display: none;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.platform-panel__grid--single {
  grid-template-columns: 420px;
}

/* 새 과정 카드 */
.course-card-new {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  box-shadow: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.course-card-new::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 1px 1px 0 0;
}

.course-card-new--teal::after {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.course-card-new:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.11);
  transform: translateY(-4px);
}

.course-card-new__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 1.5px;
  opacity: 0.7;
}

.course-card-new--teal .course-card-new__num {
  color: var(--teal);
}

.course-card-new__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.course-card-new__desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  flex: 1;
}

.course-card-new__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-card-new__meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-sub);
}

.meta-label {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 56px;
  flex-shrink: 0;
  font-size: 13px;
}

.meta-val {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.5;
}

.course-card-new__btn {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.2px;
}

.course-card-new__btn:hover {
  color: var(--blue-dark);
}

.course-card-new__btn--teal {
  color: var(--teal);
}

.course-card-new__btn--teal:hover {
  color: var(--teal-light);
}





/* ════════════════════════════════════════
   PLATFORM TAB SECTION — RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  .platform-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-tab-header__title { font-size: 30px; }
}

@media (max-width: 900px) {
  .platform-tabs {
    grid-template-columns: 1fr;
  }
  .platform-tab__inner {
    flex-direction: column;
    gap: 16px;
  }
  .platform-tab__arrow { display: none; }
  .platform-tab-header__title { font-size: 26px; }
}

@media (max-width: 600px) {
  .platform-panel__grid {
    grid-template-columns: 1fr;
  }
  .platform-panel__grid--single {
    grid-template-columns: 1fr;
  }
  .platform-tab {
    padding: 24px 20px;
  }
  .videos-section__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .bottom-col-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ════════════════════════════════════════
   Process ESG STYLE — 플랫폼 섹션
   ════════════════════════════════════════ */

.Process-platform-section {
  background: #fff;
  padding: 96px 0 80px;
}

/* 섹션 헤더 — 중앙 정렬 */
.Process-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.Process-section-header__title {
  font-size: 48px;
  font-weight: 800;
 color: var(--charcoal);
  letter-spacing: -2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.Process-section-header__desc {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* Pill 탭 */
.Process-pill-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.Process-pill {
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font);
  border: 1.5px solid #b0b8c1;
  background: #fff;
  color: #4e5968;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.2px;
}

.Process-pill:hover {
  border-color: #7f848a;
 color: var(--text-primary);
}

.Process-pill.is-active {
  background: var(--charcoal);
  color: #fff;
  font-weight: 600;
  background: var(--charcoal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* 패널 */
.Process-panel {
  animation: ProcessFadeIn 0.3s ease;
}

.Process-panel--hidden {
  display: none;
}

@keyframes ProcessFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 와이드 배너 */
.Process-banner {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  padding: 40px 52px;
  margin-bottom: 24px;
  position: relative;
}

.Process-banner--aud, .Process-banner--trinity {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 1. 가장 밑바닥: 블러 처리된 순수 이미지 레이어 */
.Process-banner--aud::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2; 
  background: url('../assets/images/Process-banner-01.png') center/cover no-repeat;
  filter: blur(4px); /* 이미지만 강하게 블러 */
  transform: scale(1.08);
}
.Process-banner--trinity::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2; 
  background: url('../assets/images/Process-banner-02.png') center/cover no-repeat;
  filter: blur(4px); /* 이미지만 강하게 블러 */
  transform: scale(1.08);
}

/* 2. 중간층: 글자 가독성을 잡아주는 선명한 어두운 그라디언트 덮개 */
.Process-banner--aud::after, .Process-banner--trinity::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.0) 100%);
}



/* 배너에 이미지 없을 때 폴백 그라디언트 
.Process-banner--aud:not([style*="url"]) {
  background: linear-gradient(135deg, #191f28 0%, #191f28 60%, #191f28 100%);
}

.Process-banner--trinity:not([style*="url"]) {
  background: linear-gradient(135deg, #191f28 0%, #191f28 60%, #191f28 100%);
}
*/

.Process-banner__content {
  position: relative;
  z-index: 1;
}

.Process-banner__text {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.Process-banner__text strong {
  font-weight: 700;
  font-size: 32px;
  display: block;
  margin-top: 4px;
}

/* 하단 카드 그리드 */
.Process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.Process-cards--single {
  grid-template-columns: repeat(3, 1fr);
}

/* 개별 카드 */
.Process-card {
  background: #fff;
  border: 1px solid #E8EDF3;
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.Process-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

.Process-card__top {
  padding: 32px 28px 0;
  flex: 1;
}

.Process-card__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.Process-card__desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.5;
}

.Process-card__bottom {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.Process-card__icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.Process-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.Process-card__meta-item {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

/* 우하단 화살표 버튼 */
.Process-card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F0F4F8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.Process-card:hover .Process-card__arrow {
  background: var(--text-primary);
  color: #fff;
  transform: rotate(-45deg);
}

.Process-card__arrow--teal {
  background: #f0fdfa;
  color: #0d9488;
}

.Process-card--teal:hover .Process-card__arrow--teal {
  background: #0d9488;
  color: #fff;
}

/* ════════════════════════════════════════
   Process SECTION — 반응형
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  .Process-cards { grid-template-columns: repeat(2, 1fr); }
  .Process-cards--single { grid-template-columns: repeat(2, 1fr); }
  .Process-section-header__title { font-size: 38px; }
  .Process-banner__text { font-size: 20px; }
  .Process-banner__text strong { font-size: 28px; }
}

@media (max-width: 700px) {
  .Process-cards { grid-template-columns: 1fr; }
  .Process-cards--single { grid-template-columns: 1fr; }
  .Process-platform-section { padding: 64px 0 56px; }
  .Process-section-header__title { font-size: 30px; }
  .Process-banner { min-height: 200px; padding: 32px 24px; }
  .Process-banner__text { font-size: 18px; }
  .Process-banner__text strong { font-size: 22px; }
  .Process-card__title { font-size: 22px; }
}


/* 비디오 카드 테두리 반경 통일 */
.videos-grid .video-card {
  border-radius: 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

.videos-grid .video-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
  transform: translateY(-4px) !important;
}

/* ════════════════════════════════════════
   BOTTOM SECTION — 대형 리뉴얼
   ════════════════════════════════════════ */

.bottom-grid {
  gap: 56px !important;
}

.bottom-col-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.bottom-col-head__eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.bottom-col-head__title {
  font-size: 38px;
  font-weight: 700;
 color: var(--charcoal);
  letter-spacing: -1px;
  line-height: 1.2;
}





/* section-more-link-new */
.section-more-link-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
 color: var(--text-primary);
  text-decoration: none;
  padding: 10px 22px;
  border: 1.5px solid #CCC;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  align-self: flex-end;
}

.section-more-link-new:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* 2. Process-card — div 기반 hover 유지, cursor 기본으로 */
.Process-card {
  cursor: default;
}

/* a 태그 없으니 hover 색상 언더라인 제거 */
.Process-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  transform: translateY(-4px);
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .bottom-col-head__title { font-size: 34px !important; }
}

/* 5. 모바일에서도 모두 왼쪽 정렬 */
@media (max-width: 768px) {
  .Process-section-header,
  .Process-section-header__title,
  .Process-section-header__desc,
  .Process-section-header__eyebrow,
  .videos-section__head,
  .videos-section__eyebrow,
  .videos-section__title,
  .bottom-col-head,
  .bottom-col-head__eyebrow,
  .bottom-col-head__title {
    text-align: left !important;
  }

  .videos-section__head {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .bottom-col-head {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .section-more-link-new {
    align-self: flex-start !important;
  }

  .Process-section-header__title {
    font-size: 30px;
  }
  .bottom-col-head__title {
    font-size: 26px !important;
  }
}

/* ── 태그 ── */
.Process-card__tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  padding: 5px 14px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

/* 각 태그 개별 색상 */
.Process-card__tag--violet {
  color: #7c3aed;
  /*background: #f5f3ff;*/
  border: 1px solid #7c3aed;
}
.Process-card__tag--amber {
  color: #b45309;
  /*background: #fffbeb;*/
  border: 1px solid #b45309;
}
.Process-card__tag--blue {
  color: var(--blue);
  /*background: #eff6ff;*/
  border: 1.5px solid var(--blue);
}
.Process-card__tag--green {
  color: #16a34a;
  /*background: #f0fdf4;*/
  border: 1px solid #16a34a;
}
.Process-card__tag--rose {
  color: #be123c;
  /*background: #fff1f2;*/
  border: 1px solid #be123c;
}
.Process-card__tag--teal {
  color: #0d9488;
  /*background: #f0fdfa;*/
  border-color: #0d9488;
}


/* ── Process-card__meta-list — 원본 course-card__meta 스타일 ── */
.Process-card__meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #E8EDF3;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.Process-card__meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color:  var(--text-gray);
  width: 100%;
  line-height: 1.5;
}

.Process-card__meta-list li span:first-child {
  font-weight: 700;
  color: #1e293b;
  min-width: 56px;
  flex-shrink: 0;
}

/* Process-card__bottom — 패딩 및 간격 조정 */
.Process-card__bottom {
  padding: 20px 28px 28px !important;
  position: relative;
}

/* ── 커뮤니티 섹션 분리 ── */
.community-section-standalone {
  background: #FFF;
  padding: 80px 0 72px;
}

.community-standalone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.community-card--online-only,
.community-card--offline-only {
  border-radius: 20px;
  border: 1.5px solid #E8EDF3;
  background: #fff;
  overflow: hidden;
}

.community-card--online-only .community-card__online,
.community-card--offline-only .community-card__offline {
  padding: 32px 28px;
}

@media (max-width: 700px) {
  .community-standalone-grid {
    grid-template-columns: 1fr;
  }
}




/* 오프라인 이벤트 — 가로 배치 (이미지 왼쪽, 텍스트 오른쪽) */
.offline-event-unified {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}

.offline-event-unified__img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.offline-event-unified__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.offline-event-unified__name {
  font-size: 13px;
  font-weight: 800;
 color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.offline-event-unified__detail {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.offline-event-unified__info .offline-event-v2__btn {
  margin-top: 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* 반응형 */
@media (max-width: 700px) {
  .community-card-unified {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .community-unified__divider {
    width: auto;
    height: 1px;
    margin: 0 24px;
  }
  .community-unified__left,
  .community-unified__right {
    padding: 24px 20px;
  }
}

/* 2열 그리드 */
.community-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* 공통 카드 */
.comm-card {
  background: #fff;
  border: 1.5px solid #E8EDF3;
  border-radius: 20px;
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.comm-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

/* 카드 헤더 */
.comm-card__title {
  font-size: 24px;
  font-weight: 800;
 color: var(--text-primary);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
.comm-card__desc {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ── 온라인: 가로 버튼 3개 ── */
.comm-btn-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.comm-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 20px;
  border-radius: 15px;
  background: #F8FAFC;
  border: 1.5px solid #E8EDF3;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.comm-btn:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  transform: translateY(-2px);
}

.comm-btn__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #E8EDF3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.comm-btn__label,
.comm-btn__sub {
  transition: color 0.2s ease; /* 텍스트도 부드럽게 전환 */
}
/* 기본 상태 아이콘의 부드러운 색상 변경을 위해 transition 추가 */
.comm-btn svg path {
  fill: var(--gray-dark);
  transition: fill 0.2s ease;
}

/* 호버 시 내부 path의 fill(채우기) 색상을 변경 */
.comm-btn:hover svg path {
  fill: var(--blue); 
}


.comm-btn__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.comm-btn__sub {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.4;
}

/* ── 오프라인: 이미지 + 텍스트 가로 배치 ── */
.comm-offline-body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex: 1;
}

.comm-offline-img {
  width: 240px;
  height: 166px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
}

.comm-offline-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  padding-top: 2px;
}

.comm-offline-name {
  font-size: 18px;
  font-weight: 700;
 color: var(--text-primary);
  letter-spacing: 0px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.comm-offline-detail {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

.comm-offline-btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  font-size: 15px;
  padding: 11px 22px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: color 0.15s;
}

.comm-offline-btn:hover {
  background: var(--blue-dark);
  color: #fff);
}

/* 반응형 */
@media (max-width: 800px) {
  .community-split-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .comm-btn-row {
    grid-template-columns: 1fr;
  }
  .comm-btn {
    flex-direction: row;
    text-align: left;
    padding: 14px 16px;
  }
}

/* ════════════════════════════════════════
   서브 hero
   ════════════════════════════════════════ */
.sub-hero {
  padding: 45px 24px 45px;
  position: relative;
  overflow: hidden;
}
.sub-hero-eduinfo {
  background: #000 url('../assets/images/sub-hero-eduinfo.jpg') center/cover no-repeat;
}
.sub-hero-edusch {
  background: #000 url('../assets/images/sub-hero-edusch.jpg') center/cover no-repeat;
}
.sub-hero-course {
  background: #000 url('../assets/images/sub-hero-course.jpg') center/cover no-repeat;
}
.sub-hero-faq {
  background: #000 url('../assets/images/sub-hero-faq.jpg') center/cover no-repeat;
}
.sub-hero-comm {
  background: #000 url('../assets/images/sub-hero-comm.jpg') center/cover no-repeat;
}
.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(1, 1, 8, 0.95) 30%, rgba(1, 1, 8, 0.6) 50%, rgba(1, 1, 8, 0.5) 70%, rgba(1, 1, 8, 0.95) 90%);
  pointer-events: none;
}
/*.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
/*.sub-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}*/
.sub-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  /*text-align: center;*/
}
.sub-hero__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.3);
  /*background: rgba(59, 130, 246, .18);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, .35);*/
}
.sub-hero__title {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.sub-hero__desc {
  font-size: 16px;
  color: #b7bfc9;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .sub-hero { padding: 50px 0; }
  .sub-hero__title { font-size: 30px; }
}


/* ════════════════════════════════════════
   교육신청
   ════════════════════════════════════════ */

/* ── 히어로 ── */
.apply-hero {
  background: #06101F url('../assets/images/sub-hero-apply.jpg') center/cover no-repeat;
  padding: 50px 24px 50px;
  position: relative;
  overflow: hidden;
}
.apply-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.apply-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.apply-hero__content {
  flex: 1;
  min-width: 0;
}
.apply-hero__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.3);
}
.apply-hero__title {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -1px;
}
.apply-hero__title em {
  font-style: normal;
  color: #60A5FA;
}
.apply-hero__desc {
  font-size: 18px;
  color: #b7bfc9;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 700px;
}
.apply-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--blue-light);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.apply-hero__btn:hover { background: var(--blue-dark); }

/* 히어로 우측 신청 정보 카드 */
.apply-hero__card {
  flex-shrink: 0;
  width: 420px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  padding: 30px 35px 35px;
  backdrop-filter: blur(8px);
}
.apply-hero__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.apply-hero__card-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.apply-hero__card-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.apply-hero__card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.apply-hero__card-icon-size {
  font-family: 'Material Symbols Rounded';

  font-variation-settings:
    'FILL' 1,
    'wght' 500,
    'GRAD' 0,
    'opsz' 20;
  font-size: 20px !important;
}



.apply-hero__card-label {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin-bottom: 3px;
}
.apply-hero__card-val {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .apply-hero__inner { flex-direction: column; gap: 40px; }
  .apply-hero__card { width: 100%; max-width: 480px; }
  .apply-hero__title { font-size: 30px; }
}
@media (max-width: 480px) {
  .apply-hero__title { font-size: 24px; }
}

/* ── 절차 섹션 ── */
.apply-section {
  background: #fff;
  padding: 70px 24px 70px;
}
.apply-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-hd {
  margin-bottom: 36px;
}

.section-hd__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.section-hd__sub {
  font-size: 16px;
  color: var(--text-sub);
}

/* ── STEP 카드 ── */
.apply-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.apply-step {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px 30px;
  box-shadow: 0 1px 4px rgba(15,23,42,.06);
  position: relative;
}
.apply-step__arrow {
  position: absolute;
  top: 45px;
  right: -18px;
  width: 35px;
  height: 35px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.apply-step__arrow svg { width: 12px; height: 12px; color: #94A3B8; }
.apply-step:last-child .apply-step__arrow { display: none; }
.apply-step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.apply-step__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background 0.18s;
  margin-bottom: 18px;
}
.apply-step__icon {
  font-variation-settings:
    'FILL' 1,
    'wght' 500,
    'GRAD' 0,
    'opsz' 30;
  font-size: 30px !important;
}

.apply-step__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.apply-step__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}
.apply-step__desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.75;
}

/* ── 정책 섹션 (다크) ── */
.apply-policy {
  background: var(--gray-dark);
  padding: 70px 24px;
}
.apply-policy__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 56px;
  align-items: start;
}
.apply-policy__sep {
  background: rgba(255,255,255,.2);
  min-height: 150px;
}
.apply-policy__col-title {
  font-size: 22px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 22px;
  letter-spacing: -0.3px;
}
.apply-policy__col-title span {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  margin-left: 6px;
}
.apply-policy__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apply-policy__list li {
  font-size: 16px;
  color: #c9cfd8;
  line-height: 1.75;
  padding-left: 14px;
  position: relative;
}
.apply-policy__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #c9cfd8;
  font-weight: 700;
}
.apply-policy__list li strong {
  color: #fff;
  font-weight: 600;
}
.apply-policy__list .highlight {
  color: #60A5FA;
  font-weight: 600;
}
.apply-policy__list .muted {
  color: #c9cfd8;
  font-size: 13px;
}

/* ── 반응형 ── */
@media (max-width: 860px) {
  .apply-steps { grid-template-columns: 1fr 1fr; }
  .apply-step__arrow { display: none; }
  .apply-policy__wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apply-policy__sep { display: none; }
}
@media (max-width: 480px) {
  .apply-steps { grid-template-columns: 1fr; }
  .apply-hero__title { font-size: 26px; }
}

/* ════════════════════════════════════════
   FAQ hero
   ════════════════════════════════════════ */
    /* ── 히어로 ── */
    .faq-hero {
      background: #06101F url('assets/images/main.jpg') center/cover no-repeat;
      padding: 72px 24px 64px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .faq-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(6,16,31,0.80);
      pointer-events: none;
    }
    .faq-hero__dots {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
      background-size: 44px 44px;
      pointer-events: none;
      z-index: 1;
    }
    .faq-hero__inner {
      position: relative;
      z-index: 2;
    }
    .faq-hero__eyebrow {
      display: inline-block;
      margin-bottom: 16px;
      padding: 5px 18px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      background: rgba(59,130,246,.18);
      color: #93C5FD;
      border: 1px solid rgba(59,130,246,.35);
    }
    .faq-hero__title {
      font-size: 38px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 14px;
      line-height: 1.2;
      letter-spacing: -1px;
    }
    .faq-hero__desc {
      font-size: 15px;
      color: rgba(255,255,255,0.55);
      line-height: 1.8;
    }

    /* ── 카테고리 탭바 (커뮤니티 서브네비 스타일) ── */
    .sub-line-tab-bar {
      background: #fff;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .sub-line-tab-bar__inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;

      display: flex;
      align-items: center;

      overflow-x: auto;
    }

    /* 버튼 오른쪽 끝 */
    .comm-write {
      margin-left: auto;
      flex-shrink: 0;
    }
    .sub-line-tab {
      padding: 21px 20px;
      font-size: 16px;
      font-weight: 500;
      color: #4e5968;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      white-space: nowrap;
      transition: color 0.2s, border-color 0.2s;
      font-family: inherit;
    }
    .sub-line-tab:hover { 
      var(--text-primary); 
      font-weight: 700;
    }
    .sub-line-tab.active {
      color: var(--text-primary);
      border-bottom-color: var(--gray-dark);
      font-weight: 700;
    }

    /* ── FAQ 카테고리 그룹 ── */
    .faq-group { display: none; }
    .faq-group.active { display: block; }
    .faq-group__title {
      font-size: 24px;
      font-weight: 700;
      color: var(--text-primary);
      text-transform: uppercase;
      margin: 40px 0 15px 0;
      display: block;
    }
    .faq-group__title:first-child { margin-top: 0; }

    /* ── 문의 배너 ── */
    .faq-contact {
      background: var(--gray-dark);
      padding: 60px 0px;
      margin-top: 0px;
    }

    .faq-contact__inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    
    .faq-contact__text h3 {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
    }
    .faq-contact__text p {
      font-size: 16px;
      color: #c9cfd8;
    }
    .faq-contact__btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 17px 28px;
      background: var(--blue);
      color: #fff;
      border-radius: var(--radius-lg);
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: background .2s;
      flex-shrink: 0;
    }
    .faq-contact__btn:hover { background: var(--blue-dark); }

    @media (max-width: 600px) {
      .faq-hero__title { font-size: 26px; }
      .faq-contact { flex-direction: column; text-align: center; }
    }



        /* ══ 커뮤니티 서브 네비 ══ */
    .comm-sub-nav {
      background: #fff;
      border-bottom: 1.5px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .comm-sub-nav__inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      gap: 0;
    }
    .comm-sub-nav__item {
      padding: 14px 20px;
      font-size: 16px;
      font-weight: 500;
      color: var(--text-sub);
      cursor: pointer;
      border-bottom: 2.5px solid transparent;
      transition: color 0.2s, border-color 0.2s;
      white-space: nowrap;
      user-select: none;
    }
    .comm-sub-nav__item:hover { color: var(--charcoal); }
    .comm-sub-nav__item.active {
      color: var(--charcoal);
      border-bottom-color: var(--charcoal);
    }
    .comm-sub-nav__spacer { flex: 1; }
    .comm-sub-nav__write {
      padding: 8px 18px;
      background: var(--charcoal);
      color: #fff;
      border: none;
      border-radius: var(--radius-md);
      font-size: 13px;
      font-weight: 700;
      font-family: var(--font);
      cursor: pointer;
      transition: background 0.2s;
    }
    .comm-sub-nav__write:hover { background: var(--gray-dark, #1a2647); }

    /* ══ 페이지 SPA ══ */
    .comm-page { display: none; }
    .comm-page.active { display: block; }

    /* ══ 게시판 레이아웃 ══ */
    .comm-layout {
      max-width: 1240px;
      margin: 0 auto;
      padding: 40px 24px 80px;
      display: grid;
      align-items: start;
    }

    /* ══ 필터 칩 ══ */
    .comm-filter {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }
    .comm-filter__chip {
      padding: 6px 14px;
      border: 1.5px solid var(--border);
      border-radius: 100px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-sub);
      background: #fff;
      cursor: pointer;
      transition: all 0.15s;
    }
    .comm-filter__chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .comm-filter__chip.active {
      background: var(--charcoal);
      border-color: var(--charcoal);
      color: #fff;
    }

    /* ══ 게시글 카드 ══ */
    .post-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 25px 30px 25px;
      margin-bottom: 12px;
      cursor: pointer;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .post-card:hover {
      border-color: var(--text-hint);
      box-shadow: 0 2px 12px rgba(44,62,107,0.08);
    }
    .post-card__top {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }
    .post-card__badge {
      padding: 2px 10px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .02em;
      background: #F1F5F9;
      color: #64748B;
    }
    .post-card__badge--notice {
      color: #DC2626;
      background: rgba(239, 68, 68, 0.06);
      border: 1px solid rgba(239, 68, 68, 0.18);
      border-radius: 999px;
    }
    .post-card__badge--qa {
      color: var(--blue);
      background: rgba(59, 130, 246, 0.08);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 999px;
    }
    .post-card__badge--review {
      background: #FFF4E6;
      color: #B45309;
      border: 1px solid #FDE68A;
    }
    .post-card__title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.4;
    }
    .post-card__excerpt {
      font-size: 14px;
      color: var(--text-sub);
      line-height: 1.6;
      margin-bottom: 14px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .post-card__meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 12px;
      color: var(--text-hint, #aaa);
    }
    .post-card__meta-item { display: flex; align-items: center; gap: 4px; }

    /* ══ 사이드바 ══ */
    .comm-sidebar {}
    .comm-sidebar__card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px;
      margin-bottom: 16px;
    }
    .comm-sidebar__title {
      font-size: 13px;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }
    .product-tab-row {
      display: flex;
      gap: 4px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .product-tab {
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 700;
      background: var(--bg, #F0F4F8);
      color: var(--text-sub);
      cursor: pointer;
      transition: all 0.15s;
    }
    .product-tab.active { background: var(--charcoal); color: #fff; }
    .popular-post {
      display: flex;
      gap: 10px;
      padding: 10px 0;
      border-bottom: 1px solid var(--border-light, #f0f0f0);
      cursor: pointer;
    }
    .popular-post:last-child { border-bottom: none; }
    .popular-post__num {
      font-size: 14px;
      font-weight: 700;
      color: var(--gold, #F59E0B);
      min-width: 18px;
    }
    .popular-post__title {
      font-size: 13px;
      color: var(--text-primary);
      line-height: 1.4;
      flex: 1;
    }
    .popular-post__title:hover { color: var(--charcoal); }
    .stat-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-light, #f0f0f0);
    }
    .stat-row:last-child { border-bottom: none; }
    .stat-row__label { font-size: 13px; color: var(--text-sub); }
    .stat-row__val { font-size: 14px; font-weight: 700; color: var(--charcoal); }

    /* ══ 빈 상태 ══ */
    .comm-empty {
      text-align: center;
      padding: 60px 20px;
      color: var(--text-hint);
    }
    .comm-empty__icon {
      width: 48px;
      height: 48px;
      margin: 0 auto 16px;
      background: var(--bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .comm-empty__title { font-size: 16px; font-weight: 700; color: var(--text-sub); margin-bottom: 6px; }
    .comm-empty__desc { font-size: 13px; }

    /* ══ 툴바 ══ */
    .comm-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .comm-toolbar__count { font-size: 13px; color: var(--text-sub); }
    .comm-toolbar__count strong { color: var(--charcoal); }

    /* ══ 글쓰기 페이지 ══ */
    .write-layout {
      max-width: 1240px;
      margin: 0 auto;
      padding: 40px 24px 100px;
    }
    .write-layout__header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 28px;
    }
    .write-layout__back {
      width: 36px;
      height: 36px;
      border: 1.5px solid var(--border);
      border-radius: 50%;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-sub);
      font-size: 18px;
      transition: border-color 0.2s;
    }
    .write-layout__back:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .write-layout__title { font-size: 22px; font-weight: 700; color: var(--charcoal); }
    .write-form__group { margin-bottom: 20px; }
    .write-form__label {
      display: block;
      font-size: 15px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 8px;
    }
    .write-form__select,
    .write-form__input,
    .write-form__textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-md);
      font-size: 15px;
      font-family: var(--font);
      color: var(--text-primary);
      background: #fff;
      box-sizing: border-box;
      transition: border-color 0.2s;
    }
    .write-form__select:focus,
    .write-form__input:focus,
    .write-form__textarea:focus { outline: none; border-color: var(--charcoal); }
    .write-form__textarea { resize: vertical; min-height: 280px; line-height: 1.7; }
    .write-form__actions {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 28px;
    }
    .btn-write-cancel {
      padding: 12px 24px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-md);
      background: #fff;
      font-size: 15px;
      font-weight: 600;
      font-family: var(--font);
      color: var(--text-sub);
      cursor: pointer;
      transition: border-color 0.2s;
    }
    .btn-write-cancel:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .btn-write-submit {
      padding: 12px 32px;
      background: var(--charcoal);
      color: #fff;
      border: none;
      border-radius: var(--radius-md);
      font-size: 15px;
      font-weight: 700;
      font-family: var(--font);
      cursor: pointer;
      transition: background 0.2s;
    }
    .btn-write-submit:hover { background: var(--gray-dark, #1a2647); }

    /* ══ 상세 페이지 ══ */
    .comm-detail-layout {
      max-width: 1240px;
      margin: 0 auto;
      padding: 40px 24px 100px;
    }
    .comm-detail-layout__back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      color: var(--text-sub);
      cursor: pointer;
      margin-bottom: 24px;
      transition: color 0.2s;
      font-weight: 600;
    }
    .comm-detail-layout__back:hover { color: var(--charcoal); }
    .detail-header {
      border-bottom: 1.5px solid var(--border);
      padding-bottom: 20px;
      margin-bottom: 28px;
    }
    .detail-header__badge {
      display: inline-block;
      margin-bottom: 10px;
      padding: 2px 10px;
    }
    .detail-header__title {
      font-size: 26px;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .detail-header__meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 14px;
      color: var(--text-hint);
    }
    .post-actions {
      display: flex;
      gap: 8px;
      margin-top: 14px;
    }
    .post-actions__btn {
      padding: 6px 16px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      font-family: var(--font);
      cursor: pointer;
      border: 1.5px solid var(--border);
      background: #fff;
      color: var(--text-sub);
      transition: all 0.15s;
    }
    .post-actions__btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .post-actions__btn--danger { color: #DC2626; }
    .post-actions__btn--danger:hover { border-color: #DC2626; color: #DC2626; }
    .edit-form { margin-bottom: 40px; }
    .edit-form__title {
      width: 100%;
      font-size: 20px;
      font-weight: 700;
      color: var(--charcoal);
      border: 1.5px solid var(--border);
      border-radius: 8px;
      padding: 10px 14px;
      font-family: var(--font);
      box-sizing: border-box;
      margin-bottom: 12px;
    }
    .edit-form__title:focus { outline: none; border-color: var(--charcoal); }
    .edit-form__body {
      width: 100%;
      min-height: 200px;
      font-size: 15px;
      line-height: 1.8;
      color: var(--text-primary);
      border: 1.5px solid var(--border);
      border-radius: 8px;
      padding: 12px 14px;
      font-family: var(--font);
      box-sizing: border-box;
      resize: vertical;
      margin-bottom: 12px;
    }
    .edit-form__body:focus { outline: none; border-color: var(--charcoal); }
    .edit-form__btns { display: flex; gap: 8px; justify-content: flex-end; }
    .edit-form__save {
      padding: 8px 24px;
      background: var(--charcoal);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 700;
      font-family: var(--font);
      cursor: pointer;
    }
    .edit-form__cancel {
      padding: 8px 24px;
      background: #fff;
      color: var(--text-sub);
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      font-family: var(--font);
      cursor: pointer;
    }
    .detail-body {
      font-size: 15px;
      line-height: 1.8;
      color: var(--text-primary);
      margin-bottom: 40px;
    }
    .detail-reactions {
      display: flex;
      gap: 12px;
      padding: 20px 0;
      border-top: 1.5px solid var(--border);
      border-bottom: 1.5px solid var(--border);
      margin-bottom: 32px;
    }
    .detail-reaction-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 18px;
      border: 1.5px solid var(--border);
      border-radius: 100px;
      background: #fff;
      font-size: 14px;
      font-family: var(--font);
      color: var(--text-sub);
      cursor: pointer;
      transition: all 0.15s;
    }
    .detail-reaction-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .detail-reaction-btn.active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
    .comments-section__title {
      font-size: 16px;
      font-weight: 700;
      color: var(--charcoal);
      margin-bottom: 20px;
    }
    .comment-write {
      display: flex;
      gap: 12px;
      margin-bottom: 24px;
    }
    .comment-write__input {
      flex: 1;
      padding: 12px 14px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-md);
      font-size: 14px;
      font-family: var(--font);
      color: var(--text-primary);
      box-sizing: border-box;
      transition: border-color 0.2s;
    }
    .comment-write__input:focus { outline: none; border-color: var(--charcoal); }
    .comment-write__btn {
      padding: 12px 20px;
      background: var(--charcoal);
      color: #fff;
      border: none;
      border-radius: var(--radius-md);
      font-size: 14px;
      font-weight: 700;
      font-family: var(--font);
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.2s;
    }
    .comment-write__btn:hover { background: var(--gray-dark, #1a2647); }
    .comment-item {
      padding: 16px 0;
      border-bottom: 1px solid var(--border-light, #f0f0f0);
    }
    .comment-item__top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
    }
    .comment-item__author { font-size: 13px; font-weight: 700; color: var(--charcoal); }
    .comment-item__date { font-size: 12px; color: var(--text-hint); }
    .comment-item__body { font-size: 14px; color: var(--text-primary); line-height: 1.6; }
    .comment-item__actions { display: flex; gap: 6px; margin-left: auto; }
    .comment-action-btn {
      padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
      font-family: var(--font); cursor: pointer; border: 1px solid var(--border);
      background: #fff; color: var(--text-sub); transition: all 0.15s;
    }
    .comment-action-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
    .comment-action-btn--danger { color: #DC2626; border-color: #FCA5A5; }
    .comment-action-btn--danger:hover { background: #FEF2F2; border-color: #DC2626; }
    .comment-action-btn--save { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
    .comment-action-btn--save:hover { background: var(--gray-dark, #1a2647); }
    .comment-edit-textarea {
      width: 100%; padding: 8px 10px; border: 1.5px solid var(--charcoal); border-radius: 6px;
      font-size: 14px; font-family: var(--font); resize: vertical; min-height: 60px;
      line-height: 1.6; box-sizing: border-box; margin-bottom: 8px;
    }
    .comment-edit-btns { display: flex; gap: 8px; justify-content: flex-end; }

    /* ══ 마이페이지 패널 ══ */
    .mypage-layout {
      max-width: 900px;
      margin: 0 auto;
      padding: 32px 24px 64px;
    }
    .mypage-layout__title { font-size: 22px; font-weight: 700; color: var(--charcoal); margin-bottom: 24px; }
    .mypage-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .mypage-stat {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px 24px;
    }
    .mypage-stat__label { font-size: 13px; color: var(--text-sub); margin-bottom: 6px; }
    .mypage-stat__val { font-size: 28px; font-weight: 700; color: var(--charcoal); }
    .mypage-posts-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--charcoal);
      margin: 28px 0 14px;
    }

    /* ══ 토스트 ══ */
    .toast {
      position: fixed;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #1A1A2E;
      color: #fff;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 14px;
      opacity: 0;
      transition: all 0.3s;
      z-index: 9999;
      white-space: nowrap;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* ══ 반응형 ══ */
    @media (max-width: 768px) {
      .comm-layout {
        grid-template-columns: 1fr;
        padding: 20px 16px 48px;
      }
      .comm-sidebar { display: none; }
      .mypage-grid { grid-template-columns: 1fr; }
      .comm-sub-nav__item { padding: 12px 14px; font-size: 13px; }
      .write-layout, .comm-detail-layout, .mypage-layout { padding: 20px 16px 48px; }
      .detail-header__title { font-size: 20px; }
    }

    /* ── 커뮤니티 아코디언 ── */
    .faq-group__title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-primary);
        text-transform: uppercase;
        margin: 40px 0 15px 0;
        display: block;
    }
    .faq-group__title:first-child { margin-top: 0; }
    #postList .faq-item-new.is-open .faq-a { max-height: 9999px; }
    .post-acc__title { flex: 1; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-primary); margin-right: 8px; }
    .faq-item-new.is-open .post-acc__title { color: var(--blue); }
    .post-acc__meta { font-size: 12px; color: var(--text-hint); font-weight: 400; white-space: nowrap; margin-right: 12px; }
    .post-acc__body { padding: 20px 30px 24px; }
    .post-acc__content { font-size: 15px; line-height: 1.8; color: var(--text-primary); white-space: pre-wrap; margin-bottom: 20px; }
    .post-acc__footer {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 8px; padding: 12px 0;
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px;
    }
    .post-acc__stats { font-size: 13px; color: var(--text-hint); display: flex; gap: 12px; }
    .post-acc__btns { display: flex; align-items: center; gap: 8px; }
    .post-acc__like {
      display: flex; align-items: center; gap: 5px;
      padding: 6px 14px; border: 1.5px solid var(--border); border-radius: 100px;
      background: #fff; font-size: 13px; color: var(--text-sub);
      cursor: pointer; font-family: var(--font); transition: all 0.15s;
    }
    .post-acc__like.active, .post-acc__like:hover { border-color: var(--charcoal); color: var(--charcoal); background: #EEF2FF; }
    .post-acc__comments { margin-top: 8px; }
    .post-acc__comments-title { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 12px; }
    .post-acc__edit-title {
      width: 100%; box-sizing: border-box; font-size: 15px; font-weight: 600; color: var(--charcoal);
      border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 12px;
      font-family: var(--font); margin-bottom: 8px;
    }
    .post-acc__edit-title:focus { outline: none; border-color: var(--charcoal); }
    .post-acc__edit-body {
      width: 100%; box-sizing: border-box; min-height: 140px; font-size: 14px;
      line-height: 1.7; border: 1.5px solid var(--border); border-radius: 8px;
      padding: 10px 12px; font-family: var(--font); resize: vertical; margin-bottom: 8px;
    }
    .post-acc__edit-body:focus { outline: none; border-color: var(--charcoal); }
    .post-acc__edit-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

    /* ── 이미지 첨부 ── */
    .write-img-zone {
      border: 2px dashed var(--border);
      border-radius: 8px;
      padding: 28px 16px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      color: var(--text-hint);
      font-size: 14px;
    }
    .write-img-zone:hover { border-color: var(--charcoal); background: #F8FAFF; color: var(--charcoal); }
    .write-img-zone svg { margin-bottom: 6px; }
    .write-img-preview { margin-top: 12px; position: relative; display: inline-block; max-width: 100%; }
    .write-img-preview img { max-width: 100%; max-height: 320px; border-radius: 8px; display: block; }
    .write-img-preview__remove {
      position: absolute; top: 6px; right: 6px;
      width: 26px; height: 26px; border-radius: 50%;
      background: rgba(0,0,0,0.55); color: #fff;
      border: none; cursor: pointer; font-size: 13px; line-height: 26px;
    }
    .post-acc__image { margin-bottom: 16px; }
    .post-acc__image img { max-width: 100%; border-radius: 8px; display: block; cursor: pointer; }
    /* 이미지 라이트박스 */
    .img-lightbox {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.85); z-index: 9999;
      align-items: center; justify-content: center;
    }
    .img-lightbox.open { display: flex; }
    .img-lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }
    .img-lightbox__close {
      position: absolute; top: 18px; right: 22px;
      color: #fff; font-size: 28px; cursor: pointer;
      background: none; border: none; line-height: 1;
    }

