/* /backyard-bugs (src/bugs.php) */
.bugs { max-width: 1100px; margin: 0 auto; padding: 0 16px 40px; }
.bugs h1 { margin: 18px 0 6px; }
.bugs-lede { max-width: 64ch; color: var(--ink-2); margin: 0 0 18px; }
.bugs-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.bugs-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: 15px; background: var(--paper-2); }
.bugs-jump a:hover, .bugs-jump a:focus-visible { border-color: #4fc6b8; }
.bugs-jump img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.bug { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0 26px; border-top: 1px solid var(--rule); scroll-margin-top: 70px; }
.bug-head { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; }
.bug-art { width: 132px; height: 132px; border-radius: 14px; object-fit: cover; }
.bug-head h2 { margin: 0; font-size: 26px; }
.bug-sci { margin: 2px 0 8px; font-style: italic; color: var(--ink-2); }
.bug-when { margin: 0; font-size: 15.5px; line-height: 1.45; }
.bug-facts { margin: 0; padding-left: 1.1em; line-height: 1.55; }
.bug-facts li { margin: 0 0 9px; }
.bug-src { font-size: 13px; color: var(--ink-2); white-space: normal; }
.bug-src::before { content: "("; } .bug-src::after { content: ")"; }
.bug-tip { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid #4fc6b8; background: var(--paper-2); border-radius: 0 6px 6px 0; line-height: 1.5; }
.bug-photo { margin: 0; }
.bug-photo img { border-radius: 8px; }
.bugs-note { margin-top: 26px; font-size: 14px; color: var(--ink-2); }
@media (min-width: 820px) {
  .bug { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 32px; }
  .bug-head { grid-column: 1 / -1; }
  .bug-body { display: contents; }
  .bug-facts, .bug-tip { grid-column: 1; }
  .bug-photo { grid-column: 2; grid-row: 2 / span 2; align-self: start; }
}
@media (max-width: 480px) { .bug-head { grid-template-columns: 96px minmax(0, 1fr); } .bug-art { width: 96px; height: 96px; } .bug-head h2 { font-size: 22px; } }
.bugs-more { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 640px; }
.bugs-more h2 { margin: 0 0 4px; font-size: 24px; } .bugs-more p { margin: 0 0 14px; }
.bug-color { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 10px 12px; border: 1px dashed rgba(79, 198, 184, .6); border-radius: 8px; line-height: 1.45; }
.bug-color img { width: 64px; height: auto; border-radius: 4px; background: #fff; flex: none; }
.bug-color b { color: #4fc6b8; }
.bug-print { display: inline-block; margin-left: 4px; font: 600 14px/1.2 "Oswald", sans-serif; }
@media (min-width: 820px) { .bug-color { grid-column: 1; } }
