/* Shared navigation and containment */
body .access116>div{max-width:100%;min-width:0;overscroll-behavior-inline:contain}
body .ma-header{gap:12px;flex-wrap:wrap}
body .ma-wrap{width:min(1180px,calc(100% - 36px))}
main .ma-filters[hidden],main .ma-wrap [hidden]{display:none!important}
main .ma-filters label{min-width:0;overflow-wrap:anywhere}
main .ma-filters :is(input,select){max-width:100%;min-width:0}
main .ma-card.catalog-empty124{grid-column:1/-1}
main .ma-card.catalog-empty124 p{margin:0 0 5px}
main #ma-catalog:not(.ma-grid) img{max-width:100%}
main #ma-catalog dl{overflow-wrap:anywhere}
main #ma-catalog dd{margin:0 0 .75em}
main .ma-gallery :is(img,video){min-width:0}

/* Home: reset the row positions and fixed heights inherited from the original weather bar. */
body.home118 .weather-ribbon{display:grid!important;grid-template-columns:minmax(115px,1fr) minmax(0,3fr) minmax(140px,1fr)!important;grid-template-rows:auto!important;height:auto!important;min-height:0!important}
body.home118 .weather-ribbon>.weather-now{grid-column:1!important;grid-row:1!important}
body.home118 .weather-ribbon>.weather-more123{grid-column:2!important;grid-row:1!important}
body.home118 .weather-ribbon>.weather-radar-link{grid-column:3!important;grid-row:1!important}
body.home118 .weather-ribbon :is(.weather-now,.weather-days,.weather-radar-link){height:auto!important;min-height:58px!important}
body.home118 .weather-ribbon .weather-days{display:flex!important;overflow:auto!important}
body.home118 .hero123 .hero-video123{max-width:100%;object-fit:contain;object-position:center}
.hero123 .hero-copy123 .textlink{color:#fff}
body.home118 .location .location-map-wrap{width:100%;min-width:0}
body.home118 .location .location-map-frame{display:block;width:100%;max-width:100%}

/* Radar: overlays must layer above the sticky site navigation. */
body.radar121 :is(#newsModal,#emergencyPanel){z-index:3200!important}
body.radar121 :is(.news-modal-panel,.emergency-sheet){max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
body.radar121 :is(.radar-content121,.radar-content121>section,.radar-tool121>section){min-width:0}
body.radar121 .radar-content121 :is(.marine-metrics,.forecast-hours,.forecast-days,.news-grid,.featured-news,.official-grid)>*{min-width:0;overflow-wrap:anywhere}
body.radar121 .radar-content121 iframe{max-width:100%}
body.radar121 .radar-hero>*,body.radar121 .radar-tool121>section>*{opacity:1!important;transform:none!important}

/* Team and link hub */
.equipe-124 #ma-editor,.equipe-124 .studio-grid>*{min-width:0}
.equipe-124 .ma-table{overflow-x:auto}
.equipe-124 .ma-table table{min-width:670px}
.equipe-124 .ma-actions button{min-height:44px}
.equipe-124 #ma-login input{max-width:100%}
.links-124 .quick119,.links-124 .quick119>a{box-sizing:border-box}

@media(max-width:760px){
 body.home118 .weather-ribbon{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 body.home118 .weather-ribbon>.weather-radar-link{grid-column:2!important}
 body.home118 .weather-ribbon>.weather-more123{grid-column:1/-1!important;grid-row:2!important}
 body.home118 .weather-ribbon :is(.weather-now,.weather-radar-link){min-height:44px!important}
 body.home118 .weather-ribbon .weather-more123:not([open]) .weather-days{display:none!important}
 body.home118 .weather-ribbon .weather-radar-link{display:flex!important;flex-wrap:wrap;align-content:center;gap:3px 6px}
 body.home118 .weather-ribbon .weather-now-row{flex-wrap:wrap}
 body.home118 .weather-ribbon .weather-radar-link b{align-self:center}
 body.home118 .hero123{padding-inline:14px}
 body .ma-wrap{width:calc(100% - 28px)}
 body.radar121 :is(.home-news-grid,.news-grid,.featured-news,.official-grid){grid-template-columns:minmax(0,1fr)!important}
 body.radar121 .radar-tool121 summary{overflow-wrap:anywhere}
}
@media(max-width:360px){
 main .ma-filters{grid-template-columns:minmax(0,1fr)}
 body .quick119>a{padding-inline:7px}
}
