/* =========================================================================
   서브페이지 공통 스타일
   ========================================================================= */

.sub-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.sub-container main {
  flex: 1;
}

/* 서브페이지 헤더 (항상 활성 상태 유지) */
.sub-container .header {
  background: white !important;
  border-bottom: 1px solid #ddd !important;
}
.sub-container .header .main-logo {
  color: #333 !important;
}
.sub-container .header .main-logo a {
  color: inherit !important;
  text-decoration: none;
}
.sub-container .header nav > ul > li > a {
  color: rgba(0, 0, 0, 0.5) !important;
}
.sub-container .header nav > ul > li > a:hover {
  color: rgba(0, 0, 0, 1) !important;
}
.sub-container .header nav > ul > li > a::after {
  background: #333 !important;
}
.sub-container .lnb-container a {
  color: #aaa;
}
.sub-container .lnb-container a:hover {
  color: black;
}

/* 서브 비주얼 (페이지 상단 배너) */
.sub-visual {
  width: 100%;
  height: 360px;
  padding-top: 80px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sub-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
}
.sub-visual-text {
  text-align: center;
  position: relative;
  z-index: 2;
}
.sub-visual-text h2 {
  font-size: 48px;
  font-weight: 700;
  color: white;
}
.sub-visual-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: 4px;
}

/* 서브 탭 네비게이션 */
.sub-tab-container {
  border-bottom: 1px solid #ddd;
  background: white;
}
.sub-tab-list {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.sub-tab-list li {
  flex: 1;
}
.sub-tab-list a {
  display: block;
  text-align: center;
  padding: 20px 0;
  font-size: 18px;
  color: #999;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.sub-tab-list a:hover {
  color: #333;
}
.sub-tab-list a.active {
  color: #333;
  font-weight: 700;
  border-bottom: 2px solid #333;
}

/* 서브 콘텐츠 영역 */
.sub-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}

/* =========================================================================
   인사말 페이지
   ========================================================================= */

.greeting-header {
  text-align: center;
  margin-bottom: 60px;
}
.greeting-header h3 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}
.greeting-line {
  width: 40px;
  height: 2px;
  background: #749c05;
  margin: 24px auto 0;
}

.greeting-body {
  max-width: 860px;
  margin: 0 auto;
}

.greeting-intro {
  margin-bottom: 40px;
}
.greeting-hello {
  font-size: 24px;
  color: #333;
  font-weight: 500;
}
.greeting-name {
  font-size: 24px;
  color: #333;
  margin-top: 8px;
}
.greeting-name strong {
  font-weight: 700;
  color: #749c05;
}

.greeting-text {
  line-height: 1.9;
}
.greeting-text p {
  font-size: 17px;
  color: #555;
  margin-bottom: 20px;
}
.greeting-text .greeting-highlight {
  font-weight: 700;
  color: #333;
  margin-top: 36px;
}

.greeting-values {
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.greeting-values li {
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  padding-left: 20px;
  position: relative;
}
.greeting-values li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #749c05;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 0;
}
.greeting-values .value-label {
  font-weight: 700;
  color: #333;
}

.greeting-text .greeting-closing {
  font-weight: 700;
  color: #333;
  margin-top: 36px;
}

.greeting-sign {
  margin-top: 60px;
  text-align: right;
  padding-top: 40px;
  border-top: 1px solid #eee;
}
.greeting-sign p {
  font-size: 18px;
  color: #666;
}
.greeting-sign .sign-name {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-top: 8px;
}
