/* Contuhijo Core RC3 · Virtual Mundo Durundo hubs
   Only top-level virtual hubs (currently Fechas/Destinos) receive this layer.
   Catalogue/result pages keep the exact known-good VMON 3.8.1 Marga skin. */
body.cth-route--marga-hub{
  background:#f6f8fc;
}
body.cth-route--marga-hub .content.colibri-page-content{
  background:#f6f8fc!important;
}
body.cth-route--marga-hub .md-template{
  width:min(calc(100% - 36px),1240px)!important;
  padding:42px 0 84px!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child{
  margin:0 0 clamp(42px,6vw,72px)!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:clamp(34px,6vw,82px)!important;
  row-gap:22px!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  padding:clamp(30px,4vw,54px)!important;
  text-align:left!important;
  background:#fff!important;
  border:1px solid rgba(7,26,62,.10)!important;
  border-radius:28px!important;
  box-shadow:0 24px 70px rgba(7,26,62,.08)!important;
  overflow:hidden!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>h1{
  grid-column:1!important;
  grid-row:1!important;
  align-self:end!important;
  margin:0!important;
  max-width:9ch!important;
  font-size:clamp(3.2rem,6vw,5.8rem)!important;
  line-height:.9!important;
  letter-spacing:-.06em!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>img:first-of-type{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  width:100%!important;
  height:100%!important;
  min-height:360px!important;
  max-height:520px!important;
  object-fit:cover!important;
  border-radius:22px!important;
  margin:0!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>div:has(>p){
  grid-column:1!important;
  grid-row:2!important;
  align-self:start!important;
  margin:0!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>div:has(>p)>p{
  margin:0!important;
  max-width:58ch!important;
  color:#53627a!important;
  font-size:1.05rem!important;
  line-height:1.68!important;
  text-align:left!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>div:has(>img){
  display:none!important;
}

/* The second row of these virtual hubs is navigation, not travel results. */
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
  margin:0!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col{
  position:relative!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  text-align:left!important;
  background:#fff!important;
  border:1px solid rgba(7,26,62,.10)!important;
  border-radius:20px!important;
  box-shadow:0 14px 42px rgba(7,26,62,.07)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 22px 54px rgba(7,26,62,.12)!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col>a{
  display:block!important;
  overflow:hidden!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col>a>img{
  display:block!important;
  width:100%!important;
  aspect-ratio:16/10!important;
  object-fit:cover!important;
  margin:0!important;
  transition:transform .25s ease!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col:hover>a>img{
  transform:scale(1.035)!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col>div{
  position:relative!important;
  min-height:72px!important;
  padding:18px 52px 18px 20px!important;
  color:#071a3e!important;
  font-size:1.02rem!important;
  line-height:1.22!important;
  font-weight:900!important;
}
body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1>.h-col>div:after{
  content:'→';
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  color:#2f6cff;
  font-size:1.35rem;
  font-weight:900;
}

@media(max-width:900px){
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column{
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>h1,
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>img:first-of-type,
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>div:has(>p){
    grid-column:1!important;
    grid-row:auto!important;
  }
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column>img:first-of-type{
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
  }
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  body.cth-route--marga-hub .md-template{width:min(calc(100% - 24px),1240px)!important;padding:28px 0 60px!important}
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row:first-child>.h-column{padding:24px!important;border-radius:20px!important}
  body.cth-route--marga-hub .md-template>.h-section-grid-container>.h-row-container>.h-row.justify-content-lg-center.gutters-col-v-1{grid-template-columns:1fr!important}
}
