/* ========================================
   서브페이지 공통 스타일 - 서브비주얼 + 콘텐츠 영역
   page/[id], members/[id], import-database/[id] 등에서 사용
   ======================================== */

.sub-visual {
  position: relative;
  width: 100%;
  height: 30rem;
  background-color: #003675;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 8rem;
}

.sub-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 54, 117, 0.6);
}

.sub-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
}

.sub-visual-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.05rem;
  color: #fff;
}

.sub-visual-desc {
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

.sub-content {
  flex: 1;
  padding: 8rem 0 4rem;
  background: #fff;
}

.sub-content-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

.error-state {
  text-align: center;
  padding: 6rem 2rem;
}

.error-state h2 {
  font-size: 2.4rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

.error-state p {
  font-size: 1.6rem;
  color: #717171;
}

@media (max-width: 768px) {
  .sub-visual {
    height: 20rem;
    margin-top: 6rem;
  }

  .sub-visual-title {
    font-size: 2.8rem;
  }

  .sub-visual-desc {
    font-size: 1.4rem;
  }
}
