/* ===== 서브페이지 헤더 ===== */
.subpage-header {
  padding: 4rem 0 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* 배경은 ::before에만 적용 + 로드시 한 번만 확대 */
.subpage-header::before {
  content: "";
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; 축약 */
  background-image: url('/images/sub_top_bg01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;

  transform: scale(1);
  transform-origin: center center;
  animation: bgZoom 3s ease forwards; /* 로드시 1→1.1로 확대 후 유지 */
  will-change: transform;              /* 성능 힌트 */
}

@keyframes bgZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1); } /* 필요하면 1.15 등으로 조절 */
}

.subpage-header__content { position: relative; z-index: 1; }
.subpage-header__title {
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.subpage-header__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

/* ===== 브레드크럼 ===== */
.breadcrumb {
  background: #f9fafb;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #6b7280;
  font-size: 0.9rem;
}
.breadcrumb__link {
  color: #6b7280;
  transition: color 0.2s;
}
.breadcrumb__link:hover {
  color: #1f2937;
}
.breadcrumb__separator {
  color: #9ca3af;
}
.breadcrumb__current {
  color: #1f2937;
  font-weight: 600;
}

/* ===== 콘텐츠 래퍼 ===== */
.content-wrapper {
  padding: 20px;
  background: #fff;
  min-height: 600px;
}

/* ===== 서브페이지 네비게이션 탭 ===== */
.subpage-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  margin-top: 2rem;
}
.subpage-nav__list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}
.subpage-nav__item {
  flex: 0 0 auto;
  cursor: pointer;
}
.subpage-nav__link {
  display: block;
  padding: 1rem 2rem;
  color: #6b7280;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.subpage-nav__link:hover {
  color: #1f2937;
  background: #f9fafb;
}
.subpage-nav__link--active {
  font-weight: 600;
  border-bottom-color: #00aadd;
}

/* ===== 페이지 타이틀 ===== */
.page-title {
  padding: 2rem 0;
  position: relative;
}
.page-title__en {
  font-size: 0.95rem;
  color: #9ca3af;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-title__ko {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.5px;
}

.page-title--center {
  text-align: center;
}

/* ===== 콘텐츠 영역 ===== */
.content-section {
  padding: 3rem 0 4rem;
  min-height: 400px;
}

.content-section__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 3rem;
  line-height: 1.8;
  font-size: 1rem;
  gap: 30px;
}

.content-section__text img {
  margin: 0 auto;
}

@media (max-width: 768px) {

  .subpage-header__title {font-size: 1.5rem;}

  .subpage-header__title{font-size: 1.5rem;}
  .breadcrumb {padding: 20px;}

  .content-section__text {
      margin-top: 1rem;
  }
}