/* ============================================================
 * 인천 버팀이음 프로젝트 — site.css
 * Relate Design System 기반 · Pretendard 한국어 최적화
 * ============================================================ */

/* ===== 사이트 토큰 오버라이드 (Calendly Theme) ===== */
:root {
  --kr-tracking:      -0.01em;
  --header-h:         80px;
  --container-max:    1320px;
  --container-px:     40px;

  /* Calendly Colors (텍스트 컬러 무채색으로 조정) */
  --color-midnight-indigo: #1a1a1a;
  --color-action-blue: #006BFF;
  --color-lavender-glow: #e55cff;
  --color-royal-amethyst: #8247f5;
  --color-sunset-gold: #ffa600;
  --color-skybound-blue: #0099ff;
  --color-ocean-glimmer: #BB32D5;
  --color-glacier-blue: #004EBA;
  --color-snow-white: #ffffff;
  --color-cloud-mist: #F8F9FB;
  --color-pale-gray: #E7EDF6;
  --color-slate-blue: #555555;
  --color-steel-gray: #8c8c8c;
  --color-platinum-tint: #D4E0ED;
  --color-outline-gray: #E6E6E6;
  --color-text-black: #0A0A0A;
  --color-midnight-ink: #222222; /* 디자인 가이드에서 규정한 진한 블랙 */


  /* 폰트 전체 강제 (Relate 내부 Inter 폰트를 모두 Pretendard로 덮어쓰기) */
  --font-inter:       var(--font-pretendard);
  --font-sans:        var(--font-pretendard);

  /* 기존 컬러 매핑 덮어쓰기 */
  --fg-1: var(--color-midnight-indigo);
  --fg-2: var(--color-text-black);
  --fg-3: var(--color-slate-blue);
  --fg-4: var(--color-slate-blue);
  --bg-canvas: var(--color-snow-white);
  --bg-card: var(--color-snow-white);
  --border-soft: var(--color-platinum-tint);
  --border-default: var(--color-outline-gray);

  /* 컴포넌트 스타일 덮어쓰기 */
  --radius-pill: 8px; /* 로그인 등 액션 버튼에 사용 (Calendly 버튼 둥글기) */
  --radius-badges: 50px;
  --radius-cards: 16px;

  /* 히어로 배경 */
  --hero-bg: transparent;

  /* 쉐도우 (Calendly Elevation) */
  --shadow-card: rgba(71, 103, 136, 0.04) 0px 4px 5px 0px, rgba(71, 103, 136, 0.03) 0px 8px 15px 0px, rgba(71, 103, 136, 0.08) 0px 30px 50px 0px;
  --shadow-btn: rgba(71, 103, 136, 0.04) 0px 4px 5px 0px, rgba(71, 103, 136, 0.03) 0px 8px 15px 0px, rgba(71, 103, 136, 0.06) 0px 15px 30px 0px;
  --shadow-hover: rgba(71, 103, 136, 0.04) 0px 4px 5px 0px, rgba(71, 103, 136, 0.03) 0px 4px 10px 0px, rgba(71, 103, 136, 0.05) 0px 10px 20px 0px;
}

/* ===== 글로벌 리셋 ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body, button, input, select, textarea {
  font-family: var(--font-pretendard);
}

html, body {
  overflow-x: hidden; /* 배경 도형으로 인한 가로 스크롤 방지 */
  letter-spacing: var(--kr-tracking);
  color: var(--fg-2);
  background: var(--bg-canvas);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  padding-top: var(--header-h); /* fixed 헤더에 콘텐츠가 가려지지 않도록 보정 */
}

/* ===== 한국어 타입 스케일 ===== */
.kr-display {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--fg-1);
}

.kr-display-sub {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  letter-spacing: -0.005em;
  color: var(--fg-4);
}

.kr-h2 {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--fg-2);
}

.kr-h3 {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}

.kr-body {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--color-text-black);
}

.kr-label {
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--color-slate-blue);
}

.kr-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--color-signal-blue);
  text-transform: uppercase;
}

/* ===== 컨테이너 ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.header-container {
  width: 100%;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
  margin: 0 auto;
}

/* ===== 헤더 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;             /* width가 좁아질 때 자동으로 가운데 정렬 */
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  box-shadow: none;
  width: 100%;                /* 기본: 풀너비 → 하단 라인이 화면 끝까지 이어짐 */
  max-width: none;
  transition:
    width         0.55s cubic-bezier(0.16, 1, 0.3, 1), /* 스프링감 있는 자연스러운 이징 */
    top           0.55s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow    0.55s cubic-bezier(0.16, 1, 0.3, 1),
    border-color  0.55s cubic-bezier(0.16, 1, 0.3, 1),
    background    0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  top: 16px;
  width: calc(100% - 80px);  /* 좌우 40px씩 여백 */
  max-width: 1320px;          /* 캔버스 사이즈(1320px) 그대로 */
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .header-container {
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}

.site-header .row {
  display: flex;
  align-items: stretch;   /* nav가 헤더 전체 높이(80px)를 채울 수 있도록 */
  height: var(--header-h);
  gap: 0;
}

/* 왼쪽: 브랜드 텍스트 */
.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;   /* row가 stretch여도 브랜드는 세로 가운데 */
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 160ms;
}

.brand-logo {
  height: 40px; /* 텍스트가 포함된 로고 이미지에 맞춰 높이를 시원하게 키움 */
  width: auto;
  object-fit: contain;
}

.brand:hover { opacity: 0.8; text-decoration: none; }

/* 중앙: 네비게이션 */
nav.site-nav {
  flex: 1;
  display: flex;
  align-items: stretch;   /* 헤더 높이 전체를 전달 */
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: stretch;   /* li 높이도 stretch */
  gap: 2px;
  list-style: none;
}

.nav-list li {
  display: flex;
  align-items: stretch;   /* a 태그까지 stretch 전달 */
}

.nav-list a {
  position: relative; /* 가상 요소(밑줄)의 기준점 */
  display: inline-flex;
  align-items: center;
  align-self: stretch;        /* 헤더 높이 전체를 채움 */
  padding: 0 16px;            /* 세로 padding 제거 → 헤더 높이에 맞춤 */
  border-radius: var(--radius-pill);
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  transition: color 160ms;
  white-space: nowrap;
}

/* 호버 시 펼쳐지는 하단 라인 */
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;                  /* 헤더 하단 border에 딱 붙음 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;                /* 2px → 3px */
  background-color: var(--color-action-blue);
  transition: width 0.3s cubic-bezier(0.2, 0, 0.1, 1);
  border-radius: 2px 2px 0 0; /* 위쪽만 둥글게 */
}


.nav-list a:hover::after {
  width: calc(100% - 32px); /* 텍스트 너비만큼만 펼쳐지도록 (padding 16px * 2 제외) */
}

.nav-list a:hover {
  /* 배경 제거, 컬러만 변경(반전) */
  color: var(--color-action-blue);
  text-decoration: none;
}

/* 오른쪽: 헤더 액션 */
.header-actions {
  display: flex;
  align-items: center;
  align-self: center;   /* row가 stretch여도 버튼은 세로 가운데 */
  flex-shrink: 0;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-action-blue);
  color: var(--color-snow-white);
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 160ms, transform 160ms, box-shadow 160ms;
  white-space: nowrap;
}

.login-btn:hover {
  background: #0056d6; /* action blue hover */
  box-shadow: var(--shadow-card);
}

/* 모바일 토글 */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-midnight-indigo);
  transition: opacity 160ms;
  margin-left: auto;
  align-self: center;
}

.mobile-toggle:hover { opacity: 0.7; }

/* ===== 타이핑 커서 애니메이션 ===== */
.typing-cursor {
  font-weight: 300;
  opacity: 0.8;
  color: var(--color-action-blue); /* 커서는 포인트 컬러로 */
  animation: cursor-blink 0.8s step-end infinite;
  margin-left: 2px;
}
@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* ===== 히어로 섹션 ===== */
.hero {
  position: relative;
  padding: clamp(60px, 10.5vh, 120px) 0 clamp(80px, 10vh, 120px);
  isolation: isolate;
}

/* 히어로 하단 구분선 — 컨텐츠 너비 기준 3px 흐린 라인 */
.hero::after {
  content: "";
  display: none; /* 메인페이지 카드 위 이상한 라인 제거 */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 80px), var(--container-max)); /* 컨텐츠 너비(최대 1320px) 기준 */
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-platinum-tint) 15%,
    var(--color-platinum-tint) 85%,
    transparent
  );
  border-radius: 2px;
  pointer-events: none;
}

/* ===== 히어로 배경 도형 ===== */
.hero-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  /* overflow: hidden; (도형이 잘리지 않도록 제거) */
}

.hero-blob {
  position: absolute;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  animation: hero-blob-float 20s infinite linear;
  opacity: 1;
}

.hero-blob-1 {
  width: 800px;
  height: 800px;
  background: var(--color-lavender-glow); /* 보라색 계열 */
  top: -250px;
  left: -400px;
  animation: hero-blob-float-squiggly 25s infinite linear;
}

