/*
  Northmount Pharmacy: veterinary compounding hub (veterinary-compounding.php).
  Small additions to the shared building blocks in site.css. Every rule is scoped to a class
  used only on the pet pages.

  Made with Aloha ~ Aloha Way Marketing
*/

/* Text under the forms table */
.vet-after { margin-top: 28px; }
.vet-after p:last-child { margin-bottom: 0; }

/* Buttons inside topic cards */
.vet-card-ctas { margin-top: 16px; }
.vet-card-ctas + .related { margin-top: 10px; }

/* Forms table: first column reads as a label */
.vet-forms th[scope="row"] { color: var(--plum); white-space: nowrap; }

/* Phones: each row becomes a small card (the column names come from data-label) */
@media (max-width: 600px) {
  .vet-forms thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vet-forms, .vet-forms tbody, .vet-forms tr, .vet-forms th, .vet-forms td { display: block; width: 100%; }
  .vet-forms tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .vet-forms tr:last-child { border-bottom: 0; }
  .vet-forms th[scope="row"], .vet-forms td { padding: 0; border: 0; white-space: normal; }
  .vet-forms th[scope="row"] { font-size: 18px; margin-bottom: 4px; }
  .vet-forms td + td { margin-top: 6px; }
  .vet-forms td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--plum); }
  .vet-forms td[data-label="What it is"]::before { content: none; }
}
