/* Shared mobile navigation and responsive media. */
#mqv-experiences-v4 .mc-header{position:relative;z-index:20}
#mqv-experiences-v4 .mc-header-row,.mg .header-row{position:relative}

@media(max-width:850px){
  #mqv-experiences-v4 .mc-header{padding:17px 0}
  #mqv-experiences-v4 .mc-header-row{flex-wrap:nowrap;gap:12px}
  #mqv-experiences-v4 .mc-brand,.mg .header .brand{min-width:0;flex:1;gap:9px}
  #mqv-experiences-v4 .mc-brand img,.mg .header .brand img{width:43px;height:49px;flex-shrink:0;object-fit:contain}
  #mqv-experiences-v4 .mc-brand-name,.mg .header .brand span{font-size:clamp(18px,5.3vw,23px)}
  #mqv-experiences-v4 .mqv-menu,.mg .menu{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:62px;min-height:44px;padding:8px 15px;font-size:12px}
  #mqv-experiences-v4 .mqv-nav,.mg .nav{
    display:none;position:absolute;z-index:30;top:calc(100% + 12px);left:0;right:0;
    width:100%;max-width:100%;flex-basis:auto;flex-wrap:nowrap;gap:1px;
    padding:12px;background:#fff;color:#192d24;border:1px solid #d9dfd5;
    border-radius:19px;box-shadow:0 16px 30px #192d241a;
    max-height:calc(100vh - 150px);max-height:calc(100svh - 150px);overflow-y:auto;
  }
  #mqv-experiences-v4 .mqv-nav.mqv-nav-visible,.mg .nav.open{display:flex;flex-direction:column;align-items:stretch;gap:1px}
  #mqv-experiences-v4 .mqv-nav a,.mg .nav a{
    display:flex;align-items:center;flex-shrink:0;width:100%;min-height:48px;
    padding:12px 14px;margin:0;font-size:14px;line-height:1.5;
    border:0;border-bottom:1px solid #edf0e9;white-space:normal;text-align:left;
  }
  #mqv-experiences-v4 .mqv-nav a:last-child,.mg .nav a:last-child{
    min-height:48px;padding:12px 14px;margin-top:7px;border:0;border-radius:12px;
    background:#e1e9dc;font-size:14px;
  }
  #mqv-experiences-v4 .mqv-nav a:hover,.mg .nav a:hover{background:#f3f6f0;border-radius:10px}
  #mqv-experiences-v4 .mqv-nav a:focus-visible,.mg .nav a:focus-visible{outline-offset:-3px}
}

@media(max-width:620px){
  /* Give wide group photos room; show the whole image in the enlarged gallery. */
  .mg .feature-photo{min-height:0;aspect-ratio:4/3}
  .mg .feature-photo>img{inset:0;object-position:50% 50%}
  .mg .photo-caption{left:20px;right:20px;bottom:20px;font-size:23px}
  .mg .gallery-grid,.mg .gallery-grid.filtered{grid-template-columns:minmax(0,1fr);gap:22px}
  .mg .gallery-card,.mg .gallery-card.wide,.mg .gallery-card.video-card,
  .mg .gallery-grid.filtered .gallery-card,.mg .gallery-grid.filtered .gallery-card.wide{grid-column:1/-1}
  .mg .gallery-card img,.mg .gallery-card.short img,.mg .gallery-card.portrait img,
  .mg .gallery-card.wide img,.mg .gallery-grid.filtered .gallery-card img,
  .mg .gallery-grid.filtered .gallery-card.wide img{height:auto;aspect-ratio:auto;object-position:50% 50%}
  .mg .gallery-card.video-card img{height:auto;aspect-ratio:4/5;object-position:50% 45%}
  .mg .gallery-card figcaption{padding:13px 3px 7px}
  #mqv-experiences-v4 .mg .gallery-teasers{grid-template-columns:minmax(0,1fr)}
  #mqv-experiences-v4 .mg .gallery-teasers a{grid-column:1/-1}
  #mqv-experiences-v4 .mg .gallery-teasers img,
  #mqv-experiences-v4 .mg .gallery-teasers a:first-child img{height:auto;aspect-ratio:4/3;object-position:50% 50%}
}

/* Navigation stays within the selected category. */
.mg-lightbox button:disabled{opacity:.35;cursor:default}