.hero-blob-2 {
  width: 700px;
  height: 700px;
  background: var(--color-skybound-blue); /* 파란색 계열 */
  bottom: -200px;
  right: -300px;
  animation: hero-blob-float-triangle 32s infinite linear reverse;
}

@keyframes hero-blob-float-squiggly {
  /* 왼쪽 보라색 도형 */
  0%   { transform: rotate(0deg)   scale(1);    border-radius: 25% 75% 65% 35% / 30% 25% 75% 70%; }
  25%  { transform: rotate(90deg)  scale(1.15) translate(50px, -30px); border-radius: 65% 35% 25% 75% / 60% 35% 65% 40%; }
  50%  { transform: rotate(180deg) scale(0.85) translate(30px,  50px); border-radius: 35% 65% 75% 25% / 75% 60% 30% 25%; }
  75%  { transform: rotate(270deg) scale(1.10) translate(-50px, -25px); border-radius: 75% 25% 35% 65% / 25% 70% 30% 70%; }
  100% { transform: rotate(360deg) scale(1);    border-radius: 25% 75% 65% 35% / 30% 25% 75% 70%; }
}

@keyframes hero-blob-float-triangle {
  /* 오른쪽 파란색 도형 */
  0%   { transform: rotate(0deg)   scale(1);    border-radius: 70% 30% 25% 75% / 65% 35% 75% 25%; }
  33%  { transform: rotate(120deg) scale(1.15) translate(110px, -80px); border-radius: 30% 70% 65% 35% / 70% 25% 35% 75%; }
  66%  { transform: rotate(240deg) scale(0.85) translate(-110px, 80px); border-radius: 55% 45% 30% 70% / 25% 75% 65% 35%; }
  100% { transform: rotate(360deg) scale(1);    border-radius: 70% 30% 25% 75% / 65% 35% 75% 25%; }
}

/* 배경 블룸 */
.hero::before {
  content: "";
  position: absolute;
  inset: -140px 0 0 0;
  z-index: -1;
  background: var(--hero-bg);
  pointer-events: none;
}



.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

/* 상단 뱃지 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: var(--radius-badges);
  background: var(--color-pale-gray);
  border: none;
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 16px; /* 14.5px → 16px 디자인 가이드 준수 */
  letter-spacing: -0.005em;
  color: var(--color-glacier-blue);
}

.hero-badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50px;
  background: var(--color-action-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pretendard);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 슬로건 */
.hero-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-slogan-line1 {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-midnight-indigo);
}

.hero-slogan-line2 {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-action-blue);
}

/* 서브 카피 */
.hero-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-sub-text {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--color-slate-blue);
}

/* 히어로 통계 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-pale-gray); /* 배경 컬러(연한 블루/그레이) 다시 깔기 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none; /* 라인은 지우기 */
  border-radius: 50px;
  padding: 0 6px;
  box-shadow: none; /* 그림자 제거 */
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-pretendard);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-midnight-indigo); /* 텍스트를 블랙톤으로 */
  letter-spacing: -0.005em;
}

.hero-stat-num {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--color-action-blue); /* 날짜만 포인트 컬러로 */
}

.hero-stat-divider {
  width: 1px;
  height: 20px;
  background: #ffffff; /* 구분선 흰색 */
  opacity: 0.8;
  flex-shrink: 0;
}

/* ===== 사업안내 섹션 ===== */
.programs {
  padding: 0 0 clamp(80px, 10vh, 120px); /* 카드를 위로 조금 더 올리기 위해 상단 패딩 제거 */
  /* background: var(--bg-canvas); (도형이 뒤로 보이게 투명 처리) */
}

.programs-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ===== 프로그램 카드 (Calendly 스타일 적용) ===== */
.program-card {
  position: relative;
  background: var(--color-snow-white);
  border: 1px solid var(--theme-color); /* 박스 라인을 도형 컬러(테마 컬러)로 설정 */
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: none; /* 기본 그림자 제거 */
}

.program-card:hover {
  box-shadow: var(--shadow-hover); /* 호버 시에만 그림자 표시 */
}

/* 테마 변수 설정 (Calendly 레퍼런스 이미지의 실제 Accent Colors와 동일하게 맞춤) */
.theme-blue { --theme-color: var(--color-action-blue); } /* #006BFF (VONAGE 카드 색상) */
.theme-green { --theme-color: var(--color-sunset-gold); } /* #FFA600 (TEXAS 카드 색상) */
.theme-purple { --theme-color: var(--color-royal-amethyst); } /* #8247F5 (smith.ai 카드 색상) */

.program-card-content {
  padding: 60px 32px 0 32px; /* 상단에서 조금 더 떨어뜨리기 위해 패딩 상향 */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.program-card-title {
  font-family: var(--font-pretendard);
  font-weight: 800;
  font-size: 32px;
  color: var(--theme-color); /* 포인트 컬러(테마 색상) 적극 활용 */
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.35;
  transition: color 0.3s;
}

/* 두 번째 줄(아랫줄) 블랙톤 적용 */
.program-card-title .title-dark {
  color: var(--color-midnight-indigo);
  transition: color 0.3s;
}

.program-card-desc {
  font-family: var(--font-pretendard);
  font-size: 17px; /* 16px에서 17px(pt)로 상향 */
  color: var(--color-slate-blue);
  line-height: 1.6;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.program-card-footer {
  position: relative;
  padding: 0 32px 36px 32px;
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.card-blob-bg {
  position: absolute;
  bottom: -110px; /* 조금 더 아래쪽으로 배치 */
  left: -40px;
  width: 280px;
  height: 240px;
  background: var(--theme-color);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.1, 1), border-radius 0.5s;
  z-index: 0;
}

/* 각 카드별로 상이한 유기적 도형(Blob) 형태 지정 */
.theme-blue .card-blob-bg {
  border-radius: 15% 85% 70% 30% / 40% 35% 65% 60%; /* 개성있게 변형 */
}
.theme-green .card-blob-bg {
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}
.theme-purple .card-blob-bg {
  border-radius: 35% 65% 55% 45% / 40% 55% 45% 60%;
}

.program-card:hover .card-blob-bg {
  transform: scale(5);
  border-radius: 50%; /* 꽉 찰 때 둥글게 퍼지도록 */
}

.program-card:hover .program-card-title,
.program-card:hover .program-card-title .title-dark,
.program-card:hover .program-card-desc {
  color: var(--color-snow-white);
}

.program-card-footer svg {
  transition: transform 0.2s;
}

.program-card:hover .program-card-footer svg {
  transform: translateX(4px);
}

/* ===== 푸터 ===== */
.site-footer {
  background: #F8F9FB; /* Cloud Mist */
}

/* ── 상단 (기존 다크 바에서 라이트 테마로 변경) ── */
.footer-top-bar {
  background: transparent;
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  gap: 16px;
  position: relative;
}

.footer-top-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--container-px);
  right: var(--container-px);
  height: 1px;
  background: var(--border-soft);
}

.footer-policy-links {
  display: flex;
  align-items: center;
  gap: 0;           /* gap 제거, divider 여백으로 간격 조절 */
  flex-wrap: wrap;
}

.footer-policy-links a {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0 4px;
}

.footer-policy-links a:hover {
  color: var(--color-action-blue);
}

.footer-top-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--border-default);
  margin: 0 12px;
}

/* 유관 기관 드롭다운 */
.footer-related-wrap {
  position: relative;
  flex-shrink: 0;
}

.footer-site-btn {
  width: 200px;
  justify-content: space-between; /* 텍스트와 화살표 양끝 정렬 */
}

.footer-related-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-related-icon.is-open {
  transform: rotate(180deg);
}

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

.footer-related-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 200px; /* 버튼과 동일한 너비 */
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 6px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  animation: dropdownFadeUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-related-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-pretendard);
  font-size: 16px; /* 14px → 16px 디자인 가이드 준수 */
  font-weight: 500;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.footer-related-dropdown li a:hover {
  background: #F8F9FB; /* Cloud Mist */
  color: var(--color-action-blue);
}

/* ── 메인 푸터 영역 ── */
.footer-main {
  padding: 60px 0 68px;
  background: transparent;
}

.footer-main-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* 왼쪽~가운데: 연락처 정보 */
.footer-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-contact-label {
  font-family: var(--font-pretendard);
  font-size: 16px; /* +1px */
  font-weight: 500;
  color: var(--color-slate-blue);
}

.footer-contact-value {
  font-family: var(--font-pretendard);
  font-size: 24px; /* +2px */
  font-weight: 700;
  color: var(--color-midnight-indigo);
  letter-spacing: -0.02em;
}

.footer-contact-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: var(--border-default);
  margin: 0 4px;
}

.footer-address {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-slate-blue);
  line-height: 1.6;
  margin-bottom: 11px;
}

.footer-copyright {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-steel-gray);
}

/* 오른쪽: 파트너 기관 로고 */
.footer-org-logos {
  display: flex;
  align-items: center;
  gap: 30px; /* 기존 20px에서 50% 증가 */
  flex-shrink: 0;
}

.footer-partner-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity 0.2s, filter 0.2s;
}

.footer-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== 로그인 모달 (TODO: 현재 JSX에서 미사용 — 향후 모달 컴포넌트 추가 시 재활성) ===== */

