/* Parasites and wildlife (/parasites-wildlife-conservation/). Loaded after guide.css.
   Adds the page colour, the "who it can reach" key (.who), a three-up notes row (.pz-two)
   and the tick-season strip's tweaks. */

/* Page colour: quenda ochre, as the hero is a quenda. (Better moved to style.css with the others.) */
.sp-parasites { --c: #94622F; --cn: #D39C60; }

/* Quick facts: four equal items, no ruler */
@media (min-width: 760px) { .pz-qf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Long-form notes in the right-hand column of a .g-cols band */
.pz-body > p { font-size: 16.5px; line-height: 1.5; max-width: 40em; margin: 0 0 16px; }
.pz-body > p b { font-stretch: 112%; font-weight: 800; }
.pz-body { border-top: 3px solid currentColor; padding-top: 16px; }
.pz-body .bignums { margin-bottom: 0; }

/* Who it can reach: a key, read like a field-guide table */
.who-fig { margin: 30px 0 0; }
.who { width: 100%; border-collapse: collapse; table-layout: fixed; }
.who .c-name { width: 34%; }
.who .c-r { width: 22%; }
.who thead th {
  position: sticky; top: 61px; z-index: 1; background: var(--white);
  text-align: left; font-stretch: 75%; font-weight: 750; font-size: 14px; color: var(--ink2);
  padding: 8px 6px 8px 0; border-bottom: 3px solid var(--ink);
}
.who tbody { border-bottom: 1px solid var(--hair2); }
.who tbody th {
  text-align: left; vertical-align: top; padding: 14px 10px 6px 0;
  font-stretch: 112%; font-weight: 800; font-size: 16.5px; line-height: 1.15; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.who tbody th i { display: block; margin-top: 3px; font-stretch: 100%; font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--ink2); }
.who td.r { vertical-align: top; padding: 15px 6px 6px 0; }
.who .w { display: block; font-stretch: 75%; font-weight: 750; font-size: 13.5px; line-height: 1.15; }
.r-none .w { color: var(--ink3); font-weight: 600; }
.mk { display: block; height: 12px; margin-bottom: 6px; border-radius: 1px; background: var(--c); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.r-some .mk, .mk.k-some { background: repeating-linear-gradient(135deg, var(--c) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1.5px var(--c); }
.r-none .mk, .mk.k-none { background: none; box-shadow: inset 0 0 0 1px var(--hair2); }
.who td.d { padding: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.who td.d p { margin: 0 0 6px; max-width: 46em; }
.who .call { color: var(--ink); }
.who .call b { font-stretch: 112%; font-weight: 800; }
.who a.tel, .faq-a a.tel { font-weight: 700; white-space: nowrap; }
/* Marks draw left to right, column by column, when the key scrolls into view */
.who td.r:nth-child(3) .mk { transition-delay: .1s; }
.who td.r:nth-child(4) .mk { transition-delay: .2s; }
.who-fig.is-hidden .mk { transform: scaleX(0); }
.who-cap { font-stretch: 75%; font-size: 13.5px; line-height: 1.5; color: var(--ink2); margin-top: 14px; max-width: 46em; }
.who-key { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px 6px 0; font-weight: 700; color: var(--ink); }
.who-key .mk { display: inline-block; width: 22px; height: 10px; margin: 0; }
@media (min-width: 760px) {
  .who .c-name { width: 31%; }
  .who .c-r { width: 23%; }
  .who thead th { top: 69px; font-size: 15px; }
  .who tbody th { font-size: 19px; padding-top: 16px; }
  .who td.r { padding-top: 18px; }
  .who .w { font-size: 15px; }
  .who td.d { font-size: 15.5px; }
}

/* Tick-season strip: one row, so less top room */
.pz-ych { margin-top: 26px; }

/* Three short notes side by side on wide screens */
.pz-two { display: grid; gap: 22px; margin-top: 34px; }
.pz-two > div { border-top: 3px solid var(--ink); padding-top: 12px; }
.pz-two p { font-size: 16px; line-height: 1.5; margin: 0; }
.pz-h3 { font-stretch: 112%; font-weight: 820; font-size: 22px; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 8px; }
.pz-h3::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; background: var(--c); vertical-align: .05em; }
@media (min-width: 760px) { .pz-two { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } }

.pz-law { margin-top: 26px; max-width: 44em; color: var(--ink2-n); }

@media (prefers-reduced-motion: reduce) {
  .mk { transition: none; }
}
