/* Field guide blocks: glance table, species sections, both list. */
.glance__cell--corner { width: 22%; }
.glance__table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.glance__caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 1rem 1rem;
  margin-bottom: 0.25rem;
  border-left: 3px solid var(--teal);
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-style: italic;
}
.glance__cell { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
thead .glance__cell { background: var(--panel-raised); font-size: 1rem; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--teal); }
tbody .glance__cell { background: var(--panel); }
tbody tr:last-child .glance__cell { border-bottom: 0; }
.glance__cell--label { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .glance__table, .glance__table tbody, .glance__table tr, .glance__table th, .glance__table td { display: block; width: 100%; }
  .glance__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .glance__table caption { display: block; }
  .glance__table tbody tr { border-bottom: 1px solid var(--teal-dim); }
  .glance__table tbody tr:last-child { border-bottom: 0; }
  .glance__table tbody .glance__cell { border-bottom: 0; padding: 0.6rem 1rem; }
  .glance__table tbody .glance__cell--label { padding-top: 1rem; color: var(--teal); }
  .glance__table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-text); margin-bottom: 0.15rem; }
}

.species { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); }
.species__title { grid-column: 1; grid-row: 1 / span 40; font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); font-weight: 250; color: var(--teal); position: sticky; top: 1rem; align-self: start; }
.species > *:not(.species__title) { grid-column: 2; }
.species__figure { margin: 0 0 2rem; }
.species__img { width: 100%; aspect-ratio: 1024 / 640; object-fit: cover; border-radius: 10px; background: var(--panel-raised); border: 1px solid var(--line); }
.species__caption { margin-top: 0.75rem; font-size: 1rem; color: var(--slate-text); font-style: italic; max-width: var(--measure); }
.species__sub { margin-top: 2rem; max-width: var(--measure); padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.species__text { max-width: var(--measure); }
.species--cat { padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .species { display: block; }
  .species__title { position: static; }
}

.both { max-width: 48rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.both__list { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.both__item { margin-bottom: 0.7rem; max-width: var(--measure); }
.both__item::marker { color: var(--teal); }
.both__next { margin: 0; }
.both__link { display: inline-flex; align-items: center; min-height: 44px; }
