/* V18: Mobile-first hero by layout, not decoration.
   Direct, exact logo symbol in cartographic medallion. */
/* Exact cropped original logo mark, never a hand-drawn approximation. */
.forland-map-pin{background:#fff!important;border:2px solid #b9d3e8!important;box-shadow:0 5px 17px rgba(25,54,90,.24)!important}
.forland-map-pin .forland-tooth-glyph{display:block;width:38px;height:40px;max-width:38px;object-fit:contain;position:relative;z-index:1;filter:none}
.map-base{background-image:url('assets/kart-fallback.jpg')!important;background-size:cover!important;background-position:62% 55%!important}
.map-base img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:62% center!important}

@media(max-width:820px){
  /* Text-led hero: no detached oversized decorative tooth above the headline. */
  body[data-page="index.html"] .hero{
    background:#edf7ff;
    padding:clamp(34px,6.5vw,50px) 0 35px!important;
    min-height:0!important;
    border-bottom:1px solid #dceef9;
  }
  body[data-page="index.html"] .hero-layout{
    display:block!important;
    min-height:0!important;
    text-align:left!important;
    position:relative;
  }
  body[data-page="index.html"] .hero-copy{
    max-width:560px!important;
    width:100%!important;
    padding:0!important;
    text-align:left!important;
  }
  body[data-page="index.html"] .hero .eyebrow.with-line{
    display:inline-flex!important;
    align-items:center!important;
    gap:10px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:12px;
    font-weight:700;
    letter-spacing:.075em;
    color:#2C3B92;
    line-height:1.4;
    margin:0 0 23px!important;
  }
  body[data-page="index.html"] .hero .eyebrow.with-line::before{
    display:block!important;
    content:'';
    background:#4791CE;
    width:20px;
    height:2px;
    flex:none;
  }
  body[data-page="index.html"] .hero h1,
  body[data-page="index.html"] .hero h1 em{
    color:#2C3B92!important;
    text-align:left!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-weight:700!important;
    letter-spacing:-.045em!important;
    font-style:normal!important;
    line-height:1.12!important;
    white-space:normal!important;
    max-width:none!important;
  }
  body[data-page="index.html"] .hero h1{
    font-size:clamp(37px,7vw,51px)!important;
    margin:0 0 19px!important;
  }
  body[data-page="index.html"] .hero h1 em{display:block!important;font-size:inherit!important}
  body[data-page="index.html"] .hero-sub{
    text-align:left!important;
    font-size:clamp(17px,3vw,19px)!important;
    line-height:1.54!important;
    font-weight:400!important;
    color:#315d7d!important;
    max-width:34ch!important;
    margin:0!important;
  }
  body[data-page="index.html"] .hero-actions{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:16px 25px!important;
    width:100%!important;
    margin:27px 0 0!important;
  }
  body[data-page="index.html"] .hero-actions .button{
    border-radius:14px!important;
    min-width:165px!important;
    width:auto!important;
    min-height:52px!important;
    padding:13px 23px!important;
    font-size:16px!important;
    line-height:1.3!important;
    font-weight:700!important;
  }
  body[data-page="index.html"] .hero-actions .text-link{
    align-self:center!important;
    display:inline-flex!important;
    font-size:16px!important;
    font-weight:700!important;
    padding:8px 0 5px!important;
    color:#175b8a!important;
    margin:0!important;
    border-bottom:1px solid #8ab9d9;
    text-align:left!important;
    text-decoration:none!important;
  }
  body[data-page="index.html"] .hero-bottom{
    justify-content:flex-start!important;
    display:flex!important;
    text-align:left!important;
    font-size:13px!important;
    margin:29px 0 0!important;
    padding:17px 0 0!important;
    gap:0!important;
    border-top:1px solid #d2e5f2;
    color:#456983!important;
    letter-spacing:0!important;
  }
  body[data-page="index.html"] .hero-bottom .small-rule{display:none!important}
  body[data-page="index.html"] .hero-visual{display:none!important}
  body[data-page="index.html"] .hero-picture{display:none!important}
  body[data-page="index.html"] .hero-photo{display:none!important}
}
@media(max-width:580px){
  body[data-page="index.html"] .hero{padding:34px 0 30px!important}
  body[data-page="index.html"] .hero .eyebrow.with-line{font-size:11px;margin-bottom:20px!important}
  body[data-page="index.html"] .hero h1{font-size:clamp(35px,9.1vw,43px)!important;line-height:1.115!important;max-width:none!important;margin-bottom:17px!important}
  body[data-page="index.html"] .hero-sub{font-size:17px!important;max-width:33ch!important}
  body[data-page="index.html"] .hero-actions{gap:10px 19px!important;margin-top:25px!important;align-items:center!important}
  body[data-page="index.html"] .hero-actions .button{min-width:155px!important;min-height:50px!important;padding:12px 19px!important}
  body[data-page="index.html"] .hero-actions .text-link{font-size:15px!important}
  body[data-page="index.html"] .hero-bottom{font-size:12px!important;margin-top:25px!important;padding-top:15px!important}
}
@media(max-width:365px){
  body[data-page="index.html"] .hero h1{font-size:clamp(32px,9vw,36px)!important}
  body[data-page="index.html"] .hero-actions{gap:11px!important}
  body[data-page="index.html"] .hero-actions .button{width:100%!important}
  body[data-page="index.html"] .hero-actions .text-link{width:auto!important}
}
