/* 치아미백 — 시안 전용 레이어.
   공통 레이어(newn-figma-2nd.css)에 없는 치수만 적는다. 공통 레이어는 고치지 않는다. */

/* ── 섹션 바탕과 위아래 여백 ───────────────────────── */
.fg14-sec--def     { background: #ffffff; padding: 170px 0; }
.fg14-sec--point   { background: #f7fbfa; padding: 140px 0; }
.fg14-sec--target  { background: #ffffff; padding: 130px 0 160px; }
.fg14-sec--special { background: #f7fbfa; padding: 170px 0 277px; }

/* ── 정의 — 머리 아래 사진 ─────────────────────────── */
.fg14-defmedia { margin-top: 60px; }
.fg14-defmedia__img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  background: rgba(0, 0, 0, 0.06);
}

/* ── 미백 종류 3단 ─────────────────────────────────── */
.fg14-types { display: flex; gap: 26px; align-items: center; margin-top: 60px; }
.fg14-type { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.fg14-type__media {
  width: 100%;
  height: 326px;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  background: rgba(0, 0, 0, 0.06);
}
/* 사진과 글상자 사이가 붙어 있다 — 테두리는 안쪽으로 그어 상자 크기를 바꾸지 않는다 */
.fg14-type__body {
  padding: 22px 30px;
  background: #ffffff;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

/* ── 추천 대상 — 2행 3칸 ───────────────────────────── */
.fg14-targets { display: flex; flex-direction: column; gap: 14px; margin-top: 60px; }
.fg14-targets__row { display: flex; gap: 14px; }
.fg14-target {
  flex: 1 1 0;
  min-width: 0;
  padding: 30px;
  background: #f7fbfa;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

/* ── 특별함 — 머리 아래 카드 줄 ────────────────────── */
/* 공통 줄(.fg2-rail)의 아래 여백은 시안 높이를 넘기므로 이 지면에서만 없앤다 */
.fg14-rail { margin-top: 60px; padding-bottom: 0; scrollbar-width: none; }
.fg14-rail::-webkit-scrollbar { height: 0; }

/* ── 좁은 화면 ─────────────────────────────────────
   폰에서는 넓은 여백과 고정 높이를 줄인다. 가로로 미는 줄은 그대로 둔다. */
@media (max-width: 1023px) {
  .fg14-sec--def,
  .fg14-sec--point,
  .fg14-sec--target,
  .fg14-sec--special { padding: 56px 0; }
  .fg14-defmedia { margin-top: 28px; }
  .fg14-defmedia__img { height: 200px !important; }
  .fg14-types { flex-direction: column; gap: 20px; margin-top: 28px; align-items: stretch; }
  .fg14-type__media { height: 220px !important; }
  .fg14-type__body { padding: 20px 22px; }
  .fg14-targets { margin-top: 28px; gap: 12px; }
  .fg14-targets__row { flex-direction: column; gap: 12px; }
  .fg14-target { padding: 20px; }
  .fg14-rail { margin-top: 28px; }
}

/* ── 색 — 사이트 공통 톤. 치수는 건드리지 않는다 ─── */
.fg14 .fg2-head__label,
.fg14 .fg2-head__title { color: #1f5f57; }
.fg14 .fg2-head__lead { color: #6b6b6b; }

/* ── 폰 폭 — 섹션 머리와 여백을 한 벌로 ─────────── */
@media (max-width: 767px) {
  .fg14-sec--def, .fg14-sec--point, .fg14-sec--target, .fg14-sec--special { padding: 64px 0 72px; }
  .fg14 .fg2-head { gap: 12px; }
  .fg14 .fg2-head__body { gap: 6px; }
  .fg14 .fg2-head__label { letter-spacing: 2.4px; }
  .fg14 .fg2-head__title { font-size: 24px; line-height: 34px; font-weight: 700; letter-spacing: -0.4px; }
  .fg14 .fg2-head__lead { font-size: 15px; line-height: 24px !important; }
  .fg14-defmedia, .fg14-types, .fg14-targets, .fg14-rail { margin-top: 36px; }
}