/* ===== 모바일 드로어 ===== */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  animation: fadeIn 180ms ease-out;
  overflow-y: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-midnight-indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  transition: background 160ms;
}

.mobile-drawer-link:hover {
  background: var(--bg-tinted);
  text-decoration: none;
}

.mobile-drawer-bottom {
  background: #F8F9FB;
  padding: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-midnight-indigo);
  border: 1px solid var(--border-soft);
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms;
}

.mobile-drawer-btn-secondary:hover {
  background: var(--bg-tinted);
}

.mobile-drawer-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 6px;
  background: var(--color-action-blue);
  color: #fff;
  border: none;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms;
}

.mobile-drawer-btn-primary:hover {
  background: #0056d6;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  :root { --container-px: 28px; }
  .nav-list a { font-size: 14.5px; padding: 8px 12px; }
}

@media (max-width: 900px) {
  .programs-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-main-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --container-px: 20px;
    --header-h: 60px;
  }

  nav.site-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .site-header .row { gap: 16px; }
  
  .brand-logo { height: 28px; }
  
  .site-header.is-scrolled {
    width: calc(100% - 40px);
  }
  .site-header.is-scrolled .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero { padding-top: 64px; padding-bottom: 60px; }
  .hero-inner { gap: 24px; }
  .hero-stats { flex-wrap: wrap; border-radius: 16px; }
  .hero-stat-item { padding: 10px 20px; flex-direction: column; gap: 4px; }
  .hero-stat-divider { display: none; }
  
  .hero-blob-1 { width: 400px; height: 400px; top: -120px; left: -225px; }
  .hero-blob-2 { width: 380px; height: 380px; bottom: -120px; right: -175px; }
  .hero-sub-text { font-size: 16px; line-height: 1.5; }

  .programs-grid { max-width: 100%; }
  .program-card { min-height: 340px; aspect-ratio: auto; }
  .program-card-content { padding: 32px 24px 0 24px; }
  .program-card-title { font-size: 31px; letter-spacing: -0.04em; word-break: keep-all; margin-bottom: 16px; }
  .program-card-footer { padding: 0 24px 28px 24px; }
  .program-cta-wrap { padding: 0 24px 24px; }
  
  .card-blob-bg { width: 240px; height: 200px; bottom: -80px; left: -40px; }

  .footer-top-inner { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .footer-policy-links { flex-wrap: wrap; gap: 12px 16px; }
  .footer-policy-links a { font-size: 15px; } /* 17px → 15px 모바일 최적화 */
  .footer-top-divider { display: none; }
  .footer-related-wrap { width: 100%; } /* 관련사이트 감싸는 영역 전체 너비 */
  .footer-site-btn { width: 100%; } /* 세로 쌓임 구조에서 전체 너비 활용 */
  .footer-related-dropdown { width: 100%; } /* 드롭다운 메뉴도 버튼과 일치하게 전체 너비 */

  .footer-main { padding: 40px 0 48px; } /* 60px/68px → 40px/48px 모바일 여백 축소 */
  .footer-contact-row { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 16px; }
  .footer-contact-label { font-size: 14px; } /* 16px → 14px 모바일 최적화 */
  .footer-contact-value { font-size: 20px; } /* 24px → 20px 모바일 최적화 */
  .footer-address { font-size: 14px; margin-bottom: 8px; line-height: 1.65; } /* 행간 추가 */
  .footer-copyright { font-size: 14px; }
  .footer-org-logos { flex-wrap: wrap; gap: 16px; }
  .footer-partner-logo { height: 28px; }


  .modal { padding: 32px 24px 28px; }
}

@media (max-width: 480px) {
  .brand { font-size: 15px; }
}

/* ===== 스크롤바 (Webkit) ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--color-hairline);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--fg-6); }

/* ===== 선택 영역 ===== */
::selection {
  background: rgba(20, 90, 255, 0.15);
  color: var(--fg-1);
}

/* ===== 탑버튼 ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 300;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-action-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.35);

  /* 기본: 숨김 상태 */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity    0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: #0056d6;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.4);
}

.scroll-top-btn:active {
  background: #0047b3; /* 클릭 시 더 진한 색으로 피드백 */
}

.scroll-top-label {
  font-family: var(--font-pretendard);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  margin-top: 2px;
}

/* ===== 서브페이지 공통 헤더 ===== */
.subpage-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-snow-white);
  padding-top: 96px;
  padding-bottom: 0;
}

/* 배경 도형 컨테이너 */
.subpage-header-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 두 도형 공통 — 겹치는 곳은 두 색이 multiply로 혼합 */
.subpage-header-bg .shape {
  position: absolute;
  mix-blend-mode: multiply;
}

/* 도형 1 — 울툴불툴한 비규칙 원 (핑크-보라) */
.subpage-header-bg .shape-1 {
  width: 1200px;
  height: 1200px;
  background: var(--color-lavender-glow);
  top: -960px;
  right: -480px;
  border-radius: 38% 62% 71% 29% / 58% 37% 63% 42%;
  animation: subpage-wobble-1 22s ease-in-out infinite alternate; /* 더 느리고 스무스하게 */
}

/* 도형 2 — 불규칙한 유기적 원형태 (파랑) */
.subpage-header-bg .shape-2 {
  width: 1100px;
  height: 1100px;
  background: var(--color-skybound-blue);
  top: -950px; /* 훨씬 위로 올려서 보이는 양을 절반으로 줄임 */
  right: 100px;
  border-radius: 65% 35% 25% 75% / 55% 20% 80% 45%;
  animation: subpage-wobble-2 24s ease-in-out infinite alternate; /* 보라색(14s)보다 훨씬 느리게 */
}

/* 울퉁불퉁 비규칙 원 — 훨씬 스무스하게 변경 */
@keyframes subpage-wobble-1 {
  0%   { transform: translate(0px, 0px)    scale(1);    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%; }
  25%  { transform: translate(-8px, 6px)   scale(1.01); border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; }
  50%  { transform: translate(6px, -8px)   scale(0.99); border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  75%  { transform: translate(-6px, 10px)  scale(1.02); border-radius: 50% 50% 45% 55% / 40% 60% 50% 50%; }
  100% { transform: translate(-4px, 8px)   scale(1);    border-radius: 60% 40% 50% 50% / 45% 50% 55% 45%; }
}

/* 파란색 도형 — 조금 더 크게 꿀렁거리도록 곡률과 움직임 폭 확대 */
@keyframes subpage-wobble-2 {
  0%   { transform: translate(0px, 0px)     scale(1);    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { transform: translate(12px, -15px)  scale(1.02); border-radius: 30% 70% 70% 30% / 30% 60% 40% 70%; }
  50%  { transform: translate(-15px, 12px)  scale(0.97); border-radius: 70% 30% 40% 60% / 70% 40% 60% 30%; }
  75%  { transform: translate(16px, 18px)   scale(1.03); border-radius: 40% 60% 80% 20% / 40% 30% 70% 60%; }
  100% { transform: translate(-8px, -12px)  scale(1);    border-radius: 50% 50% 30% 70% / 30% 80% 20% 50%; }
}

/* 모바일 환경: 오른쪽 위 모서리에만 살짝 걸치도록 조정 */
@media (max-width: 768px) {
  .subpage-header-bg .shape-1 {
    width: 600px;
    height: 600px;
    top: -525px;
    right: -310px;
  }
  .subpage-header-bg .shape-2 {
    width: 500px;
    height: 500px;
    top: -435px;
    right: -200px;
  }
}

.subpage-header-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
}

/* 서브페이지 전체 레이아웃 래퍼 */
.subpage-layout {
  width: 100%;
  background: var(--color-snow-white);
  min-height: calc(100vh - var(--header-h));
}

/* 서브페이지 본문 영역 */
.subpage-body {
  padding-top: 72px;
  padding-bottom: 120px; /* 푸터와의 여백을 120px로 상향 */
}

.subpage-body-inner {
  /* 세부 페이지마다 채워질 영역 */
}


/* 영문 eyebrow — Inter 전용, 단어 첫 글자 대문자 */
.subpage-eyebrow {
  font-family: var(--font-english);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--color-action-blue);
  margin-bottom: 18px;
  line-height: 1;
}

.subpage-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 48px; /* 32pt ≈ 43px + 2 + 3 */
  color: var(--color-midnight-indigo);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.subpage-desc {
  font-family: var(--font-pretendard);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.subpage-divider {
  height: 3px;
  background: #EBF0F6;
  border-radius: 2px;
  margin-top: 80px;
}

/* 모바일 반응형 — 기본 스타일 이후에 위치해야 정상 적용됨 */
@media (max-width: 768px) {
  .subpage-header {
    padding-top: 72px; /* PC 96px → 모바일 네비게이션 직후 여백 조정 */
  }
  .subpage-header-inner {
    padding-bottom: 40px; /* PC 72px → 모바일 55% */
  }
  .subpage-divider {
    margin-top: 40px; /* PC 80px → 모바일 50% */
  }
  .subpage-body {
    padding-top: 40px; /* PC 72px → 모바일 55% */
  }
  .subpage-eyebrow {
    margin-bottom: 12px; /* PC 18px → 모바일 66% */
  }
  .subpage-title {
    font-size: 36px; /* PC 48px → 모바일 적절한 플루 */
    margin-bottom: 14px;
  }
}

/* ===== 로그인 페이지 ===== */
.login-layout-normal {
  width: 100%;
  background: var(--color-snow-white);
  padding-bottom: 80px;
  min-height: calc(100vh - var(--header-h));
}

.login-page-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 0;
}

