/* The main theme was not preserved; colors and structure follow the archive. */
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #252525; line-height: 1.7; background: #008acb; }
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(155deg, #008fe3 0%, #0065b0 45%, #00aaac 100%); }
a { color: #006a43; text-underline-offset: .18em; }
a:hover { color: #a11e1a; }
a:focus-visible, summary:focus-visible { outline: 3px solid #c73530; outline-offset: 4px; }
.container { width: 100%; padding-inline: 4vw; }
.skip-link { position: absolute; top: -100px; z-index: 10; padding: .5em 1em; background: white; }
.skip-link:focus { top: 0; }
#main-nav { background: white; border-bottom: 1px solid #e7e7e7; }
#main-nav > .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 90px; padding-block: 18px; }
.navbar-brand { font-size: 1.65rem; font-weight: 800; color: #242424; text-decoration: none; overflow-wrap: anywhere; }
.nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: #303030; font-size: .95rem; text-decoration: none; }
.nav a:hover { color: #007b43; text-decoration: underline; }
.header-content-wrap { background: rgba(0, 0, 0, .2); color: white; padding-block: 48px 54px; }
.site-topic { margin: 0 0 14px; color: #e5f6ff; font-size: 1rem; }
h1 { margin: 0 0 26px; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.buttons a { display: inline-block; padding: 10px 20px; color: white; text-decoration: none; border-radius: 3px; }
.red-btn { background: #b81f1b; }
.green-btn { background: #006b3b; }
.buttons a:hover { filter: brightness(1.12); }
.content-area { background: white; padding-block: 40px 54px; }
p { margin: 0 0 1.4em; overflow-wrap: anywhere; }
h2 { color: #222; font-size: 1.65rem; line-height: 1.3; margin: 1.8em 0 .8em; }
h3 { font-size: 1.25rem; line-height: 1.4; margin: 1.3em 0 .7em; }
li { margin-block: .35em; overflow-wrap: anywhere; }
.entry-content > :first-child, #parasite-content > :first-child > :first-child { margin-top: 0; }
.section-header { text-align: center; padding-block: 20px; }
.section-header h2 { display: inline-block; position: relative; padding-bottom: 16px; margin-bottom: 18px; }
.section-header h2::after { position: absolute; bottom: 0; left: 25%; width: 50%; height: 3px; background: #cc0000; content: ''; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.archive-card { padding: 24px; border: 1px solid #dedede; border-top: 3px solid #007b43; }
.archive-card h3 { margin-top: 0; }
.archive-card p { margin-bottom: 0; color: #505050; }
.article-directory { padding-left: 1.3em; }
/* Photos alone are capped at their supplied resolution, to avoid upscaling. */
.article-photo { display: block; width: min(100%, 800px); height: auto; margin: 32px auto; border-radius: 2px; }
#parasite-content { min-width: 0; }
.vwr.vwr p, .vwr.vwr h2, .vwr.vwr h3, .vwr.vwr a { max-width: none; }
table { display: block; overflow-x: auto; border-collapse: collapse; }
th, td { padding: .6em; border: 1px solid #ddd; }
#footer { background: #080b0c; color: #d4d9da; padding-block: 36px 20px; }
#footer h2 { color: white; font-size: 1.2rem; margin-top: 28px; }
#footer a { color: #d2e9e5; }
#footer a:hover { color: white; }
.footer-brand { font-size: 1.5rem; font-weight: 700; color: white; }
.footer-links { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; padding: 0; margin: 0; }
.copyright { border-top: 1px solid #353b3e; margin-top: 30px; padding-top: 22px; font-size: .9rem; }
@media (max-width: 800px) {
  #main-nav > .container { align-items: flex-start; flex-direction: column; gap: 12px; }
  .nav { gap: 7px 18px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .container { padding-inline: 5vw; }
  .navbar-brand { font-size: 1.45rem; }
  .nav a { font-size: .9rem; }
  .header-content-wrap { padding-block: 30px 36px; }
  .content-area { padding-block: 28px 36px; }
  .archive-grid, .footer-links { grid-template-columns: minmax(0, 1fr); }
  .archive-card { padding: 20px; }
  h2 { font-size: 1.4rem; }
}
