/* Layout for restored WordPress article and new wildlife illustrations. */
.imported-hero{display:block;width:auto;max-width:100%;height:auto;max-height:640px;margin-inline:auto}.imported-card-image{background:none;overflow:hidden}.imported-card-image img{display:block;width:100%;height:100%;object-fit:cover}.imported-content img{display:block;max-width:100%;height:auto;margin:0 auto}.imported-content figure{margin:22px 0}.imported-content figure img{width:100%;max-height:none;object-fit:contain}.imported-content h2{scroll-margin-top:25px;clear:both}.imported-content a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.imported-content>p:first-child{font-size:1.05em}.imported-content strong{font-weight:600}.article-sidebar .contents{position:sticky;top:25px}.article-sidebar .contents a{font-size:18px}.article-meta time{white-space:nowrap}@media(max-width:600px){.article-sidebar .contents{position:static}.imported-content figure{margin:20px 0}.article-meta p{max-width:none}}
.article-sidebar .contents{position:static}

/* Editorial tables: clear hierarchy without a spreadsheet grid. */
.article-page .article-body table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:20px 0 30px;
  border:1px solid #d9dfd4;
  border-radius:8px;
  overflow:hidden;
  background:#fffdf8;
  font-size:18px;
  line-height:1.55;
}
.article-page .article-body table th,
.article-page .article-body table td {
  padding:20px 22px;
  border:0;
  text-align:left;
  vertical-align:top;
  overflow-wrap:anywhere;
}
.article-page .article-body table th {
  background:#d2dcc9;
  color:#28473d;
  font:600 15px/1.5 Arial,sans-serif;
}
.article-page .article-body table td { border-top:1px solid #e0e5db; }
.article-page .article-body table tr:nth-child(odd) td { background:#f0f3eb; }
.article-page .article-body table td:first-child { font-weight:600; }
.article-page .article-body table p { margin:0 0 10px; }
.article-page .article-body table p:last-child { margin-bottom:0; }
.article-page .article-body table figcaption { font-weight:400; }
@media(max-width:600px) {
  .article-page .article-body table { font-size:16px; line-height:1.5; margin:18px 0 26px; }
  .article-page .article-body table th,
  .article-page .article-body table td { padding:14px 12px; }
  .article-page .article-body table th { font-size:14px; }
}

/* Comparison images are thumbnails, not full-width article photographs. */
.imported-content table figure { max-width:140px; margin:8px auto; }
.imported-content table figure img { width:100%; max-height:140px; object-fit:contain; }
@media(max-width:600px) {
  .imported-content table figure { max-width:100px; margin:6px auto; }
  .imported-content table figure img { max-height:100px; }
}

/* Photo details stay readable but secondary to the article at every breakpoint. */
.article-page .article-figure figcaption,
.article-page .article-body figcaption,
.article-page .article-body p.image-credit {
  font-size:14px;
  line-height:1.5;
  color:#61665e;
  overflow-wrap:anywhere;
}
.article-body figcaption { margin-top:8px; }
.article-body figcaption p { margin-bottom:6px; }

/* Public source notes sit between body copy and image credits in size. */
.article-page .article-body .source-note-block,
.article-page .article-body .sources-section {
  font-size:16px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.article-page .article-body .source-note-heading,
.article-page .article-body .sources-section h2 {
  font-size:18px;
  line-height:1.5;
  letter-spacing:normal;
}

.advice-note{padding:22px 26px;background:#edf1e8;border-left:4px solid #496446;margin:28px 0}.advice-note h2{margin-top:0}.imported-content .expert-quote{margin:28px 0;padding:20px 26px;border-left:3px solid #8b7548;background:#f4f1e8}.expert-quote footer{font:15px/1.6 Arial,sans-serif}.article-faq details{padding:17px 0;border-bottom:1px solid #d8ded3}.article-faq summary{cursor:pointer;font-weight:600;line-height:1.5}.article-faq details p{margin-bottom:0}.source-list{overflow-wrap:anywhere}.article-meta p{line-height:1.7}.imported-content li{margin-bottom:12px}
.imported-content .advice-note a[href$="groundfeeders-hedgehog-house-guide.pdf"]{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;margin-top:8px;border-radius:24px;background:#193c2e;color:#fff;text-decoration:none;font:600 16px/1.35 Arial,sans-serif;text-align:center}
.imported-content .advice-note a[href$="groundfeeders-hedgehog-house-guide.pdf"]:hover{background:#2e5844}
.imported-content .advice-note a[href$="groundfeeders-hedgehog-house-guide.pdf"]:focus-visible{outline:3px solid #945619;outline-offset:4px}

/* A shared reference panel for inline sources and the Sources field. */
.article-page .article-body .sources-section {
  margin:40px 0 28px;
  padding:26px 30px;
  background:#edf1f5;
  border:1px solid #ccd6df;
  border-left:4px solid #647d91;
  border-radius:0 8px 8px 0;
  color:#344653;
}
.article-page .article-body .sources-section h2,
.article-page .article-body .sources-section h3 {
  margin:0 0 16px;
  font-size:18px;
  line-height:1.5;
}
.article-page .article-body .sources-section p,
.article-page .article-body .sources-section li {
  font-size:16px;
  line-height:1.5;
}
.article-page .article-body .sources-section ul,
.article-page .article-body .sources-section ol { padding-left:22px; }
.article-page .article-body .sources-section a {
  color:#315b78;
  text-decoration:underline;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}
.article-page .article-body .sources-section a:focus-visible { outline:2px solid #315b78;outline-offset:3px; }
.article-page .article-body .sources-section > :last-child,
.article-page .article-body .sources-section .public-sources > :last-child { margin-bottom:0; }
@media(max-width:600px) {
  .article-page .article-body .sources-section { padding:20px 18px; margin-top:30px; }
}