.login-card-wrapper {
  width: 100%;
  max-width: 480px;
}

.login-card {
  background: transparent;
  text-align: center;
}

.login-header {
  margin-bottom: 40px;
}

.login-title {
  font-family: var(--font-pretendard);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-midnight-indigo);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.login-subtitle {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.6;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 56px;
  border-radius: 8px;
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid #6b7280;
  background: var(--color-snow-white);
  color: var(--color-midnight-indigo);
  transition: all 0.2s;
}

.social-btn:hover {
  /* 위로 띄우는 액션 제거, 컬러 변경만 남김 */
}

.social-icon {
  position: absolute;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 개별 브랜드별 호버 반전 효과 */
/* 구글: 파란 배경, 흰 글씨, 흰 로고 */
.google-btn:hover {
  background: #4285F4;
  border-color: #4285F4;
  color: var(--color-snow-white);
}
.google-btn:hover .social-icon svg path {
  fill: #ffffff !important;
}

/* 네이버: 녹색 배경, 흰 글씨, 흰 로고 */
.naver-btn:hover {
  background: #03C75A;
  border-color: #03C75A;
  color: var(--color-snow-white);
}
.naver-btn:hover .social-icon svg path {
  fill: #ffffff !important;
}

/* 카카오: 노란 배경, 검은 글씨, 검은 로고 */
.kakao-btn:hover {
  background: #FEE500;
  border-color: #FEE500;
  color: #000000;
}
.kakao-btn:hover .social-icon svg path {
  fill: #181600 !important;
}

.login-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.login-footer-text {
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
}

.signup-link-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-action-blue);
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signup-link-btn:hover {
  opacity: 0.7;
}

/* 반응형 (모바일) */
@media (max-width: 600px) {
  .login-card {
    padding: 40px 24px;
  }
  .login-title {
    font-size: 28px;
  }
}

/* ─────────────────────────────────────────────
 * 현장 접수 (Onsite Page) 스타일
 * ───────────────────────────────────────────── */
.onsite-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px; /* 각 섹션 사이의 간격을 80px로 설정 */
}

.onsite-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.onsite-section-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 32px; /* 기존 30px에서 2px 키움 */
  color: var(--color-midnight-ink);
  margin: 0 0 40px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.onsite-title-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  border-radius: 30px; /* 라운드 뱃지 스타일 */
  font-size: 18px; /* 타이틀(32px) 비례에 맞춰 18px로 조정 */
  font-weight: 500; /* 지나치게 튀지 않도록 Regular와 Bold 중간의 두께로 조절 */
  color: var(--color-action-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-left: 0; /* flex gap(16px)만 사용하여 불필요한 이중 여백 제거 */
}

.onsite-divider {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: var(--spacing-16) 0;
}

/* 지도 카드 */
.onsite-map-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.onsite-map-frame {
  position: relative;
  width: 100%;
  height: 480px;
  background: #f5f5f5;
  overflow: hidden;
}

.onsite-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onsite-map-controls {
  position: absolute;
  right: var(--spacing-20);
  top: var(--spacing-20);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

.onsite-map-zoom-btn {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-badges);
  font-family: var(--font-pretendard);
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--color-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background 0.15s;
}

.onsite-map-zoom-btn:hover {
  background: #f8f9fb;
}

.onsite-map-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-signal-blue);
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: var(--fw-bold);
  font-size: var(--text-body-sm);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(20, 90, 255, 0.3);
  pointer-events: none;
}

/* 주소 바 — 박스 없이 레퍼런스처럼 플랫 */
.onsite-address-bar {
  padding: 46px 0; /* 위아래 여백을 동일하게 기존 상단(40px) 기준 15% 키움 (46px) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-32);
  border-bottom: 1px solid var(--border-soft); /* 맵 영역의 마무리 라인으로 배치 */
}

.onsite-address-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 48px;
}

.onsite-info-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.onsite-info-label {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-signal-blue);
  flex-shrink: 0;
}

.onsite-info-value {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 19px;
  color: var(--color-slate-blue);
}

/* 카카오맵 버튼 — 카카오 브랜드 옐로우 */
.onsite-map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 16px;
  color: #3C1E1E;
  background: #FEE500;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.onsite-map-link-btn:hover {
  background: #F5DC00;
  text-decoration: none;
  color: #3C1E1E;
}



/* 문의처 그리드 — 2개의 카드 구성 */
.onsite-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.onsite-contact-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 36px 40px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.onsite-contact-card:hover {
  border-color: rgba(0, 107, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.onsite-block-name {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-midnight-ink);
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

.onsite-block-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onsite-block-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400; /* 명시적 Regular 지정 */
  color: var(--color-slate-blue);
}

.onsite-detail-label {
  font-weight: 600; /* 포인트 성격의 라벨이므로 600(Semibold) 유지 */
  color: var(--color-action-blue); /* 라벨에 포인트 컬러 적용 */
  width: 70px;
  flex-shrink: 0;
}

.onsite-detail-val {
  font-weight: 400; /* 값은 일반 400(Regular)으로 설정 */
  color: var(--color-slate-blue); /* 기본 색상을 slate-blue(#555555)로 통일 */
  text-decoration: none;
  transition: color 0.15s;
}

.onsite-detail-val:hover {
  color: var(--color-action-blue);
  text-decoration: underline;
}

/* 대중교통 정보 */
.onsite-transit-table {
  border-top: 2px solid var(--color-midnight-ink);
  margin-bottom: 0;
}

.onsite-transit-row {
  display: flex;
  padding: 36px 60px; /* 기존 40px에서 60px로 좌우 여백을 더 넓힘 */
  border-bottom: 1px solid var(--border-soft);
}

.onsite-transit-label-col {
  width: 200px; /* 텍스트 크기 확대에 맞춰 180px에서 200px로 조정 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onsite-transit-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; /* 기존 56px에서 64px로 확대 */
  height: 64px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.onsite-transit-label-txt {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 22px; /* 기존 20px에서 2px 더 키움 */
  color: var(--color-midnight-ink);
  text-align: center;
}

.onsite-transit-detail-col {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  padding-left: 60px; /* 기존 40px에서 60px로 간격 넓힘 */
}

.onsite-transit-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.onsite-transit-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.onsite-transit-body {
  padding-left: 34px; /* badge width(24px) + gap(10px) = 34px 정렬 */
}

.onsite-transit-badge {
  width: 24px;
  height: 24px;
  color: #ffffff;
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.onsite-transit-badge.subway {
  background: #0052A4; /* 1호선 공식 남색 컬러 적용 */
}

.onsite-transit-badge.bus-red {
  background: #E11D48;
}

.onsite-transit-badge.bus-green {
  background: #16A34A;
}

.onsite-transit-place {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 19px; /* 큼직큼직하게 확대 */
  color: var(--color-midnight-ink);
  line-height: 1.4;
}

.onsite-transit-desc {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 17px; /* 17px 이하 글자 배제 조치 */
  color: var(--color-slate-blue);
  line-height: 1.6;
}

/* 주차 참고사항 — 심플 텍스트 */
.onsite-parking-notice {
  padding: var(--spacing-32) 0 0;
  border-top: 1px solid var(--border-soft);
  margin-top: var(--spacing-8);
}
/* 참고사항 카드 및 리스트 스타일 */
.onsite-notice-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 30px; /* 위아래 여백과 동일하게 좌우 여백도 30px로 설정 */
}

.onsite-notice-list {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; /* 항목 간 간격을 12px에서 8px로 축소 */
  list-style: none; /* 브라우저 기본 블릿 제거 */
}

.onsite-notice-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 18px에서 1px 축소) */
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.5; /* 줄높이를 1.6에서 1.5로 줄임 */
}



.onsite-notice-list li strong {
  color: var(--color-midnight-ink); /* 디자인 가이드에서 조정한 진한 블랙 (#222222) 사용 */
  font-weight: 600;
}

