/* BALOKA V10 — targeted desktop/mobile responsiveness.
   Keeps the banner source intact and preserves existing operational logic. */
:root {
  --baloka-v10-navy: #102e4e;
  --baloka-v10-gold: #cc8f43;
}
html body .hero {
  background: linear-gradient(110deg, #fdf8f0 0%, #f8f2e6 37%, #e1eef2 100%) !important;
}
html body .hero .hero-grid {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
}
html body .bl-v8-hero {
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  background: #fffaf2;
  box-shadow: 0 12px 42px rgba(12, 42, 61, .06);
}
html body .bl-v8-hero > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1681 / 936 !important;
  object-fit: contain !important;
  object-position: center !important;
}
html body .bl-v8-mobile {
  display: none;
}
html body .bl-v8-hotspot {
  left: 6.8% !important;
  top: 49.9% !important;
  width: 22.1% !important;
  height: 8.5% !important;
}
html body #menu {
  scroll-margin-top: 90px !important;
}
@media (min-width: 1450px) {
  html body .hero .hero-grid,
  html body .bl-v8-hero {
    max-width: 1260px !important;
  }
  html body .bl-v8-hero {
    border-left: 1px solid rgba(24, 59, 85, .05);
    border-right: 1px solid rgba(24, 59, 85, .05);
  }
}
@media (min-width: 721px) and (max-width: 1000px) {
  html body header.top .nav .links {
    gap: 14px !important;
  }
  html body header.top .nav .links a {
    font-size: 13px !important;
  }
}
@media (max-width: 720px) {
  html body header.top {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
  }
  html body header.top .nav,
  html body header.top .wrap.nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 10px 8px !important;
    padding: 10px 14px 8px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  html body header.top .nav .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    font-size: 23px !important;
    margin: 0 !important;
    white-space: nowrap;
    line-height: 1.1 !important;
  }
  html body header.top .nav .brand small {
    font-size: 8px !important;
    margin-top: 3px !important;
    letter-spacing: 1.4px !important;
  }
  html body header.top .nav > a.btn {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  html body header.top .nav .links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    padding: 7px 0 2px !important;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  html body header.top .nav .links a {
    display: inline-flex !important;
    font-size: 12px !important;
    min-height: 28px;
    align-items: center;
    white-space: nowrap !important;
  }
  html body .hero {
    background: #fffaf3 !important;
  }
  html body .bl-v8-hero {
    display: flex !important;
    flex-direction: column !important;
    max-width: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  html body .bl-v8-hero > img {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: right center !important;
    background: #f2e4d1;
  }
  html body .bl-v8-mobile {
    order: 1 !important;
    display: block !important;
    background: #fffaf3 !important;
    text-align: center !important;
    padding: 23px 18px 20px !important;
    color: var(--baloka-v10-navy) !important;
  }
  html body .bl-v8-mobile h1 {
    font-size: clamp(30px, 8.5vw, 40px) !important;
    line-height: 1.1 !important;
    margin: 0 0 10px !important;
    letter-spacing: -.03em !important;
  }
  html body .bl-v8-mobile h1 strong {
    color: #bf8138 !important;
  }
  html body .bl-v8-mobile p {
    margin: 0 auto 14px !important;
    max-width: 360px !important;
    color: #465b6c !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body .bl-v8-mobile a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--baloka-v10-gold) !important;
    min-height: 45px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    padding: 10px 26px !important;
    font-weight: 800 !important;
  }
  html body .bl-v8-hotspot {
    display: none !important;
  }
  html body #menu {
    scroll-margin-top: 115px !important;
  }
  html body .section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}
@media (max-width: 365px) {
  html body header.top .nav .brand {
    font-size: 21px !important;
  }
  html body header.top .nav > a.btn {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
