/* =============================================
   learn.css  v1
   Layout for the Learn long-form "exhibit scene"
   articles. First used by:
   how-squirrels-came-west.html
   Load order: main.css → learn.css
   Reuses the --sp-* museum palette (mirrored here
   so the file is self-contained and does not depend
   on species.css).
   ============================================= */

/* ── Palette (mirrors species.css tokens) ──────── */
:root {
  --lh-bg:          #1b1606;   /* deep bark */
  --lh-accent:      #d37e0f;   /* burnt orange */
  --lh-gold:        #d3a90f;
  --lh-parchment:   #f7f2e4;
  --lh-parchment-2: #efe7d2;   /* alt scene band */
  --lh-border:      #ddd5c2;
  --lh-label:       #7A463A;
  --lh-ink:         #2d2d2b;
  --lh-ink-soft:    #514f48;
  --lh-light:       #e8dfc8;
  --lh-muted:       #c8b898;
  --lh-native:      #1e4e03;
  --lh-native-text: #c7e489;

  --lh-measure:     38rem;     /* readable line length */
}

/* ── Page base ─────────────────────────────────── */
.lh-page {
  background: var(--lh-parchment);
  color: var(--lh-ink);
}

.lh-article {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.72;
}

/* ═══════════════════════════════════════════════
   HERO — dark title band over a full-width photo
   (same pattern family as species.html)
   ═══════════════════════════════════════════════ */
.lh-hero { width: 100%; }

.lh-hero-band {
  background: var(--lh-bg);
  border-bottom: 3px solid var(--lh-accent);
  padding: 40px 32px 44px;
}
.lh-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.lh-eyebrow {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lh-gold);
  margin: 0 0 14px;
}
.lh-hero h1 {
  font-family: 'National Park', 'Raleway', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.04;
  color: #f4ecd8;
  margin: 0 0 18px;
}
.lh-hero-essence {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--lh-light);
  max-width: 40rem;
  margin: 0 auto;
}
.lh-hero-figure { margin: 0; }
.lh-hero-figure img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.lh-hero-credit {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  color: var(--lh-ink-soft);
  text-align: right;
  padding: 6px 18px;
  margin: 0;
  background: var(--lh-parchment-2);
}

/* ═══════════════════════════════════════════════
   SCENES
   ═══════════════════════════════════════════════ */
.lh-scene {
  padding: 64px 24px;
}
.lh-scene:nth-of-type(even) {
  background: var(--lh-parchment-2);
}
.lh-scene-inner {
  max-width: var(--lh-measure);
  margin: 0 auto;
}

/* Act marker / chapter eyebrow */
.lh-act {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lh-label);
  margin: 0 0 10px;
}

.lh-scene h2 {
  font-family: 'National Park', 'Raleway', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.12;
  color: var(--lh-bg);
  margin: 0 0 22px;
}

.lh-scene p {
  margin: 0 0 1.15em;
  max-width: var(--lh-measure);
}
.lh-scene p:last-child { margin-bottom: 0; }

.lh-scene strong { color: var(--lh-label); }

.lh-lede {
  font-size: 1.28rem;
  line-height: 1.6;
  color: var(--lh-ink);
}

/* Figures inside scenes */
.lh-figure {
  margin: 30px 0;
}
.lh-figure img {
  display: block;
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 2px 14px rgba(27,22,6,0.18);
}
.lh-figure figcaption {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  color: var(--lh-ink-soft);
  margin-top: 8px;
}

/* Two-up figure row (e.g. the two CA natives) */
.lh-figure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.lh-figure-row figure { margin: 0; }
.lh-figure-row img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 2px 14px rgba(27,22,6,0.18);
}
.lh-figure-row figcaption {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  color: var(--lh-ink-soft);
  margin-top: 6px;
  text-align: center;
}

/* ── Pull-quote "wall label" ───────────────────── */
.lh-pullquote {
  border-left: 4px solid var(--lh-accent);
  padding: 6px 0 6px 26px;
  margin: 34px 0;
}
.lh-pullquote p {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--lh-bg);
  margin: 0 0 8px;
}
.lh-pullquote cite {
  font-family: 'Raleway', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--lh-label);
}