/* 현장접수 반응형 */
@media (max-width: 900px) {
  .onsite-address-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-20);
  }
  .onsite-map-link-btn {
    align-self: stretch;
    justify-content: center;
  }
  .onsite-contacts-grid {
    grid-template-columns: 1fr;
  }
  .onsite-contact-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .onsite-container {
    gap: 64px; /* 모바일 섹션 간격 조정 (숨통 트이게 48px -> 64px) */
  }
  .onsite-section-title {
    font-size: 27px; /* 모바일 타이틀 크기 상향 (24px -> 27px) */
    margin-bottom: 36px; /* 모바일 큰 제목 아래 여백을 36px로 넉넉하게 넓혀 시각적 위계(계층)와 가독성 확보 */
    flex-wrap: wrap; /* 타이틀/뱃지 개별 행 래핑 허용 */
    gap: 8px 12px;
  }
  .onsite-title-badge {
    font-size: 16px; /* 타이틀 크기 확대에 비례하여 뱃지도 약간 상향 (15px -> 16px) */
    padding: 4px 10px;
  }
  .onsite-contacts-grid {
    gap: 16px; /* 모바일에서 두 카드 사이의 세로 간격을 24px에서 16px로 좁혀 불필요한 공백 제거 */
  }
  .onsite-map-frame {
    height: 280px;
  }
  .onsite-address-bar {
    padding: 36px 0; /* 위아래 여백을 36px로 충분히 넓히고 좌우 여백을 제거하여 지도/타이틀과 동일 선상에 정렬 */
    gap: 28px; /* 정보 텍스트와 카카오맵 버튼 간의 여백 확보 */
  }
  .onsite-address-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px; /* 정보 항목 간 여백을 충분히 주어 쾌적하게 조정 */
    width: 100%;
  }
  .onsite-info-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px; /* 제목("주소")과 내용 사이의 간격을 넓혀 답답함 해소 */
  }
  .onsite-info-label {
    font-size: 16px; /* 모바일 가독성을 위해 19px -> 16px 축소 */
  }
  .onsite-info-value {
    font-size: 16px; /* 모바일 가독성을 위해 19px -> 16px 축소 */
    line-height: 1.6; /* 행간 완화 (1.45 → 1.6) */
  }
  .onsite-block-name {
    font-size: 19px; /* 모바일 카드 타이틀 축소 */
    margin-bottom: 16px;
  }
  .onsite-block-details li {
    font-size: 16px;
    line-height: 1.6; /* 줄바꿈 시 행간 완화 추가 */
  }
  .onsite-transit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-24);
    padding: var(--spacing-28) 0;
  }
  .onsite-transit-label-col {
    flex-direction: column; /* 아이콘(위) → 텍스트(아래) 세로 스택 */
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }
  .onsite-transit-icon-wrapper {
    width: 64px; /* 모바일 아이콘 크기 상향 (52px -> 64px) */
    height: 64px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .onsite-transit-icon-wrapper svg {
    width: 52px !important; /* 모바일 SVG 크기 상향 (40px -> 52px) */
    height: 52px !important;
  }
  .onsite-transit-label-txt {
    font-size: 22px; /* 아이콘 아래 제목 — 좀 더 부각 */
    font-weight: 700;
  }
  .onsite-transit-detail-col {
    padding-left: 0; /* 제목이 위에서 전체 너비로 배치되므로 들여쓰기 불필요 */
    gap: var(--spacing-16);
  }
  .onsite-transit-place {
    font-size: 17px; /* 모바일 폰트 최적화 */
    line-height: 1.55; /* 줄바꿈 시 행간 완화 추가 */
  }
  .onsite-transit-desc {
    font-size: 16px; /* 모바일 폰트 최적화 */
    line-height: 1.65; /* 행간 명시적 고정 */
  }
  .onsite-parking-notice {
    padding: var(--spacing-20) 0; /* 모바일 주차 안내 좌우 여백 제거 — 지도/타이틀 좌측과 동일 선상 정렬 */
  }
  .onsite-notice-card {
    padding: 20px; /* 모바일 카드 내부 패딩 축소 (기존 30px -> 20px) */
  }
  .onsite-notice-list {
    gap: 12px; /* 항목 간격 완화 (8px → 12px) */
  }
  .onsite-notice-list li {
    line-height: 1.65; /* 줄바꿈 시 행간 완화 (1.5 → 1.65) */
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 지원사업 페이지 (RetirePage)
 * ───────────────────────────────────────────── */
.retire-container {
  max-width: var(--container-max);
  margin: 0 auto; /* 음수 마진을 제거하여 최하단 120px 여백 규칙을 정상 유지 */
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.retire-announcement-section {
  padding: 0 0 10px 0; /* 상단 패딩을 0으로 제거하여 서브페이지 상단 여백(72px)과 통일 */
  display: flex;
  justify-content: center;
}

.retire-announcement-box {
  width: 100%;
  text-align: center;
}

.announcement-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  border-radius: 30px; /* 라운드 뱃지 스타일 */
  font-size: 17px; /* 텍스트 크기 1 줄여줌 */
  font-weight: 500;
  color: var(--color-action-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.announcement-title {
  font-family: var(--font-pretendard);
  font-size: 40px; /* 기존 36px에서 4px 키움 */
  font-weight: 700; /* 800에서 한 단계 낮춰 700(Bold)으로 적용 */
  color: var(--color-midnight-ink);
  line-height: 1.4;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}

.announcement-title .highlight {
  color: var(--color-action-blue);
}

.announcement-desc-group {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcement-desc {
  font-family: var(--font-pretendard);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-slate-blue);
  font-weight: 400;
  word-break: keep-all;
}

.announcement-desc strong {
  font-weight: 700;
  color: var(--color-midnight-ink);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .retire-container {
    gap: 48px; /* 모바일 섹션 간격 조정 (40px -> 48px, 약간 숨통 트이게) */
  }
  .announcement-badge {
    font-size: 15px;
    padding: 5px 12px;
  }
  .announcement-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .announcement-desc {
    font-size: 16px;
    line-height: 1.7;
  }
  /* 모바일 섹션 제목 — PC(60px) 여백을 28px로 축소 */
  .retire-section-title {
    font-size: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .retire-section-title .title-num {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  /* 지원내용/지원대상 소제목 — PC(40px) 여백을 22px로 축소 */
  .retire-detail-subtitle {
    font-size: 22px;
    margin-bottom: 22px;
  }
  .retire-detail-subtitle.no-body {
    margin-bottom: 22px; /* 모바일: 본문 여부와 관계없이 약속된 하단 마진 22px 유지 */
  }
  .retire-detail-subtitle.no-body + .apply-sub-section {
    margin-top: 0;
  }
  /* 사업개요 정보 박스 하단 여백 — PC(60px) -> 28px 축소 */
  .retire-overview-info {
    margin-bottom: 32px;
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 지원사업 - 사업개요 컴포넌트 스타일
 * ───────────────────────────────────────────── */
.retire-section {
  display: flex;
  flex-direction: column;
}

.retire-section-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-midnight-ink);
  margin: 0 0 40px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.retire-section-title .title-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-action-blue);
  color: var(--color-snow-white);
  border-radius: 8px; /* 모던 기하학 형태의 모서리 곡률 */
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-english);
  line-height: 1;
}

.retire-section-title .title-text {
  letter-spacing: -0.02em;
}

/* 세부사업명, 지원기간 요약 플랫 리스트 */
.retire-overview-info {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--color-midnight-ink);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 60px;
}

.retire-info-row {
  display: flex;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}

.retire-info-row:last-child {
  border-bottom: 0;
}

.retire-info-row .info-label {
  width: 180px;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-midnight-ink);
  flex-shrink: 0;
}

.retire-info-row .info-value {
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  font-weight: 400;
}

/* 지원내용 플랫 영역 */
.retire-detail-content {
  display: flex;
  flex-direction: column;
}

.retire-detail-subtitle {
  font-family: var(--font-pretendard);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-midnight-ink);
  margin: 0 0 32px 0;
}

.retire-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.retire-bullet-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 20px에서 3px 축소) */
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.6;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}



.retire-bullet-list .bullet-header {
  display: flex;
  align-items: center;
}

.retire-bullet-list .bullet-label {
  font-weight: 600;
  color: var(--color-midnight-ink);
  margin-right: 22px;
  min-width: 80px;
  flex-shrink: 0;
}

.retire-bullet-list .bullet-desc {
  font-weight: 400;
}

.retire-bullet-list .bullet-desc strong {
  font-weight: 700;
  color: var(--color-midnight-ink);
}

.retire-bullet-list .bullet-nested-content {
  margin-left: 102px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 퇴직근로자 페이지 내 모든 표 — 공통 래퍼 스크롤바 스타일 */
.retire-table-wrapper,
.retire-target-table-wrapper {
  overflow-x: auto;
  border-top: 2px solid var(--color-midnight-ink);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 0;
  /* 얇고 세련된 커스텀 스크롤바 (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: #C8D8F0 transparent;
}

/* 커스텀 스크롤바 (Chrome, Safari) */
.retire-table-wrapper::-webkit-scrollbar,
.retire-target-table-wrapper::-webkit-scrollbar {
  height: 5px;
}
.retire-table-wrapper::-webkit-scrollbar-track,
.retire-target-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.retire-table-wrapper::-webkit-scrollbar-thumb,
.retire-target-table-wrapper::-webkit-scrollbar-thumb {
  background: #C8D8F0;
  border-radius: 99px;
}
.retire-table-wrapper::-webkit-scrollbar-thumb:hover,
.retire-target-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #A0BDE0;
}

.retire-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-pretendard);
  min-width: 700px;
}

