/* ==========================================================================
   Facility Hero v4 (Subsidiary Intro, 2026-09-20): CTAs and the dark scrim
   both removed per feedback (no blue/dark mask over the photo, no button
   row) — the raw photo is the visual, H1 + location line are vertically
   centered over it. Text keeps a text-shadow for legibility since there is
   no scrim underneath it. Breadcrumb (.k2-crumb, immediately following
   this section) stays in normal document flow below the hero. New class
   names (facility-hero*) + #kg prefix: this file carries an ID-scoped
   "#kg h1{color:var(--kg-ink)!important}" rule that would otherwise beat a
   plain class h1 rule even with !important on both sides. Placed as its
   own <style> block right before the markup it styles so it always wins
   the cascade. Every property is !important for the same reason
   established elsewhere in this project: once pasted into the live
   GlobalSO CMS, the platform's own generic rules load too and win without it. */
#kg .facility-hero {
  position: relative !important;
  overflow: hidden !important;
  min-height: 440px !important;
  display: flex !important;
  align-items: center !important;
  background: #16181d !important;
}
#kg .facility-hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}
#kg .facility-hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
}
#kg .facility-hero-inner {
  position: relative !important;
  z-index: 2 !important;
  padding: 96px 24px 40px !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#kg .facility-hero-inner h1 {
  font-family: 'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic', system-ui, -apple-system, sans-serif !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  margin: 0 0 16px !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.55) !important;
  text-wrap: balance !important;
  max-width: none !important;
}
@media (min-width: 1100px) { #kg .facility-hero-inner h1 { white-space: nowrap !important; } }
#kg .facility-hero-inner .loc-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.92) !important;
  margin: 0 !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.55) !important;
}
#kg .facility-hero-inner .loc-line svg {
  width: 17px !important;
  height: 17px !important;
  fill: #c30d23 !important;
  flex-shrink: 0 !important;
}
@media (max-width: 900px) {
  #kg .facility-hero {
    min-height: 380px !important;
  }
  #kg .facility-hero-inner {
    padding: 88px 20px 32px !important;
  }
}
/* About-section photo repeat: shows the same facility photo again next to
   the intro copy, so the visual isn't confined to the hero alone. */
#kg .about-base-grid {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 48px !important;
  align-items: start !important;
}
#kg .about-base-media {
  border-radius:12px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(20,24,34,.12) !important;
  position: sticky !important;
  top: 130px !important;
}
#kg .about-base-media img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  #kg .about-base-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  #kg .about-base-media {
    position: static !important;
    order: -1 !important;
  }
  #kg .about-base-media img {
    aspect-ratio: 16 / 9 !important;
  }
}
