/* ManualeReef Atlas v360 — batch 50 fish/invertebrates.
   Preserve existing canonical Atlas v321/v325 sections; prevent old gallery regressions. */
body.atlas-batch50-v360 .layout,
body.atlas-batch50-v360 .layout>.content,
body.atlas-batch50-v360 .layout .atlas321-science,
body.atlas-batch50-v360 .layout .section-shell,
body.atlas-batch50-v360 .hero-top{min-width:0;max-width:100%;box-sizing:border-box}
body.atlas-batch50-v360 .hero-media-panel,
body.atlas-batch50-v360 .hero-media-panel .invert-photo-open{min-width:0;max-width:100%;box-sizing:border-box}
body.atlas-batch50-v360 .hero-media-panel img{max-width:100%!important;object-fit:contain!important;object-position:center}
body.atlas-batch50-v360 .hero-media-panel .invert-photo-caption{
 overflow-wrap:anywhere!important;line-height:1.5;font-size:12px;
}
body.atlas-batch50-v360 .atlas-v360-identification{
 margin:20px 0 24px;padding:clamp(15px,2vw,23px);width:100%;box-sizing:border-box;
 background:#f1f8fb;border:1px solid #c6e4ed;border-radius:15px;line-height:1.6;
}
body.atlas-batch50-v360 .atlas-v360-identification h3{
 font-family:Georgia,serif;color:#113b56;font-size:clamp(18px,2.5vw,24px);
 line-height:1.3;margin:0 0 12px;
}
body.atlas-batch50-v360 .atlas-v360-identification p{
 color:#294d63;line-height:1.72;margin:9px 0;
}
body.atlas-batch50-v360 .atlas-v360-identification .atlas-v360-caveat{
 font-size:12px;color:#586b7e;margin:10px 0 0
}
body.atlas-batch50-v360 .atlas-v360-identification a{
 color:#08628a;text-decoration:underline;text-underline-offset:2px
}
body.atlas-batch50-v360 .atlas-v360-media-pending{
 background:#e8f4fa;color:#31566a;border:1px dashed #9ab9cc;
 padding:20px;border-radius:12px;display:flex;align-items:center;
 justify-content:center;min-height:160px;max-width:100%;
}
body.atlas-batch50-v360 .atlas-v360-media-pending strong{display:block;color:#173b53}
body.atlas-batch50-v360 :is(.atlas-real-gallery,.atlas-generated-gallery,.atlas-visual-system,.atlas-v360-images){
 max-width:100%;min-width:0;box-sizing:border-box
}
body.atlas-batch50-v360 :is(.atlas-visual-grid,.atlas-v360-images,.atlas-photo-gallery,.atlas-gallery-grid){
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:100%;min-width:0
}
body.atlas-batch50-v360 :is(.atlas-visual-grid,.atlas-v360-images,.atlas-photo-gallery,.atlas-gallery-grid)>*{
 min-width:0;max-width:100%;box-sizing:border-box
}
body.atlas-batch50-v360 :is(.atlas-visual-grid,.atlas-v360-images,.atlas-photo-gallery,.atlas-gallery-grid) img{
 max-width:100%!important;width:100%!important;height:260px!important;
 object-fit:contain!important;background:#eaf3f8
}
body.atlas-batch50-v360 .atlas-geo-approved[src*="map-in-verifica.svg"]{display:none!important}
body.atlas-batch50-v360 .atlas-v360-map-note{font-size:12px;color:#536b7d}
body.atlas-batch50-v360 .atlas-v360-editorial-flag{
 display:inline-block;background:#fff7e6;color:#5c4528;border:1px solid #ebcfa1;
 padding:4px 10px;border-radius:8px;max-width:100%;font-size:12px
}
@media(max-width:760px){
 body.atlas-batch50-v360 :is(.atlas-visual-grid,.atlas-v360-images,.atlas-photo-gallery,.atlas-gallery-grid){
  grid-template-columns:minmax(0,1fr)!important
 }
 body.atlas-batch50-v360 :is(.atlas-visual-grid,.atlas-v360-images,.atlas-photo-gallery,.atlas-gallery-grid) img{
  height:245px!important
 }
 body.atlas-batch50-v360 .atlas-v360-identification{padding:14px}
}

/* v361: provisional SVG is not an evidence-backed species range and must not
   appear as an illustrated geographic distribution or photographic reference. */
body.atlas-batch50-v360 img[src*="map-in-verifica.svg"]{display:none!important}
body.atlas-batch50-v360 .atlas321-science .atlas-range-disclaimer,
body.atlas-batch50-v360 .atlas-geo-panel .atlas-range-disclaimer{display:block!important}