.retire-table th, 
.retire-table td {
  padding: 18px 20px;
  font-size: 17px; /* 16px -> 17px로 본문 일치 */
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.retire-table th:last-child, 
.retire-table td:last-child {
  border-right: 0;
}

.retire-table tbody tr:last-child th,
.retire-table tbody tr:last-child td {
  border-bottom: 0;
}

.retire-table thead th {
  background: #F0F6FF;
  font-weight: 600;
  color: var(--color-midnight-ink);
  font-size: 17px; /* 16.5px -> 17px로 일치 */
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap; /* 모바일 가로 스크롤 시 셀 텍스트 줄바꽔이 발생하지 않도록 강제 */
}


.retire-table .row-head {
  background: #F8FAFC;
  font-weight: 600;
  color: var(--color-midnight-ink);
  width: 180px;
}

.retire-table td {
  color: var(--color-slate-blue);
  font-weight: 400;
  font-size: 17px;
  background: var(--color-snow-white);
}

.retire-table td a {
  color: var(--color-slate-blue);
  text-decoration: none;
  transition: color 150ms ease, text-decoration 150ms ease;
}

.retire-table td a:hover {
  color: var(--color-action-blue);
  text-decoration: underline;
}

.retire-table td.text-left {
  text-align: left;
}

.retire-table .table-sub-desc {
  display: block;
  font-size: 17px; /* 14px -> 17px 최소 폰트 크기 규칙 준수 */
  color: var(--color-slate-blue);
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.5;
}

/* 문서 분류 뱃지 스타일 */
.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
.doc-badge.badge-online,
.doc-badge.badge-form {
  background-color: #E6F0FF;
  color: var(--color-action-blue);
}
.doc-badge.badge-evidence {
  background-color: #E6F0FF;
  color: var(--color-action-blue);
}

/* 서식 다운로드 버튼 */
.doc-download-btn {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse; /* 아이콘 오른쪽 배치 */
  gap: 7px;
  padding: 7px 14px;
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-action-blue) !important;
  background-color: #EEF4FF; /* 기본 상태 가시성 개선 (연한 블루 틴트) */
  border: 1px solid rgba(0, 107, 255, 0.2); /* 라인(테두리) 이전 컬러로 복원 */
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.retire-table td a.doc-download-btn:hover,
.doc-download-btn:hover {
  background-color: var(--color-action-blue) !important;
  border-color: var(--color-action-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 107, 255, 0.28);
  text-decoration: none !important;
  transform: translateY(-2px); /* 호버 시 입체감 있게 살짝 위로 이동 */
}

.doc-download-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.doc-download-btn:hover svg {
  transform: translateY(2px); /* 호버 시 아이콘은 아래로 내려서 다운로드 느낌 강조 */
}

@media (max-width: 768px) {
  .doc-download-btn {
    font-size: 14px;
    padding: 6px 10px;
    gap: 5px;
  }
}

.doc-name {
  color: var(--color-midnight-indigo);
  font-weight: 500;
}

.retire-table td .amount-val {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
}

.retire-table td .amount-unit {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
  margin-left: 2px;
}

/* 예산 소진 경고 콜아웃 */
.retire-warning-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  padding: 16px 20px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.retire-warning-callout .warning-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.retire-warning-callout .warning-text {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-action-blue);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   공통 동그란 블릿 (Round Bullet) 디자인 시스템 통합
   ========================================================================== */
.onsite-notice-list li::before,
.retire-bullet-list li::before,
.target-desc-list li::before,
.proof-sub-list li::before {
  content: "•" !important;
  position: absolute;
  left: 3px; /* 여백 축소에 따른 위치 보정 (기존 4px -> 3px) */
  top: 5px; /* 세로 중앙 정렬 미세 보정 (5px로 최적화) */
  color: var(--color-action-blue) !important;
  font-size: 14px !important; /* 17px 본문과 가장 조화로운 미세 사이즈 */
  font-weight: 700 !important;
  line-height: 1 !important; /* 브라우저별 글꼴 상하정렬 왜곡 방지 */
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
  .retire-info-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px;
    gap: 6px;
  }
  
  .retire-info-row .info-label {
    width: 100%;
    font-size: 16px;
  }

  .retire-info-row .info-value {
    font-size: 16px;
  }
  
  .retire-bullet-list {
    gap: 14px; /* 항목 간격 완화 (10px → 14px) */
    margin-bottom: 0;
  }

  .retire-bullet-list li {
    font-size: 16px;
    padding-left: 14px; /* 모바일 블릿 여백 축소 (기존 16px -> 14px) */
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }

    /* 모바일 공통 동그란 블릿 규칙 통합 */
    .onsite-notice-list li::before,
    .retire-bullet-list li::before,
    .target-desc-list li::before,
    .proof-sub-list li::before {
      left: 2px !important;
      font-size: 13px !important;
      top: 4.5px !important; /* 모바일 세로 중앙 정렬 미세 보정 (기존 6px에서 4.5px로 조정) */
    }

  .retire-bullet-list .bullet-header {
    display: flex;
    flex-direction: column; /* 모바일에서 라벨과 내용을 세로로 줄바꿈 */
    align-items: flex-start;
    gap: 4px; /* 라벨과 내용 사이 소폭 여백 */
  }

  .retire-bullet-list .bullet-label {
    min-width: auto; /* 모바일 세로 배치 시 고정 너비 불필요 */
    margin-right: 0; /* 세로 배치이므로 우측 여백 제거 */
  }

  .retire-bullet-list .bullet-nested-content {
    margin-left: 0;
    margin-top: 12px;
    gap: 12px;
    width: 100%;
  }
  
  .retire-warning-callout {
    width: 100%;
    justify-content: center;
  }
  .retire-warning-callout .warning-text {
    font-size: 16px;
  }
}

/* ==========================================================================
   2. 사업대상 요건 표 및 상세 스타일
   ========================================================================== */
.retire-divider {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: 0; /* retire-container의 gap(80px)을 활용해 상하 80px 완벽 유지 */
}

.retire-detail-desc {
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.retire-target-table-wrapper {
  /* 상단 래퍼 공통 스타일은 .retire-table-wrapper와 묶임 — 개별 오버라이드 없음 */
}

.retire-target-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-pretendard);
  min-width: 700px;
}

.retire-target-table th,
.retire-target-table td {
  padding: 22px 24px;
  font-size: 17px; /* 16px -> 17px로 본문 일치 */
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.retire-target-table th:last-child,
.retire-target-table td:last-child {
  border-right: 0;
}

.retire-target-table tbody tr:last-child th,
.retire-target-table tbody tr:last-child td {
  border-bottom: 0;
}

.retire-target-table thead th {
  background: #F0F6FF;
  font-weight: 600;
  color: var(--color-midnight-ink);
  font-size: 17px; /* 16.5px -> 17px로 일치 */
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  padding: 18px 24px;
  white-space: nowrap; /* 모바일 가로 스크롤 시 헤더 셀 텍스트 줄바꿈 방지 — .retire-table thead th와 동일 처리 */
}


.retire-target-table .row-head {
  background: #F8FAFC;
  font-weight: 600;
  color: var(--color-midnight-ink);
  width: 180px;
  text-align: center;
  vertical-align: middle;
}

.retire-target-table td {
  background: var(--color-snow-white);
  color: var(--color-slate-blue);
  font-weight: 400;
}

/* 설명 리스트 스타일 */
.target-desc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.target-desc-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 20px에서 3px 축소) */
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.45; /* 줄바꿈 시 너무 넓지 않게 1.45로 줄임 */
}

.target-desc-list li.no-bullet {
  padding-left: 0 !important;
}

.target-desc-list li.no-bullet::before {
  content: none !important;
  display: none !important;
}



.target-desc-list li strong {
  font-weight: 700;
  color: var(--color-midnight-ink);
}

.target-desc-list .target-sub-desc {
  display: block;
  font-size: 17px;
  color: var(--color-slate-blue);
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
}

.target-desc-list .target-warning-text {
  display: block;
  font-size: 17px;
  color: var(--color-action-blue); /* 전체 문구를 파란색 포인트 컬러로 설정 */
  margin-top: 6px;
  font-weight: 400;
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
}

.target-desc-list li.warning-li {
  padding-left: 0;
  color: var(--color-action-blue); /* 전체 문구를 파란색 포인트 컬러로 설정 */
  font-weight: 400;
  font-size: 17px;
  margin-top: 2px;
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
}

.target-desc-list li.warning-li::before {
  display: none;
}

/* 포인트 컬러 클래스 (※ 기호 등 강조용) */
.point-star {
  color: var(--color-action-blue);
  font-weight: 700;
  margin-right: 4px;
}

/* 실직여부 증빙서류 목록형 박스 */
.target-desc-list .proof-li {
  padding-left: 0;
  margin-top: 16px;
  background: #F8FAFC;
  padding: 18px 20px;
  border-radius: 6px;
  border: 0; /* 외곽 라인 제거 */
  max-width: 100%; /* 표 가로 영역 끝까지 늘려줌 */
}

.target-desc-list .proof-li::before {
  display: none;
}

.proof-title {
  font-weight: 700;
  color: var(--color-midnight-ink);
  font-size: 17px;
  margin-bottom: 12px;
  font-family: var(--font-pretendard);
}

