/* ==========================================================================
   MSPCA-Angell — Print stylesheet
   Applies to pages, posts, custom post types, and archives.
   Enqueue with media="print" (see functions.php snippet), or wrap in
   @media print { ... } if you paste it into an existing stylesheet.

   Brand notes: Montserrat for headings; body copy uses the site's own font,
   MSPCA-Angell Blue family for accents (deep blue #0D5B90 is used for
   print text because it holds up better than #009CDE on paper).

   How it's organized (most general first):
     1–12  Generic print rules for any WordPress page (7 includes the
           shared slider/carousel unwrap)
     13    Theme chrome: header, footer, overlays, buttons
     14    Shared theme components, used by many templates (14.1–14.30):
           square corners, columns, quick links, cards, callouts, spacing,
           lists, photo + text blocks, icon cards, FAQ, text sections,
           More Locations, articles, guides, carousels, banners, benefits,
           photo cards, services table
     15    Homepage
     16    Listing rows: vet care locator, blog / news / press archives
     17    Vet care detail pages (heroes, Quick Links)
     18    Adoptable pets search        19  Single adoptable pet
     20    Events calendar (month view)  21  History page
     22    Map page (prints as a location directory)
     23    Donation / tribute wall (Rainbow Bridge)
     24    Team pages (vet-template: Meet Our Team)
     Keep 15–20 small: template quirks only.

   Adding a new template: print it first. Most pieces are already shared
   components and will just work. Only add a new numbered section for what
   is truly unique to that template. If a fix would help other templates
   too, put it in section 14 instead.

   Images never crop: they scale down whole (section 7). Photo slots that
   need a fixed print width are listed in PRINT_FRAMES in print.js.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Utilities — add these classes anywhere in the editor/templates
   -------------------------------------------------------------------------- */

.no-print { display: none !important; }
.print-only { display: block !important; }


/* --------------------------------------------------------------------------
   1. Page setup
   -------------------------------------------------------------------------- */

@page {
  size: letter;
  margin: 0.75in 0.7in 0.8in;

  /* Margin boxes: Chrome/Edge 131+ honor these. When the browser's own
     "Headers and footers" option is on, it replaces them. */
  @bottom-left {
    content: "MSPCA-Angell  |  mspca.org";
    font: 8pt "Montserrat", Arial, sans-serif;
    color: #4D4D4F;
  }
  @bottom-right {
    content: "Page " counter(page) " of " counter(pages);
    font: 8pt "Montserrat", Arial, sans-serif;
    color: #4D4D4F;
  }
}

@page :first {
  margin-top: 0.5in;
}


/* --------------------------------------------------------------------------
   2. Reset the screen layout
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transition: none !important;
}

html,
body {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  color: #231F20 !important;
}

/* Let the content column use the full sheet */
.site,
.site-content,
.site-main,
.content-area,
.container,
.container-fluid,
.wrapper,
.row,
main,
article,
.entry-content,
.wp-site-blocks,
.is-layout-constrained,
.is-layout-constrained > * {
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: static !important;
  overflow: visible !important;
}

/* Sticky/fixed things would repeat or overlap on every page */
[style*="position: fixed"],
[style*="position:fixed"],
[style*="position: sticky"],
[style*="position:sticky"] {
  position: static !important;
}


/* --------------------------------------------------------------------------
   3. Hide screen-only chrome
   Adjust the theme-specific lines to match the MSPCA-Angell markup.
   -------------------------------------------------------------------------- */

/* Navigation, search, menus */
nav,
.main-navigation,
.primary-menu,
.menu-toggle,
.navbar,
.utility-nav,
.top-bar,
.breadcrumbs,
.search-form,
.searchform,
.site-search,
.skip-link,
.screen-reader-text,

/* Sidebars, widgets, footer */
aside,
.sidebar,
.widget-area,
#secondary,
.site-footer,
footer.site-footer,
.footer-widgets,

/* Engagement + calls to action that mean nothing on paper */
.share,
.sharing,
.social-share,
.social-links,
.sharedaddy,
.addtoany_share_save_container,
.donate-banner,
.newsletter-signup,
.subscribe,
.wp-block-buttons,
.wp-block-search,
.wp-block-social-links,
.wp-block-navigation,
.wp-block-loginout,

/* Comments: keep the discussion, drop the reply form */
#respond,
.comment-respond,
.comment-reply-link,
.comment-navigation,

/* Pagination / post nav */
.pagination,
.nav-links,
.post-navigation,
.posts-navigation,
.page-links,
.wp-block-query-pagination,

/* Media that can't print */
video,
audio,
iframe,
embed,
object,
.wp-block-embed,
.wp-block-video,
.wp-block-audio,

/* Forms (Gravity Forms, Contact Form 7, WPForms, generic) */
form,
.gform_wrapper,
.wpcf7,
.wpforms-container,

/* Overlays, popups, consent banners, chat widgets */
.modal,
.popup,
.cookie-notice,
#cookie-notice,
.cky-consent-container,
.cmplz-cookiebanner,
#onetrust-consent-sdk,
.intercom-lightweight-app,
.back-to-top,
.scroll-to-top,

/* Admin bar and developer panels when logged in (Query Monitor, Events
   Calendar debug bar): they print as pages of tables at the end */
#wpadminbar,
[id^="query-monitor"],
#qm,
#mt-debug-bar,

/* Theme-specific — add MP template / MSPCA selectors here */
.mp-hero-cta,
.mp-alert-bar {
  display: none !important;
}

html { margin-top: 0 !important; } /* undo admin-bar offset */


/* --------------------------------------------------------------------------
   4. Header: keep the real logo, drop everything else
   (Never recreate the logo — this just lets the existing image print.)
   -------------------------------------------------------------------------- */

.site-header,
header.site-header {
  display: block !important;
  position: static !important;
  height: auto !important;
  padding: 0 0 0.15in !important;
  margin: 0 0 0.25in !important;
  border-bottom: 1.5pt solid #009CDE !important;
}

.site-header > *:not(.site-branding):not(.custom-logo-link):not(.site-logo) {
  display: none !important;
}

.site-header .custom-logo,
.site-header .site-logo img {
  display: block !important;
  width: auto !important;
  height: 0.6in !important;      /* well above the 1/8" brand minimum */
  max-width: 2.5in !important;
}

.site-description { display: none !important; }


/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */

body,
p,
li,
td,
th,
dd,
dt,
blockquote,
figcaption {
  /* No font-family here: body text uses the website's own font, so print matches the screen */
  font-size: 11.5pt !important;
  line-height: 1.45 !important;
  color: #231F20 !important;
  text-wrap: pretty;  /* avoid a single word stranded on the last line */
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  color: #0D5B90 !important;
  line-height: 1.2 !important;
  margin: 1.2em 0 0.4em !important;
  break-after: avoid;
  page-break-after: avoid;
}

