/* Editorial presentation shared by every species sheet. */
.species-heading-summary{max-width:72ch;color:#b0bed0;font-size:17px;line-height:1.7;margin:18px 0 0}
.species-quick-nav{display:flex;flex-wrap:wrap;gap:8px 12px;margin:26px 0 30px;padding-bottom:22px;border-bottom:1px solid #263c39}
.species-quick-nav a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid #315448;border-radius:999px;color:#a9e4cf;font-size:14px;text-decoration:none}
.species-quick-nav a:hover,.species-quick-nav a:focus-visible{background:#14372a;color:#e8fff5}
.species-quick-nav a:focus-visible{outline:2px solid #00e5a0;outline-offset:3px}
@media(max-width:600px){.species-heading-summary{font-size:16px}.species-quick-nav{gap:8px}.species-quick-nav a{font-size:13px;padding-inline:11px}}
.site-editorial-species .species-article,
.site-editorial-species .breadcrumbs {
  width: min(1100px, calc(100% - 80px));
}
.site-editorial-species .species-cover { overflow: visible; background: transparent; }
.site-editorial-species .species-hero {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 26px 0 0;
}
.site-editorial-species .species-hero-copy {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  padding: 0;
}
.site-editorial-species .species-hero .eyebrow {
  margin: 0 0 10px;
  color: #00e5b0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .12em;
}
.site-editorial-species .species-hero h1 {
  max-width: none;
  margin: 0 0 7px;
  color: #f6f8f9;
  font-size: clamp(34px, 6.2vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: normal;
  overflow-wrap: anywhere;
}
.site-editorial-species .species-scientific {
  margin: 0;
  color: #aab8ca;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.4;
}
.site-editorial-species .species-scientific i { font-style: italic; }
.site-editorial-species .species-hero figure {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: none;
  mask-image: none;
  -webkit-mask-image: none;
}
.site-editorial-species .species-hero figure::before { content: none; }
.site-editorial-species .species-hero figure > img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 3.06 / 1;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 20px;
}
.site-species-gecko-a-crete .species-hero figure > img { object-position: center 75%; }
.site-editorial-species .species-hero figcaption {
  position: static;
  max-width: none;
  margin: 9px 0 0;
  padding: 0;
  color: #b0bed0;
  background: none;
  border-radius: 0;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.site-editorial-species .species-hero figcaption a { text-decoration: none; }
.site-editorial-species .species-hero figcaption a:hover { text-decoration: underline; }
.site-editorial-species .site-species-followup { margin: 32px 0 0; }
.site-editorial-species .site-species-followup h2,
.site-editorial-species .site-species-reference > h2 {
  margin: 0 0 10px;
  color: #f6f8f9;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.18;
  font-weight: 750;
  letter-spacing: -.025em;
}
.site-editorial-species .site-species-followup > p,
.site-editorial-species .site-species-reference-intro {
  max-width: 78ch;
  color: #b0bed0;
  font-size: clamp(16px, 1.95vw, 21px);
  line-height: 1.6;
}
.site-editorial-species .site-species-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  margin-top: 5px;
  color: #00e5b0;
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
}
.site-editorial-species .site-species-source-link:hover { text-decoration: underline; }
.site-editorial-species .site-species-context {
  margin: 24px 0;
  padding-top: 24px;
  border-top: 1px solid #253139;
}
.site-editorial-species .site-species-context .sheet-origin,
.site-editorial-species .site-species-context .sheet-intro {
  max-width: 80ch;
  color: #b8c5cf;
  font-size: 16px;
  line-height: 1.75;
}
.site-editorial-species .site-species-context .species-tags { margin-top: 16px; }
.site-editorial-species .site-species-context .species-tags span { font-size: 13px; }
.site-editorial-species .species-metrics { margin: 0; }
.site-editorial-species .species-metrics dt { font-size: 13px; }
.site-editorial-species .species-metrics dd strong { font-size: clamp(24px, 2.8vw, 32px); }
.site-editorial-species .species-metrics dd small { font-size: 14px; line-height: 1.65; }
.site-editorial-species .sheet-blocks { padding-inline: 0; }
.site-editorial-species .sheet-block p,
.site-editorial-species .sheet-parameter-notes p,
.site-editorial-species .sheet-climate dt { font-size: 15px; }
.site-editorial-species .sheet-cover-footer { margin-inline: 0; }

/* One contextual invitation; the screenshot stays in the mobile reading flow. */
.editorial-page .site-inline-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 28%);
  grid-template-areas: "copy visual" "actions visual";
  align-items: center;
  gap: 18px 30px;
  margin: 24px 0 32px;
  padding: 26px 28px 24px 32px;
  border: 1px solid #00b995;
  border-left: 6px solid #00e5b0;
  border-radius: 18px;
  background: linear-gradient(115deg, #062820, #071c1b 75%);
  color: #f4f8f6;
}
.editorial-page .site-inline-app-copy { grid-area: copy; min-width: 0; align-self: end; }
.editorial-page .site-inline-app-actions { grid-area: actions; min-width: 0; align-self: start; }
.editorial-page .site-inline-app .site-inline-app-label {
  margin: 0 0 12px;
  color: #00e5b0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.editorial-page .site-inline-app h2 {
  margin: 0 0 12px;
  max-width: 24em;
  color: #f4f8f6;
  font-size: clamp(25px, 3.1vw, 36px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.editorial-page .site-inline-app .site-inline-app-description {
  margin: 0;
  max-width: 55ch;
  color: #b0c2cd;
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.6;
}
.editorial-page .site-inline-app .site-inline-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 13px 22px;
  border-radius: 14px;
  background: #00e5b0;
  color: #03231b;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: normal;
}
.editorial-page .site-inline-app a.site-inline-app-link:hover { background: #5af1c9; }
.editorial-page .site-inline-app a.site-inline-app-link:focus-visible {
  outline: 2px solid #a7ffe2;
  outline-offset: 5px;
}
.editorial-page .site-inline-app .site-inline-app-offer {
  margin: 13px 0 0;
  color: #b0c2cd;
  font-size: 15px;
  line-height: 1.55;
}
.editorial-page .site-inline-app-preview {
  grid-area: visual;
  display: block;
  min-width: 0;
  width: 100%;
  margin: 0;
  align-self: center;
}
.editorial-page .site-inline-app-screen {
  aspect-ratio: 430 / 488;
  overflow: hidden;
  border: 1px solid #00a787;
  border-radius: 15px;
  background: #080b12;
}
.editorial-page .site-inline-app-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  /* Show the real dashboard, without the 44px local-preview banner. */
  transform: translateY(-4.72103%);
}
.editorial-page .site-inline-app-preview figcaption {
  margin: 7px 0 0;
  color: #b0c2cd;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 900px) {
  .site-editorial-species .species-article,
  .site-editorial-species .breadcrumbs { width: calc(100% - 48px); }
  .editorial-page .site-inline-app { gap: 16px 24px; padding: 24px; }
}
@media (max-width: 600px) {
  .site-editorial-species .species-article,
  .site-editorial-species .breadcrumbs { width: calc(100% - 40px); }
  .site-editorial-species .breadcrumbs { padding-block: 18px 10px; }
  .site-editorial-species .species-hero { padding-top: 18px; }
  .site-editorial-species .species-hero-copy { margin-bottom: 19px; }
  .site-editorial-species .species-hero .eyebrow { font-size: 13px; letter-spacing: .08em; }
  .site-editorial-species .species-hero h1 { font-size: clamp(32px, 8.9vw, 46px); }
  .site-editorial-species .species-hero figure > img { aspect-ratio: 2.4 / 1; border-radius: 15px; }
  .site-editorial-species .species-hero figcaption { margin-top: 8px; }
  .site-editorial-species .site-species-followup { margin-top: 26px; }
  .site-editorial-species .site-species-context { margin-block: 20px; padding-top: 20px; }
  .site-editorial-species .species-metrics > div { grid-template-columns: 104px minmax(0, 1fr); }
  .site-editorial-species .species-metrics dt { font-size: 12px; }
  .editorial-page .site-inline-app {
    grid-template-columns: minmax(0, 1fr) 116px;
    grid-template-areas: "copy copy" "actions visual";
    align-items: start;
    gap: 20px 18px;
    margin-block: 22px 28px;
    padding: 22px 18px 20px;
    border-left-width: 5px;
    border-radius: 16px;
  }
  .editorial-page .site-inline-app h2 { font-size: 25px; }
  .editorial-page .site-inline-app .site-inline-app-description { font-size: 16px; }
  .editorial-page .site-inline-app .site-inline-app-link {
    gap: 8px;
    padding: 12px 13px;
    font-size: 15px;
    text-align: left;
  }
  .editorial-page .site-inline-app-preview { align-self: start; }
  .editorial-page .site-inline-app-screen { border-radius: 11px; }
}
@media (max-width: 370px) {
  .editorial-page .site-inline-app { grid-template-columns: minmax(0, 1fr) 96px; gap: 18px 12px; padding-inline: 15px; }
  .editorial-page .site-inline-app .site-inline-app-link { padding-inline: 10px; }
}
@media print {
  .editorial-page .site-inline-app { display: none; }
  .site-editorial-species .species-hero figure { float: none; }
  .site-editorial-species .species-hero h1,
  .site-editorial-species .site-species-followup h2,
  .site-editorial-species .site-species-followup > p,
  .site-editorial-species .site-species-reference > h2,
  .site-editorial-species .site-species-reference-intro { color: #111; }
}

.site-editorial-species .species-hero-text{padding-bottom:12px;border-bottom:1px solid #253139}.site-editorial-species .species-hero-text .species-hero-copy{padding-bottom:0}.site-editorial-species .sheet-number{font-size:11px;letter-spacing:.08em;color:#83999c;margin-bottom:10px}.site-editorial-species .species-hero h1{max-width:24ch}.site-editorial-species .species-scientific{overflow-wrap:anywhere}.editorial-page .site-inline-app a.site-inline-app-link-secondary{display:inline-flex;min-height:44px;align-items:center;color:#8be7cc;text-decoration:underline;font-size:15px}.site-editorial-species .site-species-context .sheet-intro:last-child{margin-bottom:0}

/* Macro photographs keep the complete isopod visible. */
.site-category-isopodes .species-hero figure>img{aspect-ratio:1.8;object-fit:contain;object-position:center;background:#0d1518}@media(max-width:600px){.site-category-isopodes .species-hero figure>img{aspect-ratio:1.3}}

.editorial-page .site-inline-app-isopodes .site-inline-app-preview>img{display:block;width:min(100%,192px);height:auto;margin:auto;border-radius:24px}

.site-inline-app-secondary{display:inline-flex;color:#c5d5d1;text-decoration:underline;text-underline-offset:4px;font-size:14px;padding:8px 0;min-height:44px;align-items:center}.site-inline-app-download{line-height:1.4}.site-inline-app-actions{gap:5px}

.editorial-page .site-inline-app-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}

.editorial-page .site-inline-app .android-download{--android-eye-color:#00e5b0}

/* The practical summary stays readable in the same sheet on phones and paper. */
.encyclopedia-intro h1{font-size:clamp(34px,4.5vw,60px);overflow-wrap:break-word}
.species-quick-facts{margin:24px 0 38px}
.species-quick-facts h2{font-size:clamp(22px,3vw,30px);line-height:1.25;margin-bottom:18px}
.species-quick-facts table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.6}
.species-quick-facts caption{text-align:left;color:#acbbb9;font-size:13px;padding-bottom:12px}
.species-quick-facts th,.species-quick-facts td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #2c403d;overflow-wrap:anywhere}
.species-quick-facts thead th{color:#8fe5c1;background:#10261f}
.species-quick-facts th:first-child{width:23%}
.species-quick-facts td{color:#cbd7d4}
.species-quick-facts sup a{color:#8fe5c1}
.species-evidence-note{padding:18px 20px;margin-bottom:24px;border:1px solid #44625b;border-radius:12px;font-size:14px;line-height:1.7;color:#cbd7d4}
.species-evidence-note strong{display:block;color:#ecf5f1}
@media(max-width:600px){.species-quick-facts table{font-size:13px}.species-quick-facts th,.species-quick-facts td{padding:10px 7px}.species-quick-facts th:first-child{width:24%}}
@media print{.species-quick-facts th,.species-quick-facts td,.species-quick-facts caption,.species-quick-facts sup a{color:#111}.species-quick-facts tr{break-inside:avoid}}

@media print{.species-quick-facts thead th{background:#eee;color:#111}}
