/* 축소 비주얼 공통 기준: 390px 비주얼 - 70px 본문 오버랩 = 본문 시작 320px. */
body.is-sheet-up .interactive-hero-stage,
body.products-list .prod-list-hero-stage,
body.suite-page .suite-hero {
  height: 390px;
  min-height: 390px;
  padding: 176px 0 70px;
  box-sizing: border-box;
}

body.is-sheet-up #whiteSheet,
body.products-list #whiteSheet,
body.suite-page #whiteSheet {
  display: flow-root;
  margin-top: -70px !important;
  padding-top: 0;
}

body.is-sheet-up .hero-col-left { width: 42%; }
body.is-sheet-up .hero-col-right { min-width: 0; }
body.is-sheet-up .hero-main-title,
body.products-list .prod-list-hero-stage .hero-main-title,
body.suite-page .suite-hero h1 {
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.1;
}
body.is-sheet-up .hero-official-p {
  font-size: 16px;
  line-height: 1.65;
}
body.products-list .product-search label,
body.suite-page .suite-search label { font-size: 18px; margin-bottom: 12px; }
body.products-list .product-search-hint { margin-top: 8px; }

body.is-sheet-up .sheet-handle-bar,
body.products-list .sheet-handle-bar,
body.suite-page .sheet-handle-bar { margin-top: 14px; }
body.is-sheet-up .sandvik-breadcrumb,
body.products-list .sandvik-breadcrumb,
body.suite-page .suite-breadcrumb { margin-top: 18px; margin-bottom: 24px; }
body.is-sheet-up #whiteSheet > section:first-of-type { padding-top: 24px; }
body.products-list .product-subcategories,
body.suite-page .suite-filters { margin-bottom: 24px; }

/* 회사소개 단일 열에서 기존 12열 span으로 생기는 가로 넘침을 방지한다. */
@media (max-width: 1024px) {
  body.company-about .ceo-content-col,
  body.company-about .ceo-photo-col { grid-column: 1 / -1; min-width: 0; }
  .sandvik-cta-grid .cta-text-col,
  .sandvik-cta-grid .cta-btn-col { grid-column: 1 / -1; min-width: 0; }
}

/* 태블릿에서도 축소 상태의 좌우 두 열을 유지한다. */
@media (min-width: 769px) and (max-width: 1024px) {
  body.is-sheet-up .hero-split-grid { flex-direction: row; gap: 24px; }
  body.is-sheet-up .hero-col-left { min-width: 0; align-items: flex-start; text-align: left; }
  body.is-sheet-up .hero-main-title { text-align: left; margin-bottom: 0; }
}

/* 모바일: 기본 본문 시작 280px. 여러 줄 제목은 자연스럽게 높이가 늘어난다. */
@media (max-width: 768px) {
  body.is-sheet-up .interactive-hero-stage,
  body.products-list .prod-list-hero-stage,
  body.suite-page .suite-hero {
    height: auto;
    min-height: 316px;
    padding: 142px 0 52px !important;
  }
  body.is-sheet-up #whiteSheet,
  body.products-list #whiteSheet,
  body.suite-page #whiteSheet { margin-top: -36px !important; border-radius: 28px 28px 0 0; }
  body.is-sheet-up .hero-split-grid,
  body.products-list .prod-list-hero-stage .hero-split-grid,
  body.suite-page .suite-hero-grid { gap: 16px; align-items: stretch; }
  body.is-sheet-up .hero-col-left { width: 100%; align-items: flex-start; text-align: left; }
  body.is-sheet-up .hero-main-title,
  body.products-list .prod-list-hero-stage .hero-main-title,
  body.suite-page .suite-hero h1 { font-size: 32px; line-height: 1.15; text-align: left; margin-bottom: 0; }
  body.is-sheet-up .hero-col-right { width: 100%; }
  body.is-sheet-up .hero-official-p { font-size: 16px; line-height: 1.55; }
  body.products-list .product-search label,
  body.suite-page .suite-search label { font-size: 16px; margin-bottom: 10px; }
  body.is-sheet-up .sandvik-breadcrumb,
  body.products-list .sandvik-breadcrumb,
  body.suite-page .suite-breadcrumb { margin-top: 16px; margin-bottom: 20px; }
  body.is-sheet-up #whiteSheet > section:first-of-type { padding-top: 20px; }
  body.products-list .product-subcategories,
  body.suite-page .suite-filters { margin-bottom: 20px; }
}