h1, .entry-title, .page-title { font-size: 22pt !important; color: #2C4068 !important; margin-top: 0 !important; }
h2 { font-size: 16pt !important; }
h3 { font-size: 13pt !important; }
h4, h5, h6 { font-size: 11.5pt !important; color: #2C4068 !important; }
/* Small headings inside page content (theme colors them light gray, and
   pasted text can carry its own inline gray). Brand navy, so they read
   clearly as headings on paper. */
main :is(h4, h5, h6),
main :is(h4, h5, h6) *,
main :is(h4, h5, h6) [style*="color"] {
  color: #2C4068 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Intro/lede copy uses Montserrat per brand */
.lead,
.intro,
.has-large-font-size,
.wp-block-post-excerpt {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12.5pt !important;
  line-height: 1.4 !important;
}

p, li, blockquote {
  orphans: 3;
  widows: 3;
}

strong, b { font-weight: 700 !important; }

/* Post meta (date, author, categories) — small and quiet */
.entry-meta,
.posted-on,
.byline,
.cat-links,
.tags-links,
.wp-block-post-date,
.wp-block-post-author,
.wp-block-post-terms {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 9pt !important;
  color: #4D4D4F !important;
}

blockquote,
.wp-block-quote,
.wp-block-pullquote {
  margin: 1em 0 !important;
  padding: 0 0 0 0.2in !important;
  border-left: 3pt solid #009CDE !important;
  font-style: italic;
  break-inside: avoid;
}

code, pre {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 9.5pt !important;
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
}

pre {
  border: 0.75pt solid #D1D5D9 !important;
  padding: 0.1in !important;
  break-inside: avoid;
}

hr {
  border: 0 !important;
  border-top: 0.75pt solid #D1D5D9 !important;
  margin: 1.25em 0 !important;
}


/* --------------------------------------------------------------------------
   6. Links — styled as links; addresses are not printed after them
   -------------------------------------------------------------------------- */

a,
a:visited {
  color: #0D5B90 !important;
  text-decoration: underline !important;
}

/* Phone and email links read fine as plain text */
a[href^="tel:"],
a[href^="mailto:"] {
  color: #231F20 !important;
  text-decoration: none !important;
}

/* Standalone buttons that survive (e.g. inside content) print as plain text links */
.wp-block-button__link,
.button,
.btn {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0D5B90 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 600 !important;
}


/* --------------------------------------------------------------------------
   7. Images and figures
   -------------------------------------------------------------------------- */

img,
svg,
figure,
.wp-block-image {
  max-width: 100% !important;
  height: auto !important;
  break-inside: avoid;
  page-break-inside: avoid;
}

figure,
.wp-block-image {
  margin: 0.8em 0 !important;
}

/* Never crop on paper: every image in the page content scales down whole,
   keeping its own proportions, and never prints taller than 4.5in.
   (print.js backs this up for theme rules that force fixed heights.) */
main img {
  height: auto !important;
  max-height: 4.5in !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Keep big photos from stretching to full width */
.entry-content img {
  width: auto !important;
}

figcaption,
.wp-element-caption,
.wp-caption-text {
  font-size: 9pt !important;
  font-style: italic;
  color: #4D4D4F !important;
  margin-top: 0.3em !important;
}

/* Featured image: smaller, sits under the title */
.post-thumbnail img,
.wp-post-image,
.wp-block-post-featured-image img {
  max-height: 3in !important;
  width: auto !important;
}

/* Galleries: tidy grid of 3 */
.wp-block-gallery,
.gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.1in !important;
}
.wp-block-gallery img,
.gallery img {
  max-height: 1.8in !important;
  width: 100% !important;
  height: auto !important;
}

/* Cover/hero blocks: drop the background photo/overlay, keep the words */
.wp-block-cover,
.wp-block-cover-image,
.hero,
.page-hero {
  min-height: 0 !important;
  padding: 0 !important;
  color: #231F20 !important;
}
.wp-block-cover__image-background,
.wp-block-cover__video-background,
.wp-block-cover__background,
.wp-block-cover .has-background-dim {
  display: none !important;
}
.wp-block-cover__inner-container,
.wp-block-cover__inner-container * {
  color: #231F20 !important;
}

/* Sliders and carousels (Slick, Swiper, Owl, Splide, Glide): on paper,
   print every real slide. Arrows, dots and the loop copies sliders add
   are hidden, and the sliding track is flattened in place. Each component
   then lays out its own slides (a grid or rows: see 14.14, 14.24 and 15).
   Exception: a hero slider prints its first slide only (below). */
:is(.slick-arrow, .slick-dots, .swiper-button-next, .swiper-button-prev,
    .swiper-pagination, .owl-nav, .owl-dots, .splide__arrows, .splide__pagination),
:is(.slick-cloned, .swiper-slide-duplicate, .owl-item.cloned, .splide__slide--clone) {
  display: none !important;
}
:is(.slick-list, .swiper, .swiper-container, .owl-stage-outer, .splide__track, .glide__track) {
  display: block !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
:is(.slick-track, .swiper-wrapper, .owl-stage, .splide__list, .glide__slides) {
  width: auto !important;
  height: auto !important;
  transform: none !important;
  left: auto !important;
  margin: 0 !important;
}
:is(.slick-track, .owl-stage)::before,
:is(.slick-track, .owl-stage)::after {
  content: none !important;
  display: none !important;
}
:is(.slick-slide, .swiper-slide, .owl-item, .splide__slide, .glide__slide) {
  display: block !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Slick wraps each slide's content in one or two extra <div>s */
.slick-slide > div {
  display: block !important;
  width: auto !important;
}
/* Hero sliders and Bootstrap carousels: first slide only */
.main-slider :is(.slick-slide:not(.slick-current), .swiper-slide:not(.swiper-slide-active)),
.carousel-item:not(.active) {
  display: none !important;
}


/* --------------------------------------------------------------------------
   8. Layout blocks
   -------------------------------------------------------------------------- */

/* Columns stack so nothing gets squished */
.wp-block-columns {
  display: block !important;
}
.wp-block-column {
  width: 100% !important;
  flex-basis: 100% !important;
  margin: 0 0 0.6em !important;
}

/* Media & text: image then text */
.wp-block-media-text {
  display: block !important;
}
.wp-block-media-text__media img {
  max-height: 3in !important;
  width: auto !important;
}

/* Colored groups/callouts: keep a light outline so they still read as boxes */
.wp-block-group.has-background,
.has-background:not(body):not(html),
.callout,
.alert,
.notice {
  border: 0.75pt solid #C4DEF2 !important;
  border-left: 3pt solid #009CDE !important;
  padding: 0.12in 0.16in !important;
  margin: 1em 0 !important;
  break-inside: avoid;
}

/* Text set in white on a colored background on screen → make it legible */
.has-white-color,
.has-text-color[style*="color:#fff"],
.has-text-color[style*="color:#ffffff"] {
  color: #231F20 !important;
}

/* Accordions/tabs: show all panels (pair with the beforeprint JS for <details>) */
.accordion-content,
.accordion-collapse,
.collapse,
.tab-pane,
[aria-hidden="true"].accordion-panel {
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.tab-list,
[role="tablist"] {
  display: none !important;
}
summary {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }


/* --------------------------------------------------------------------------
   9. Tables
   -------------------------------------------------------------------------- */

table,
.wp-block-table table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1em 0 !important;
}

.wp-block-table {
  overflow: visible !important;
}

thead {
  display: table-header-group; /* repeat header row on each page */
}

tr,
img {
  break-inside: avoid;
  page-break-inside: avoid;
}

th,
td {
  border: 0.75pt solid #858F98 !important;
  padding: 0.05in 0.08in !important;
  text-align: left;
  vertical-align: top;
  font-size: 10pt !important;
}

th {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 600 !important;
  color: #2C4068 !important;
  border-bottom-width: 1.5pt !important;
}


/* --------------------------------------------------------------------------
   10. Lists
   -------------------------------------------------------------------------- */

ul, ol {
  padding-left: 0.3in !important;
  margin: 0.5em 0 !important;
}

li {
  margin-bottom: 0.2em !important;
}


/* --------------------------------------------------------------------------
   11. Page-break helpers (add classes in the editor's "Additional CSS class")
   -------------------------------------------------------------------------- */

.page-break-before { break-before: page; page-break-before: always; }
.page-break-after  { break-after: page;  page-break-after: always; }
.keep-together     { break-inside: avoid; page-break-inside: avoid; }


/* --------------------------------------------------------------------------
   12. Generic fallbacks (fixed elements, scroll animations, tall sections)
   -------------------------------------------------------------------------- */

/* Chrome repeats position:fixed/sticky elements on EVERY printed page */
header,
footer,
[class*="sticky"],
[class*="is-fixed"],
[class*="fixed-top"] {
  position: static !important;
  top: auto !important;
}

/* Scroll animations start content invisible and never fire in print */
[data-aos],
.aos-init,
.wow,
.animated,
.animate__animated,
.reveal,
[class*="fade-"],
[class*="slide-up"] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Sections keep their screen heights after backgrounds/video are removed */
section,
[class*="hero"],
[class*="banner"],
[class*="section"] {
  min-height: 0 !important;
  height: auto !important;
}

[class*="donate"]:not(body):not(html),
[class*="load-more"],
[class*="loadmore"] {
  display: none !important;
}


/* --------------------------------------------------------------------------
   13. MSPCA theme (web/app/themes/mspca): header, footer, overlays, buttons
   -------------------------------------------------------------------------- */

/* Header: real logo only, printed once */
.header {
  display: block !important;
  position: static !important;
  height: auto !important;
  padding: 0 0 0.15in !important;
  margin: 0 0 0.25in !important;
  border-bottom: 1.5pt solid #009CDE !important;
}
.header .container {
  display: block !important;
  padding: 0 !important;
}
/* Logo on the left, emergency number on the right */
.header__wrapper {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 !important;
}
.header__mobile,
.header__burger,
.header__logo .logo-main,
.header__bottom,
.header__donate,
.header__accessibility,
.header__search,
.header__language {
  display: none !important;
}

/* Emergency number from the top bar. Only the first button (the phone
   number) prints; Urgent Care and Report Cruelty are just links on screen. */
.header__right,
.header__content,
.header__top,
.header__buttons {
  display: block !important;
  position: static !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  text-align: right !important;
}
.header__buttons a {
  display: none !important;
}
.header__buttons a:first-child {
  display: inline-block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #231F20 !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.header__buttons a:first-child::after {
  content: none !important;
}
/* logo-main has white lettering for the dark header; the sticky logo is the dark version */
.header__logo .logo-sticky {
  display: inline-block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.header__logo img {
  width: auto !important;
  height: 0.6in !important;
  max-width: 2.5in !important;
}

/* Mobile menu, popups, Recite Me button */
.mobile-menu,
.overlay-block,
.language-popup,
.mfp-hide,
#reciteme-button,
#reciteme-toolbar,
.searchwp-live-search-results,
.pum-overlay,
.popmake {
  display: none !important;
}

/* Footer: print only the small print at the bottom (nonprofit/EIN line and
   copyright), once, after the content on the last page. The menus, social
   icons, buttons, logo, designer credit and links are left off. */
.footer {
  display: block !important;
  position: static !important;
  background: none !important;
  color: #4D4D4F !important;
  margin: 0.35in 0 0 !important;
  padding: 0.1in 0 0 !important;
  border-top: 1px solid #D1D5D9 !important;
  break-inside: avoid;
  page-break-inside: avoid;
}
.footer__top,
.footer__logo,
.footer__dev,
.footer__links {
  display: none !important;
}
.footer__bottom,
.footer__bottom .container,
.footer__bottom--wrapper,
.footer__right,
.footer__right--bottom {
  display: block !important;
  text-align: center !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}
.footer__content p,
.footer__copy p {
  text-align: center !important;
  text-wrap: pretty;  /* no one-word last line ("#170" on its own) */
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8pt !important;
  line-height: 1.4 !important;
  color: #4D4D4F !important;
  margin: 0 0 0.03in !important;
}

/* Section spacing (inline padding-top: px values are ignored anyway) */
main.content > section {
  padding: 0 !important;
  margin: 0 0 0.3in !important;
}
.section__header {
  margin-bottom: 0.1in !important;
}

/* Theme buttons (btn--accent, btn--fullColor, btn--white, btn--arrow-*) as plain links */
[class*="btn--"] {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10pt !important;
  font-weight: 600 !important;
  color: #0D5B90 !important;
  text-decoration: underline !important;
}
[class*="btn--"]::before,
[class*="btn--"]::after {
  content: none !important;
  display: none !important;
}
[class*="btn--"] {
  margin: 0 !important;
  /* Buttons on screen can be shifted, faded, masked or animated (hover
     fill effects); on paper they're plain links in their normal spot */
  position: static !important;
  left: auto !important;
  transform: none !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  overflow: visible !important;
  opacity: 1 !important;
  filter: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  clip-path: none !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  white-space: nowrap;
}
/* Text pasted into a button can carry its own color (often white, for the
   blue button) on an inner span or strong */
[class*="btn--"] *,
[class*="btn--"] [style*="color"] {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  background: none !important;
}
/* A paragraph of link buttons ("Boston Area  Methuen Area"): a tidy line
   of links, with a little space between them */
p:has(> a[class*="btn"]) {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.03in 0.3in;
  margin: 0.04in 0 0.08in !important;
  padding: 0 0 0 1px !important;   /* never let the first letter touch an edge */
  overflow: visible !important;
  text-indent: 0 !important;
}
p:has(> a[class*="btn"]) + p:has(> a[class*="btn"]) {
  margin-top: -0.04in !important;
}
/* Button wrapper the editor adds around content buttons
   (<span class="wrapper__simple--btn">). The theme gives it
   margin: 30px -10px 0, which pulls the button 10px past the left edge of
   the text column. On paper that edge clips, which ate the "R" of
   "Report By Form". */
.wrapper__simple--btn {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.03in 0.3in;
  margin: 0.08in 0 0.1in !important;
  padding: 0 !important;
}
.wrapper__simple--btn .simple--btn {
  margin: 0 !important;
}

/* Embedded forms and videos: print.js hides each one with its empty
   wrappers (.print-embed-hidden) and leaves a one-line note */
.print-embed-hidden {
  display: none !important;
}
.print-embed-note {
  margin: 0.1in 0 !important;
  padding: 0.04in 0 0.04in 0.12in !important;
  border-left: 2pt solid #009CDE;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 9.5pt !important;
  font-weight: 600 !important;
  color: #2C4068 !important;
}

/* Spacer paragraphs (just a non-breaking space) — print.js marks them */
.print-empty {
  display: none !important;
}
.section__btn {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.06in 0.3in;
  /* theme: margin 30px -10px 0, which nudges the link left of the text */
  margin: 0.1in 0 0 !important;
  padding: 0 !important;
}


/* --------------------------------------------------------------------------
   14. Shared theme components (used on more than one template)
   Add new templates' classes to these lists instead of repeating the rules.
   -------------------------------------------------------------------------- */

/* 14.1 Square corners: rounded cards, photos and pills on screen print
   with square corners, so divider lines and photo edges stay straight.
   (Shadows are already off everywhere, section 2.) */
.header__buttons a:first-child,
.content-block .content-block__img,
.content-block .content-block__img img,
.get-involved .get-involved__item,
.more-locations,
.more-locations .container,
.more-locations__list,
.more-locations__item,
.more-locations__item *,
.programs-section__image img,
.mspca-pet-card,
.mspca-pet-card-link,
.mspca-pet-card-image,
.mspca-pet-card-overlay,
.mspca-hero-image img,
.veterinarycare__category,
.veterinarycare__img img,
.veterinarycare__item {
  border-radius: 0 !important;
}

/* 14.2 Columns: the theme uses half-width, offset columns. On paper, full width. */
.mission__wrapper,
.mission__left,
.mission__right,
.mission__list,
.content-block__descr,
.impact__right,
.impact__item,
.programs-block__list,
.veterinarycare-main__wrapper,
.veterinarycare-main__left,
.veterinarycare-main__right,
.veterinarycare-main__links,
.veterinarycare-main__links--list {
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  transform: none !important;
  justify-content: start !important;
}
.mission__wrapper,
.impact__wrapper,
.content-block__list,
.veterinarycare-main__wrapper {
  display: block !important;
}

/* 14.3 Eyebrow text above a heading ("Leading Care Facilities") */
.section__subtitle {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10pt !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2C4068 !important; /* brand navy (PMS 534): darker than gray, prints crisp */
  margin: 0 0 0.04in !important;
}

/* 14.4 Icon quick links (homepage mission links, vet care Quick Links) */
.mission__list,
.veterinarycare-main__links--list {
  display: grid !important;
  gap: 0.12in 0.2in;
  margin-top: 0.12in !important;
}
.mission__item,
.veterinarycare-main__links--item a {
  display: flex !important;
  align-items: center;
  gap: 0.08in;
  width: auto !important;
  margin: 0 !important;
  break-inside: avoid;
}
.mission__item,
.veterinarycare-main__links--item {
  break-inside: avoid;
}
.mission__icon img,
.veterinarycare-main__links--item img {
  width: auto !important;
  height: auto !important;
  max-width: 0.26in !important;
  max-height: 0.26in !important;
  flex: none;
}
.mission__descr a,
.veterinarycare-main__links--item a {
  color: #231F20 !important;
  text-decoration: none !important;
}
.mission__title,
.mission__text,
.veterinarycare-main__links--item span {
  display: block;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8.5pt !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

/* 14.5 Cards (homepage Programs, Featured Jobs): title + short text.
   Listing rows (vet care locator, blog and press archives) are in 16. */
.programs-block__item {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  transform: none !important;
  break-inside: avoid;
  page-break-inside: avoid;
}
.programs-block__title {
  margin: 0 !important;
  line-height: 1.2 !important;
}
.programs-block__title a {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10.5pt !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #0D5B90 !important;
  text-decoration: none !important;
}
.programs-block__content p {
  font-size: 9.5pt !important;
  line-height: 1.35 !important;
  margin: 0.03in 0 0 !important;
}

/* 14.6 Callout note printed in place of live/interactive content */
.available-pets .section__header::after,
.veterinarycare-main__right:has(.wrap-btn__load-more)::after,
.tableauPlaceholder::before {
  display: block;
  margin-top: 0.08in;
  padding: 0.08in 0.14in;
  border-left: 3pt solid #009CDE;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 10.5pt;
  font-weight: 600;
  color: #2C4068;
}

/* Tableau data dashboards (e.g. Shelter Animals Count on How to Adopt):
   live charts that can't print. Their script also sets a fixed width
   (1000px+), which made the browser shrink the WHOLE page to fit, so every
   font on the page printed small. Show a note in their place. */
.tableauPlaceholder {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0.15in 0 !important;
}
.tableauPlaceholder > * {
  display: none !important;
}
.tableauPlaceholder::before {
  content: "Interactive data dashboard: view it on this page at mspca.org";
}

/* Width guard: nothing in the page content may be wider than the paper.
   One oversized element (a fixed-width embed, a wide table, a slider
   track) makes the browser scale the entire page down to fit. */
main,
main * {
  max-width: 100% !important;
  min-width: 0 !important;
}
main table {
  table-layout: fixed;
  width: 100% !important;
}

/* 14.7 Interactive pieces that do nothing on paper */
.ajaxFormFilter,
.form-filter,
.clearFilter,
.search-toggle,
.search-reset,
.wrap-btn__load-more,
.ajaxLoadMore {
  display: none !important;
}


/* 14.8 Load More buttons, on any template (print.js loads everything
   before printing, so the button has nothing left to do on paper) */
.ajaxLoadMore,
.wrap-btn__load-more,
[class*="load-more"],
[class*="loadmore"] {
  display: none !important;
}

/* 14.9 Top-of-page spacing. The theme pads the page to clear the fixed header
   and gives hero/banner areas a tall minimum height; neither is needed on paper. */
#page,
.wrapper,
main,
main.content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
main > :first-child {
  margin-top: 0 !important;
  padding-top: 0.1in !important;
}
:is([class*="hero"], [class*="banner"], [class*="-top"]):not(.footer__top):not(.header__top) {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0.1in !important;
  margin-top: 0 !important;
  background: none !important;
}


/* 14.10 Section spacing: the theme sets big padding inline on each section */
main.content > section {
  padding-top: 0.12in !important;
  padding-bottom: 0.12in !important;
  margin: 0 !important;
}
main.content > section > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 14.11 Lists in written content: the theme draws its own bullets (hidden in
   print) and turns them off on each item, so restore plain ones per item */
.section__content ul,
.html-content ul,
.faq__content ul,
.section__content ol,
.html-content ol,
.faq__content ol {
  padding-left: 0.3in !important;
}
.section__content ul > li,
.html-content ul > li,
.faq__content ul > li {
  display: list-item !important;
  list-style: disc outside !important;
  padding-left: 0 !important;
}
.section__content ol > li,
.html-content ol > li,
.faq__content ol > li {
  display: list-item !important;
  list-style: decimal outside !important;
  padding-left: 0 !important;
}
.section__content li::before,
.html-content li::before,
.faq__content li::before {
  content: none !important;
  display: none !important;
}

/* 14.12 Phone numbers never split across lines; emails break only if they must */
a[href^="tel:"] {
  white-space: nowrap !important;
}
a[href^="mailto:"] {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* 14.13 Photo + text blocks (content-block): photo in its own column on the
   left, text in the other. print.js sizes the photo from its own
   proportions (PRINT_FRAMES), so the whole photo shows, never cropped. */
.content-block__list,
.content-block__item,
.content-block .section__header,
.content-block .section__content {
  width: auto !important;
  max-width: none !important;
}
.content-block__list {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Photo in its own column, text in the other; text never wraps under the
   photo (that made long blocks, like Lost and Found, ragged) */
.content-block__item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.25in;
  align-items: start;
  padding: 0 !important;
  margin: 0.2in 0 !important;
}
/* No photo: text uses the full width */
.content-block__item:not(:has(.content-block__img img)) {
  display: block !important;
}
.content-block .content-block__img {
  grid-column: 1;
  grid-row: 1;
  break-inside: avoid;
  float: none !important;
  width: auto !important;
  max-width: 2.3in !important;
  height: auto !important;
  max-height: none !important;
  margin: 0.05in 0 0 0 !important;
  position: static !important;
}
.content-block .content-block__img img {
  min-height: 0 !important;          /* theme: min-height 400px */
  aspect-ratio: auto !important;     /* theme crops to 895:600 */
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 2.2in !important;
  object-fit: contain !important;
}
.content-block__descr {
  grid-column: 2;
  grid-row: 1;
}
/* "right-content" blocks put the text first in the HTML; keep the photo
   on the left anyway */
.content-block__descr,
.content-block__descr .section__header,
.content-block__descr .section__content {
  display: block !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
.content-block__descr h2 {
  margin-top: 0 !important;
}
.content-block__api,
.content-block__play,
.api-buttons {
  display: none !important;
}

/* 14.14 Icon cards (get-involved: refill requests, ways to help): a wrapping
   row of 3 with small icons. print.js also forces every card visible, since
   the theme's "Load More" script can hide some when printing. */
.get-involved .get-involved__list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 0.15in 0.25in !important;
  width: auto !important;
  transform: none !important;
  /* The theme's Load More script can collapse the list to a fixed height
     with the rest clipped; on paper, show the full list */
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
}
.get-involved,
.get-involved .container {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.get-involved .section__header,
.get-involved .section__title {
  text-align: left !important;
  width: auto !important;          /* theme: calc(100% - 130px) */
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.get-involved .section__header {
  margin-bottom: 0.1in !important;
  padding-left: 0 !important;      /* program pages: padding 0 130px */
  padding-right: 0 !important;
}
/* On desktop the theme turns this list into a Slick slider; section 7
   unwraps it. Here the slides become the row/column items. */
.get-involved .get-involved__list::before,
.get-involved .get-involved__list::after,
.get-involved .get-involved__list > :not(.get-involved__item):not(.slick-list) {
  content: none !important;
  display: none !important;
}
/* Theme pulls the list 25px past each edge (margin: 0 -25px) for card
   shadows; on paper that cuts off the left of the first card */
.get-involved .get-involved__list,
.get-involved .slick-list,
.get-involved .slick-track {
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
}
/* Each slide (fixed pixel width on screen) is one card's column */
.get-involved .slick-slide:not(.slick-cloned) {
  flex: 0 0 calc((100% - 0.5in) / 3) !important;
  width: calc((100% - 0.5in) / 3) !important;
  max-width: calc((100% - 0.5in) / 3) !important;
  padding: 0 !important;
  break-inside: avoid;
}
.get-involved .slick-slide .get-involved__item {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
}
.get-involved .slick-track {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.15in 0.25in !important;
}
.get-involved .get-involved__item {
  display: flex !important;
  flex: 0 0 calc((100% - 0.5in) / 3) !important;
  max-width: calc((100% - 0.5in) / 3) !important;
  align-items: center;
  gap: 0.1in;
  order: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
  text-align: left !important;
  break-inside: avoid;
}
.get-involved__icon img {
  width: auto !important;
  height: auto !important;
  max-width: 0.45in !important;
  max-height: 0.45in !important;
}
.get-involved__title,
.get-involved__title span,
.get-involved__descr {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
}
.get-involved__title,
.get-involved__title span {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #231F20 !important;
}
.get-involved__content p {
  font-size: 9.5pt !important;
  margin: 0.03in 0 0 !important;
}
.get-involved__btn,
.get-involved__loadmore {
  display: none !important;
}

/* 14.15 Icon cards that have a description (Get Involved: Volunteer,
   Advocate, Newsletter): one card per row, icon on the left, title and
   text beside it, left-aligned. Cards without a description (refill
   requests, Additional Resources) stay three across. */
.get-involved__list:has(.get-involved__content),
.get-involved__list:has(.get-involved__content) .slick-track {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}
.get-involved__list:has(.get-involved__content) .slick-slide:not(.slick-cloned) {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
}
.get-involved__list:has(.get-involved__content) .get-involved__item {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.18in !important;
  padding: 0.1in 0 !important;
  border-bottom: 0.5pt solid #D1D5D9 !important;
  text-align: left !important;
}
.get-involved__list:has(.get-involved__content) {
  border-top: 0.5pt solid #D1D5D9 !important;
}
.get-involved__list:has(.get-involved__content) .get-involved__icon {
  flex: 0 0 0.5in !important;
  width: 0.5in !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  display: block !important;
}
.get-involved__list:has(.get-involved__content) .get-involved__icon img {
  display: block !important;
  max-width: 0.5in !important;
  max-height: 0.45in !important;
  margin: 0 !important;
}
.get-involved__list:has(.get-involved__content) .get-involved__descr,
.get-involved__list:has(.get-involved__content) .get-involved__title,
.get-involved__list:has(.get-involved__content) .get-involved__content {
  flex: 1 1 auto;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}
.get-involved__list:has(.get-involved__content) .get-involved__title,
.get-involved__list:has(.get-involved__content) .get-involved__title span {
  color: #2C4068 !important;
}
.get-involved__list:has(.get-involved__content) .get-involved__content,
.get-involved__list:has(.get-involved__content) .get-involved__content p {
  font-size: 10pt !important;
  line-height: 1.4 !important;
  margin: 0.02in 0 0 !important;
}

/* 14.16 FAQ accordions: answers are collapsed on screen; show them all */
.faq__item {
  margin: 0 0 0.15in !important;
  padding: 0 !important;
  border: none !important;
}
.faq__title {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  margin: 0 0 0.05in !important;
  padding: 0 !important;
  break-after: avoid;
}
/* The theme greys out closed accordion titles (color and opacity on the
   title and its <strong>). On paper every answer shows, so every title
   gets full color: brand navy, bold. */
.faq__item .faq__title,
.faq__item .faq__title strong,
.faq__item .faq__title * {
  color: #2C4068 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  filter: none !important;
}
.faq__item {
  opacity: 1 !important;
  filter: none !important;
}
.faq__title::before,
.faq__title::after {
  content: none !important;
}
.faq__content {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 0 !important;
}

/* 14.17 One-column text sections (multipurpose-single): full page width.
   The theme sets a fixed width and offset on screen, which runs the text
   off the right edge of the paper. */
.multipurpose-single,
.multipurpose-single .container,
.multipurpose-single__content {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
  transform: none !important;
  float: none !important;
  overflow: visible !important;
}
.multipurpose-single__content p,
.multipurpose-single__content li {
  overflow-wrap: break-word;
}

/* Headings with a decorative line or icon in front (title-with-before):
   drop the decoration and its indent */
.title-with-before {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
}
.title-with-before::before,
.title-with-before::after {
  content: none !important;
  display: none !important;
}

/* 14.18 Two-column text sections (multipurpose-double): keep side by side */
.multipurpose-double__row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.3in;
}
.multipurpose-double__column {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* 14.19 More Locations (template-parts/section/more-locations): one location
   per row, name on the left, address and contact details on the right */
/* The theme pulls the list and its container left with negative margins
   (column gutters). On paper that pushes the start of every row past the
   page margin, where it gets cut off. */
.more-locations,
.more-locations .container,
.more-locations__list {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
}
.more-locations__list {
  display: block !important;
  width: 100% !important;
  border-top: 1pt solid #D1D5D9;
  margin-top: 0.08in !important;
}
.more-locations__item {
  display: grid !important;
  grid-template-columns: 2.1in 1fr;
  gap: 0 0.25in;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.08in 0 !important;
  border-bottom: 0.5pt solid #D1D5D9;
  break-inside: avoid;
  page-break-inside: avoid;
}
.more-locations__name,
.more-locations__location {
  grid-column: 1;
  margin: 0 !important;
}
.more-locations__name a {
  display: inline !important;
  line-height: 1.25 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  text-decoration: none !important;
}
.more-locations__location,
.more-locations__location a {
  /* Brand guidelines: Gill Sans MT Italic for locations */
  font-family: "Gill Sans MT", "Gill Sans", "Gill Sans Nova", Calibri, sans-serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 10.5pt !important;
  color: #231F20 !important;
  text-decoration: none !important;
}
.more-locations__contact {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid !important;
  grid-template-columns: 2.3in 1fr;
  gap: 0.02in 0.25in;
  margin: 0 !important;
  font-size: 10pt !important;
}
.more-locations__address {
  grid-column: 1;
  grid-row: 1 / span 3;
}
.more-locations__phone,
.more-locations__fax,
.more-locations__email {
  grid-column: 2;
}
.more-locations__elem {
  margin: 0 !important;
  padding: 0 !important;
}
.more-locations__elem a {
  color: #231F20 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Fax numbers are labeled wherever they appear, so they aren't read as a
   second phone number */
.more-locations__fax a::before,
.hero-hospital__fax a::before {
  content: "Fax: ";
}
.more-locations a::after,
.our-specialties a::after,
.hero-hospital a::after {
  content: none !important;
}


/* (14.19, continued) More Locations cleanup: the screen styles center, shift and clip
   the names, and round the card corners. Reset all of that for paper. */
.more-locations,
.more-locations .container,
.more-locations__list,
.more-locations__item,
.more-locations__item * {
  text-align: left !important;
  overflow: visible !important;
  transform: none !important;
}
.more-locations__item {
  border: 0 !important;
  border-bottom: 0.5pt solid #D1D5D9 !important;
  outline: 0 !important;
}
.more-locations__item::before,
.more-locations__item::after {
  content: none !important;
  display: none !important;
}
.more-locations__name,
.more-locations__location,
.more-locations__name a,
.more-locations__location a,
.more-locations__contact,
.more-locations__elem {
  position: static !important;
  left: auto !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
  white-space: normal !important;
  width: auto !important;
  max-width: none !important;
}
.more-locations__elem a {
  white-space: nowrap !important;
}
.more-locations .section__header,
.more-locations .section__title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  width: auto !important;
  max-width: none !important;
}


/* 14.20 Screen effects off: clip paths, masks and animation start positions
   that the theme uses for reveal effects and rounded card corners. On paper
   they cut off the start of names. Add a component here if its text prints
   clipped on the left. */
.more-locations,
.more-locations *,
.our-specialties,
.our-specialties *,
.hero-hospital,
.hero-hospital *,
.veterinarycare__item,
.veterinarycare__item * {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  clip: auto !important;
  opacity: 1 !important;
  translate: none !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 14.21 Article pages (single-detail: clinical articles, blog posts).
   On screen the article runs in a narrow left column with the author
   card, Print button and share icons in a sidebar. On paper: article at
   full width, with a compact author line at the top. */
.hero-articles,
.hero-articles .container,
.hero-articles__wrapper,
.hero-articles__descr {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hero-articles .section__title {
  margin: 0 0 0.15in !important;
}
/* Small cropped thumbnail beside the title; the article's own figures print */
.hero-articles__img {
  display: none !important;
}

.single-detail__main--wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.single-detail__main--left,
.single-detail__sidebar {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Author card first, above the article */
.single-detail__sidebar {
  order: -1;
}
.single-detail__print,
.single-detail__share,
.single-detail__main--mobile,
.pdfprnt-buttons,
[class*="pdfprnt"],
[class*="print-button"],
[class*="print-btn"],
a[href*="imageToPdf"],
a[href="#print"],
a[onclick*="print"] {
  display: none !important;
}
.single-detail__author {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0 0.2in;
  padding: 0 0 0.12in !important;
  margin: 0 0 0.2in !important;
  border-bottom: 0.75pt solid #D1D5D9;
  break-inside: avoid;
}
.single-detail__author--img {
  grid-row: 1 / span 2;
  width: 0.9in !important;
  margin: 0 !important;
}
.single-detail__author--img img {
  display: block !important;
  width: 0.9in !important;
  height: auto !important;
  max-height: 1in !important;
  object-fit: contain !important;
}
.single-detail__author--subtitle {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #2C4068 !important;
  margin: 0 0 0.04in !important;
  padding: 0 !important;
}
.single-detail__author--list {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Website, email, phone: one per line */
.single-detail__author--elem {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10pt !important;
  line-height: 1.35 !important;
}
.single-detail__author--elem a {
  color: #231F20 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Figures inside articles: centered, a sensible size, caption kept with it */
.single-detail__main--left figure,
.single-detail__main--left .wp-caption {
  width: auto !important;
  max-width: 100% !important;
  margin: 0.1in auto 0.15in !important;
  text-align: center;
  break-inside: avoid;
}
.single-detail__main--left figure img,
.single-detail__main--left .wp-caption img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 3in !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}
.single-detail__main--left figcaption {
  max-width: 4.5in;
  margin: 0.05in auto 0 !important;
}

/* Keep a heading (e.g. References) with the start of its list */
.single-detail__main--left h3 + ol {
  break-before: avoid;
}

/* 14.22 Downloadable guides list (reports: Resource Library): stacked,
   one guide per line, as a bulleted list */
.reports .reports__list {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0.08in 0 0 !important;
  padding: 0 0 0 0.2in !important;
  list-style: disc !important;
  columns: auto !important;
}
.reports .reports__item {
  display: list-item !important;
  list-style: disc !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 0.04in !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  break-inside: avoid;
}
.reports .reports__item::marker {
  color: #0D5B90;
}
.reports .reports__item::before,
.reports .reports__item::after,
.reports .reports__title::before,
.reports .reports__title::after,
.reports .reports__title a::before,
.reports .reports__title a::after {
  content: none !important;
  display: none !important;
}
.reports .reports__title,
.reports .reports__title a {
  padding: 0 !important;      /* space the screen leaves for a PDF icon */
  margin: 0 !important;
  text-indent: 0 !important;
  display: inline !important;
  font-family: inherit !important;
  font-size: 11pt !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #0D5B90 !important;
  text-decoration: underline !important;
  white-space: normal !important;
}
.reports .reports__item :is(img, svg, [class*="icon"], [class*="btn"]) {
  display: none !important;
}

/* 14.23 Jump-to menu at the top of long pages (anchor-menu: About,
   Positions, F.A.Q., Resources). On paper it's just a stray link. */
.anchor-menu {
  display: none !important;
}

/* 14.24 Image + title link cards (carousel section, e.g. "Already a
   Foster?" resources). On screen a sliding row that clips anything past
   the first card; on paper every card shows, side by side. */
.carousel,
.carousel .container,
.carousel__wrapper,
.carousel__content,
.carousel__descr {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.carousel .section__header,
.carousel .section__title {
  text-align: left !important;
}
/* Tab names ("Foster Care Resources"): a sub-heading, not giant black text */
.carousel__nav {
  display: block !important;
  margin: 0 0 0.08in !important;
}
.carousel__nav,
.carousel__nav .slick-list,
.carousel__nav .slick-track {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.carousel__nav--item {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.carousel__nav--item::before,
.carousel__nav--btn {
  content: none !important;
  display: none !important;
}
.carousel__nav--name {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 13pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  margin: 0 !important;
}
/* When the theme turns the list into a Slick slider (unwrapped in
   section 7), the grid goes on the track, not the list, or the whole
   slider squeezes into one narrow column. */
.carousel__list.slick-initialized {
  display: block !important;
  margin: 0 !important;
}
.carousel__list:not(.slick-initialized),
.carousel__list .slick-track,
.carousel__list .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2in 0.25in;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
  margin: 0 !important;
}
.carousel__item,
.carousel__list .slick-slide,
.carousel__list .swiper-slide {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: static !important;
  break-inside: avoid;
}
.carousel__image {
  overflow: visible !important;
  height: auto !important;
  margin: 0 !important;
}
/* The theme crops photos to a 410:312 box; on paper show the whole photo */
.carousel__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 1.8in !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: left top !important;
  transform: none !important;
  margin: 0 !important;
}
.carousel__text {
  padding: 0.06in 0 0 !important;
}
.carousel__title {
  margin: 0 !important;
  padding: 0 !important;
}
.carousel__title,
.carousel__title a {
  line-height: 1.3 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
}

/* 14.25 Notification banner (e.g. "Sign-on Bonus for Many Positions"):
   on screen white text on a blue bar. In print, a callout with a blue
   left rule; the icon and button are left off. */
.notification {
  display: block !important;
  margin: 0.15in 0 0.2in !important;
  padding: 0 !important;
}
.notification .container,
.notification__wrapper,
.notification__left,
.notification__descr {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.notification__wrapper {
  border-left: 3pt solid #009CDE !important;
  padding: 0.06in 0 0.06in 0.14in !important;
}
.notification__icon,
.notification__right {
  display: none !important;
}
.notification__title {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 13pt !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #2C4068 !important;
  margin: 0 0 0.03in !important;
}
.notification__content,
.notification__content p {
  font-size: 10.5pt !important;
  color: #231F20 !important;
  margin: 0 !important;
}

/* 14.26 Benefits (Careers): tab links hidden; each group (Insurance, Paid
   Time Off...) is a sub-heading over a 3-column grid of short items */
.benefits__nav {
  display: none !important;
}
.benefits,
.benefits .container,
.benefits__list {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
.benefits__item {
  display: block !important;
  padding: 0 !important;
  margin: 0.2in 0 0 !important;
}
.benefits__item::before,
.benefits__item::after {
  content: none !important;
  display: none !important;
}
.benefits__item .section__header {
  margin: 0 0 0.08in !important;
  break-after: avoid;
}
.benefits__item .section__title {
  font-size: 13pt !important;
  color: #0D5B90 !important;
}
.benefits__block {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0.5pt solid #D1D5D9;
}
/* One benefit per row: name on the left, description beside it */
.benefits__elem {
  display: grid !important;            /* theme hides all but the first 12 */
  grid-template-columns: 2.1in minmax(0, 1fr);
  gap: 0 0.25in;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.07in 0 !important;
  border-bottom: 0.5pt solid #D1D5D9;
  break-inside: avoid !important;
  page-break-inside: avoid !important;
}
.benefits__elem .benefits__title {
  grid-column: 1;
  margin: 0 !important;
}
.benefits__elem .benefits__content {
  grid-column: 2;
  margin: 0 !important;
}
.benefits__elem .benefits__content p:last-child {
  margin-bottom: 0 !important;
}
.benefits__title::before {
  content: none !important;            /* blue dot */
  display: none !important;
}
.benefits__title,
.benefits__content {
  padding-left: 0 !important;
}
.benefits__title,
.benefits__title a {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10.5pt !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #2C4068 !important;
  text-decoration: none !important;
  margin: 0 0 0.03in !important;
}
.benefits__content,
.benefits__content p {
  font-size: 9.5pt !important;
  line-height: 1.4 !important;
  margin: 0 0 0.05in !important;
}

/* 14.27 Careers LinkedIn banner: icon and button off; plain line with
   where to find it */
.careers-linkedin,
.careers-linkedin .container,
.careers-linkedin .section__header {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.careers-linkedin {
  margin: 0.2in 0 !important;
}
.careers-linkedin .section__title {
  display: block !important;
  font-size: 12pt !important;
  color: #2C4068 !important;
  text-align: left !important;
}
.careers-linkedin .section__title :is(img, svg),
.careers-linkedin .section__btn {
  display: none !important;
}
.careers-linkedin .section__header::after {
  content: "linkedin.com/company/mspca-angell";
  display: block;
  font-size: 10.5pt;
  color: #231F20;
  margin-top: 0.03in;
}

/* "View All Jobs" / "View All" style links beside a section heading */
.programs-block .section__btn {
  display: none !important;
}

/* Inline SVG icons swapped in by the SVG Support plugin (class style-svg)
   have no print size and can balloon to full width */
main svg.style-svg {
  max-width: 0.45in !important;
  max-height: 0.45in !important;
}

/* 14.28 Photo + title link cards (programs-section, e.g. "Donate More
   Assets"): three across, photos smaller and never cropped */
.programs-section__list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2in 0.25in;
  margin: 0 !important;
  height: auto !important;
  overflow: visible !important;
}
.programs-section__item {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  break-inside: avoid;
}
.programs-section__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 1.8in !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: left top !important;
  margin: 0 0 0.06in !important;
}
.programs-section__title,
.programs-section__title a {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  text-decoration: none !important;
}
.programs-section__loadmore {
  display: none !important;
}
/* The theme sizes each photo's link box to a tall 410:463 shape; with the
   photo scaled down inside it, that left a gap above every title */
.programs-section__image,
.programs-section__image a {
  aspect-ratio: auto !important;
  height: auto !important;
  overflow: visible !important;
}
.programs-section__image::before {
  content: none !important;
  display: none !important;
}
.programs-section__descr {
  padding-top: 0.04in !important;
}
.programs-section__content {
  margin-top: 0.03in !important;
  font-size: 9.5pt !important;
}
/* Long sets (e.g. 20 newsletter covers on Publications): four across,
   smaller covers */
.programs-section__list:has(> .programs-section__item:nth-child(7)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.15in 0.2in;
}
.programs-section__list:has(> .programs-section__item:nth-child(7)) .programs-section__image img {
  max-height: 1.4in !important;
}

/* 14.29 Services list (our-specialties, a shared template part): one row per service, laid out as a
   three-column table: service name, phone, email. "Click to Learn More",
   Request Appointment and Refer links are left off the page. */
.our-specialties__list {
  display: grid !important;
  grid-template-columns: 2.5in 1.25in 1fr;
  border-top: 1pt solid #D1D5D9;
  margin-top: 0.1in !important;
  width: 100% !important;
}
.our-specialties__item {
  display: contents !important;
}
.our-specialties__title,
.our-specialties__phone,
.our-specialties__email {
  display: block !important;
  padding: 0.05in 0.08in 0.05in 0 !important;
  margin: 0 !important;
  border-bottom: 0.5pt solid #D1D5D9;
  min-height: 0 !important;
  height: auto !important;
  font-size: 10pt !important;
  line-height: 1.3 !important;
  break-inside: avoid;
}
.our-specialties__title {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 600 !important;
  color: #0D5B90 !important;
}
.our-specialties__title,
.our-specialties__phone,
.our-specialties__email,
.our-specialties__title *,
.our-specialties__phone *,
.our-specialties__email * {
  position: static !important;
  left: auto !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
  transform: none !important;
  overflow: visible !important;
  text-align: left !important;
  width: auto !important;
  max-width: none !important;
}
.our-specialties__title::before,
.our-specialties__title::after {
  content: none !important;
  display: none !important;
}
.our-specialties,
.our-specialties__list,
.our-specialties .container {
  overflow: visible !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  transform: none !important;
}
.our-specialties__title br {
  display: none !important;
}
.our-specialties__phone a,
.our-specialties__email a {
  color: #231F20 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.our-specialties__location,
.our-specialties__buttons {
  display: none !important;
}

/* Section headings above the services table and More Locations stay left
   aligned like every other heading on the page */
.our-specialties .section__header,
.more-locations .section__header {
  text-align: left !important;
}


/* 14.30 Photo + text rows (resources: "Animal Care and Adoption Centers",
   "Community Outreach"...): text starts level with the top of the photo.
   The heading's own top margin and the theme's padding pushed it down.
   Same for photo + text blocks (14.13). */
.resources__item {
  align-items: flex-start !important;
}
.resources__descr,
.resources__descr .section__header,
.content-block__descr,
.content-block__descr .section__header {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
:is(.resources__descr, .content-block__descr) .section__title {
  margin-top: 0 !important;
  line-height: 1.2 !important;
}
.resources__descr .section__btn {
  margin-top: 0.03in !important;
}
.resources__descr .section__content {
  margin-top: 0.08in !important;
}

/* --------------------------------------------------------------------------
   15. Homepage (page_template/homepage.php)
   -------------------------------------------------------------------------- */

/* Hero: drop the video and button, keep the headline */
.main-slider,
.main-slider__list,
.main-slider__item,
.main-slider__container,
.main-slider__content {
  min-height: 0 !important;
  height: auto !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}
.main-slider__default,
.video-buttons,
.main-slider__buttons,
.main-slider__image,
.main-slider__api {
  display: none !important;   /* hidden photo/video kept its height: big gap */
}
/* "Featured" label above the title (blog and press release pages) */
.main-slider__tag {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10pt !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2C4068 !important;
  margin: 0 0 0.04in !important;
}
.main-slider__text {
  margin: 0.08in 0 0.2in !important;
}
.main-slider__subtitle {
  font-size: 13pt !important;
  margin-top: 0.05in !important;
}

/* Quick links: 4 columns, icon in a light circle */
.mission__list {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0.15in !important;
}
.mission__icon {
  flex: 0 0 0.4in;
  width: 0.4in !important;
  height: 0.4in !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0.75pt solid #C4DEF2 !important;
  border-radius: 50%;
}
.mission__title {
  font-weight: 700;
  color: #0D5B90 !important;
}
.mission__text {
  font-weight: 600;
}

/* Programs: 3-column grid. Any slider markup is unwrapped in section 7;
   the grid goes on the slider's track. */
.programs-block__list:not(.slick-initialized):not(.swiper):not(.owl-carousel):not(.splide):not(.glide),
.programs-block :is(.slick-track, .swiper-wrapper, .owl-stage, .splide__list, .glide__slides),
.print-programs {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.15in 0.2in;
  width: auto !important;
  height: auto !important;
  left: 0 !important;
  transform: none !important;
}
.programs-block [class*="clone"],
.programs-block [class*="duplicate"],
.programs-block__btn {
  display: none !important;
}
.programs-block__item,
.programs-block__item * {
  opacity: 1 !important;
  visibility: visible !important;
}
.programs-block__image {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
.programs-block__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
.programs-block__descr {
  position: static !important;
  height: auto !important;
  padding: 0.06in 0 0 !important;
  margin: 0 !important;
}
/* print.js adds .print-programs (each program once) before printing;
   when it's there, it replaces the slider */
.programs-block:has(.print-programs) .programs-block__list {
  display: none !important;
}

/* Impact: numbers only */
.impact__left,
.impact__right > .section__header {
  display: none !important;
}
.impact__list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2in;
  break-inside: avoid;
}
.impact__number {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 24pt !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #0D5B90 !important;
}
.impact__number .counter,
.impact__symbol {
  color: inherit !important;
}
.impact__symbol {
  font-size: 14pt !important;
}
.impact__content {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10pt !important;
  color: #4D4D4F !important;
}

/* Available Pets: listings change daily, so print a pointer (14.6 styles the note) */
.available-pets__list,
.available-pets .section__btn {
  display: none !important;
}
.available-pets .section__header {
  display: block !important;
}
.available-pets .section__header::after {
  content: "See today’s adoptable animals at mspca.org/adoption-search";
}


/* --------------------------------------------------------------------------
   16. Listing rows: veterinary care locator (archive-veterinarycare.php),
       also blog, news and press release archives (category.php, loop-post.php)
   -------------------------------------------------------------------------- */

/* Page title */
.archive-top {
  background: none !important;
  padding: 0 !important;
  margin: 0 0 0.15in !important;
}
.archive-top .section__title {
  color: #2C4068 !important;
  margin: 0 !important;
}

/* Filters and search do nothing on paper; keep the Quick Links */
.veterinarycare-main__filter,
.veterinarycare-main__search,
.veterinarycare-search__results,
.veterinarycare-main__total {
  display: none !important;
}
.veterinarycare-main__links {
  margin: 0 0 0.25in !important;
  break-inside: avoid;
}
.veterinarycare-main__links--title {
  font-size: 12pt !important;
  margin: 0 !important;
}
.veterinarycare-main__links--list {
  grid-template-columns: repeat(3, 1fr);
}

/* Results heading ("Angell Animal Medical Centers") */
.veterinarycare-main__taxName {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 14pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  margin: 0 0 0.12in !important;
}

/* Listings: one location per row. Photo on the left, then name and
   location, with address and phone/hours side by side underneath. */
.veterinarycare__list {
  display: block !important;
}
.veterinarycare__item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: 0.2in;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0.12in 0 !important;
  margin: 0 !important;
  transform: none !important;
  border-bottom: 1px solid #D1D5D9 !important;
  break-inside: avoid;
  page-break-inside: avoid;
}
/* The same rows are used for blog, news and press release archives
   (loop-post.php): category label, date, title, excerpt */
.veterinarycare__category {
  display: block !important;
  background: none !important;       /* colored pill on screen */
  padding: 0 !important;
  margin: 0 0 0.03in !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8.5pt !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2C4068 !important;
}
.veterinarycare__date {
  font-size: 9.5pt !important;
  color: #4D4D4F !important;
  margin: 0 0 0.03in !important;
}
.veterinarycare__content {
  font-size: 9.5pt !important;
  line-height: 1.4 !important;
  margin: 0.04in 0 0 !important;
}
.veterinarycare__content:empty {
  display: none !important;
}
.veterinarycare__item:first-child {
  padding-top: 0 !important;
}
.veterinarycare__img {
  flex: 0 0 auto !important;
  width: 1.25in !important;
  height: auto !important;
  margin: 0 !important;
}
.veterinarycare__img img {
  display: block;
  width: 100% !important;
  height: auto !important;
}
.veterinarycare__descr {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}
.veterinarycare__title {
  margin: 0 !important;
}
.veterinarycare__title,
.veterinarycare__title a {
  line-height: 1.2 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 12pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  text-decoration: none !important;
}
.veterinarycare__location {
  /* Brand guidelines: Gill Sans MT Italic for locations */
  font-family: "Gill Sans MT", "Gill Sans", "Gill Sans Nova", Calibri, sans-serif !important;
  font-style: italic !important;
  font-size: 10.5pt !important;
  font-weight: 400;
  color: #231F20 !important;
  margin: 0.02in 0 0.06in !important;
}
.veterinarycare__contact {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.25in;
  width: auto !important;
  padding: 0 !important;
  margin: 0.03in 0 0 !important;
  font-size: 9.5pt !important;
  line-height: 1.35 !important;
}
.veterinarycare__contact--left,
.veterinarycare__contact--right {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
}
.veterinarycare__phone a {
  font-weight: 700;
}
.veterinarycare__emergency {
  font-style: italic;
  color: #4D4D4F !important;
}
/* Referral / appointment buttons open online forms; not useful on paper */
.veterinarycare__buttons {
  display: none !important;
}

/* If printed without loading everything (e.g. from the browser's File >
   Print menu), say where the rest are. print.js adds .print-all once
   every result is loaded, which hides this note. */
.veterinarycare-main__right:has(.wrap-btn__load-more)::after {
  content: "More locations and specialties at mspca.org/veterinarycare";
  margin-top: 0.2in;
}

/* Everything was loaded before printing (print.js), so no note needed */
.print-all .veterinarycare-main__right::after {
  content: none !important;
  display: none !important;
}

/* Loading placeholders ("skeleton" bars) the theme shows while results load */
.veterinarycare__list :is([class*="skeleton"], [class*="placeholder"], [class*="preloader"], [class*="shimmer"]),
.ajaxFilterListing :is([class*="skeleton"], [class*="placeholder"], [class*="preloader"], [class*="shimmer"]) {
  display: none !important;
}

/* --------------------------------------------------------------------------
   17. Veterinary care detail pages (single-veterinarycare: Pharmacy, etc.)
       Only the parts unique to this template. Photo blocks, icon cards,
       FAQ, lists and two-column sections are shared (section 14).
   -------------------------------------------------------------------------- */

/* 17a. Hero: no photo or tall box; title full width, then address/email
   on the left and hours on the right */
.hero-specialty,
.hero-specialty .section__header {
  min-height: 0 !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hero-specialty__wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.08in 0.35in;
  align-items: start;
}
.hero-specialty__descr {
  display: contents !important;
}
.hero-specialty .section__header {
  grid-column: 1 / -1;
}
.hero-specialty .section__title {
  margin: 0 0 0.05in !important;
}
.hero-specialty__contact,
.hero-specialty__shedule {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero-specialty__elem {
  margin: 0 0 0.06in !important;
  padding-left: 0 !important;        /* room for screen-only icons */
  color: #231F20 !important;         /* address printed faded gray */
  opacity: 1 !important;
  font-size: 10.5pt !important;
  line-height: 1.35 !important;
}
.hero-specialty__elem::before,
.hero-specialty__elem::after {
  content: none !important;
  display: none !important;
}
.hero-specialty__fax a::before {
  content: "Fax: ";
}
.hero-specialty__elem a {
  color: #231F20 !important;
  text-decoration: none !important;
}
.hero-specialty__title {
  font-size: 12pt !important;
  margin: 0 0 0.04in !important;
}
.hero-specialty__shedule ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 0.06in !important;
}
.hero-specialty__shedule li::before {
  content: none !important;
}
.hero-specialty .html-content ul > li,
.hero-specialty__shedule ul > li {
  list-style: none !important;
}

/* 17b. Quick Links + main text: stacked, both full width */
.description-links__wrapper {
  display: block !important;
}
.description-links__left,
.description-links__right {
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 0 0.15in !important;
  position: static !important;
}
.description-links .veterinarycare-main__links--list {
  grid-template-columns: repeat(4, 1fr);
}

.description-links__left,
.description-links__right,
.veterinarycare-main__links {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
.veterinarycare-main__links {
  margin-bottom: 0.1in !important;
}

/* 17c. Hospital hero (Angell Boston, Angell West): title full width on top,
   then the contact details in one compact row underneath. Contact details
   print as plain text, and the fax number is labeled. */
.hero-hospital,
.hero-hospital .container,
.hero-hospital__wrapper,
.hero-hospital__descr,
.hero-hospital .section__header,
.hero-hospital__contact {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  position: static !important;
}
.hero-hospital .section__title {
  margin: 0 0 0.12in !important;
}
.hero-hospital__contact {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.04in 0.35in;
  margin-bottom: 0.15in !important;
}
.hero-hospital__title {
  flex: 1 0 100%;
}
.hero-hospital__elem,
.hero-hospital__elem a {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
}
.hero-hospital__elem::before,
.hero-hospital__elem::after {
  content: none !important;
  display: none !important;
}
.hero-hospital__elem {
  margin: 0 0 0.06in !important;
}
.hero-hospital__elem a {
  color: #231F20 !important;
  text-decoration: none !important;
}
.hero-hospital__title {
  font-size: 12pt !important;
  margin: 0 0 0.06in !important;
}


/* --------------------------------------------------------------------------
   18. Adoptable pets search (body.adoption-search, mspca-pet-search plugin)
   Prints the pets currently on screen (with any filters the visitor chose)
   as a compact photo grid. print.js never loads all results here.
   Card: .mspca-pet-card > a.mspca-pet-card-link > .mspca-pet-card-image
         (photo is a CSS background) > .mspca-pet-card-overlay >
         h3.mspca-pet-name + p.mspca-pet-meta (location, age)
   -------------------------------------------------------------------------- */

/* Filters sidebar (incl. Community Pets banner), loading text, Load More */
.mspca-sidebar-wrapper,
.mspca-search-sidebar,
.mspca-community-banner,
.mspca-loading-animals,
.mspca-loading-spinner,
.mspca-load-more-wrapper {
  display: none !important;
}

/* Results column at full width */
.mspca-search-container {
  display: block !important;
}
.mspca-search-main {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mspca-search-header,
.mspca-results-count {
  padding: 0 !important;
  margin-left: 0 !important;
}
.mspca-results-count {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10pt !important;
  font-weight: 600 !important;
  color: #231F20 !important;
  margin: 0 0 0.12in !important;
}
.mspca-results-description:empty {
  display: none !important;
}

/* Four pets across */
.mspca-pets-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.2in 0.18in;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mspca-pet-card,
.mspca-pet-card-link,
.mspca-pet-card-image,
.mspca-pet-card-overlay {
  display: block !important;
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  aspect-ratio: auto !important;
}
.mspca-pet-card {
  break-inside: avoid;
  page-break-inside: avoid;
}
.mspca-pet-card-link {
  color: inherit !important;
  text-decoration: none !important;
}

/* The photo: print.js adds a real <img> (backgrounds don't print).
   Same height slot for every pet, whole photo, never cropped. */
.mspca-pets-grid .mspca-pet-card-image > img.print-bg-photo {
  display: block !important;
  min-height: 1.5in !important;
  width: 100% !important;
  height: 1.5in !important;
  max-height: 1.5in !important;
  object-fit: contain !important;
  margin: 0 0 0.06in !important;
}

/* Name */
.mspca-pets-grid .mspca-pet-card .mspca-pet-name {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10.5pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  line-height: 1.25 !important;
  margin: 0 0 0.02in !important;
}

/* Location, then age underneath: same layout on every card.
   Plain text, small; the little icons are dropped. */
.mspca-pets-grid .mspca-pet-card .mspca-pet-meta {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mspca-pets-grid .mspca-pet-card .mspca-pet-meta,
.mspca-pets-grid .mspca-pet-card .mspca-pet-location,
.mspca-pets-grid .mspca-pet-card .mspca-pet-age {
  font-family: inherit;
  font-size: 9pt !important;
  line-height: 1.3 !important;
  color: #231F20 !important;
}
.mspca-pets-grid .mspca-pet-card .mspca-pet-location,
.mspca-pets-grid .mspca-pet-card .mspca-pet-age {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mspca-pets-grid .mspca-pet-card .mspca-pet-meta img {
  display: none !important;
}

/* Status badges ("In Foster", "Fee Waived"): on screen a corner ribbon
   over the photo. In print, moved under the location and age as a small
   label. The badge comes before the info in the HTML, so the photo box is
   turned into a column and the pieces reordered: photo, info, badge(s). */
.mspca-pets-grid .mspca-pet-card .mspca-pet-card-image {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
}
.mspca-pets-grid .mspca-pet-card .mspca-pet-card-image > img.print-bg-photo {
  order: 0;
  align-self: stretch;
}
.mspca-pets-grid .mspca-pet-card .mspca-pet-card-overlay {
  order: 1;
  align-self: stretch;
}
.mspca-pets-grid .mspca-pet-card [class*="badge"] {
  order: 2;
  display: inline-block !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  rotate: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0.04in 0 0 !important;
  padding: 0.01in 0.05in !important;
  border: 0.75pt solid #2C4068 !important;
  overflow: visible !important;
  clip-path: none !important;
}
.mspca-pets-grid .mspca-pet-card [class*="badge"]::before,
.mspca-pets-grid .mspca-pet-card [class*="badge"]::after {
  content: none !important;
  display: none !important;
}
.mspca-pets-grid .mspca-pet-card [class*="badge"],
.mspca-pets-grid .mspca-pet-card [class*="badge"] * {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8pt !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #2C4068 !important;
  transform: none !important;
  rotate: none !important;
  position: static !important;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Where to see the full, current list */
.mspca-pets-grid::after {
  content: "Animals available for adoption change daily. See the current list at mspca.org/adoption-search";
  grid-column: 1 / -1;
  display: block;
  margin-top: 0.15in;
  padding-top: 0.1in;
  border-top: 0.75pt solid #D1D5D9;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 9.5pt;
  font-weight: 600;
  color: #2C4068;
}


/* --------------------------------------------------------------------------
   19. Single adoptable pet (body.mspca-single-pet, mspca-pet-search plugin)
   Name, breed, ID and stats on the left with the photo on the right; then
   the bio, the adoption center's contact details, and the sponsor note.
   -------------------------------------------------------------------------- */

/* Screen-only pieces: Share / Meet Me buttons, AdoptMe widget, map,
   sponsor button, stat icons (print as blank squares) */
.mspca-hero-actions,
.adoptme-feed,
.adoptme_widget,
.mspca-location-map-wrapper,
.mspca-sponsor-btn,
.mspca-stat-icon {
  display: none !important;
}

/* No full-screen heights, fades or offsets anywhere on the page */
.mspca-single-pet,
.mspca-single-pet * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}
.mspca-single-pet :is(.mspca-pet-hero, .mspca-hero-container, .mspca-pet-content,
  .mspca-pet-container, .mspca-pet-description, .mspca-pet-bio,
  .mspca-location-section, .mspca-location-container, .mspca-location-details,
  .mspca-sponsor-section, .mspca-sponsor-container) {
  position: static !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  break-inside: auto !important;
}
.mspca-single-pet :is(.mspca-pet-description, .mspca-location-container,
  .mspca-sponsor-container) {
  display: block !important;
}

/* Hero: details left, photo right */
.mspca-hero-container {
  display: grid !important;
  grid-template-columns: 1fr 2.6in;
  gap: 0.3in;
  align-items: start;
  margin-bottom: 0.25in !important;
  break-inside: avoid !important;
}
.mspca-single-pet h1.mspca-pet-name {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 22pt !important;
  color: #2C4068 !important;
  margin: 0 0 0.04in !important;
}
.mspca-pet-breed,
.mspca-pet-id {
  font-size: 11pt !important;
  color: #231F20 !important;
  margin: 0 !important;
}
.mspca-pet-id {
  font-size: 9.5pt !important;
  color: #4D4D4F !important;
  margin-bottom: 0.15in !important;
}

/* Stats: two by two, small navy label over the value */
.mspca-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.12in 0.2in;
  margin: 0 !important;
  padding: 0.1in 0 0 !important;
  border-top: 0.75pt solid #D1D5D9;
}
.mspca-stat-item,
.mspca-stat-header {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.mspca-stat-label {
  display: block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8.5pt !important;
  font-weight: 600 !important;
  color: #0D5B90 !important;
}
.mspca-stat-value {
  display: block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #231F20 !important;
}

/* Photo: whole photo, never cropped */
.mspca-hero-image {
  width: 2.6in !important;
  height: auto !important;
  margin: 0 !important;
}
.mspca-hero-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 3.25in !important;
  object-fit: contain !important;
}

/* Bio */
.mspca-pet-bio h2,
.mspca-location-details h2,
.mspca-sponsor-title {
  font-size: 14pt !important;
  margin: 0.2in 0 0.08in !important;
}

/* Adoption center: one heading, then address, phone and fax side by side */
.mspca-location-section {
  margin-top: 0.15in !important;
  break-inside: avoid !important;
}
.mspca-location-details h2 br {
  display: none !important;
}
.mspca-location-details h3 {
  display: none !important;   /* "Details:" adds nothing on paper */
}
.mspca-location-info {
  display: grid !important;
  grid-template-columns: 2.4in 1.5in 1.5in;
  gap: 0 0.25in;
  margin: 0 !important;
  padding: 0 !important;
}
.mspca-location-item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mspca-location-label {
  display: block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8.5pt !important;
  font-weight: 600 !important;
  color: #0D5B90 !important;
  margin: 0 0 0.02in !important;
}
.mspca-location-value {
  display: block !important;
  font-size: 10.5pt !important;
  line-height: 1.35 !important;
  color: #231F20 !important;
  margin: 0 !important;
  white-space: nowrap;
}

/* Sponsor note: the text prints; point to the website instead of a button */
.mspca-sponsor-section {
  margin-top: 0.1in !important;
  break-inside: avoid !important;
}
.mspca-sponsor-description {
  margin: 0 !important;
}
.mspca-sponsor-description::after {
  content: " Sponsor online at mspca.org.";
  font-weight: 600;
  color: #2C4068;
}


/* --------------------------------------------------------------------------
   20. Events calendar, month view (The Events Calendar plugin, with the
   theme's overrides in tribe/events/v2). Title, then the month name, then
   the calendar grid on one page. Search, filters, arrows, the phone-size
   event list and subscribe links are left off.
   -------------------------------------------------------------------------- */

/* Intro ("Events Calendar" + description): left-aligned, no big padding */
.ovveride-events,
.ovveride-events .container,
.ovveride-events .section__header {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 0.12in !important;
  text-align: left !important;
}
.ovveride-events h1,
.ovveride-events h2 {
  margin: 0 0 0.06in !important;
  text-align: left !important;
}

/* Header area: keep only the month name */
.tribe-events-header,
.tribe-events-header .container,
.ovveride-events__header,
.tribe-events-c-top-bar,
.tribe-events-c-top-bar__datepicker {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.tribe-events-c-events-bar,
.tribe-events-header__events-bar,
.tribe-events-c-top-bar__nav,
.tribe-events-c-top-bar__today-button,
.tribe-events-c-breadcrumbs,
.tribe-events-header__breadcrumbs,
.tribe-events-c-top-bar__datepicker-container,
.tribe-events-c-top-bar__datepicker-button-icon-svg,
.tribe-events-c-top-bar__datepicker-mobile,
.ovveride-label,
.tribe-filter-bar,
.tribe-events-filters-horizontal,
.tribe-events-c-nav,
.tribe-events-calendar-month-mobile-events,
.tribe-events-c-subscribe-dropdown__container,
.tribe-events-c-ical,
.tribe-events-view-loader,
.tribe-events-header__messages--mobile,
.tribe-events-calendar-month__calendar-event-tooltip,
.tribe-events-calendar-month__day-cell--mobile,
.tribe-events-calendar-month__header-column-title-mobile,
template {
  display: none !important;
}
.tribe-events-c-top-bar__datepicker-button {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 0.1in !important;
  border: 0 !important;
  pointer-events: none;
}
.tribe-events-c-top-bar__datepicker-desktop,
.tribe-events-c-top-bar__datepicker-time {
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 15pt !important;
  font-style: normal !important;
  font-weight: 700 !important;
  color: #2C4068 !important;
}

/* The grid: 7 equal columns, header lined up over the days */
.tribe-events-calendar-month,
.tribe-events-calendar-month .container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.tribe-events-calendar-month__header,
.tribe-events-calendar-month__body {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tribe-events-calendar-month__header-row,
.tribe-events-calendar-month__week {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  break-inside: avoid;
}
.tribe-events-calendar-month__header-column {
  display: block !important;
  width: auto !important;
  padding: 0 0 0.04in 0.05in !important;
  margin: 0 !important;
  text-align: left !important;
}
.tribe-events-calendar-month__header-column-title,
.tribe-events-calendar-month__header-column-title-desktop {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8.5pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
  margin: 0 !important;
  white-space: nowrap;
}
.tribe-events-calendar-month__day {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 1in !important;
  padding: 0.04in 0.05in !important;
  margin: 0 !important;
  border: 0.5pt solid #858F98 !important;
  margin-right: -0.5pt !important;     /* shared borders, not doubled */
  margin-bottom: -0.5pt !important;
  overflow: hidden !important;
  break-inside: avoid;
}
.tribe-events-calendar-month__day-cell,
.tribe-events-calendar-month__day-cell--desktop {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  height: auto !important;
}
/* Day number: the same size and spot whether or not the day has events */
.tribe-events-calendar-month__day-date,
.tribe-events-calendar-month__day-date-link,
.tribe-events-calendar-month__day-date-daynum {
  display: block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 9pt !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #231F20 !important;
  text-decoration: none !important;
  margin: 0 0 0.03in !important;
  padding: 0 !important;
}
.tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date,
.tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date-daynum {
  color: #858F98 !important;
}
/* Events inside a day: small, wrapping, never cut off */
.tribe-events-calendar-month__events,
.tribe-events-calendar-month__calendar-event,
.tribe-events-calendar-month__calendar-event-details,
.tribe-events-calendar-month__multiday-event,
.tribe-events-calendar-month__multiday-event-wrapper {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 0.04in !important;
  border: 0 !important;
}
.tribe-events-calendar-month__calendar-event-title,
.tribe-events-calendar-month__calendar-event-title-link,
.tribe-events-calendar-month__multiday-event-bar-title,
.tribe-events-calendar-month__more-events-link {
  display: block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 7.5pt !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #0D5B90 !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  margin: 0 !important;
  padding: 0 !important;
}
.tribe-events-calendar-month__calendar-event-datetime {
  display: block !important;
  font-size: 7pt !important;
  color: #4D4D4F !important;
  margin: 0 !important;
}
.tribe-events-calendar-month__calendar-event-featured-image-wrapper,
.tribe-events-calendar-month__multiday-event-hidden,
.tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date-link::after {
  display: none !important;
}


/* --------------------------------------------------------------------------
   21. History page (page_template/history.php)
   The timeline is a set of tabs (one per period), each a sideways slider of
   year cards with scrolling text. On paper: every period, in order, as a
   heading over a list of years, with all of each year's text.
   -------------------------------------------------------------------------- */

/* Intro */
.hero-history,
.hero-history__descr,
.hero-history .container {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 0.15in !important;
  text-align: left !important;
}

/* Tabs and "Select Time" menu: every period prints, so no picker */
.history-timeline__select,
.history-timeline__nav {
  display: none !important;
}
.history-timeline,
.history-timeline .container,
.history-timeline__tabs,
.history-timeline__content {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

/* Every period, not just the active tab */
.history-timeline__descr {
  display: block !important;
  margin: 0 0 0.2in !important;
}
.history-timeline__period {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 14pt !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #0D5B90 !important;
  margin: 0.15in 0 0.06in !important;
  break-after: avoid;
}

/* The slider becomes a list: year on the left, its text beside it */
.history-timeline__slider,
.history-timeline__slider.slick-initialized {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0.5pt solid #D1D5D9;
}
.history-timeline__slider::before,
.history-timeline__slider::after,
.history-timeline__slide::before,
.history-timeline__slide::after {
  content: none !important;
  display: none !important;   /* timeline bar, gray band, dots */
}
.history-timeline__slider .slick-track {
  display: block !important;
}
.history-timeline__slide {
  display: grid !important;
  grid-template-columns: 0.85in minmax(0, 1fr);
  gap: 0 0.2in;
  align-items: start;
  width: auto !important;
  margin: 0 !important;
  padding: 0.08in 0 !important;
  border-bottom: 0.5pt solid #D1D5D9;
  break-inside: avoid;
}
.history-timeline__year {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 14pt !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #2C4068 !important;
  text-align: left !important;
  padding: 0 !important;
}
/* On screen each year's text sits in a 364px scrolling box; print all of it */
.history-timeline__text,
.history-timeline__text.html-content {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10.5pt !important;
  line-height: 1.45 !important;
}
.history-timeline__text p:last-child {
  margin-bottom: 0 !important;
}


/* --------------------------------------------------------------------------
   22. Map page (template-parts/pages/map/map.php)
   The Google map can't print, so the page prints as a location directory:
   every category open, and under each location its address, phone and fax,
   which print.js copies from the map pop-ups (.print-map-details).
   -------------------------------------------------------------------------- */

/* The map itself, the filter controls and the phone-size copy */
.map-section__right,
.map-section__mobile,
.map-section__clear,
.map-section__toggle,
.gm-style {
  display: none !important;
}
.map-section,
.map-section .container,
.map-section__wrapper,
.map-section__left,
.map-section__filter,
.map-section__category {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
}
.map-section .section__header,
.map-section .section__title {
  text-align: left !important;
  margin: 0 0 0.1in !important;
  padding: 0 !important;
}

/* Category ("Hospitals", "Adoption Centers"...): a sub-heading with its
   small pin icon; every category's list shown, not just the open one */
.map-section__category--item {
  display: block !important;
  margin: 0.15in 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.map-section__category--link {
  display: flex !important;
  align-items: center;
  gap: 0.08in;
  margin: 0 0 0.04in !important;
  padding: 0 !important;
  break-after: avoid;
}
.map-section__category--link img {
  width: 0.22in !important;
  height: 0.22in !important;
  max-height: 0.22in !important;
  object-fit: contain !important;
}
.map-section__category--link span {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 13pt !important;
  font-weight: 700 !important;
  color: #0D5B90 !important;
}
.map-section__list {
  display: block !important;   /* the theme's script collapses all but one */
  height: auto !important;
  max-height: none !important; /* theme: 312px scroll box; the rest spilled
                                  over the note and footer */
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0.5pt solid #D1D5D9;
}

/* One location per row: name, then its details in three columns */
.map-section__item {
  display: block !important;
  margin: 0 !important;
  padding: 0.07in 0 !important;
  border-bottom: 0.5pt solid #D1D5D9;
  break-inside: avoid;
}
.map-section__item > a {
  display: block !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #2C4068 !important;
  text-decoration: none !important;
  margin: 0 0 0.03in !important;
  padding: 0 !important;
}
.print-map-details .map-section__tooltip {
  display: grid !important;
  grid-template-columns: 3in 1.4in 1.4in;
  gap: 0 0.2in;
}
.print-map-details,
.print-map-details .map-section__tooltip,
.print-map-details .map-section__tooltip--descr,
.print-map-details .map-section__tooltip--descr a {
  font-size: 10pt !important;      /* theme: 16-18px */
  line-height: 1.35 !important;
}
/* Address: street on one line, city on the next (print.js splits it) */
.print-map-details .print-address-line {
  display: block !important;
  white-space: nowrap;
}
.print-map-details .map-section__tooltip--item {
  display: block !important;
  margin: 0 !important;
}
.print-map-details .map-section__tooltip--title {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 8.5pt !important;
  font-weight: 600 !important;
  color: #0D5B90 !important;
}
.print-map-details .map-section__tooltip--descr,
.print-map-details a {
  color: #231F20 !important;
  text-decoration: none !important;
}
.print-map-details a[href^="tel"],
.print-map-details a[href^="fax"] {
  white-space: nowrap;
}

/* Where to find the live map */
.print-map-note {
  margin: 0.15in 0 0 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 9.5pt !important;
  font-weight: 600 !important;
  color: #2C4068 !important;
}


/* --------------------------------------------------------------------------
   23. Donation / tribute wall (single-donation_wall.php: Rainbow Bridge)
   On screen a masonry wall: donation-wall.js places every card with
   position: absolute and fixed heights, which on paper stacked photos on
   top of the text and footer. Print it as a plain three-across grid, with
   the "Add Your Tribute" box once, at the top.
   -------------------------------------------------------------------------- */

.donation-wall__hero,
.donation-wall__hero .container {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 0.1in !important;
  text-align: left !important;
}
.donation-wall__subtitle {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 700 !important;
  margin: 0 0 0.1in !important;
}

/* "Add Your Tribute" appears three times (top bar, inside the wall, bottom
   bar): keep the top one, as a callout */
.donation-wall__cta-card,
.donation-wall__bar ~ .donation-wall__bar,
.donation-wall__more,
.donation-wall__loader {
  display: none !important;
}
.donation-wall__bar,
.donation-wall__bar .container,
.donation-wall__cta {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}
.donation-wall__bar {
  margin: 0.1in 0 0.2in !important;
  padding: 0.06in 0 0.06in 0.14in !important;
  border-left: 3pt solid #009CDE !important;
}
.donation-wall__cta-heading {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 12pt !important;
  font-weight: 700 !important;
  color: #2C4068 !important;
  margin: 0 0 0.03in !important;
}
.donation-wall__cta-text {
  margin: 0 0 0.03in !important;
}

/* The wall: three across, every card in normal flow */
.donation-wall__heading {
  text-align: left !important;
  margin: 0.15in 0 0.1in !important;
}
.donation-wall__grid,
.donation-wall__grid.is-masonry {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2in 0.25in;
  height: auto !important;            /* script sets a fixed height */
  position: static !important;
  margin: 0 !important;
}
.donation-wall__card {
  position: static !important;        /* script: absolute + top/left/width */
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  break-inside: avoid;
}
.donation-wall__card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 2in !important;
  object-fit: contain !important;
  object-position: left top !important;
  margin: 0 0 0.05in !important;
}
.donation-wall__caption,
.donation-wall__message {
  font-size: 9.5pt !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}
.donation-wall__caption strong,
.donation-wall__name {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10pt !important;
  font-weight: 700 !important;
  color: #2C4068 !important;
  margin: 0 0 0.03in !important;
}
.donation-wall__heart {
  display: none !important;
}


/* --------------------------------------------------------------------------
   24. Team pages (page_template/vet-template.php: "Meet Our Team" for a
   service). On screen Quick Links sit in a left column beside a long team
   list, which left the left half of every page blank. On paper: Quick
   Links, then the team as a compact grid, three people across.
   -------------------------------------------------------------------------- */

.vet-template-main,
.vet-template-main .container,
.vet-template-main__wrapper,
.vet-template-main__left,
.vet-template-main__right {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.vet-template-main__left {
  margin-bottom: 0.2in !important;
}

/* "Results: 56" and "Meet Our Team" */
.vet-template-main__taxName {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 15pt !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #0D5B90 !important;
  margin: 0 0 0.04in !important;
}
.vet-template-main__total {
  font-size: 9.5pt !important;
  color: #4D4D4F !important;
  margin: 0 0 0.12in !important;
  order: 2;
}

/* The team: three across, small photo, name, role. These use the same
   classes as the locator rows (16), so everything here is scoped to this
   template. */
.vet-template-main .veterinarycare__list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.15in 0.25in;
  border-top: 0 !important;
}
.vet-template-main .veterinarycare__item {
  display: grid !important;               /* not the locator's flex row */
  grid-template-columns: 0.75in minmax(0, 1fr);
  gap: 0 0.1in;
  align-items: start;
  padding: 0 0 0.1in !important;
  border-bottom: 0.5pt solid #D1D5D9 !important;
  break-inside: avoid;
}
.vet-template-main .veterinarycare__img {
  width: 0.75in !important;
  max-width: 0.75in !important;
  height: auto !important;
  flex: none !important;
  margin: 0 !important;
}
.vet-template-main .veterinarycare__img img {
  display: block !important;
  width: 0.75in !important;
  height: auto !important;
  max-height: 0.9in !important;
  object-fit: contain !important;
  object-position: left top !important;
}
.vet-template-main .veterinarycare__descr {
  min-width: 0 !important;
}
.vet-template-main .veterinarycare__title,
.vet-template-main .veterinarycare__title a {
  font-size: 9.5pt !important;
  line-height: 1.25 !important;
}
.vet-template-main .veterinarycare__vet,
.vet-template-main .veterinarycare__vet--specialty {
  display: block !important;
  font-family: inherit !important;
  font-size: 8.5pt !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #231F20 !important;
  margin: 0.02in 0 0 !important;
  padding: 0 !important;
}
.vet-template-main .veterinarycare__vet--btn,
.vet-template-main .veterinarycare__loadmore {
  display: none !important;
}
/* The page reveals team members a few at a time on screen; print them all */
.vet-template-main .veterinarycare__item {
  opacity: 1 !important;
  visibility: visible !important;
}