.proof-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-sub-list li {
  position: relative;
  padding-left: 17px; /* 블릿 공간 확보 (기존 20px에서 3px 축소) */
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.4; /* 줄바꿈 시 세로 간격 좁힘 */
  font-family: var(--font-pretendard);
}



.proof-sub-list li strong {
  color: var(--color-midnight-ink);
  font-weight: 600;
  margin-right: 4px;
}

/* 모바일 반응형 추가 정의 (사업대상 관련) */
@media (max-width: 768px) {
  .retire-detail-desc {
    font-size: 17px; /* 최소 17px 기준 준수 */
    margin: 0 0 12px 0;
  }

  .target-desc-list {
    gap: 14px; /* 항목 간격 완화 (10px → 14px) */
  }

  .target-desc-list li {
    font-size: 17px; /* 최소 17px 기준 준수 */
    padding-left: 18px;
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }

  .target-desc-list .target-sub-desc,
  .target-desc-list .target-warning-text,
  .target-desc-list li.warning-li {
    font-size: 17px;
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }

  .target-desc-list .proof-li {
    padding: 14px 16px;
    margin-top: 12px;
  }

  .proof-title {
    font-size: 17px; /* 최소 17px 기준 준수 */
    margin-bottom: 8px;
  }

  .proof-sub-list {
    gap: 10px; /* 항목 간격 완화 (8px → 10px) */
  }

  .proof-sub-list li {
    font-size: 17px; /* 최소 17px 기준 준수 */
    padding-left: 18px;
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }
}

/* ==========================================================================
   3. 우선지원 대상 및 제외대상 스타일
   ========================================================================== */

/* 세부 상세 콘텐츠 간 간격 (지원대상, 우선지원 대상 및 제외대상) */
.retire-detail-content + .retire-detail-content {
  margin-top: 60px;
}

.retire-priority-subtitle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.retire-priority-subtitle-row .retire-detail-subtitle {
  margin: 0;
}

.priority-must-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #E8F1FF;
  border-radius: 30px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-action-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.retire-priority-box {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 30px 24px;
  background-color: var(--color-snow-white);
}

.retire-priority-box.priority-table-box {
  padding: 0;
  overflow: hidden;
}

.priority-table-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #C8D8F0 transparent;
}

.priority-table-wrapper::-webkit-scrollbar {
  height: 5px;
}
.priority-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.priority-table-wrapper::-webkit-scrollbar-thumb {
  background: #C8D8F0;
  border-radius: 99px;
}
.priority-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #A0BDE0;
}

.priority-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-pretendard);
  min-width: 100%;
}

.priority-table th,
.priority-table td {
  padding: 18px 20px;
  font-size: 17px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}

.priority-table th:last-child,
.priority-table td:last-child {
  border-right: 0;
}

.priority-table tbody tr:last-child td {
  border-bottom: 0;
}

.priority-table thead th {
  background: #F0F6FF;
  font-weight: 600;
  color: var(--color-midnight-ink);
  font-size: 17px;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}

.priority-table td {
  color: var(--color-slate-blue);
  font-weight: 400;
  font-size: 17px;
  background: var(--color-snow-white);
}

.priority-table td.text-left {
  text-align: left;
}

.priority-table .priority-rank {
  width: 120px;
}

.priority-table td.priority-rank {
  font-weight: 600;
  color: var(--color-midnight-ink);
  background: #F8FAFC;
}

@media (max-width: 768px) {
  .priority-table th,
  .priority-table td {
    padding: 14px 16px;
    font-size: 16px; /* 가독성 향상 (15px → 16px) */
  }
  .priority-table thead th {
    font-size: 16px;
  }
  .priority-table td {
    font-size: 16px;
  }
  .priority-table .priority-rank {
    width: 80px;
  }
}

.retire-priority-group {
  display: flex;
  flex-direction: column;
}

.retire-priority-group + .retire-priority-group {
  margin-top: 60px;
}

/* 우선지원 대상 및 제외대상 리스트 */
.retire-priority-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.retire-priority-list > li {
  position: relative;
  padding-left: 17px;
  font-family: var(--font-pretendard);
  font-size: 17px;
  color: var(--color-slate-blue);
  line-height: 1.6;
  font-weight: 400;
  display: block; /* block으로 strong+텍스트가 한 줄로 흔러 */
}

.retire-priority-list > li::before {
  content: "\2022";
  position: absolute;
  left: 3px;
  top: 5px;
  color: var(--color-action-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.retire-priority-list > li strong {
  color: var(--color-midnight-ink);
  font-weight: 700;
}

/* 하위 대시(-) 리스트 */
.priority-sub-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.priority-sub-list li {
  font-size: 17px; /* 최소 폰트 17px 기준 준수 */
  color: var(--color-slate-blue);
  line-height: 1.5;
  padding-left: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .retire-detail-content + .retire-detail-content {
    margin-top: 48px; /* 섹션 간 여백 완화 (40px → 48px) */
  }
  .retire-priority-group + .retire-priority-group {
    margin-top: 40px;
  }
  .retire-priority-subtitle-row {
    margin-bottom: 28px;
    gap: 8px;
  }
  .retire-priority-subtitle-row .retire-detail-subtitle {
    font-size: 20px;
    margin: 0;
  }
  .priority-must-badge {
    font-size: 17px;
    padding: 2px 8px;
  }
  .retire-priority-box {
    padding: 22px 16px; /* 박스 내부 상하 패딩 완화 (20px → 22px) */
    border-radius: 8px;
  }
  .retire-priority-list {
    gap: 14px; /* 항목 간격 완화 (10px → 14px) */
  }
  .retire-priority-list > li {
    line-height: 1.7; /* 줄바꿈 시 행간 완화 추가 */
  }
  .priority-sub-list {
    gap: 6px; /* 하위 항목 간격 완화 (4px → 6px) */
  }
  .priority-sub-list li {
    line-height: 1.65; /* 줄바꿈 시 행간 완화 추가 */
  }
  /* 모바일 블릿 위치 조정 (::before 아이콘 크기는 디자인 의도에 따라 예외 허용) */
  .retire-numbered-list .target-sub-desc-list li::before {
    left: 1px;
    top: 3.5px !important;
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 - 3. 지원절차 프로세스 카드
 * ───────────────────────────────────────────── */
.retire-procedure-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

/* 프로세스 단계 카드 */
.retire-step-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 단계 카드 헤더 */
.step-card-header {
  background-color: #F0F6FF; /* 표 제목쪽 소프트 블루 컬러 사용 */
  padding: 22px 16px; /* 영역 확장 */
  text-align: center;
  border-bottom: none; /* 제목쪽 배경 아래 라인 제거 */
}
.step-num {
  display: block;
  font-size: 17px; /* 기존 20px -> 17px */
  font-weight: 500; /* 기존 600 -> 500(Medium)으로 완화 */
  color: var(--color-action-blue);
  margin-bottom: 1px; /* 기존 3px -> 1px로 단축 */
  font-family: Montserrat, sans-serif; /* 영숫자 돋보이게 */
}
.step-title {
  font-size: 20px; /* 기존 22px -> 20px */
  font-weight: 700; /* 기존 600 -> 700으로 한단계 상향 */
  color: var(--color-midnight-ink);
  margin: 0;
}

/* 단계 카드 본문 */
.step-card-body {
  padding: 20px 16px; /* 내부 여백 균형있게 조정 */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center; /* 세로 중앙 정렬로 레이아웃 균형 확보 */
}
.step-date-badge {
  background-color: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  color: var(--color-action-blue); /* 포인트 블루 텍스트 */
  font-size: 16px;           /* 1px 축소: 16px */
  font-weight: 500;          /* 사용자 요청: mid (Medium) */
  padding: 5px 16px;
  border-radius: 30px;
  display: inline-block;
}
.step-card-body > .step-date-badge:first-child {
  margin-bottom: 14px; /* 첫 번째 자식일 때(상단 노출) 아래 여백 */
}
.step-card-body > .step-date-badge:last-child {
  margin-top: 14px;    /* 마지막 자식일 때(하단 노출) 위 여백 */
  margin-bottom: 0;
}

.step-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #334155;            /* 기존 midnight-ink -> 차분한 슬레이트 그레이로 완화 */
  margin: 0 0 4px 0;
  font-weight: 400;          /* Regular 굵기로 변경 */
}
.step-sub-desc {
  font-size: 16px;
  color: #64748B;            /* 기존 slate-blue -> 한 톤 차분하게 조정 */
  margin-top: 12px; /* 여백 확보하여 줄바꿈 요소 구분 */
  line-height: 1.4;
  display: inline-block;
}
.step-sub-arrow {
  font-size: 14px;
  color: var(--color-slate-blue);
  opacity: 0.6;
  line-height: 1;
}
/* 3단계 서류검토 칩 흐름 */
.step-sub-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* 행간을 좁게 수정 */
  width: 100%;
  background-color: #F1F5F9; /* 흐린 회색 배경 (Slate 100) */
  padding: 18px 12px; /* 상하 여백 늘려 안정감 확보 */
  border-radius: 16px; /* 모서리 둥글게 */
  box-sizing: border-box;
}
.step-sub-chip {
  display: inline-block;
  background: #FFFFFF; /* 흰색 배경 */
  color: #334155; /* 짙은 차분한 회색 */
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 18px; /* 알약 형태로 여백 조절 */
  border-radius: 30px; /* 완전한 알약형 라운드 */
  white-space: nowrap;
  letter-spacing: -0.02em;
  border: 1px solid #E2E8F0; /* 연한 테두리 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); /* 부드러운 입체감 */
}
.step-sub-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 2px 0; /* 미세 간격 조정 */
}

/* 4단계 지원금 지급 기한 뱃지 */
.step-deadline-badge {
  background-color: #E8F1FF; /* 연하고 부드러운 블루 */
  color: var(--color-action-blue);
  font-size: 16px;           /* 16px로 줄임 */
  font-weight: 500;          /* 사용자 요청: mid (Medium) */
  padding: 5px 16px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 14px;          /* step-date-badge:last-child 마진과 동일하게 조정 */
}
.step-link {
  color: var(--color-action-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 서류 검토 단계의 내부 세로 흐름선 */
.step-card-body.inner-steps {
  padding: 20px 16px;
  justify-content: center;
}
.inner-step-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.inner-step-item {
  font-size: 16px;
  font-weight: 400;          /* 기존 500 -> 400 (Regular) */
  color: #334155;            /* 본문 컬러와 통일 */
  background-color: #F8FAFC;
  padding: 8px 12px;
  border-radius: 6px;
  width: 100%;
  border: 1px solid #E2E8F0; /* 점선 -> 심플하고 깨끗한 실선 테두리 */
  box-sizing: border-box;
}
.inner-arrow-down {
  display: flex;
  justify-content: center;
  opacity: 0.6;
}

/* 퇴직근로자(Retire) 절차 카드의 3단계 내 세로 흐름선 간격 절반 단축 */
.retire-procedure-container .inner-step-flow {
  gap: 4px; /* 기존 8px -> 4px로 절반 단축 */
}
.retire-procedure-container .inner-arrow-down {
  margin-top: -2px;
  margin-bottom: -2px; /* 화살표 주변 여백 밀착 */
}

/* 단계 카드 하단 수행기관 등 (더욱 심플하고 깨끗하게 통합) */
.step-card-footer {
  border-top: none; /* 구분선 제거하여 심플하게 통합 */
  padding: 16px 16px 24px 16px; /* 위쪽 패딩 조절하여 점선과 간격 매칭 */
  background-color: #ffffff;  /* 본문과 동일 배경색으로 투명한 일체감 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;                   /* 기존 4px -> 2px로 단축 */
  position: relative;         /* 점선 위치 기준선 제공 */
}
.step-card-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;                 /* 좌우 여백을 주어 꽉 차지 않게 설정 */
  right: 24px;
  border-top: 1px dashed #E2E8F0; /* 본문과 살짝 구분되는 얇은 점선 */
}
.footer-label {
  font-size: 15px;
  font-weight: 400;           /* 기존 500 -> 400 (Regular) */
  color: #64748B; /* 한 톤 부드러운 라벨 색상 */
}
.footer-value {
  font-size: 16px;
  font-weight: 500;          /* 사용자 요청: mid (Medium) */
  color: #334155;            /* 기존 midnight-ink -> 차분한 슬레이트 그레이로 완화 */
  text-align: center;
  line-height: 1.4;
}

/* 카드와 카드 사이 연결 화살표 */
.step-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 지원절차 프로세스 반응형 (모바일 뷰) */
@media (max-width: 768px) {
  .retire-procedure-container {
    flex-direction: column;
    gap: 16px;
  }
  .step-arrow-divider {
    transform: rotate(90deg); /* 모바일에서는 아래 화살표로 변환 */
    padding: 8px 0;
  }
}

/* ─────────────────────────────────────────────
 * 퇴직근로자 재도약 - 4. 신청방법 섹션 및 도식
 * ───────────────────────────────────────────── */
/* 신청기한·신청방법 본문 스타일 */
.apply-detail-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-detail-text {
  font-family: var(--font-pretendard);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-slate-blue);
  line-height: 1.6;
}

.apply-detail-notice {
  font-family: var(--font-pretendard);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-action-blue);
}