/* ── Closing emphatic line ─────────────────────── */
.lh-closer {
  font-size: 1.22rem;
  font-style: italic;
  color: var(--lh-label);
}

/* ═══════════════════════════════════════════════
   THREE-FORCES DIAGRAM (the hinge)
   ═══════════════════════════════════════════════ */
.lh-forces {
  background: var(--lh-bg);
  color: var(--lh-light);
  padding: 56px 24px;
  text-align: center;
}
.lh-forces-inner { max-width: 880px; margin: 0 auto; }
.lh-forces h2 {
  font-family: 'National Park', 'Raleway', Arial, sans-serif;
  font-weight: 700;
  color: #f4ecd8;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 8px;
}
.lh-forces-sub {
  font-family: 'Raleway', sans-serif;
  color: var(--lh-muted);
  font-size: 0.95rem;
  margin: 0 0 36px;
}
.lh-forces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.lh-force {
  border: 1px solid rgba(211,169,15,0.35);
  border-radius: 6px;
  padding: 22px 18px;
  background: rgba(247,242,228,0.04);
}
.lh-force-icon { font-size: 1.7rem; line-height: 1; margin-bottom: 12px; }
.lh-force h3 {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  color: var(--lh-gold);
  margin: 0 0 8px;
}
.lh-force p {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--lh-light);
  margin: 0;
}
.lh-forces-eq {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #f4ecd8;
  margin: 32px 0 0;
}
.lh-forces-eq strong { color: var(--lh-gold); }

/* ═══════════════════════════════════════════════
   CLOSING CTA
   ═══════════════════════════════════════════════ */
.lh-cta {
  background: var(--lh-bg);
  border-top: 3px solid var(--lh-accent);
  padding: 56px 24px;
  text-align: center;
}
.lh-cta h2 {
  font-family: 'National Park', 'Raleway', Arial, sans-serif;
  color: #f4ecd8;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 26px;
}
.lh-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.lh-cta-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--lh-bg);
  background: var(--lh-gold);
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.18s ease;
}
.lh-cta-links a:hover { background: var(--lh-accent); color: #fff; }
.lh-cta-links a.lh-cta-ghost {
  background: transparent;
  color: var(--lh-gold);
  border: 1px solid var(--lh-gold);
}
.lh-cta-links a.lh-cta-ghost:hover { background: rgba(211,169,15,0.14); color: #f4ecd8; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .lh-article { font-size: 1.08rem; }
  .lh-scene { padding: 48px 18px; }
  .lh-figure-row { grid-template-columns: 1fr; }
  .lh-forces-grid { grid-template-columns: 1fr; }
  .lh-pullquote p { font-size: 1.18rem; }
}

/* ═══════════════════════════════════════════════
   LEARN HUB (learn.html) — lightweight directory
   ═══════════════════════════════════════════════ */
.lh-breadcrumb {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px 0;
  font-family: 'Raleway', sans-serif; font-size: .85rem;
}
.lh-breadcrumb a { color: var(--lh-label); text-decoration: none; }
.lh-breadcrumb a:hover { text-decoration: underline; }

.lh-hub-intro {
  max-width: 60rem; margin: 0 auto; padding: 6px 24px 0;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 1.15rem; line-height: 1.6; color: var(--lh-ink); text-align: center;
}
.lh-hub-section { max-width: 1080px; margin: 0 auto; padding: 26px 24px 6px; }
.lh-hub-section > h2 {
  font-family: 'Raleway', sans-serif; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--lh-label); margin: 0 0 16px;
}

/* Featured spotlight */
.lh-spotlight {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--lh-border); border-radius: 8px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 14px rgba(27,22,6,0.10);
}
.lh-spotlight img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;

  /* Preserve mother squirrel */
  object-position: 90% center;
}
.lh-spotlight-body { padding: 30px 30px 34px; }
.lh-spotlight-body .lh-eyebrow { color: var(--lh-accent); margin: 0 0 10px; }
.lh-spotlight-body h3 {
  font-family: 'National Park','Raleway',Arial,sans-serif;
  font-size: clamp(1.5rem,2.6vw,2.1rem); color: var(--lh-bg); margin: 0 0 12px; line-height: 1.12;
}
.lh-spotlight-body p {
  font-family: 'Source Serif Pro',Georgia,serif; color: var(--lh-ink); line-height: 1.6; margin: 0 0 20px;
}

