/* ============================================================
   GOVERNMENT-PROGRAMS.CSS — Ubique Korea
   Government Programs(정부지원사업) 서브 페이지 전용 · Figma 466:5359
   공통(common.css) 위에 로드 — header·footer·btn-top 제외
   ============================================================ */

:root {
  --gp-blue-800: #1e40af;
  --gp-blue-600: #2563eb;
  --gp-blue-500: #3b82f6;
  --gp-blue-400: #60a5fa;
  --gp-ink: #0b1220;
  --gp-gray-700: #374151;
  --gp-gray-600: #4b5563;
  --gp-soft: #f5f9ff;
  --gp-max: 1640px;
  --gp-font: 'Pretendard', 'Noto Sans KR', sans-serif;
  --gp-font-en: 'Inter', 'Pretendard', sans-serif;
}

body { padding-top: 90px; }

.gp { font-family: var(--gp-font); color: var(--gp-ink); word-break: keep-all; overflow-x: clip; }
.gp img { display: block; max-width: 100%; }
:where(.gp) ul, :where(.gp) ol { list-style: none; margin: 0; padding: 0; }
:where(.gp) :is(h1, h2, h3, p) { margin: 0; }
.gp .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gp-inner {
  width: 100%;
  max-width: calc(var(--gp-max) + var(--section-px) * 2);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}

/* 스크롤 등장 — 스크립트가 html.gp-js 를 붙였을 때만 숨겼다가 보여 준다 */
.gp-js .gp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.gp-js .gp-reveal.is-in { opacity: 1; transform: none; }

/* 공통 섹션 머리 */
.gp-head { position: relative; }
.gp-head--center { text-align: center; }
.gp-eyebrow { font: 600 13px/1.5 var(--gp-font-en); letter-spacing: 1.6px; color: var(--gp-blue-600); }
.gp-head__title { margin-top: 14px; font-size: clamp(30px, 2.92vw, 56px); font-weight: 600; line-height: 1.35; letter-spacing: -0.023em; color: var(--gp-ink); }
.gp-head__title--bold { font-weight: 700; }
.gp-head__desc { margin-top: 20px; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.4; letter-spacing: -0.2px; color: var(--gp-gray-700); }
.gp-head__desc--sm { font-size: clamp(15px, .94vw, 18px); color: var(--gp-gray-600); }
.gp-head--center .gp-head__desc { max-width: 1100px; margin-left: auto; margin-right: auto; }
.gp-head--center > *:not(.gp-deco, .gp-deco-num, .gp-deco-wrap) { position: relative; z-index: 1; }

