/* ISAC ONE · land-fluid (2026-09-07)
   목적: 원본 front.css 무수정 오버라이드 — 어떤 배율/폭에서도 배경·글씨·여백이 급변하지 않게.
   원인: 원본은 breakpoint(1200) 하나 + 고정 px + 100vh 비주얼이라 배율마다 확대/축소가 제각각.
   원칙: 데스크톱(1201px~)에만 적용해 모바일 원본 동작은 그대로 둔다. */

@media (min-width: 1201px) {

  /* 1) 메인 비주얼 — 화면높이(100vh) 고정 → 폭 비례. 배율 바꿔도 배경 잘림이 부드럽게 변함 */
  /* 1) 메인 비주얼 — 원본처럼 화면 높이 꽉 참 (사장님 09-17: "들어오면 전체화면에 꽉 차게 이미지, 아래에 이동 버튼"). 09-07의 46vw 축소는 되돌림 */
  .main .visual1 .swiper-slide { height: 100vh !important; }

  /* 2) 서브페이지 헤드 — 680px 고정 → 폭 비례 (배경 과확대/과축소 해소) */
  .sub-head { height: clamp(400px, 35vw, 680px) !important; }
  .sub-head h2 {
    font-size: clamp(32px, 3.4vw, 56px) !important;
    left: clamp(24px, 3vw, 40px) !important;
    bottom: clamp(30px, 4.4vw, 60px) !important;
  }

  /* 3) 메인 비주얼 카피 — 고정 60px → 폭 비례 */
  .main .visual1 .txt-box .t1 { font-size: clamp(30px, 3.6vw, 60px) !important; }
  .main .visual1 .txt-box .t2 { font-size: clamp(13px, 1.1vw, 18px) !important; }

  /* 4) 헤더 메뉴 — 9개 항목이 어느 폭에서도 로고와 안 겹치게 (기존 front.css 끝 패치 통합·대체) */
  header nav ul li { padding: 0 clamp(6px, 0.8vw, 16px); }
  header nav ul li a { font-size: clamp(11px, 0.85vw, 12px); }

  /* 5) 본문 칸 상하 여백 — 240px/200px 고정 → 폭 비례 (중간 배율에서 "칸이 너무 큰" 느낌 해소) */
  .container { padding-top: clamp(110px, 12vw, 200px); }
  .curi .container,
  .learning .container {
    padding-top: clamp(120px, 13vw, 240px) !important;
    padding-bottom: clamp(120px, 13vw, 240px) !important;
  }
}

/* 넘침 보정(9/7 감사): 연혁 슬라이더·장식 요소가 화면 밖으로 삐져도 가로 스크롤 미발생 */
@media (min-width: 1201px) {
  html, body { overflow-x: clip; }
  .history, .history .swiper-container { overflow: hidden; }
}
