/* ==========================================================================
   SUB — 정밀제조사업부 서브 페이지 공통 컴포넌트 (정밀제조 전용, 총기사업부에는 없음)
   head.sub.php 에서 layout.css(5) 다음 순서(6)로 로드 → 페이지 CSS(10) 가 덮어씀
   .sub-lead · .sub-text   : 국문 리드 문구 60/72 Bold · 본문 26/38 (정밀주조 · 설비현황 · 주조품소개 · 회사소개 · 연혁)
   .sub-hero               : 페이지 타이틀 아래 풀폭 비주얼 1920×772 (정밀주조 · 설비현황)
   .sub-intro              : 섹션 타이틀 + 리드 + 본문(하단 구분선) 묶음 (정밀주조 · 설비현황)
   .img-card               : 둥근 이미지 + 회색 라벨 카드 (정밀주조 공정 흐름 · 설비현황 측정기)
                             --card-label-h · --card-label-gap 은 공정 화살표 위치 계산에도 사용
   ========================================================================== */

/* 리드 문구 · 본문 타이포 ---------------------------------------------------- */
.sub-lead { font-weight: 700; font-size: 60px; line-height: 72px; letter-spacing: -.025em; }
.sub-text { font-size: 26px; line-height: 38px; letter-spacing: -.025em; }

/* 상단 풀폭 비주얼 ----------------------------------------------------------- */
.sub-hero { margin-top: 80px; }
.sub-hero img { width: 100%; height: auto; aspect-ratio: 1920 / 772; object-fit: cover; }

/* 소개 (타이틀 → 리드 → 본문 + 하단 구분선) ------------------------------------ */
.sub-intro { padding-top: 150px; }
.sub-intro__quote { margin-top: 49px; }
.sub-intro__desc { margin-top: 43px; padding-bottom: 73px; border-bottom: 1px solid #aeafb0; }

/* 이미지 + 라벨 카드 --------------------------------------------------------- */
.img-card { --card-label-h: 57px; --card-label-gap: 14px; }
.img-card__img { position: relative; overflow: hidden; border-radius: 10px; background: var(--c-bg-gray); }
.img-card__img img { width: 100%; height: auto; object-fit: cover; }
.img-card__name {
  display: grid;
  place-items: center;
  min-height: var(--card-label-h);
  margin-top: var(--card-label-gap);
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--c-bg-gray);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -.025em;
  text-align: center;
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1599px) {
  .sub-lead { font-size: 52px; line-height: 64px; }
  .sub-text { font-size: 22px; line-height: 34px; }
  .img-card__name { font-size: 22px; }
}
@media (max-width: 1279px) {
  .sub-lead { font-size: 44px; line-height: 56px; }
  .sub-text { font-size: 20px; line-height: 32px; }
  .sub-hero { margin-top: 60px; }
  .sub-intro { padding-top: 100px; }
  .sub-intro__quote { margin-top: 36px; }
  .sub-intro__quote br { display: none; }
  .sub-intro__desc { margin-top: 32px; padding-bottom: 60px; }
  .img-card { --card-label-h: 50px; --card-label-gap: 10px; }
  .img-card__name { font-size: 19px; }
}
@media (max-width: 1023px) {
  .sub-lead { font-size: 36px; line-height: 48px; }
  .sub-text { font-size: 18px; line-height: 29px; }
  .sub-intro { padding-top: 80px; }
  .img-card__name { font-size: 18px; }
}
@media (max-width: 767px) {
  .sub-lead { font-size: 28px; line-height: 38px; }
  .sub-text { font-size: 16px; line-height: 26px; }
  .sub-hero { margin-top: 40px; }
  .sub-hero img { min-height: 220px; }
  .sub-intro { padding-top: 64px; }
  .sub-intro__quote { margin-top: 24px; }
  .sub-intro__desc { margin-top: 20px; padding-bottom: 48px; }
  .sub-intro__desc p + p { margin-top: 8px; }
  .img-card { --card-label-h: 48px; }
}
