@media(max-width:900px){.container{width:min(100% - 28px,720px)}.primary-nav{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;border-bottom:1px solid #e8ebf0;padding:15px}.primary-nav.is-open{display:block}.primary-nav ul{flex-direction:column;gap:0}.primary-nav li a{display:block;padding:11px 7px}.menu-toggle{display:block}.location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:1fr}.article-sidebar{display:none}.content-layout{grid-template-columns:1fr}.site-sidebar{display:none}}@media(max-width:600px){.container{width:calc(100% - 24px)}.hero{padding:65px 0 55px}.hero h1{font-size:2.35rem}.location-search{display:block;padding:6px}.location-search input{width:100%;padding:13px}.location-search button{width:100%;margin-top:5px}.explorer-section,.locations-section{padding:50px 0}.map-placeholder{min-height:300px}.location-grid{grid-template-columns:1fr;gap:18px}.footer-grid{grid-template-columns:1fr}.article-header h1{font-size:2.25rem}.featured-media{margin:20px 0;border-radius:12px}.article-content{font-size:1rem}.site-main{padding-top:20px}.section-heading{display:block}}
.menu-toggle span{display:block;width:22px;height:2px;margin:4px 0;background:currentColor;border-radius:2px}

@media(max-width:600px){.gmg-review-item,.gmg-comment-item{padding:13px}.gmg-comment-form .submit{width:100%}}

/* HiddenMap 2.5.5 - mobile GMG cards match the clean Jam/Fasilitas/Menu width */
@media(max-width:600px){
  .gmg-side-column{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    gap:12px!important;
    box-sizing:border-box!important;
  }
  .gmg-side-card{
    width:calc(100% - 10px)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:5px!important;
    margin-right:5px!important;
    box-sizing:border-box!important;
    border-left:1px solid #dfe7ee!important;
    border-right:1px solid #dfe7ee!important;
    border-radius:12px!important;
  }
  html[data-theme="dark"] .gmg-side-card{
    border-left-color:#2b3948!important;
    border-right-color:#2b3948!important;
  }
}


/* HiddenMap 2.5.6 - align GMG main content with the mobile side cards */
@media(max-width:600px){
  /* Keep image, title, description and visitor/Google review cards on the
     same 5px left/right boundary as Jam Operasional/Fasilitas/Menu. */
  .gmg-main-column{
    width:calc(100% - 10px)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:5px!important;
    margin-right:5px!important;
    box-sizing:border-box!important;
  }

  .gmg-gallery,
  .gmg-title-card,
  .gmg-description,
  .gmg-google-reviews,
  .gmg-visitor-reviews{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Show the grabbed featured image without cropping it on phones. */
  .gmg-gallery-main{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
  }

  .gmg-gallery-main img{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .gmg-gallery-empty{
    min-height:220px!important;
    height:220px!important;
  }
}


/* HiddenMap 2.5.8 - mobile margin control + taller featured image */
@media(max-width:600px){
  .gmg-main-column,
  .gmg-side-column{
    width:calc(100% - var(--hm-mobile-margin,5px) - var(--hm-mobile-margin,5px)) !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:var(--hm-mobile-margin,5px) !important;
    margin-right:var(--hm-mobile-margin,5px) !important;
    box-sizing:border-box !important;
  }

  .gmg-side-card{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  .gmg-gallery,
  .gmg-title-card,
  .gmg-description,
  .gmg-google-reviews,
  .gmg-visitor-reviews{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  /* Taller mobile gallery while keeping the whole source image visible. */
  .gmg-gallery-main{
    width:100% !important;
    height:300px !important;
    min-height:300px !important;
    aspect-ratio:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
  }

  .gmg-gallery-main img{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center !important;
    display:block !important;
  }
}

/* HiddenMap Header V2 responsive — preserve existing mobile search */
@media(max-width:900px){
  .hm-location-selector{display:block!important;position:relative;flex:0 0 40px;width:40px;order:2}
  .hm-header-search-form,.hm-header-links{display:none!important}
  .header-inner{gap:8px}
  .site-branding{min-width:0}
  .site-logo{max-width:180px}
  .header-actions{margin-left:auto}

  .hm-location-trigger{width:40px!important;min-height:40px!important;height:40px!important;padding:0!important;border-radius:10px!important;justify-content:center!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
  .hm-location-pin{width:24px!important;height:24px!important;flex:0 0 24px!important}
  .hm-location-pin svg{width:23px!important;height:23px!important}
  .hm-location-copy,.hm-location-chevron{display:none!important}
  .hm-location-dropdown{top:calc(100% + 7px);left:50%;transform:translateX(-50%);width:310px;max-width:calc(100vw - 24px);border-radius:12px}
}


/* HiddenMap V2.5.24 - mobile location sits immediately left of search icon */
@media(max-width:900px){
  .hm-location-selector{order:1!important;margin-right:-3px!important}
  .header-actions{order:2!important;margin-left:0!important}
}

/* HiddenMap V2.5.26 - mobile header actions aligned as one compact group */
@media(max-width:900px){
  .header-inner{
    justify-content:flex-start!important;
    gap:0!important;
  }
  .hm-location-selector{
    order:1!important;
    margin-left:auto!important;
    margin-right:10px!important;
    flex:0 0 40px!important;
    width:40px!important;
  }
  .header-actions{
    order:2!important;
    margin-left:0!important;
    gap:10px!important;
    display:flex!important;
    align-items:center!important;
  }
  .header-actions .header-icon,
  .header-actions .menu-toggle{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    padding:0!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
  }
  .header-actions .header-icon svg{
    width:21px!important;
    height:21px!important;
  }
  .header-actions .menu-toggle span:not(.screen-reader-text){
    width:22px!important;
    height:2px!important;
  }
}

/* HiddenMap V2.5.27 - restore clean mobile hamburger */
@media(max-width:900px){
  .header-actions .menu-toggle{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
  }
  .header-actions .menu-toggle span:not(.screen-reader-text){
    display:block!important;
    width:22px!important;
    height:2px!important;
    margin:0!important;
    padding:0!important;
    border-radius:2px!important;
    flex:0 0 2px!important;
  }
}

@media (max-width: 600px) {

    /* Ikuti lebar content standar theme */
    .spotly-submit-page {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 18px 0 45px;
    }

    .spotly-submit-card,
    .spotly-promo {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

}

/* Mobile Business CTA */
.hm-mobile-business-cta{
    display:none;
}

@media (max-width:600px){

    .hm-mobile-business-cta{
        display:block;
        width:100%;
        padding:10px 12px;
        background:#fff;
        border-bottom:1px solid #e5e9ea;
        box-sizing:border-box;
    }

    .hm-mobile-business-cta a{
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        min-height:42px;
        padding:10px 16px;
        box-sizing:border-box;
        border-radius:9px;
        background:#0b968f;
        color:#fff;
        text-decoration:none;
        font-size:14px;
        font-weight:700;
        line-height:1;
    }

    .hm-mobile-business-cta a:hover{
        color:#fff;
        background:#087c76;
    }
}