.apply-warning-text {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-action-blue);
  margin-left: 12px;
}
/* 신청기한 날짜 박스 */
.apply-deadline-box {
  margin-top: 0;
  padding: 24px 32px;
  background: #ffffff;
  border: 1.5px solid var(--border-soft); /* 외곽 라인이 보이도록 정의된 border 변수로 교체 */
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.apply-deadline-date {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-fg-1);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
}
.apply-deadline-note {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-action-blue);
  margin: 0;
}

.apply-flow-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}

.apply-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.apply-flow-card {
  flex: 1;
  background-color: var(--color-snow-white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.apply-flow-card.highlight {
  background-color: #E8F1FF; /* 연하고 부드러운 포인트 블루 배경색 */
  border-color: var(--color-action-blue);
  box-shadow: 0 2px 12px rgba(0, 107, 255, 0.06);
}

.apply-flow-card .card-step-num {
  display: block;
  font-family: var(--font-english);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-action-blue);
  margin-bottom: 4px;
}

.apply-flow-card .card-step-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-midnight-ink);
  line-height: 1.3;
}

.apply-flow-card.highlight .card-step-title {
  color: var(--color-action-blue);
}

.apply-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
}

.apply-flow-arrow.hidden-arrow {
  visibility: hidden;
}

.apply-flow-arrow svg,
.apply-flow-divider-mobile svg {
  fill: var(--color-midnight-ink);
}

.apply-flow-row-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  margin: 16px 0;
}

.apply-flow-row-arrow svg {
  fill: var(--color-midnight-ink);
}

.apply-flow-divider-mobile {
  display: none;
}

/* 현장지원 유의사항 박스 */
.apply-notice-box {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 30px 24px;
}

.apply-notice-list {
  list-style: none;
  counter-reset: notice-counter;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apply-notice-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-pretendard);
  font-size: 17px; /* 본문과 동일한 가독성 확보 */
  line-height: 1.6;
  color: #475569;
}

.apply-notice-list li::before {
  counter-increment: notice-counter;
  content: counter(notice-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--color-action-blue);
}

/* 신청방법 반응형 스타일 */
@media (max-width: 768px) {
  .apply-warning-text {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .apply-flow-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .apply-flow-card {
    width: 100%;
    min-height: 70px;
    padding: 16px 12px;
  }

  .apply-flow-arrow {
    width: auto;
    height: 24px;
    transform: rotate(90deg); /* 모바일에서는 하단 방향으로 회전 */
    padding: 4px 0;
  }

  .apply-flow-arrow.hidden-arrow {
    display: none;
  }

  .apply-flow-row-arrow {
    margin: 4px 0;
    height: 24px;
  }

  .apply-flow-divider-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 4px 0;
  }

  .apply-notice-box {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .apply-notice-list li {
    font-size: 16px;
    line-height: 1.7; /* 줄바꿈 시 행간 완화 추가 */
  }
}

/* 신청기한 전용 테두리 박스 (하얀 배경 + 외곽라인 + 중앙정렬) */
.apply-period-box {
  background-color: var(--color-snow-white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.apply-period-box .date-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-midnight-ink);
}

.apply-period-box .apply-detail-notice {
  margin-top: 0;
  display: block;
}

/* 단일 줄글용 블릿 텍스트 */
.bullet-text {
  position: relative;
  padding-left: 17px;
}

.bullet-text::before {
  content: "•" !important;
  position: absolute;
  left: 3px;
  top: 5px;
  color: var(--color-action-blue) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* 신청방법 하위 소섹션 및 소타이틀 */
.apply-sub-section {
  margin-top: 24px;
}

.retire-detail-subtitle.no-body {
  margin-bottom: 32px; /* PC: 본문 여부와 관계없이 약속된 하단 마진 32px 유지 */
}

.apply-sub-title {
  font-family: var(--font-pretendard);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-midnight-ink);
  margin-bottom: 24px; /* 아래 컨텐츠와의 여백 (24px로 수정) */
  line-height: 1.4;
}

.apply-sub-section .apply-flow-container {
  margin-top: 0; /* sub-title의 margin-bottom으로 일괄 제어 */
}

/* ==========================================================================
   4. 퇴직근로자 재도약 (#retire) 카테고리 전용 스타일 및 모바일 행간 완화
   ========================================================================== */


/* 모바일/PC 공통 여유로운 줄간격 설정 */
.retire-only-page .apply-flow-card .card-step-title {
  line-height: 1.5;
}
.retire-only-page .target-desc-list li {
  line-height: 1.55;
}
.retire-only-page .target-desc-list .target-sub-desc,
.retire-only-page .target-desc-list .target-warning-text,
.retire-only-page .target-desc-list li.warning-li {
  line-height: 1.55;
}
.retire-only-page .proof-sub-list li {
  line-height: 1.55;
}
.retire-only-page .apply-sub-title {
  line-height: 1.5;
}
.retire-only-page .step-sub-desc {
  line-height: 1.55;
}
.retire-only-page .apply-deadline-date {
  line-height: 1.5;
}