/* Topic grid */
.lh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lh-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--lh-border); border-radius: 8px; background: #fff;
  padding: 20px 20px 18px; min-height: 158px;
}
.lh-card.is-soon { background: #faf6ec; }

/* Whole-card clickability (stretched-link pattern).
   The real <a class="lh-card-go"> remains the single tab stop and accessible
   name; its ::after overlay turns the entire card into one click target.
   Keyboard focus still lands on the link, so nav is unchanged. */
.lh-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.lh-card-go::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
}
.lh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27,22,6,0.14);
  border-color: var(--lh-muted);
}
/* Visible focus ring on the whole card when its link is keyboard-focused */
.lh-card:focus-within {
  border-color: var(--lh-gold);
  box-shadow: 0 0 0 2px rgba(211,169,15,0.35);
}

/* Featured card — slightly stronger gold border + a tiny "Featured" badge.
   No bright fill: signals a primary destination within the museum palette. */
.lh-card--featured {
  border: 1.5px solid var(--lh-gold);
}
.lh-card--featured:hover {
  box-shadow: 0 6px 22px rgba(211,169,15,0.20);
}
.lh-badge-row { display: flex; gap: 6px; margin-bottom: 12px; }
.lh-badge-row .lh-badge { margin-bottom: 0; }
.lh-badge.is-featured { background: #f0e6cf; color: var(--lh-label); }

.lh-card h3 {
  font-family: 'Raleway',sans-serif; font-size: 1.12rem; color: var(--lh-bg); margin: 0 0 8px;
}
.lh-card p {
  font-family: 'Source Serif Pro',Georgia,serif; font-size: .98rem; line-height: 1.5;
  color: var(--lh-ink-soft); margin: 0 0 14px; flex: 1 1 auto;
}
.lh-badge {
  align-self: flex-start; font-family:'Raleway',sans-serif; font-size:.66rem; letter-spacing:.1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 20px; margin-bottom: 12px;
}
.lh-badge.is-live { background: var(--lh-native); color: var(--lh-native-text); }
.lh-badge.is-soon { background: #e7dec8; color: #6b5a36; }
.lh-card-go { font-family:'Raleway',sans-serif; font-weight:500; color: var(--lh-accent); text-decoration: none; }
.lh-card-go:hover { text-decoration: underline; }
.lh-card-meanwhile { font-family:'Raleway',sans-serif; font-size:.84rem; color: var(--lh-label); text-decoration: none; }
.lh-card-meanwhile:hover { text-decoration: underline; }

.lh-hub-cross {
  text-align:center; padding: 22px 24px 8px; font-family:'Raleway',sans-serif; color: var(--lh-ink-soft);
}
.lh-hub-cross a { color: var(--lh-accent); text-decoration:none; margin: 0 6px; font-weight: 500; }
.lh-hub-cross a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .lh-spotlight { grid-template-columns: 1fr; }
  .lh-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   EXPLAINER pages (native-vs-introduced.html, etc.)
   ═══════════════════════════════════════════════ */
/* One readable column ~ matches the widest block (table/gradient), so headings,
   body, and visuals share a single centered axis with no left gutter. */
.lh-explainer-section { max-width: 46rem; margin: 0 auto; padding: 30px 24px 6px; }
.lh-explainer-section h2 {
  font-family: 'National Park','Raleway',Arial,sans-serif;
  color: var(--lh-bg); font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.14; margin: 0 0 14px;
  text-align: left; /* override global h2 centering so heading sits with its paragraph */
}
.lh-explainer-section h3 { text-align: left; }
.lh-explainer-section p {
  font-family: 'Source Serif Pro',Georgia,serif; font-size: 1.1rem; line-height: 1.66;
  color: var(--lh-ink); margin: 0 0 1em;
}
.lh-explainer-section p.lh-sub { color: var(--lh-ink-soft); }
.lh-explainer-section strong { color: var(--lh-label); }
.lh-explainer-section p:last-child { margin-bottom: 0; }
.lh-caption {
  font-family: 'Raleway',sans-serif; font-size: .82rem; color: var(--lh-ink-soft); margin: 8px 0 0;
}

/* Encounter gradient (Deep forest → City) */
.lh-gradient { overflow-x: auto; margin: 6px 0 2px; }
.lh-gradient-inner { min-width: 540px; }
.lh-gradient-strip {
  height: 8px; border-radius: 4px; margin-bottom: 10px;
  background: linear-gradient(90deg,#1e4e03,#3b6d11,#9c7a1a,#d37e0f);
}
.lh-gradient-axis { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; margin-bottom: 10px; }
.lh-gradient-axis span {
  font-family: 'Raleway',sans-serif; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--lh-ink-soft); text-align: center;
}
.lh-gradient-rows { display: grid; gap: 7px; }
.lh-gtrack { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; align-items: center; }
.lh-gbar {
  border-radius: 6px; padding: 7px 11px; font-family: 'Raleway',sans-serif; font-size: .82rem;
  font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lh-gbar-native { background: var(--lh-native); color: var(--lh-native-text); }
.lh-gbar-intro  { background: var(--lh-accent); color: #fff; }

/* Comparison table */
.lh-table-wrap { overflow-x: auto; margin: 6px 0 2px; }
.lh-compare { width: 100%; min-width: 660px; border-collapse: collapse; font-family: 'Raleway',sans-serif; font-size: .92rem; }
.lh-compare th, .lh-compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--lh-border); vertical-align: top; }
.lh-compare thead th {
  background: var(--lh-bg); color: #f4ecd8; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
}
.lh-compare tbody tr:nth-child(even) { background: var(--lh-parchment-2); }
.lh-compare .nx-native { color: var(--lh-native); font-weight: 600; }
.lh-compare .nx-intro  { color: var(--lh-accent); font-weight: 600; }
.lh-compare a { color: var(--lh-label); font-weight: 600; text-decoration: none; }
.lh-compare a:hover { text-decoration: underline; }

/* Myth callouts */
.lh-callout-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 8px 0 2px; }
.lh-callout {
  border: 1px solid var(--lh-border); border-left: 4px solid var(--lh-accent);
  border-radius: 6px; background: #fff; padding: 14px 16px;
}
.lh-callout h4 { font-family: 'Raleway',sans-serif; font-size: .98rem; color: var(--lh-bg); margin: 0 0 6px; text-align: left; }
.lh-callout p { font-family: 'Source Serif Pro',Georgia,serif; font-size: .95rem; line-height: 1.5; color: var(--lh-ink-soft); margin: 0; }
@media (max-width: 600px) { .lh-callout-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   LIVING WITH SQUIRRELS — sub-nav, alert, asides
   ═══════════════════════════════════════════════ */
/* keep anchored headings clear of the sticky sub-nav */
.lh-explainer-section, .lh-alert, .lh-bigcallout { scroll-margin-top: 72px; }

/* Baby-squirrel alert (top of page) */
.lh-alert {
  max-width: 60rem; margin: 18px auto 0; padding: 16px 20px;
  background: #fbf1d8; border: 1px solid var(--lh-gold);
  border-left: 5px solid var(--lh-accent); border-radius: 8px;
}
.lh-alert h2 { font-family: 'Raleway',sans-serif; font-size: 1.05rem; color: var(--lh-bg); margin: 0 0 6px; }
.lh-alert p { font-family: 'Source Serif Pro',Georgia,serif; font-size: 1rem; line-height: 1.55; color: var(--lh-ink); margin: 0 0 8px; }
.lh-alert p:last-child { margin-bottom: 0; }
.lh-alert .lh-alert-soon { font-family: 'Raleway',sans-serif; font-size: .85rem; color: var(--lh-label); }

/* Image variant of the alert (Living With Squirrels baby-squirrel section) */
.lh-alert--media { display: flex; gap: 18px; align-items: flex-start; }
.lh-alert--media .lh-alert-figure { margin: 0; flex: 0 0 auto; }
.lh-alert--media .lh-alert-figure img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; display: block; }
.lh-alert--media .lh-alert-figure figcaption { font-family: 'Raleway',sans-serif; font-size: .68rem; color: var(--lh-ink-soft); margin-top: 4px; text-align: center; }
.lh-alert--media .lh-alert-body { flex: 1 1 auto; }
@media (max-width: 560px) {
  .lh-alert--media { flex-direction: column; }
  .lh-alert--media .lh-alert-figure { width: 100%; }
  .lh-alert--media .lh-alert-figure img { width: 100%; height: 200px; }
}

/* Card "On this page" table of contents */
.lh-toc {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  max-width: 60rem; margin: 22px auto 0; padding: 0 24px;
}
.lh-toc a {
  display: block; border: 1px solid var(--lh-border); border-radius: 8px; background: #fff;
  padding: 12px 14px; text-decoration: none;
}
.lh-toc a .t { display: block; font-family: 'Raleway',sans-serif; font-weight: 600; color: var(--lh-bg); font-size: .98rem; }
.lh-toc a .d { display: block; font-family: 'Source Serif Pro',Georgia,serif; color: var(--lh-ink-soft); font-size: .82rem; margin-top: 3px; }
.lh-toc a:hover { border-color: var(--lh-accent); }
@media (max-width: 700px) { .lh-toc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .lh-toc { grid-template-columns: 1fr; } }

/* Sticky chip sub-nav */
.lh-subnav { position: sticky; top: 0; z-index: 30; background: var(--lh-bg); border-bottom: 2px solid var(--lh-accent); padding: 8px 12px; margin-top: 22px; }
.lh-subnav-inner { max-width: 62rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lh-subnav a {
  font-family: 'Raleway',sans-serif; font-size: .8rem; color: #f4ecd8; text-decoration: none;
  padding: 5px 12px; border: 1px solid rgba(244,236,216,.35); border-radius: 20px; white-space: nowrap;
}
.lh-subnav a:hover { background: rgba(211,169,15,.22); border-color: var(--lh-gold); }

/* Squirrel's-eye-view aside */
.lh-why {
  margin: 12px 0 4px; padding: 10px 14px; background: var(--lh-parchment-2); border-radius: 6px;
  font-family: 'Source Serif Pro',Georgia,serif; font-size: .98rem; line-height: 1.5; color: var(--lh-ink-soft);
}
.lh-why b {
  display: block; font-family: 'Raleway',sans-serif; font-size: .7rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--lh-label); margin-bottom: 3px;
}

/* Big dark callout (the CA-law fact) */
.lh-bigcallout {
  max-width: 60rem; margin: 6px auto; padding: 22px 24px;
  background: var(--lh-bg); color: var(--lh-light); border-radius: 10px; border-top: 3px solid var(--lh-accent);
}
.lh-bigcallout h3 { font-family: 'National Park','Raleway',Arial,sans-serif; color: #f4ecd8; margin: 0 0 10px; font-size: 1.2rem; }
.lh-bigcallout p { font-family: 'Source Serif Pro',Georgia,serif; color: var(--lh-light); line-height: 1.6; margin: 0 0 10px; }
.lh-bigcallout p:last-child { margin-bottom: 0; }
.lh-bigcallout strong { color: var(--lh-gold); }
.lh-bigcallout a { color: #f2d17c; font-weight: 600; }

/* Best advice — do / skip */
.lh-doskip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 2px; }
.lh-doskip > div { border: 1px solid var(--lh-border); border-radius: 8px; padding: 16px 18px; background: #fff; }
.lh-doskip h3 { font-family: 'Raleway',sans-serif; margin: 0 0 10px; font-size: 1.05rem; text-align: left; }
.lh-doskip .lh-do h3 { color: var(--lh-native); }
.lh-doskip .lh-skip h3 { color: #9c3b1a; }
.lh-doskip ul { margin: 0; padding-left: 1.1em; }
.lh-doskip li { font-family: 'Source Serif Pro',Georgia,serif; font-size: 1rem; line-height: 1.5; margin: 0 0 8px; color: var(--lh-ink); }
.lh-doskip li:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .lh-doskip { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   RESOURCES page — featured resource (image-forward)
   ═══════════════════════════════════════════════ */
.rs-feature {
  display: grid; grid-template-columns: minmax(0,300px) 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--lh-border); border-radius: 10px; background: #fff; overflow: hidden;
  box-shadow: 0 2px 14px rgba(27,22,6,.10);
}
.rs-feature-media { display: block; }
.rs-feature-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.rs-feature-body { padding: 24px 28px 26px; }
.rs-feature-body h3 {
  font-family: 'National Park','Raleway',Arial,sans-serif; color: var(--lh-bg);
  font-size: clamp(1.4rem,2.4vw,1.9rem); margin: 0 0 10px; text-align: left;
}
.rs-feature-body p { font-family: 'Source Serif Pro',Georgia,serif; color: var(--lh-ink); line-height: 1.6; margin: 0 0 16px; }
.rs-credit { font-family: 'Raleway',sans-serif; font-size: .7rem; color: var(--lh-ink-soft); margin: 10px 0 0 !important; }
.rs-soon { background: var(--lh-parchment-2); border: 1px dashed var(--lh-border); border-radius: 8px; padding: 14px 18px; color: var(--lh-ink-soft); }
@media (max-width: 640px) { .rs-feature { grid-template-columns: 1fr; } .rs-feature-media img { min-height: 220px; } }

/* ═══════════════════════════════════════════════
   SQUIRREL IMAGE LIBRARY (squirrel-image-library.html)
   ═══════════════════════════════════════════════ */
.sl-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 20px;
  border-top: 1px solid var(--lh-border);
}
.sl-section:first-of-type { border-top: none; }

.sl-species-heading {
  font-family: 'National Park', 'Raleway', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--lh-bg);
  margin: 0 0 4px;
  text-align: left;
}
.sl-species-sub {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: .98rem;
  color: var(--lh-ink-soft);
  margin: 0 0 18px;
}

/* 4 → 2 → 1  (never 3; avoids orphan rows with 4 or 8 items) */
.sl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Each card is an <a> wrapping the image + meta */
.sl-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.sl-card:hover .sl-card-img {
  box-shadow: 0 4px 20px rgba(27,22,6,.28);
  transform: translateY(-1px);
}
.sl-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;          /* proof-sheet: full photo visible, no cropping */
  background: var(--lh-parchment);
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(27,22,6,.15);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.sl-card-meta { padding: 7px 2px 2px; }

.sl-card-name {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--lh-bg);
}
.sl-card-note {
  display: block;
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: .8rem;
  color: var(--lh-ink-soft);
  margin-top: 1px;
}
.sl-card-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.sl-credit-num {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  color: #9a907c;
}
.sl-license {
  font-family: 'Raleway', sans-serif;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}
.sl-license.cc0   { background: #dff0e3; color: #1e4e03; }
.sl-license.cc-by { background: #dce8fb; color: #1a3d7a; }
.sl-license.own   { background: var(--lh-parchment-2); color: #6b5a36; }
.sl-source {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  color: #9a907c;
}

/* Attribution table */
.sl-attribution {
  max-width: 1080px;
  margin: 16px auto 0;
  padding: 24px 24px 8px;
  border-top: 2px solid var(--lh-border);
}
.sl-attribution h2 {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--lh-label);
  margin: 0 0 14px;
  text-align: left;
}
.sl-attribution ol {
  font-family: 'Raleway', sans-serif;
  font-size: .82rem;
  color: var(--lh-ink-soft);
  line-height: 1.65;
  padding-left: 1.6em;
  margin: 0;
  columns: 2;
  column-gap: 32px;
}
.sl-attribution li { margin: 0 0 3px; break-inside: avoid; }
.sl-attribution a { color: var(--lh-label); text-decoration: none; }
.sl-attribution a:hover { text-decoration: underline; }
.sl-attr-note {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: .88rem;
  color: var(--lh-ink-soft);
  margin: 14px 0 0;
  font-style: italic;
}

@media (max-width: 900px) {
  .sl-grid { grid-template-columns: repeat(2, 1fr); }
  .sl-attribution ol { columns: 1; }
}
@media (max-width: 460px) {
  .sl-grid { grid-template-columns: 1fr; }
}
