/* Bolapelangi Tebak Skor - Hero Frame Fix v3.2.6 */

/* Keep the same hero image source, but restore a proper cover frame instead of a boxy 1:1 feeling. */
.front-home .hero{
  position:relative !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:flex-start !important;
  width:100% !important;
  min-height:470px !important;
  margin:0 0 18px calc(50% - 50vw) !important;
  padding:24px max(18px, calc((100vw - 1120px)/2 + 18px)) 18px !important;
  border-radius:0 0 28px 28px !important;
  overflow:hidden !important;
  background:
    linear-gradient(180deg, rgba(2,8,15,.16) 0%, rgba(2,8,15,.18) 24%, rgba(2,8,15,.46) 58%, rgba(2,8,15,.78) 100%),
    var(--hero-bg) center 22% / cover no-repeat !important;
}

.front-home .hero::before,
.front-home .hero::after{
  display:none !important;
}

.front-home .hero-panel{
  width:100% !important;
  max-width:570px !important;
  margin:0 !important;
  padding:24px 22px 21px !important;
  border-radius:28px !important;
}

.front-home .hero h1{
  max-width:11ch !important;
}

/* keep the compact one-row mobile menu */
@media(max-width:768px){
  .front-home .header-menu-dynamic{
    width:calc(100% - 8px) !important;
    max-width:none !important;
    margin:6px auto 8px !important;
    padding:0 4px !important;
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:minmax(0,1fr) !important;
    gap:4px !important;
    overflow:visible !important;
  }

  .front-home .header-menu-dynamic a{
    min-width:0 !important;
    min-height:30px !important;
    height:30px !important;
    padding:4px 3px !important;
    font-size:clamp(7.6px,2.15vw,9.8px) !important;
    letter-spacing:-.02em !important;
  }

  .front-home .header-menu-dynamic a::before{
    width:5px !important;
    height:5px !important;
    min-width:5px !important;
  }

  .front-home .hero{
    min-height:430px !important;
    margin:0 0 16px calc(50% - 50vw) !important;
    padding:14px 14px 14px !important;
    border-radius:0 0 22px 22px !important;
    background:
      linear-gradient(180deg, rgba(2,8,15,.10) 0%, rgba(2,8,15,.14) 20%, rgba(2,8,15,.34) 48%, rgba(2,8,15,.70) 100%),
      var(--hero-bg) center 16% / cover no-repeat !important;
  }

  .front-home .hero-panel{
    max-width:100% !important;
    padding:20px 18px 18px !important;
    border-radius:24px !important;
  }

  .front-home .hero h1{
    max-width:none !important;
    font-size:clamp(22px,7.2vw,31px) !important;
    line-height:1.08 !important;
  }

  .front-home .hero p{
    font-size:13px !important;
    line-height:1.58 !important;
  }
}

@media(max-width:420px){
  .front-home .hero{
    min-height:410px !important;
    background-position:center 18% !important;
  }

  .front-home .hero-panel{
    padding:18px 16px 16px !important;
    border-radius:22px !important;
  }

  .front-home .header-menu-dynamic a{
    font-size:clamp(7.1px,2.05vw,8.8px) !important;
  }
}
