/* Pet care guides (/guides/): only the pieces the Woodmart theme has no class for. Colours and fonts
   follow the captured theme: primary red #ed0000 (--wd-primary-color), headings "Miriam Libre",
   body "Lato", text #333 to #777, square theme corners softened to 6px on cards like the /rates/ and
   /service-areas/ hubs. The banner reuses the theme's page-title block and background image. */
:root { --gd-red: var(--wd-primary-color, #ed0000); --gd-red-dark: #b80000; --gd-ink: #333333; --gd-text: #4a4a4a; --gd-mist: #f7f7f7; --gd-line: #e5e5e5; --gd-cream: #fff8e8; }

/* banner (inside .wd-page-title .container, light text on the theme's photo) */
.page-guide .wd-page-title, .page-guides-hub .wd-page-title { --wd-title-sp: 34px; }
.page-guide .wd-page-title .container, .page-guides-hub .wd-page-title .container { align-items: flex-start; text-align: left; gap: 0; }
.gd-crumbs { font-size: 14px; color: rgba(255, 255, 255, 0.9); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.gd-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gd-crumbs span[aria-hidden] { opacity: 0.75; }
.wd-page-title .gd-h1 { font-size: min(8.4vw, 40px); line-height: 1.18; margin: 0; max-width: 900px; overflow-wrap: break-word; }
.gd-summary { font-size: 18px; line-height: 1.55; color: #fff; margin: 14px 0 0; max-width: 820px; }
.gd-meta { font-size: 15px; line-height: 1.5; color: #fff; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.gd-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gd-meta a.gd-chip { text-decoration: none; }
.gd-meta .gd-reviewer { flex-basis: 100%; order: 1; }
.gd-sep { opacity: 0.75; }
.gd-chip { display: inline-block; font-family: "Lato", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--gd-red); color: #fff; line-height: 1.4; }
.gd-chip-sm { font-size: 10px; padding: 2px 7px; margin-right: 8px; vertical-align: 2px; }
.gd-chip-link:hover { background: var(--gd-red-dark); color: #fff; }

/* layout: article + sidebar */
.gd-article { color: var(--gd-text); }
.gd-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 8px 0 24px; }
@media (min-width: 1025px) { .gd-wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } .gd-side { position: sticky; top: 110px; align-self: start; } }
.gd-main { min-width: 0; max-width: 860px; font-size: 17px; line-height: 1.7; }
.gd-main p { margin: 0 0 16px; }
.gd-main a, .gd-side a, .gd-hub a:not(.gd-card):not(.gd-btn):not(.gd-chip) { color: var(--gd-red); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.gd-main a:hover { color: var(--gd-red-dark); }
.gd-h2 { font-size: min(6.6vw, 28px); line-height: 1.25; color: var(--gd-ink); margin: 38px 0 14px; scroll-margin-top: 110px; }
.gd-label { font-family: "Lato", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gd-red); margin: 0 0 8px !important; }
.gd-list { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.gd-list li { margin: 0 0 8px; }

/* short answer */
.gd-answer { background: var(--gd-cream); border: 1px solid #f1e2bd; border-radius: 6px; padding: 20px 22px; margin: 0 0 22px; }
.gd-answer p:last-child { margin: 0; font-size: 18px; line-height: 1.65; color: var(--gd-ink); }

/* table of contents */
.gd-toc { border: 1px solid var(--gd-line); border-radius: 6px; padding: 16px 20px; margin: 0 0 8px; }
.gd-toc ol { margin: 0; padding-left: 20px; columns: 2 260px; column-gap: 28px; }
.gd-toc li { margin: 0 0 6px; break-inside: avoid; font-size: 15px; line-height: 1.45; }

/* decision table: scrolls sideways inside its own frame on phones */
.gd-tablefig { margin: 26px 0 30px; }
.gd-caption { font-family: "Miriam Libre", Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 600; color: var(--gd-ink); margin: 0 0 10px; }
.gd-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--gd-line); border-radius: 6px; max-width: 100%; }
.gd-tablewrap:focus { outline: 2px dotted var(--gd-red); outline-offset: 2px; }
.gd-table { width: 100%; min-width: 600px; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.5; }
.gd-table th, .gd-table td { border-bottom: 1px solid var(--gd-line); border-right: 1px solid var(--gd-line); padding: 11px 13px; text-align: left; vertical-align: top; }
.gd-table tr > :last-child { border-right: 0; }
.gd-table tbody tr:last-child > * { border-bottom: 0; }
.gd-table thead th { background: var(--gd-mist); color: var(--gd-ink); font-weight: 700; }
.gd-table tbody th { color: var(--gd-ink); font-weight: 700; background: #fcfcfc; }

/* call-a-vet panel */
.gd-callpro { background: var(--gd-mist); border: 1px solid var(--gd-line); border-radius: 6px; padding: 18px 22px; margin: 30px 0 8px; }
.gd-callpro p:last-child { margin: 0; color: var(--gd-ink); }

/* FAQ */
.gd-faq dl { margin: 0; }
.gd-faq dt { font-family: "Miriam Libre", Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 600; color: var(--gd-ink); line-height: 1.4; margin: 22px 0 6px; }
.gd-faq dd { margin: 0; }

/* next step */
.gd-next { background: var(--gd-cream); border: 1px solid #f1e2bd; border-radius: 6px; padding: 22px; margin: 34px 0 8px; }
.gd-next p { margin: 0 0 12px; }
.gd-next-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.gd-btn { display: inline-block; padding: 12px 22px; border-radius: 4px; background: var(--gd-red); color: #fff !important; font-weight: 700; text-decoration: none !important; line-height: 1.3; text-align: center; max-width: 100%; }
.gd-btn:hover { background: var(--gd-red-dark); color: #fff !important; }
.gd-btn-alt { background: transparent; color: var(--gd-red) !important; border: 2px solid currentColor; padding: 10px 20px; }
.gd-btn-alt:hover { background: var(--gd-red); color: #fff !important; border-color: var(--gd-red); }

/* sources */
.gd-sources ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; font-size: 15px; }
.gd-sources li { margin: 0 0 6px; }
.gd-reviewed { font-size: 14px; line-height: 1.6; color: #666; margin-top: 18px; }

/* sidebar */
.gd-sidebox { border: 1px solid var(--gd-line); border-radius: 6px; padding: 18px 20px; margin: 0 0 18px; font-size: 15px; line-height: 1.6; }
.gd-sidebox p { margin: 0 0 10px; }
.gd-hours { font-size: 14px; color: #666; }
.gd-keep ul { list-style: none; margin: 0; padding: 0; }
.gd-keep li { margin: 0 0 10px; line-height: 1.45; }

/* hub */
.gd-hub { margin: 8px 0 24px; }
.gd-group { margin: 0 0 36px; }
.gd-grouphead { margin: 0 0 16px; }
.gd-grouphead .gd-h2 { margin: 8px 0 6px; }
.gd-grouphead p { margin: 0; color: var(--gd-text); }
.gd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gd-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--gd-line); border-radius: 6px; padding: 18px; color: var(--gd-text); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.gd-card:hover, .gd-card:focus { border-color: var(--gd-red); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); color: var(--gd-text); }
.gd-card .gd-chip { align-self: flex-start; }
.gd-card h3 { font-size: 19px; line-height: 1.3; margin: 0; color: var(--gd-ink); }
.gd-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.gd-go { margin-top: auto; font-weight: 700; color: var(--gd-red); font-size: 15px; }
.gd-hubmore { border-top: 1px solid var(--gd-line); padding-top: 8px; }
.gd-hubmore p { font-size: 17px; line-height: 1.7; color: var(--gd-text); }
.gd-hub-note { margin-top: 26px; }

@media (max-width: 600px) {
  .gd-summary { font-size: 16px; }
  .gd-main { font-size: 16px; }
  .gd-answer, .gd-callpro, .gd-next { padding: 16px; }
  .gd-btn { width: 100%; }
}

/* the theme resets list markers on li; restore them inside guide lists */
.gd-list li, .gd-sources li { list-style: disc outside; }
.gd-toc li { list-style: decimal outside; }
