/* Atlas Pesci: revisione comune v2, sei modifiche approvate il 29-10-2026 */
body.mr-atlas-editorial-v1 .mr-fish-standard-v1 .mr-ed-hero-inner{max-width:1650px;width:100%}
body.mr-atlas-editorial-v1 .mr-fish-standard-v1 .mr-ed-layout{box-sizing:border-box;width:calc(100% - 48px);max-width:1650px;margin:0 auto;grid-template-columns:minmax(205px,240px) minmax(0,1fr);gap:clamp(18px,2vw,32px);padding:35px 0 64px}
body.mr-atlas-editorial-v1 .mr-fish-content-stack{display:flex;flex-direction:column;gap:28px;min-width:0;width:100%}
body.mr-atlas-editorial-v1 .mr-fish-sidebar{position:sticky;top:100px;align-self:start;min-width:0;max-height:calc(100vh - 114px);overflow-y:auto;scrollbar-width:thin}
body.mr-atlas-editorial-v1 .mr-fish-sidebar .mr-ed-index{position:static;max-height:none;overflow:visible;width:auto}
body.mr-atlas-editorial-v1 .mr-fish-content-stack>.mr-fish-standalone,body.mr-atlas-editorial-v1 .mr-fish-content-stack>.mr-fish-free-container{box-sizing:border-box;width:100%;min-width:0;border-radius:20px}
body.mr-atlas-editorial-v1 .mr-fish-free-container .mr-fish-gallery-layout{grid-template-columns:minmax(0,1fr)}
body.mr-atlas-editorial-v1 .mr-fish-free-container .mr-ed-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.mr-atlas-editorial-v1 .mr-fish-reader-container{padding:clamp(22px,3vw,44px);background:#fff;border:1px solid #dce9f0;box-shadow:0 12px 32px #123b560c;scroll-margin-top:115px}
body.mr-atlas-editorial-v1 .mr-fish-reader-intro{margin-bottom:20px}
body.mr-atlas-editorial-v1 .mr-fish-reader-label{font:800 12px/1.5 system-ui;letter-spacing:.1em;color:#087b9f}
body.mr-atlas-editorial-v1 .mr-fish-reader-intro h2{font:750 clamp(1.5rem,2.2vw,2.1rem)/1.2 system-ui;margin:6px 0 12px;color:#063a55}
body.mr-atlas-editorial-v1 .mr-fish-reader-intro p{font:400 1rem/1.55 system-ui;color:#476b7e;margin:0}
body.mr-atlas-editorial-v1 .mr-fish-reader-container .mr-ed-reader-teaser{display:block;max-width:640px;margin:0;background:#eff8fc;border:1px solid #d3e9f4;padding:20px;border-radius:18px}
body.mr-atlas-editorial-v1 .mr-fish-reader-container .mr-ed-reader-teaser[hidden],body.mr-atlas-editorial-v1 .mr-fish-reader-container #readerZone[hidden]{display:none!important}
body.mr-atlas-editorial-v1 .mr-fish-reader-container #readerZone{margin-top:18px}
body.mr-atlas-editorial-v1 .mr-fish-reader-container .mr-ed-reader-teaser h3{font:750 1.2rem/1.4 system-ui;color:#093c59;margin:9px 0}
body.mr-atlas-editorial-v1 .mr-fish-reader-container .mr-ed-reader-teaser p{font:400 1.1rem/1.55 Georgia,serif;color:#2b4e64;margin:0 0 14px}
body.mr-atlas-editorial-v1 .mr-fish-reader-container .mr-ed-reader-cta{display:inline-block;width:auto;max-width:100%;box-sizing:border-box;background:#085d7a;color:white;padding:12px 18px;border-radius:12px;font:750 .96rem/1.4 system-ui;text-decoration:none}
body.mr-atlas-editorial-v1 .mr-fish-related-container{background:#fff;border:1px solid #dae8ef;box-shadow:0 10px 30px #002a4010;padding:clamp(20px,3vw,36px);scroll-margin-top:115px}
body.mr-atlas-editorial-v1 .mr-fish-related-container[hidden]{display:none!important}
body.mr-atlas-editorial-v1 .mr-fish-related-eyebrow{display:inline-block;background:#eef8fd;color:#007eaa;border:1px solid #d0e7f3;padding:10px 16px;border-radius:999px;font:750 .76rem/1.3 system-ui;letter-spacing:.09em}
body.mr-atlas-editorial-v1 .mr-fish-related-container h2{color:#063a56;font:750 clamp(1.5rem,2.5vw,2.1rem)/1.2 system-ui;margin:18px 0}
body.mr-atlas-editorial-v1 .mr-fish-related-container>p{font:400 .97rem/1.6 system-ui;color:#3b6176;margin:0 0 22px}
body.mr-atlas-editorial-v1 .mr-fish-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.mr-atlas-editorial-v1 .mr-fish-related-card{overflow:hidden;min-width:0;border-radius:16px;background:white;border:1px solid #d7e5ee;text-decoration:none;box-shadow:0 5px 18px #0b304408}
body.mr-atlas-editorial-v1 .mr-fish-related-card:hover{transform:translateY(-2px);border-color:#87c8e0}
body.mr-atlas-editorial-v1 .mr-fish-related-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
body.mr-atlas-editorial-v1 .mr-fish-related-body{display:grid;gap:7px;padding:14px}
body.mr-atlas-editorial-v1 .mr-fish-related-body strong{font:700 .96rem/1.5 Georgia,serif;color:#052f4e;overflow-wrap:anywhere}
body.mr-atlas-editorial-v1 .mr-fish-related-body span{font:400 .84rem/1.5 system-ui;color:#567c91}
body.mr-atlas-editorial-v1 .mr-fish-related-no-photo{height:130px;display:grid;place-items:center;background:#e9f4f9;color:#52788b;font:500 .9rem system-ui}
body.mr-atlas-editorial-v1 .mr-fish-method-container{background:linear-gradient(120deg,#062b42,#12374f);color:#fff;padding:clamp(24px,3.4vw,50px);scroll-margin-top:115px}
body.mr-atlas-editorial-v1 .mr-fish-method-eyebrow{font:750 .75rem/1.4 system-ui;color:#4de4eb;letter-spacing:.12em}
body.mr-atlas-editorial-v1 .mr-fish-method-container h2{color:#fff;font:750 clamp(1.8rem,3.1vw,2.7rem)/1.2 system-ui;margin:18px 0}
body.mr-atlas-editorial-v1 .mr-fish-method-container .mr-fish-method-lead{font:400 1rem/1.6 system-ui;color:#dcf0f9;margin:0 0 28px}
body.mr-atlas-editorial-v1 .mr-fish-method-meta{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #47647a;border-bottom:1px solid #47647a}
body.mr-atlas-editorial-v1 .mr-fish-method-meta>div{padding:24px 12px 24px 0;display:grid;gap:10px;min-width:0}
body.mr-atlas-editorial-v1 .mr-fish-method-meta>div+div{border-left:1px solid #47647a;padding-left:28px}
body.mr-atlas-editorial-v1 .mr-fish-method-meta strong{font:800 .75rem/1.4 system-ui;color:#9dd6eb}
body.mr-atlas-editorial-v1 .mr-fish-method-meta b{font:700 .9rem/1.5 system-ui;color:#fff}
body.mr-atlas-editorial-v1 .mr-fish-method-meta>div:first-child b{color:#4ee6eb}
body.mr-atlas-editorial-v1 .mr-fish-method-actions{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:28px 0}
body.mr-atlas-editorial-v1 .mr-fish-method-actions h3{color:#fff;font:700 1rem/1.4 Georgia,serif}
body.mr-atlas-editorial-v1 .mr-fish-method-actions p{color:#e2eff6;font:400 .91rem/1.55 system-ui;margin:10px 0 18px}
body.mr-atlas-editorial-v1 .mr-fish-method-actions a{color:#4ee6eb;font:750 .92rem/1.4 system-ui;text-decoration:none}
body.mr-atlas-editorial-v1 .mr-fish-method-disclaimer{border-top:1px solid #47647a;padding-top:18px;color:#dcebf2;font:400 .8rem/1.55 system-ui;margin:0}
body.mr-atlas-editorial-v1 .mr-fish-source-container{background:#fff;border:1px solid #d9e8f0;border-left:4px solid #ecb02e;padding:20px clamp(20px,3vw,30px);scroll-margin-top:115px}
body.mr-atlas-editorial-v1 .mr-fish-source-container h2{font:750 clamp(1.25rem,1.8vw,1.65rem)/1.25 system-ui;color:#063953;margin:0 0 8px}
body.mr-atlas-editorial-v1 .mr-fish-source-container p{font:400 .9rem/1.55 system-ui;color:#45697b;margin:0 0 12px}
body.mr-atlas-editorial-v1 .mr-fish-source-links{display:flex;flex-wrap:wrap;gap:6px 16px;padding:0;margin:0 0 12px;list-style:none}
body.mr-atlas-editorial-v1 .mr-fish-source-links li{font:500 .87rem/1.4 system-ui}
body.mr-atlas-editorial-v1 .mr-fish-source-container a{color:#046e99;overflow-wrap:anywhere}
body.mr-atlas-editorial-v1 .mr-fish-extra-sources{margin:8px 0;font:.87rem/1.6 system-ui}
body.mr-atlas-editorial-v1 .mr-fish-extra-sources ul{margin:8px 0 12px;padding-left:21px}
body.mr-atlas-editorial-v1 .mr-fish-source-method{display:inline-block;font:750 .84rem/1.4 system-ui}
body.mr-atlas-editorial-v1 .mr-fish-academy-sidebar{padding:18px 14px;margin:16px 0;border:1px solid #d9e9f1;border-radius:16px;background:#fff}
body.mr-atlas-editorial-v1 .mr-fish-academy-sidebar[hidden]{display:none!important}
body.mr-atlas-editorial-v1 .mr-fish-academy-sidebar h2{font:800 .82rem/1.4 system-ui;color:#0a6388;margin:0 0 12px}
body.mr-atlas-editorial-v1 .mr-fish-academy-card{display:block;border-radius:12px;overflow:hidden;background:#f6fafc;border:1px solid #d9e6ed;margin:0 0 12px;text-decoration:none}
body.mr-atlas-editorial-v1 .mr-fish-academy-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
body.mr-atlas-editorial-v1 .mr-fish-academy-card strong{display:block;padding:10px;font:700 .8rem/1.4 system-ui;color:#063c5a}
@media(max-width:1100px){body.mr-atlas-editorial-v1 .mr-fish-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.mr-atlas-editorial-v1 .mr-fish-free-container .mr-ed-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){body.mr-atlas-editorial-v1 .mr-fish-standard-v1 .mr-ed-layout{grid-template-columns:minmax(0,1fr);width:calc(100% - 24px);gap:18px;padding-top:18px}body.mr-atlas-editorial-v1 .mr-fish-sidebar{position:static;max-height:none;overflow:visible}body.mr-atlas-editorial-v1 .mr-fish-sidebar .mr-ed-index{display:flex;flex-wrap:wrap;gap:4px;padding:12px}body.mr-atlas-editorial-v1 .mr-fish-sidebar .mr-ed-index strong{width:100%}body.mr-atlas-editorial-v1 .mr-fish-academy-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.mr-atlas-editorial-v1 .mr-fish-academy-sidebar h2{grid-column:1/-1}body.mr-atlas-editorial-v1 .mr-fish-academy-card{margin:0}}
@media(max-width:560px){body.mr-atlas-editorial-v1 .mr-fish-related-grid{grid-template-columns:1fr}body.mr-atlas-editorial-v1 .mr-fish-method-meta,body.mr-atlas-editorial-v1 .mr-fish-method-actions{grid-template-columns:1fr}body.mr-atlas-editorial-v1 .mr-fish-method-meta>div+div{border-left:none;border-top:1px solid #47647a;padding-left:0}body.mr-atlas-editorial-v1 .mr-fish-academy-sidebar{display:block}body.mr-atlas-editorial-v1 .mr-fish-academy-card{margin:0 0 10px}body.mr-atlas-editorial-v1 .mr-fish-free-container .mr-ed-photo-grid{grid-template-columns:1fr}}


/* v3 · Full-width fish layout. The legacy atlas-v321-canonical stylesheet
   enforced a THIRD (now empty) grid rail with !important on .layout, plus
   a 1480px species shell. Override only fish pages (never corals/inverts).
   The content area must use the remaining width after the left sidebar. */
body.mr-atlas-editorial-v1.atlas-category-pesci .atlas-species-shell{
  width:100%;
  max-width:none!important;
  box-sizing:border-box;
}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-standard-v1 .mr-ed-hero-inner{
  width:100%;
  max-width:none!important;
  box-sizing:border-box;
}
body.mr-atlas-editorial-v1.atlas-category-pesci.atlas-v321-canonical .mr-fish-standard-v1 > main.layout.mr-ed-layout{
  display:grid!important;
  grid-template-columns:minmax(205px,240px) minmax(0,1fr)!important;
  width:calc(100% - 56px)!important;
  max-width:none!important;
  box-sizing:border-box;
  gap:clamp(18px,2vw,32px)!important;
  margin:0 auto!important;
  padding:35px 0 64px!important;
  align-items:start;
}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-content-stack,
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-free-container,
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-reader-container,
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-related-container,
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-method-container,
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-source-container{
  min-width:0;
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
@media(max-width:850px){
  body.mr-atlas-editorial-v1.atlas-category-pesci.atlas-v321-canonical .mr-fish-standard-v1 > main.layout.mr-ed-layout{
    display:grid!important; /* overrides legacy display:flex!important under 800px */
    grid-template-columns:minmax(0,1fr)!important;
    width:calc(100% - 32px)!important;
    max-width:none!important;
    gap:18px!important;
    padding:18px 0 40px!important;
  }
}
@media(max-width:700px){
  body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-standard-v1 > main.layout.mr-ed-layout{
    width:calc(100% - 32px)!important;
  }
}


/* Atlas Pesci · mobile without sidebar + horizontal related content */
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile[hidden]{display:none!important}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-moved-real-gallery{width:100%;max-width:none}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-moved-real-gallery img{max-width:100%}
@media(max-width:850px){
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-standard-v1 .mr-fish-sidebar{display:none!important}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile:not([hidden]){display:block;padding:20px;background:white;border:1px solid #d9e9f1;border-radius:18px;min-width:0}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile .mr-fish-academy-sidebar{display:block!important;margin:0;padding:0;border:0;max-height:none;overflow:visible}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile .mr-fish-academy-sidebar h2{margin-bottom:14px}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile .mr-fish-academy-sidebar{display:flex!important;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:10px}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile .mr-fish-academy-sidebar h2{flex:0 0 100%;position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-academy-mobile .mr-fish-academy-card{flex:0 0 min(75vw,260px);min-width:0;margin:0;scroll-snap-align:start}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-related-grid{display:flex!important;flex-wrap:nowrap!important;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:12px}
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-related-grid>.mr-fish-related-card{flex:0 0 min(75vw,270px);scroll-snap-align:start}
}


/* Shared Free gallery and related block — 192 Atlas fish pages. */
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-no-related{grid-column:1/-1;margin:0;color:#45677c;font:500 .94rem/1.55 system-ui}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-verified-card,
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-free-container .mr-ed-photo-card{min-width:0;overflow:hidden;margin:0;background:#fff;border:1px solid #d6e7ef;border-radius:14px}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-verified-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-verified-card figcaption{padding:10px 12px;font:500 .83rem/1.5 system-ui;color:#37617a}
body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-verified-card figcaption a{color:#046d96;text-decoration:underline}
body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili:not([hidden]){display:block}
@media(max-width:850px){
 body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-related-grid>.mr-fish-no-related{flex:0 0 100%}
}


/* Atlas Pesci v4 — shared light species hero, visually aligned to coral dossiers.
   Scoped exclusively to fish pages; all 192 pages keep the same HTML structure. */
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-standard-v1 > section.mr-fish-section-1.mr-ed-hero{
  background:#f1f7fa!important;color:#163e56!important;
  border:0!important;box-shadow:none!important;
  padding:22px 28px 10px!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-inner{
  max-width:none!important;width:100%!important;margin:0 auto!important;
  padding:0!important;box-sizing:border-box;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .invert-crumb{
  color:#617d90!important;font:600 .85rem/1.6 system-ui,sans-serif!important;
  margin:0 0 14px!important;padding:0 6px!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .invert-crumb a,
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .invert-crumb a:visited{
  color:#246e92!important;text-decoration:none!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-grid{
  display:grid!important;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)!important;
  align-items:stretch!important;gap:18px!important;width:100%!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-copy,
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual{
  min-width:0;box-sizing:border-box;
  background:#fff!important;border:1px solid #d5e6ef!important;
  border-radius:24px!important;box-shadow:0 8px 25px rgba(21,61,82,.045)!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-copy{
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:clamp(25px,3.1vw,54px)!important;min-height:380px;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-eyebrow{
  color:#047c9b!important;font:800 .73rem/1.5 system-ui,sans-serif!important;
  letter-spacing:.15em!important;margin-bottom:20px!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 h1{
  font:italic 750 clamp(2.2rem,3.65vw,3.7rem)/1.09 Georgia,serif!important;
  letter-spacing:-.035em!important;color:#0b2b4b!important;
  margin:0 0 12px!important;overflow-wrap:anywhere;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-type-label{
  display:block;margin:0 0 15px!important;
  font:800 clamp(1.35rem,2.15vw,2rem)/1.28 system-ui,sans-serif!important;
  color:#1479ad!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-latin{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;
  color:#456c84!important;font:italic 1.03rem/1.55 Georgia,serif!important;
  margin:0 0 17px!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-latin span{
  display:inline-flex;align-items:center;max-width:100%;white-space:normal;
  padding:6px 12px;border-radius:999px;background:#f0f8fc;
  border:1px solid #cfe6f2;color:#38718b!important;
  font:650 .82rem/1.4 system-ui,sans-serif!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-copy .mr-fish-narrative p{
  color:#395e76!important;
  font:400 clamp(.99rem,1.12vw,1.07rem)/1.7 system-ui,sans-serif!important;
  margin:0 0 12px!important;max-width:70ch!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-copy .mr-fish-narrative .mr-fish-pending{
  color:#496d80!important;background:#f0f7fb!important;border-color:#91bdd3!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-tags{
  display:flex;flex-wrap:wrap;gap:8px!important;margin-top:14px!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-tags>span{
  max-width:100%;padding:7px 11px!important;border:1px solid #cfe5f0!important;
  border-radius:999px!important;background:#f3f9fc!important;color:#275a74!important;
  font:650 .77rem/1.45 system-ui,sans-serif!important;white-space:normal;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual{
  display:flex;flex-direction:column;justify-content:center;
  padding:14px!important;overflow:hidden;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual .mr-ed-hero-photo,
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual .mr-ed-hero-photo button{
  display:block;width:100%;min-width:0;margin:0!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual .mr-ed-hero-photo img{
  width:100%!important;height:auto!important;max-height:490px!important;
  aspect-ratio:4/3!important;object-fit:cover!important;
  border-radius:16px!important;border:1px solid #d9e7ed!important;
  box-shadow:none!important;box-sizing:border-box;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual figcaption{
  color:#5b788a!important;margin-top:10px!important;font:.8rem/1.5 system-ui,sans-serif!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-pending-photo{
  min-height:300px!important;background:#edf6fb!important;color:#436a7d!important;
  border:1px dashed #a3c6d8!important;
}
/* The Free image grid must contain direct card elements, never a nested Reader panel. */
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini .mr-fish-gallery-layout,
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini .mr-fish-gallery-layout>div{
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]{
  display:grid!important;width:100%!important;max-width:none!important;min-width:0!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;
  align-items:start!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"] > figure,
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"] > article{
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini .mr-fish-verified-card img{
  display:block;width:100%!important;max-width:none!important;
  aspect-ratio:4/3;object-fit:cover;border-radius:0;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"] > .mr-fish-pending{
  grid-column:1/-1;
}
@media(max-width:1100px){
 html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;
 }
 html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:850px){
 html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-standard-v1 > section.mr-fish-section-1.mr-ed-hero{
  padding:16px 16px 6px!important;
 }
 html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-grid{
  grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
 }
 html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-ed-hero-copy{
  min-height:0;padding:25px!important;
 }
 html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 .mr-fish-hero-visual{padding:12px!important}
}
@media(max-width:560px){
 html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-section-1 h1{
  font-size:clamp(1.95rem,8.5vw,2.6rem)!important;
 }
 html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]{
  grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
 }
}


/* Atlas Pesci v5 — galleria Free e specie simili: un'unica riga scrollabile
   su ogni viewport. Priorita' maggiore delle precedenti griglie responsive. */
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"],
html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  grid-template-columns:none!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:16px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  scroll-padding-inline:4px;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#76b0c9 #e9f3f8;
  padding:4px 3px 16px!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]::-webkit-scrollbar,
html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid::-webkit-scrollbar{height:8px}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]::-webkit-scrollbar-track,
html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid::-webkit-scrollbar-track{
  background:#e9f3f8;border-radius:999px;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]::-webkit-scrollbar-thumb,
html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid::-webkit-scrollbar-thumb{
  background:#76b0c9;border-radius:999px;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]>figure,
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]>article{
  display:block!important;
  flex:0 0 clamp(238px,24vw,340px)!important;
  width:clamp(238px,24vw,340px)!important;
  max-width:340px!important;min-width:0!important;
  box-sizing:border-box!important;
  scroll-snap-align:start;
  margin:0!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid>.mr-fish-related-card{
  display:block!important;
  flex:0 0 clamp(215px,21vw,300px)!important;
  width:clamp(215px,21vw,300px)!important;
  max-width:300px!important;min-width:0!important;
  box-sizing:border-box!important;
  scroll-snap-align:start;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]>.mr-fish-pending,
html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid>.mr-fish-no-related{
  flex:0 0 100%!important;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-scroll-controls{
  display:flex;gap:8px;justify-content:flex-end;align-items:center;
  margin:0 0 10px;min-height:38px;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-scroll-controls[hidden]{display:none!important}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-scroll-btn{
  display:inline-grid;place-items:center;width:37px;height:37px;
  border:1px solid #b9d9e8;border-radius:999px;background:#fff;
  color:#075779;font:800 1.15rem/1 system-ui;cursor:pointer;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-scroll-btn:hover:not(:disabled){
  border-color:#0e8eb5;background:#eef8fc;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-scroll-btn:disabled{
  opacity:.32;cursor:default;
}
html body.mr-atlas-editorial-v1.atlas-category-pesci .mr-fish-scroll-btn:focus-visible{
  outline:3px solid #0e8eb5;outline-offset:2px;
}
@media(max-width:650px){
  html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"],
  html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid{
    gap:12px!important;scroll-padding-inline:3px;
  }
  html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]>figure,
  html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"]>article{
    flex:0 0 min(79vw,310px)!important;width:min(79vw,310px)!important;
    max-width:310px!important;
  }
  html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid>.mr-fish-related-card{
    flex:0 0 min(76vw,280px)!important;width:min(76vw,280px)!important;
    max-width:280px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.mr-atlas-editorial-v1.atlas-category-pesci #immagini [data-fish-slot="photo-gallery"],
  html body.mr-atlas-editorial-v1.atlas-category-pesci #specie-simili .mr-fish-related-grid{scroll-behavior:auto}
}

/* Atlas 20261031 audit — rehomed Reader factual panels, mobile-safe. */
html body.atlas-category-pesci #readerZone .mr-fish-integrated-facts,
html body.atlas-category-pesci #readerZone .mr-fish-integrated-parameters{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;margin-top:16px!important;max-width:100%;
}
html body.atlas-category-pesci #readerZone .mr-fish-integrated-facts>div{
  background:#eef8fc;border:1px solid #d7e9f3;border-radius:12px;padding:13px;
  overflow-wrap:anywhere;
}
html body.atlas-category-pesci #readerZone .mr-fish-integrated-parameters>div{
  min-width:0;overflow-wrap:anywhere;
}
@media(max-width:600px){
  html body.atlas-category-pesci #readerZone .mr-fish-integrated-facts,
  html body.atlas-category-pesci #readerZone .mr-fish-integrated-parameters{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