/* 배경 장식 큰 글씨 */
.gp-deco {
  position: absolute;
  z-index: 0;
  font-size: clamp(64px, 7.8vw, 150px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .4;
  pointer-events: none;
  user-select: none;
}
.gp-deco--media { left: 50%; top: calc(-1 * clamp(96px, 7.8vw, 150px) + .07em); transform: translateX(-50%); background-image: linear-gradient(180deg, #60a5fa, rgba(96,165,250,.1)); }
.gp-deco--video { position: static; background-image: linear-gradient(115deg, rgba(96,165,250,.54) 4%, rgba(96,165,250,.2) 74%); }
.gp-deco--video span { display: inline-block; padding-left: 3.5em; }
/* 배경 텍스트 묶음 — 오른쪽 -4px. 세로는 섹션 상단 패딩과 무관하게 섹션 맨 위에서 122px (패딩만큼 빼서 보정) */
.gp-deco-wrap { position: absolute; right: -4px; top: calc(122px - clamp(80px, 7.3vw, 140px)); z-index: 0; pointer-events: none; }
/* 장식 글씨 옆 번호 원 — 글씨 크기(em)에 맞춰 같이 줄어든다 */
.gp-deco-num { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; width: clamp(32px, 2.3vw, 44px); height: clamp(32px, 2.3vw, 44px); border-radius: 50%; background: var(--gp-blue-500); font: 600 clamp(17px, 1.2vw, 23px)/1 var(--gp-font-en); color: #fff; pointer-events: none; }
.gp-deco-num--media { left: calc(50% - 34vw); top: calc(-1 * clamp(96px, 7.8vw, 150px) + 1.15vw); }
.gp-deco-wrap .gp-deco-num { left: clamp(-28px, -1.5vw, -18px); top: 0; }

/* 파란 링크 알약 */
.gp-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  flex: none;
  padding: 16px 22px 16px 28px;
  border-radius: 999px;
  background: var(--gp-blue-500);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: background-color .2s;
}
.gp-link-pill:hover { background: var(--gp-blue-600); }
.gp-link-pill u { text-underline-offset: 3px; }
.gp-link-pill img { width: 20px; height: 20px; }

/* 원형 일러스트 */
.gp-orb {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
  border: 24.762px solid rgba(223,240,255,.2);
  border-radius: 50%;
  background: linear-gradient(113deg, rgba(73,154,250,.1) 18%, rgba(90,182,254,.07) 73%);
  box-shadow: 0 0 43.086px rgba(152,207,255,.8);
}
/* GP-02 수출바우처 아이콘 원형 — 배경 흰색 (테두리·그림자는 유지) */
.gp-program .gp-orb { background: #fff; }
.gp-orb img { width: 139.16px; height: 142.09px; margin: 8px 6px 0 0; }
/* GP-05 원형 아이콘(디자인 도구) — Figma 531:7772, 원형 정중앙 103×104 */
.gp-orb--design { width: 210px; height: 210px; border-width: 20px; box-shadow: 0 0 34.8px rgba(152,207,255,.8); }
.gp-orb--design img { width: 103px; height: 104px; margin: 0; }

/* ============================================================
   GP-01 HERO — 배경 영상(컨테이너선, 정·역방향 이어 붙인 10초 반복)
   ============================================================ */
.gp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 40.8vw, 783px);
  padding: 96px 0 clamp(48px, 5vw, 96px);
  background: #1c3f6e url('../pages/government-programs/hero-poster.webp') center / cover no-repeat;
  color: #fff;
}
.gp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,56,0) 50%, rgba(6,24,56,.4) 100%); pointer-events: none; }
.gp-hero__inner { position: relative; z-index: 1; max-width: calc(1640px + var(--section-px) * 2); }
.gp-hero__title { font: 600 clamp(44px, 5vw, 96px)/1.05 var(--gp-font-en); letter-spacing: -0.036em; }
@keyframes gp-fade-up { from { opacity: 0; transform: translateY(var(--gp-rise, 40px)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .gp-hero__title { animation: gp-fade-up .8s cubic-bezier(.215,.61,.355,1) .3s both; }
  .gp-hero__sub { --gp-rise: 25px; animation: gp-fade-up .6s cubic-bezier(.215,.61,.355,1) .6s both; }
}
.gp-hero__sub { margin-top: 20px; font-size: clamp(18px, 1.56vw, 30px); font-weight: 600; line-height: 1.4; letter-spacing: -0.8px; }

/* ============================================================
   GP-02 수출바우처
   ============================================================ */
.gp-intro { position: relative; padding: clamp(80px, 7.8vw, 150px) 0; background: #fff; }
/* 아래로 갈수록 진해지는 원형 그라데이션 — Figma Union 2128×541 (1920 기준 폭 110.833%, 왼쪽 -104px = -5.417%) */
.gp-intro::before { content: ""; position: absolute; left: -5.417%; bottom: 32px; width: 110.833%; height: clamp(240px, 28.18vw, 541px); background: url('../pages/government-programs/intro-bg.svg') center / 100% 100% no-repeat; pointer-events: none; }
.gp-intro > .gp-inner { position: relative; z-index: 1; }
.gp-intro__lead { font-size: clamp(22px, 2.08vw, 40px); font-weight: 600; line-height: 1.49; letter-spacing: -0.02em; text-align: center; color: #101010; }
.gp-gradient-text { background: linear-gradient(90deg, #2563eb, #2baeff); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* GP-05 본문과 같은 왼쪽 정렬 — 최대 1496px, 왼쪽 여백 30px */
.gp-program { display: flex; align-items: center; gap: 80px; max-width: 1496px; margin: clamp(56px, 5.2vw, 100px) 0 0; padding: 120px 0 120px 30px; }
.gp-program__body { flex: 1; min-width: 0; padding-top: 20px; }
.gp-program__eyebrow { font: 500 clamp(18px, 1.25vw, 24px)/1.4 var(--gp-font-en); letter-spacing: -0.2px; color: var(--gp-blue-500); }
.gp-program__title { margin-top: 8px; font-size: clamp(26px, 1.875vw, 36px); font-weight: 600; line-height: 1.28; letter-spacing: -0.6px; color: #1e3a8a; }
.gp-program__desc { margin-top: 24px; max-width: 1100px; font-size: clamp(17px, 1.25vw, 24px); line-height: 1.4; letter-spacing: -0.2px; color: #1f2937; }
.gp-program__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 60px; }
.gp-finder { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 12px; padding: 13px 0; }
.gp-finder__logo { width: 173px; height: 29px; object-fit: contain; }
.gp-finder__box { display: flex; align-items: center; justify-content: space-between; width: 332.5px; height: 50px; padding: 8px 13px 8px 15px; border: 1.25px solid var(--gp-blue-500); border-radius: 4px; background: #fff; box-shadow: 0 2.5px 30px rgba(82,145,210,.2); font-size: 20px; font-weight: 500; letter-spacing: -1px; color: var(--gp-blue-800); }
.gp-finder__box img { width: 22px; height: 22px; }
.gp-finder__label { font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--gp-blue-600); }

/* ============================================================
   GP-03 멀티미디어디자인 — 화면 끝까지 붙는 3줄
   ============================================================ */
.gp-media { position: relative; padding-top: clamp(96px, 7.8vw, 150px); background: #fff; overflow: hidden; }
.gp-media__rows { display: flex; flex-direction: column; gap: 6px; margin-top: 76px; }
.gp-row { display: flex; align-items: stretch; padding-right: clamp(0px, 9.375vw, 180px); }
.gp-row--reverse { flex-direction: row-reverse; padding-right: 0; padding-left: clamp(0px, 9.375vw, 180px); }
.gp-row__media { position: relative; flex: 0 0 47.13%; aspect-ratio: 820 / 580; overflow: hidden; }
.gp-row__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1400px) { .gp-row--wide .gp-row__media { flex-basis: max(800px, 47.13%); } }
.gp-row__media--glow { background: linear-gradient(142deg, rgba(147,197,253,.3) 9%, rgba(219,234,254,.3) 86%); }
.gp-row__panel { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 3.1vw, 60px); padding: 48px clamp(28px, 3.1vw, 60px) 48px clamp(32px, 4.7vw, 90px); }
.gp-row__head { display: flex; align-items: flex-start; gap: 10px; }
.gp-row__num { flex: none; font: 400 clamp(36px, 2.7vw, 52px)/1.4 var(--gp-font-en); }
.gp-row__head > div { flex: 1; min-width: 0; padding-top: clamp(36px, 3.1vw, 60px); }
.gp-row__title { font-size: clamp(28px, 2.5vw, 48px); font-weight: 600; line-height: 1.4; letter-spacing: -0.6px; }
.gp-row__desc { margin-top: 14px; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.4; letter-spacing: -0.2px; }
.gp-row--blue .gp-row__panel { background: var(--gp-blue-400); color: #fff; }
.gp-row--blue .gp-row__num { color: #dbeafe; }
.gp-row--gray .gp-row__panel { background: #f3f4f6; padding-bottom: 72px; }
.gp-row--gray .gp-row__num { color: var(--gp-blue-400); }
.gp-row--gray .gp-row__desc { color: var(--gp-gray-600); }
.gp-row--deep .gp-row__panel { background: var(--gp-blue-500); color: #fff; padding-bottom: 72px; }
.gp-row--deep .gp-row__num { color: #bfdbfe; }

.gp-types { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 20px; }
.gp-type { flex: 0 1 auto; padding: 16px 40px 16px 22px; border: 1px solid #e8e8e8; border-radius: 20px; background: #fff; box-shadow: 0 4px 14px rgba(53,77,172,.15); color: var(--gp-ink); }
.gp-type:last-child { flex: 1 1 300px; }
.gp-type__name { font: 500 21px/1.4 var(--gp-font-en); color: var(--gp-blue-600); }
.gp-type ul { margin-top: 8px; padding-left: 27px; list-style: disc; font-size: 18px; line-height: 1.6; letter-spacing: -0.6px; }
.gp-type ul span { color: #717d96; }

.gp-chips { display: flex; flex-wrap: wrap; gap: 12px; padding-left: clamp(0px, 3.96vw, 76px); }
.gp-chips li { padding: 15px 22px; border: 1px solid #e8e8e8; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(53,77,172,.15); font: 500 18px/1.4 var(--gp-font); color: var(--gp-gray-600); white-space: nowrap; }
.gp-chips--glass li { border-color: transparent; background: rgba(255,255,255,.1); color: #fff; }

/* ============================================================
   GP-04 홍보 동영상
   ============================================================ */
.gp-video { position: relative; padding: clamp(80px, 7.3vw, 140px) 0; background: var(--gp-soft); overflow: hidden; }
.gp-video .gp-head > *:not(.gp-deco, .gp-deco-num, .gp-deco-wrap) { position: relative; z-index: 1; }
.gp-video .gp-head__desc { max-width: 1000px; }
.gp-video__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 48px; margin-top: 80px; }
.gp-card { overflow: hidden; border: 1px solid #e8edf5; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(10,23,51,.05); }
.gp-card__media { position: relative; height: clamp(220px, 21.35vw, 410px); overflow: hidden; background: #0b1220; container-type: size; }
.gp-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* 호버 미리보기 영상 — 16:9 영상을 카드 이미지 영역에 꽉 채워(cover) 가운데 맞춤 */
.gp-card__video { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.gp-card.is-playing .gp-card__video { opacity: 1; }
.gp-card:not(.is-playing) .gp-card__video { transition: none; }
.gp-card p { display: flex; align-items: center; gap: 14px; padding: 28px 32px 30px; font-size: clamp(18px, 1.25vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -0.6px; color: var(--gp-ink); }
.gp-card b { flex: none; font: 700 18px/1.4 var(--gp-font-en); color: var(--gp-blue-600); }

/* ============================================================
   GP-05 소공인판로개척지원사업
   ============================================================ */
.gp-small { padding: clamp(80px, 7.3vw, 140px) 0; background: #fff; }
.gp-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.gp-head--split .gp-head__title { margin-top: 17px; }
.gp-head--split .gp-head__desc { margin-top: 17px; }
.gp-small__line { height: 1px; margin: 120px 0 0; border: 0; background: #e2e8f2; }
.gp-small__body { display: flex; align-items: center; gap: 80px; max-width: 1496px; margin-top: 60px; padding-left: 30px; }
.gp-small__info { flex: 0 1 auto; min-width: 0; }
.gp-small__title { font-size: clamp(24px, 1.67vw, 32px); font-weight: 600; line-height: 1.5; color: var(--gp-blue-800); }
.gp-small__list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-left: 36px; list-style: disc; font-size: clamp(17px, 1.25vw, 24px); line-height: 1.4; color: var(--gp-ink); }
.gp-small__list strong { font-weight: 600; }
.gp-fields { display: flex; align-items: flex-start; gap: 30px; margin-top: 50px; padding-left: 20px; }
.gp-fields__label { flex: none; font-size: 18px; line-height: 1.4; color: var(--gp-gray-600); }
.gp-fields__list { display: flex; flex-wrap: wrap; }
.gp-fields__list li { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; width: 180px; min-height: 90px; padding: 0 20px 16px; border-left: 1px solid #e5e7eb; }
.gp-fields__list li:first-child { width: 140px; padding-left: 0; border-left: 0; }
.gp-fields__list span { align-self: stretch; font-size: 18px; line-height: 1.5; color: #1f2937; }
.gp-fields__list img { width: 40px; height: 40px; }

/* ============================================================
   GP-06 수행 이력
   ============================================================ */
.gp-record { position: relative; padding: clamp(80px, 7.3vw, 140px) 0; background: #fff url('../pages/government-programs/record-bg.webp') center bottom / cover no-repeat; }
.gp-record::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); pointer-events: none; }
.gp-record .gp-inner { position: relative; }
.gp-record__grid { display: grid; grid-template-columns: repeat(4, clamp(150px, 13.5vw, 260px)); justify-content: center; gap: clamp(16px, 1.67vw, 32px); margin-top: 88px; }
.gp-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 1; padding: 20px; border-radius: 50%; background: #fff; box-shadow: 0 12px 32px rgba(37,99,235,.08); text-align: center; color: var(--gp-blue-800); }
.gp-badge img { width: clamp(40px, 2.9vw, 56px); height: clamp(40px, 2.9vw, 56px); }
.gp-badge span { font-size: clamp(16px, 1.2vw, 23px); font-weight: 600; line-height: 1.5; letter-spacing: -0.4px; }
.gp-badge--blue { background: var(--gp-blue-500); color: #fff; box-shadow: none; }
.gp-badge--sky { background: var(--gp-blue-400); color: #fff; box-shadow: none; }

/* ============================================================
   GP-07 진행절차
   ============================================================ */
.gp-steps { padding: clamp(80px, 7.8vw, 150px) 0; background: var(--gp-soft); }
.gp-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 70px; max-width: 1640px; margin: 70px auto 0; }
.gp-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid #dfe6f0; border-radius: 24px; background: #fff; box-shadow: 0 8px 12px rgba(37,99,235,.08); }
.gp-step__head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.gp-step__num { display: inline-flex; align-items: center; justify-content: center; padding: 6px 13px; border-radius: 999px; background: rgba(169,189,230,.2); font: 600 24px/1 var(--gp-font); color: #a9bde6; }
.gp-step__icon { width: 32px; height: 32px; }
.gp-step__label { margin-top: 28px; font-size: clamp(22px, 1.46vw, 28px); font-weight: 500; line-height: 1.5; color: #151a21; }
.gp-step__desc { margin-top: 10px; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.4; color: #6b7280; }
/* 카드 사이 화살표 — 카드 오른쪽 바깥 가운데 */
.gp-step__arrow { position: absolute; right: -60px; top: 50%; width: 50px; height: 50px; padding: 10.7px; border: 1.786px solid #dfe6f0; border-radius: 50%; background: #fff; transform: translateY(-50%); box-sizing: border-box; }
/* 줄 끝(3번째) 카드는 다음 줄로 넘어가므로 화살표 없음 */
.gp .gp-step:nth-child(3n) .gp-step__arrow { display: none; }
.gp-step--last { border-color: var(--gp-blue-600); background: var(--gp-blue-600); box-shadow: 0 12px 14px rgba(37,99,235,.28); }
.gp-step--last .gp-step__num { background: rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.gp-step--last .gp-step__label { color: #fff; }
.gp-step--last .gp-step__desc { color: rgba(255,255,255,.85); }

/* ============================================================
   GP-08 문의 CTA
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1600px) {
  .gp-fields__list li { width: 150px; }
  .gp-fields__list li:first-child { width: 120px; }
}

@media (max-width: 1280px) {

  .gp-program { gap: 48px; }
  .gp-small__body { gap: 48px; }
}

@media (max-width: 1024px) {
  .gp-program, .gp-small__body { flex-direction: column; align-items: flex-start; }
  .gp-program, .gp-small__body { padding-left: 0; }
  .gp-orb { width: 200px; height: 200px; border-width: 18px; }
  .gp-orb img { width: 107px; height: 109px; }
  .gp-orb--design { width: 168px; height: 168px; border-width: 16px; }
  .gp-orb--design img { width: 83px; height: 84px; }
  .gp-program__foot { margin-top: 40px; }
  .gp-row, .gp-row--reverse { flex-direction: column; padding: 0; }
  .gp-row__media { flex: none; width: 100%; aspect-ratio: 16 / 10; }
  .gp-row__panel { padding: 40px var(--section-px) 48px; }
  .gp-row__head > div { padding-top: 30px; }
  .gp-chips { padding-left: 0; }
  .gp-head--split { flex-direction: column; align-items: flex-start; }
  .gp-small__body { margin-top: 56px; }
  .gp-small__info { align-self: stretch; }
  .gp-fields { flex-direction: column; gap: 16px; padding-left: 0; }
  .gp-record__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
  .gp-badge { padding: 12px; gap: 8px; }
  .gp-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gp .gp-step__arrow { display: none; }
  .gp-small__line { margin-top: 72px; }
  .gp-deco-wrap { display: none; }
}

@media (max-width: 768px) {
  body { padding-top: 64px; }
  .gp-hero { min-height: 360px; padding-bottom: 40px; }
  .gp-hero__sub { margin-top: 12px; }
  .gp-intro__lead br { display: none; }
  .gp-program__eyebrow { font-size: 18px; }
  .gp-program__desc { font-size: 16px; }
  .gp-program { padding-top: 64px; padding-bottom: 64px; }
  .gp-program__foot { flex-direction: column; align-items: flex-start; }
  .gp-finder__box { width: min(266px, 100%); }
  .gp-link-pill { gap: 16px; padding: 13px 18px 13px 22px; font-size: 16px; white-space: normal; }
  .gp-media__rows { margin-top: 48px; }
  .gp-types { padding-top: 0; }
  .gp-type { flex: 1 1 100%; padding: 16px 20px; }
  .gp-type__name { font-size: 18px; }
  .gp-type ul { font-size: 16px; }
  .gp-chips { gap: 8px; }
  .gp-chips li { padding: 10px 16px; font-size: 15px; }
  .gp-head__desc br { display: none; }
  .gp-video__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .gp-card__media { height: auto; aspect-ratio: 16 / 9; }
  .gp-card p { padding: 20px 22px 22px; }
  .gp-deco, .gp-deco-num { display: none; }

  .gp-small__title { font-size: 21px; }
  .gp-small__list { padding-left: 22px; }
  .gp-fields__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; row-gap: 16px; }
  .gp-fields__list li, .gp-fields__list li:first-child { width: auto; min-height: 84px; padding: 0 12px 8px; border-left: 1px solid #e5e7eb; }
  .gp-fields__list li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .gp-fields__list span { font-size: 16px; }
  .gp-record__grid { grid-template-columns: repeat(2, minmax(0, 150px)); gap: 14px; margin-top: 48px; }
  .gp-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
  .gp-step { padding: 24px 18px; border-radius: 18px; }
  .gp-step__label { margin-top: 20px; font-size: 19px; }
  .gp-step__desc { font-size: 15px; }
  .gp-step__num { font-size: 19px; }
  .gp-step__icon { width: 26px; height: 26px; }
  .gp-small__line { margin-top: 56px; }
}

@media (max-width: 360px) {
  .gp-steps__list { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .gp-record__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gp-badge span { font-size: 15px; }
  .gp-fields__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-fields__list li:nth-child(3n + 1) { border-left: 1px solid #e5e7eb; padding-left: 12px; }
  .gp-fields__list li:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-js .gp-reveal { opacity: 1; transform: none; transition: none; }
  .gp-link-pill { transition: none; }
}

/* 섹션 번호 보기 — government-programs.html?sections */
.gp-show-sections [data-section] { position: relative; outline: 2px dashed rgba(255,96,135,.6); outline-offset: -2px; }
.gp-show-sections [data-section]::before { content: attr(data-section); position: absolute; top: 8px; left: 8px; z-index: 50; padding: 4px 10px; border-radius: 6px; background: #ff6087; color: #fff; font: 700 14px/1.2 'Inter', sans-serif; letter-spacing: .5px; pointer-events: none; }