/* 카탈로그의 공장등록·ISO·KS 3종 구성을 유지한다. */
body.technology-patents .cert-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.technology-patents .cert-clean-frame { height: 280px; box-sizing: border-box; }
body.technology-patents .cert-clean-frame a { display: flex; width: 100%; height: 100%; min-width: 0; align-items: center; justify-content: center; }
body.technology-patents .cert-clean-frame img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.iso-cert-switch { display: flex; justify-content: center; gap: 18px; margin: 8px 0 12px; }
.iso-cert-switch button { padding: 4px 0 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #64748b; font: inherit; font-size: 14px; cursor: pointer; }
.iso-cert-switch button[aria-pressed="true"] { border-bottom-color: #6eb92b; color: #0f172a; font-weight: 700; }
.iso-cert-switch button:focus-visible { outline: 2px solid #6eb92b; outline-offset: 3px; }
.iso-cert-pdf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 12px; }
.iso-cert-pdf-links a { font-size: 13px; color: #475569; text-underline-offset: 4px; text-decoration: underline; }
.iso-cert-pdf-links a:hover { color: #4d9420; }
@media (min-width: 769px) and (max-width: 1024px) {
  body.technology-patents .cert-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.technology-facility .caption-idx { display: none; }
.product-split-item:focus-visible { outline: 2px solid #6eb92b; outline-offset: -2px; }
@media (max-width: 768px) {
  /* 전면 비주얼에서 숨겨진 우측 문구의 이동 효과가 화면 폭을 늘리지 않게 한다. */
  body:not(.is-sheet-up) .interactive-hero-stage .hero-col-right { display: none; }
  body:not(.is-sheet-up) .interactive-hero-stage .hero-main-title { font-size: clamp(36px, 9vw, 44px); max-width: 100%; overflow-wrap: anywhere; }
  body.technology-patents .cert-grid-3 { grid-template-columns: 1fr; }
  body.technology-patents .cert-clean-frame { height: 260px; }
  /* 제품소개 표지는 모든 공법을 같은 높이의 세로 패널로 제공한다. */
  body.product-fullpage-body .product-showcase-stage { height: auto; min-height: 0; padding-top: 64px; }
  body.product-fullpage-body .product-split-wrap,
  body.product-fullpage-body .product-split-list { height: auto; }
  body.product-fullpage-body .product-split-list { flex-direction: column; }
  body.product-fullpage-body .product-split-item,
  body.product-fullpage-body .product-split-item.active,
  body.product-fullpage-body .product-split-item:hover { flex: none; height: 280px; min-height: 280px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  body.product-fullpage-body .product-split-content { position: relative; top: auto; left: auto; transform: none; width: 100%; max-width: none; height: 100%; box-sizing: border-box; padding: 24px; align-items: flex-start; text-align: left; }
  body.product-fullpage-body .product-col-tit { order: 1; font-size: 26px; margin-bottom: 8px; }
  body.product-fullpage-body .product-col-en { order: 2; font-size: 11px; letter-spacing: 1.2px; margin-bottom: 12px; }
  body.product-fullpage-body .product-col-line { display: none; }
  body.product-fullpage-body .product-col-desc { order: 3; opacity: 1; transform: none; font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
  body.product-fullpage-body .product-col-btn-wrap { order: 4; opacity: 1; transform: none; }
  body.product-fullpage-body .product-col-btn { font-size: 13px; padding: 10px 22px; min-height: 44px; }
  body.product-fullpage-body .product-col-keywords { display: none; }
}
