/*
 * Abermain Chemist - health service pages (static devy-ui build, 29 September 2026).
 * Loaded only on pages flagged _abm_static by mu-plugins/abermain-service-pages.php.
 * Colours come from the Elementor global kit; type sizes and families come from Astra.
 * Nothing here reaches the header or footer: every rule is scoped to .abm-svc.
 */
.abm-svc {
  --abm-navy: var(--e-global-color-primary, #00206B);
  --abm-yellow: var(--e-global-color-accent, #FFEC01);
  --abm-text: var(--e-global-color-text, #3D3D3D);
  --abm-paper: var(--e-global-color-98c873a, #F5F5F5);
  --abm-white: var(--e-global-color-25a73bff, #FFFFFF);
  --abm-red: var(--e-global-color-9bf8b4b, #D50E1C);
  /* every border is a brand colour: navy by default, red on hover for anything clickable */
  --abm-line: var(--abm-navy);
  --abm-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--abm-text);
}
/* the page sits on brand white, so floating cards and bands never show Astra's tinted page background */
.abm-svc:not(.abm-hs) { background: var(--abm-white); }
.abm-svc *, .abm-svc *::before, .abm-svc *::after { box-sizing: border-box; }

/* Content box matches the header's own box, so the page lines up with the logo and the menu:
   1440 wide and centred, no side gutter once the screen is wider than 1480, 20px below that
   (the header's own gutter on smaller screens). Full-bleed bands stay outside it. */
.abm-svc .abm-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1440px);
  justify-content: center;
  padding-inline: 20px;
}
@media (min-width: 1480px) {
  .abm-svc .abm-wrap { padding-inline: 0; }
}

/* Links and focus */
.abm-svc a { color: var(--abm-navy); text-decoration: underline; text-underline-offset: 3px; transition: color 160ms var(--abm-ease-out); }
.abm-svc a:focus-visible, .abm-svc summary:focus-visible { outline: 3px solid var(--abm-navy); outline-offset: 3px; border-radius: 4px; }
.abm-svc h1, .abm-svc h2, .abm-svc h3 { color: var(--abm-navy); margin: 0 0 16px; }
.abm-svc p { margin: 0 0 16px; }

/* Astra caps `.entry-content > div > section` at 1440px (.ast-container .entry-content > div > section:not(...));
   the two bands are full bleed, so lift that cap for them only. */
.ast-container .entry-content .abm-svc > section.abm-band, .ast-container .entry-content .abm-svc > section.abm-cta { max-width: none; margin-inline: 0; }
/* Page-top band: Off White */
.abm-svc .abm-band { background: var(--abm-paper); padding-block: 40px 56px; }
/* Breadcrumbs hidden at Cheska's request (29 September 2026); the markup stays so they can come back with one line */
.abm-svc .abm-crumbs { display: none; }
.abm-svc .abm-crumbs ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.abm-svc .abm-crumbs li { display: flex; align-items: center; }
.abm-svc .abm-crumbs li + li::before { content: "\203A"; margin-inline: 10px; color: var(--abm-navy); }
.abm-svc .abm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero (every page): the Health Services hero format. Centred content on brand navy, tall padding (the old
   Elementor hero used 175px / 75px / 60px), fact cards floating over its bottom edge. Inner pages carry a faint
   pattern of pharmacy crosses in brand white; the Health Services page adds its photo (--abm-hero). */
.ast-container .entry-content .abm-svc > section.abm-band--facts { max-width: none; margin-inline: 0; }
.abm-svc .abm-band.abm-band--hero { position: relative; overflow: hidden; background-color: var(--abm-navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M26 20h4v6h6v4h-6v6h-4v-6h-6v-4h6z' fill='%23FFFFFF' fill-opacity='0.07'/%3E%3C/svg%3E"); background-size: 56px 56px; padding-block: 140px 180px; color: var(--abm-white); text-align: center; }
.abm-svc .abm-band.abm-band--hero.abm-band--photo { background-image: linear-gradient(180deg, rgba(0, 32, 107, 0.62) 0%, rgba(0, 32, 107, 0.7) 100%), var(--abm-hero); background-size: cover; background-position: center right; padding-block: 160px 200px; }
.abm-svc .abm-band--hero .abm-band-inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.abm-svc .abm-band--hero h1 { text-wrap: balance; margin-bottom: 20px; }
.abm-svc .abm-band--photo h1 { text-shadow: 0 2px 24px rgba(0, 20, 70, 0.45); }
.abm-svc .abm-band--hero .abm-actions { justify-content: center; margin-top: 32px; }
.abm-svc .abm-band--hero h1, .abm-svc .abm-band.abm-band--hero p, .abm-svc .abm-band.abm-band--hero p strong, .abm-svc .abm-band--hero a:not(.abm-btn) { color: var(--abm-white); }
.abm-svc .abm-band.abm-band--hero p { text-wrap: balance; }
.abm-svc .abm-band.abm-band--photo p { text-shadow: 0 1px 12px rgba(0, 20, 70, 0.5); }
.abm-svc .abm-band--hero a:focus-visible { outline-color: var(--abm-white); }
.abm-svc .abm-band--hero .abm-btn.abm-btn--accent { background: var(--abm-white); color: var(--abm-navy); border-color: var(--abm-white); }
.abm-svc .abm-band--hero .abm-btn.abm-btn--line { background: transparent; color: var(--abm-white); border-color: var(--abm-white); }
/* the one signature moment: hero content rises in once on load, 60ms apart */
@keyframes abm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.abm-svc .abm-band--hero .abm-band-inner > * { animation: abm-rise 420ms var(--abm-ease-out) both; }
.abm-svc .abm-band--hero .abm-band-inner > h1 { animation-delay: 40ms; }
.abm-svc .abm-band--hero .abm-band-inner > p { animation-delay: 100ms; }
.abm-svc .abm-band--hero .abm-band-inner > .abm-actions { animation-delay: 160ms; }
.abm-svc .abm-band.abm-band--facts { position: relative; z-index: 1; background: transparent; padding-block: 0; margin-top: -104px; }
.abm-svc .abm-band--facts .abm-facts { margin-top: 0; }
.abm-svc .abm-band--facts .abm-fact { box-shadow: 0 12px 32px -12px rgba(0, 32, 107, 0.35); border-radius: 12px; border-left: 0; border-top: 4px solid var(--abm-red); padding: 22px 24px; }
@media (hover: hover) and (pointer: fine) {
  .abm-svc .abm-band--hero .abm-btn.abm-btn--accent:hover, .abm-svc .abm-band--hero .abm-btn.abm-btn--line:hover { background: var(--abm-red); border-color: var(--abm-red); color: var(--abm-white); }
}
@media (max-width: 1024px) { .abm-svc .abm-band.abm-band--hero, .abm-svc .abm-band.abm-band--hero.abm-band--photo { padding-block: 75px 150px; } }
@media (max-width: 768px) {
  .abm-svc .abm-band.abm-band--hero, .abm-svc .abm-band.abm-band--hero.abm-band--photo { padding-block: 60px 120px; }
  .abm-svc .abm-band.abm-band--photo { background-position: 70% center; }
  .abm-svc .abm-band.abm-band--facts { margin-top: -80px; }
}
@media (prefers-reduced-motion: reduce) { .abm-svc .abm-band--hero .abm-band-inner > * { animation: none; } }

/* Key facts under the lede: each item is a boxed tile, so it reads as a list without a marker */
.abm-svc .abm-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.abm-svc .abm-fact { height: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-left: 4px solid var(--abm-red); background: var(--abm-white); border-radius: 0 10px 10px 0; }
.abm-svc .abm-fact svg { flex: none; margin-top: 3px; color: var(--abm-navy); }
.abm-svc .abm-fact span { display: block; }
.abm-svc .abm-fact .abm-fact-label { font-weight: 700; color: var(--abm-navy); }

/* Buttons: primary is brand navy and turns brand red on hover; secondary is white with a navy border. No yellow. */
.abm-svc .abm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--abm-navy); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 160ms var(--abm-ease-out), background-color 160ms var(--abm-ease-out), color 160ms var(--abm-ease-out), border-color 160ms var(--abm-ease-out); }
.abm-svc .abm-btn:active { transform: scale(0.97); }
.abm-svc .abm-btn svg { flex: none; }
.abm-svc .abm-btn.abm-btn--accent, .abm-svc .abm-btn.abm-btn--navy { background: var(--abm-navy); color: var(--abm-white); }
.abm-svc .abm-btn.abm-btn--line { background: var(--abm-white); color: var(--abm-navy); }

/* Body: content column plus a sticky aside. The measure comes from the grid track. */
.abm-svc .abm-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding-block: 64px; align-items: start; }
.abm-svc .abm-content > section + section { margin-top: 48px; }
/* The site header is sticky (79px desktop, 63px tablet, 89px phone): offset sticky and anchored content below it */
.abm-svc { --abm-hdr: 79px; }
@media (max-width: 1024px) { .abm-svc { --abm-hdr: 63px; } }
@media (max-width: 767px) { .abm-svc { --abm-hdr: 89px; } }
.abm-svc .abm-content > section[id], .abm-svc [id] { scroll-margin-top: calc(var(--abm-hdr) + 24px); }
.abm-svc .abm-content ul { list-style: disc outside; padding-left: 1.25em; margin: 0 0 16px; }
.abm-svc .abm-content ol { list-style: decimal outside; padding-left: 1.4em; margin: 0 0 16px; }
.abm-svc .abm-content li { margin-bottom: 8px; }
.abm-svc .abm-content li::marker { color: var(--abm-navy); font-weight: 700; }
.abm-svc .abm-note { background: var(--abm-paper); border-left: 4px solid var(--abm-navy); border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 0 0 16px; }
.abm-svc .abm-note > :last-child { margin-bottom: 0; }

/* Service tiles on the group pages: each tile is a boxed link, so the list needs no marker */
.abm-svc .abm-content ul.abm-tiles { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.abm-svc .abm-tiles li { margin: 0; }
.abm-svc .abm-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border: 2px solid var(--abm-line); border-radius: 12px; text-decoration: none; color: var(--abm-text); transition: border-color 160ms var(--abm-ease-out), transform 160ms var(--abm-ease-out); }
.abm-svc .abm-tile:active { transform: scale(0.97); }
.abm-svc .abm-tile-name { font-weight: 700; color: var(--abm-navy); text-decoration: underline; text-underline-offset: 3px; }
.abm-svc .abm-tile-desc { display: block; }

/* FAQs: native details, no height animation */
.abm-svc .abm-faq { border-top: 1px solid var(--abm-line); transition: border-color 160ms var(--abm-ease-out); }
.abm-svc .abm-faq:last-of-type { border-bottom: 1px solid var(--abm-line); }
.abm-svc .abm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; font-weight: 700; color: var(--abm-navy); }
.abm-svc .abm-faq summary::-webkit-details-marker { display: none; }
.abm-svc .abm-faq summary svg { flex: none; transition: transform 200ms var(--abm-ease-out); }
.abm-svc .abm-faq[open] summary svg { transform: rotate(180deg); }
.abm-svc .abm-faq-a { padding-bottom: 16px; }
.abm-svc .abm-faq-a > :last-child { margin-bottom: 0; }

/* Aside */
.abm-svc .abm-aside { position: sticky; top: calc(var(--abm-hdr) + 40px); display: grid; gap: 20px; }
.abm-svc .abm-card { background: var(--abm-white); border: 1px solid var(--abm-line); border-radius: 12px; padding: 24px; }
.abm-svc .abm-card--visit { border-top: 4px solid var(--abm-navy); }
/* .evo-page-build .entry-content p resets paragraph weight, so this selector has to outrank it */
.abm-svc .abm-card p.abm-card-title { font-weight: 700; color: var(--abm-navy); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--abm-red); }
.abm-svc .abm-card p:last-child { margin-bottom: 0; }
.abm-svc .abm-hours { list-style: none; margin: 0 0 16px; padding: 0; }
.abm-svc .abm-hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--abm-line); }
.abm-svc .abm-hours li:last-child, .abm-svc .abm-nav li:last-child { border-bottom: 0; }
.abm-svc .abm-hours span { display: block; padding-block: 6px; }
.abm-svc .abm-card .abm-btn { width: 100%; }
.abm-svc .abm-nav { list-style: none; margin: 0; padding: 0; }
.abm-svc .abm-nav li { border-bottom: 1px solid var(--abm-line); }
.abm-svc .abm-nav a { display: block; padding-block: 9px; text-decoration: none; font-weight: 400; }
.abm-svc .abm-nav a[aria-current="page"] { color: var(--abm-text); padding-left: 12px; border-left: 3px solid var(--abm-navy); }
.abm-svc .abm-nav .abm-nav-up a { font-weight: 700; }
.abm-svc .abm-faq + p { margin-top: 24px; }

/* Closing band */
.abm-svc .abm-cta { background: var(--abm-white); border-top: 1px solid var(--abm-line); padding-block: 56px; }
.abm-svc .abm-cta-inner > :last-child { margin-bottom: 0; }

/* Hover only on devices that really hover */
@media (hover: hover) and (pointer: fine) {
  .abm-svc a:hover { color: var(--abm-text); }
  .abm-svc .abm-btn.abm-btn--accent:hover, .abm-svc .abm-btn.abm-btn--navy:hover { background: var(--abm-red); border-color: var(--abm-red); color: var(--abm-white); }
  .abm-svc .abm-btn.abm-btn--line:hover { border-color: var(--abm-red); color: var(--abm-red); }
  .abm-svc .abm-tile:hover { border-color: var(--abm-red); color: var(--abm-text); }
  .abm-svc .abm-tile:hover .abm-tile-name, .abm-svc .abm-faq summary:hover, .abm-svc .abm-nav a:hover { color: var(--abm-red); }
  .abm-svc .abm-faq:hover { border-color: var(--abm-red); }
}

@media (max-width: 1024px) {
  .abm-svc .abm-body { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px; }
  .abm-svc .abm-aside { position: static; }
}
@media (max-width: 768px) {
  .abm-svc .abm-facts { grid-template-columns: minmax(0, 1fr); }
  .abm-svc .abm-band { padding-block: 32px 40px; }
  .abm-svc .abm-actions .abm-btn { flex: 1 1 100%; }
}
.abm-svc .abm-body > *, .abm-svc .abm-facts > *, .abm-svc .abm-tiles > * { min-width: 0; }
.abm-svc .abm-card a { overflow-wrap: anywhere; }

/* Blog listing (template-fancy-blog.php) */
.abm-svc .abm-blog-body { padding-block: 48px 64px; }
.abm-svc .abm-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.abm-svc .abm-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.abm-svc .abm-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--abm-navy); border-radius: 999px; background: var(--abm-white); color: var(--abm-navy); font-weight: 700; text-decoration: none; transition: border-color 160ms var(--abm-ease-out), color 160ms var(--abm-ease-out), background-color 160ms var(--abm-ease-out), transform 160ms var(--abm-ease-out); }
.abm-svc .abm-pill:active { transform: scale(0.97); }
.abm-svc .abm-pill.is-active { background: var(--abm-navy); color: var(--abm-white); }
.abm-svc .abm-blog-count { margin: 0; }
.abm-svc .abm-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.abm-svc .abm-posts > li { margin: 0; min-width: 0; }
.abm-svc .abm-post { height: 100%; }
.abm-svc .abm-post-link { display: flex; flex-direction: column; height: 100%; background: var(--abm-white); border: 2px solid var(--abm-line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--abm-text); transition: border-color 160ms var(--abm-ease-out), transform 160ms var(--abm-ease-out); }
.abm-svc .abm-post-link:active { transform: scale(0.97); }
.abm-svc .abm-post-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--abm-paper); overflow: hidden; }
/* absolute, because the theme sets img { height: auto } and the photo would not fill its frame */
.abm-svc .abm-post-media picture, .abm-svc .abm-post-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* Astra holds archive pages to a 1200px .ast-container; category archives use the blog listing layout, so lift it there only */
body.category.ast-page-builder-template .site-content > .ast-container { max-width: none; padding-inline: 0; }
.abm-svc .abm-post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.abm-svc .abm-post-cat { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--abm-paper); color: var(--abm-navy); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.abm-svc .abm-post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--abm-line); }
/* Card titles are h2 for the heading order; they keep the site's own measured h4 scale (see the child theme's .evo-h4-type) */
.abm-svc .abm-post-title { margin: 0; font-size: 22px; line-height: 1.2em; color: var(--abm-navy); transition: color 160ms var(--abm-ease-out); }
.abm-svc .abm-post-excerpt { display: block; font-weight: normal; }
.abm-svc .abm-post-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--abm-navy); }
.abm-svc .abm-post-more svg { transition: transform 160ms var(--abm-ease-out); }
.abm-svc .abm-pager { margin-top: 40px; }
.abm-svc .abm-pager ul { list-style: none; margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.abm-svc .abm-pager li > .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--abm-navy); border-radius: 999px; background: var(--abm-white); color: var(--abm-navy); font-weight: 700; text-decoration: none; }
.abm-svc .abm-pager li > .page-numbers.current { background: var(--abm-navy); color: var(--abm-white); }
.abm-svc .abm-pager li > .page-numbers.dots { border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .abm-svc .abm-post-link:hover { border-color: var(--abm-red); color: var(--abm-text); }
  .abm-svc .abm-post-link:hover .abm-post-title, .abm-svc .abm-post-link:hover .abm-post-more { color: var(--abm-red); }
  .abm-svc .abm-pager a.page-numbers:hover, .abm-svc .abm-pill:not(.is-active):hover { border-color: var(--abm-red); color: var(--abm-red); }
  .abm-svc .abm-pill.is-active:hover { background: var(--abm-red); border-color: var(--abm-red); }
  .abm-svc .abm-post-link:hover .abm-post-more svg { transform: translateX(3px); }
}
@media (max-width: 1024px) { .abm-svc .abm-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .abm-svc .abm-post-title { font-size: 20.064px; } }
@media (max-width: 700px) { .abm-svc .abm-posts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 544px) { .abm-svc .abm-post-title { font-size: 14.592px; } }

/* [abm_health_services]: grouped services block on the homepage and About Us (inside their Elementor sections) */
.abm-svc.abm-hs { width: 100%; display: grid; grid-template-columns: minmax(0, 1440px); justify-content: center; padding-inline: 20px; }
@media (min-width: 1480px) { .abm-svc.abm-hs { padding-inline: 0; } }
.abm-svc .abm-hs-title { text-align: center; margin-bottom: 32px; }
.abm-svc .abm-hs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.abm-svc .abm-hs-grid > li { margin: 0; min-width: 0; }
.abm-svc .abm-hs-card { height: 100%; padding: 24px; background: var(--abm-white); border: 2px solid var(--abm-navy); border-radius: 12px; }
.abm-svc .abm-hs-name { margin: 0 0 8px; font-size: 22px; line-height: 1.2em; }
.abm-svc .abm-hs-name a { text-decoration: none; }
.abm-svc .abm-hs-desc { margin-bottom: 14px; }
.abm-svc .abm-hs-list { list-style: disc outside; margin: 0; padding-left: 1.2em; }
.abm-svc .abm-hs-list li { margin-bottom: 6px; font-weight: normal; }
.abm-svc .abm-hs-list li::marker { color: var(--abm-navy); }
.abm-svc .abm-hs-all { text-align: center; margin: 28px 0 0; }
@media (hover: hover) and (pointer: fine) {
  .abm-svc .abm-hs-name a:hover, .abm-svc .abm-hs-list a:hover { color: var(--abm-red); }
}
@media (max-width: 1100px) { .abm-svc .abm-hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .abm-svc .abm-hs-name { font-size: 20.064px; } }
@media (max-width: 600px) { .abm-svc .abm-hs-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 544px) { .abm-svc .abm-hs-name { font-size: 14.592px; } }

/* Hero without fact cards: even padding, nothing floats over the bottom edge */
.abm-svc .abm-band.abm-band--hero.abm-band--nofacts { padding-block: 140px; }
@media (max-width: 1024px) { .abm-svc .abm-band.abm-band--hero.abm-band--nofacts { padding-block: 75px; } }
@media (max-width: 768px) { .abm-svc .abm-band.abm-band--hero.abm-band--nofacts { padding-block: 60px; } }

/* Service pages without the photo: 45px top and bottom (Cheska, 29 September 2026). With fact cards, the
   cards overlap the navy by 60px and keep 45px clear below the button. */
.abm-svc .abm-band.abm-band--hero:not(.abm-band--photo) { padding-block: 45px 105px; }
.abm-svc .abm-band.abm-band--hero.abm-band--nofacts { padding-block: 45px; }
.abm-svc .abm-band--hero:not(.abm-band--photo) + .abm-band--facts { margin-top: -60px; }
@media (max-width: 1024px) {
  .abm-svc .abm-band.abm-band--hero:not(.abm-band--photo) { padding-block: 45px 105px; }
  .abm-svc .abm-band.abm-band--hero.abm-band--nofacts { padding-block: 45px; }
}
@media (max-width: 768px) {
  .abm-svc .abm-band.abm-band--hero:not(.abm-band--photo) { padding-block: 45px 105px; }
  .abm-svc .abm-band.abm-band--hero.abm-band--nofacts { padding-block: 45px; }
  .abm-svc .abm-band--hero:not(.abm-band--photo) + .abm-band--facts { margin-top: -60px; }
}

/* Location pages (EverNurture areas layout): text left, Google map right */
.abm-svc .abm-map-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.abm-svc .abm-map { margin: 0; }
.abm-svc .abm-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 2px solid var(--abm-navy); border-radius: 12px; background: var(--abm-white); }
.abm-svc .abm-map figcaption { margin-top: 12px; }
@media (max-width: 1024px) { .abm-svc .abm-map-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Areas grid: full-width Off White band of suburb cards */
.ast-container .entry-content .abm-svc > section.abm-areas { max-width: none; margin-inline: 0; }
.abm-svc .abm-areas { background: var(--abm-paper); padding-block: 64px; }
.abm-svc .abm-areas-inner > h2 { text-align: center; }
.abm-svc .abm-areas-inner > p { text-align: center; margin-bottom: 32px; }
.abm-svc .abm-area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.abm-svc .abm-area-grid > li { margin: 0; min-width: 0; }
.abm-svc .abm-area { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 24px 20px; text-align: center; background: var(--abm-white); border: 2px solid var(--abm-navy); border-radius: 12px; color: var(--abm-text); text-decoration: none; transition: border-color 160ms var(--abm-ease-out), transform 160ms var(--abm-ease-out); }
.abm-svc .abm-area:active { transform: scale(0.97); }
.abm-svc .abm-area[aria-current="page"] { border-color: var(--abm-red); }
.abm-svc .abm-pin { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--abm-paper); color: var(--abm-navy); }
.abm-svc .abm-area-name { font-weight: 700; color: var(--abm-navy); }
.abm-svc .abm-area-desc { font-weight: normal; }
@media (hover: hover) and (pointer: fine) {
  .abm-svc .abm-area:hover { border-color: var(--abm-red); color: var(--abm-text); }
  .abm-svc .abm-area:hover .abm-area-name { color: var(--abm-red); }
}
@media (max-width: 1100px) { .abm-svc .abm-area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .abm-svc .abm-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .abm-svc .abm-area-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .abm-svc .abm-btn, .abm-svc .abm-tile, .abm-svc .abm-post-link, .abm-svc .abm-faq summary svg { transition: color 160ms, background-color 160ms, border-color 160ms; }
  .abm-svc .abm-btn:active, .abm-svc .abm-tile:active, .abm-svc .abm-post-link:active { transform: none; }
}
@media (prefers-contrast: more) {
  .abm-svc .abm-fact { border: 2px solid var(--abm-navy); }
  .abm-svc .abm-tile, .abm-svc .abm-card { border-width: 2px; }
}

/* Paragraphs are set to normal weight by .evo-page-build .entry-content p; lists and fact lines follow them so body text reads as one weight */
.abm-svc .abm-content li, .abm-svc .abm-fact span:not(.abm-fact-label), .abm-svc .abm-hours span, .abm-svc .abm-tile-desc { font-weight: normal; }

/* ==== Service page layout v3 (15 Oct 2026, Cheska): the old Elementor service page layout
   (old.abermainchemist.com.au/health-services/blood-pressure-evaluation/) rebuilt as static markup.
   Photo hero, navy FREE strip, one-column copy, photo + tick card, navy map band, service cards.
   Every rule is scoped to .abm-svc--v3, so pages still on the earlier layout are untouched. ==== */
@font-face { font-family: "Archivo Black"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/wp-content/uploads/elementor/google-fonts/fonts/archivoblack-htxql289nzcgg4mzn6kj7ew6cyyf_g.woff2) format("woff2"); }
.ast-container .entry-content .abm-svc > section.abm-free3, .ast-container .entry-content .abm-svc > section.abm-cards3 { max-width: none; margin-inline: 0; }

/* Hero: the photo carries its own blue tint, so the overlay is light; H1 in two colours with the old white glow */
.entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--hero { padding-block: 140px; }
.entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--hero.abm-band--photo { background-image: linear-gradient(180deg, rgba(0, 32, 107, 0.28) 0%, rgba(0, 32, 107, 0.4) 100%), var(--abm-hero); background-position: 50% 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero p.abm-eyebrow { font-family: Actor, sans-serif; font-size: clamp(26px, 3.5vw, 50px); line-height: 1.3; font-weight: 700; text-transform: uppercase; color: var(--abm-white); text-shadow: 0 0 15px var(--abm-white); margin: 0 0 4px; }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero h1 { font-size: clamp(44px, 6.25vw, 90px); line-height: 1.25; letter-spacing: -0.01em; text-shadow: 0 0 15px var(--abm-white); }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero.abm-band--photo h1 { color: var(--abm-navy); }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero h1 b.abm-h1-b { color: var(--abm-yellow); font-weight: inherit; }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero p.abm-h1-sub { font-family: Actor, sans-serif; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; font-weight: 700; color: var(--abm-white); margin: 0 0 12px; }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero:not(.abm-band--photo) h1 { text-shadow: none; }
.entry-content .abm-svc.abm-svc--v3 .abm-band--hero:not(.abm-band--photo) p.abm-eyebrow { text-shadow: none; }
.entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--photo p:not(.abm-eyebrow) { font-size: 18px; text-shadow: 0 1px 10px rgba(0, 20, 70, 0.7); }

/* FREE strip: navy, yellow Archivo Black, three links across the 1440 grid */
.entry-content .abm-svc.abm-svc--v3 .abm-free3 { background: var(--abm-navy); }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 li:nth-child(2) { justify-self: center; }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 li:nth-child(3) { justify-self: end; }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 a { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; font-family: "Archivo Black", Actor, sans-serif; font-size: 22px; line-height: 1.2; color: #FFEF00; text-decoration: none; transition: transform 160ms var(--abm-ease-out); }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 a:active { transform: scale(0.97); }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
.entry-content .abm-svc.abm-svc--v3 .abm-free3 a:focus-visible { outline-color: #FFEF00; }

/* Facts: a plain row under the strip (no longer floating over the hero) */
.entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--facts { margin-top: 0; padding-block: 48px 0; }

/* Copy: one column across the grid, 60px between blocks, as the old page */
.entry-content .abm-svc.abm-svc--v3 .abm-v3-body { padding-block: 60px 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-v3-body > * + * { margin-top: 60px; }
.entry-content .abm-svc.abm-svc--v3 .abm-v3-body > section > :last-child { margin-bottom: 0; }
.entry-content .abm-svc.abm-svc--v3 p.abm-further { margin-top: 16px; }

/* Photo + tick card: two equal columns, 10px radius, the old soft shadow */
.entry-content .abm-svc.abm-svc--v3 .abm-tipsrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.entry-content .abm-svc.abm-svc--v3 .abm-tipsphoto { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); min-height: 360px; position: relative; }
.entry-content .abm-svc.abm-svc--v3 .abm-tipsphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entry-content .abm-svc.abm-svc--v3 .abm-tipscard { background: var(--abm-paper); border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); padding: 45px; display: grid; align-content: center; justify-items: stretch; }
.entry-content .abm-svc.abm-svc--v3 .abm-tipscard h2 { font-family: Actor, sans-serif; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.3; color: var(--abm-navy); text-align: center; text-wrap: balance; margin: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-rule { display: block; width: 70px; height: 5px; background: var(--abm-red); margin: 28px 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-tipscard p { font-family: Actor, sans-serif; font-size: 20px; font-weight: 600; color: var(--abm-text); margin: 0 0 12px; }
.entry-content .abm-svc.abm-svc--v3 .abm-content ul.abm-ticks { list-style: none; margin: 0; padding: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 11px; align-items: center; font-family: Actor, sans-serif; font-size: 20px; line-height: 1.857; font-weight: 600; color: #000; margin: 0; padding: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-ticks li span { color: #000; font-weight: 600; }
.entry-content .abm-svc.abm-svc--v3 .abm-ticks svg { width: 22px; height: 22px; margin: 0; fill: var(--abm-yellow); justify-self: center; }

/* Navy band: call, address, hours and directions beside the map */
.entry-content .abm-svc.abm-svc--v3 .abm-band3 { margin-top: 60px; background: var(--abm-navy); border-radius: 10px; box-shadow: 0 0 10px #000; padding: 45px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: center; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 h2 { font-size: 30px; line-height: 1.3; color: var(--abm-white); margin: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 p, .entry-content .abm-svc.abm-svc--v3 .abm-band3 span, .entry-content .abm-svc.abm-svc--v3 .abm-band3 a:not(.abm-btn) { color: var(--abm-white); }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 > div > p { margin: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 15px; align-items: center; margin-top: 16px; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 p.abm-band3-sub + .abm-band3-row { margin-top: 30px; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3-row > .abm-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--abm-white); display: grid; place-items: center; align-self: start; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3-row > .abm-dot svg { width: 18px; height: 18px; fill: var(--abm-navy); }
.entry-content .abm-svc.abm-svc--v3 .abm-band3-row p { margin: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 a.abm-band3-tel { font-family: "Open Sans", sans-serif; font-size: 22px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 .abm-hours { margin: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 .abm-hours li { border-color: rgba(255, 255, 255, 0.2); }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 .abm-actions { margin-top: 28px; }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 .abm-btn.abm-btn--line { background: transparent; color: var(--abm-white); border-color: var(--abm-white); }
.entry-content .abm-svc.abm-svc--v3 .abm-band3 a:focus-visible { outline-color: var(--abm-white); }
.entry-content .abm-svc.abm-svc--v3 .abm-map3 { margin: 0; height: 300px; position: relative; }
.entry-content .abm-svc.abm-svc--v3 .abm-map3 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Service cards: centred heading over a 70px yellow rule, 4 across, alternating light blue and outlined white */
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 { padding-block: 60px 75px; }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 h2 { text-align: center; color: var(--abm-navy); margin: 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 .abm-rule { background: var(--abm-yellow); margin: 20px auto 45px; }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3 { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 16px; padding: 30px; border-radius: 10px; border: 1px solid var(--abm-navy); background: var(--abm-white); box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); text-align: center; transition: transform 160ms var(--abm-ease-out); }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(8n+1) .abm-card3, .entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(8n+3) .abm-card3,
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(8n+6) .abm-card3, .entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(8n+8) .abm-card3 { background: #E6F0FF; border-color: #E6F0FF; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3:active { transform: scale(0.97); }
.entry-content .abm-svc.abm-svc--v3 .abm-card3 > svg { width: 50px; height: 50px; fill: #000; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3 h3 { font-size: 28px; line-height: 1.3; margin: 0; align-self: center; text-wrap: balance; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3 h3 a { color: #000; text-decoration: none; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3 h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3 h3 a:focus-visible { outline: none; }
.entry-content .abm-svc.abm-svc--v3 .abm-card3:has(a:focus-visible) { outline: 3px solid var(--abm-navy); outline-offset: 3px; }
.entry-content .abm-svc.abm-svc--v3 span.abm-card3-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 10px; background: var(--abm-navy); color: var(--abm-white); font-size: 15px; line-height: 1; font-weight: 700; text-transform: uppercase; transition: background-color 160ms var(--abm-ease-out); }
.entry-content .abm-svc.abm-svc--v3 .abm-card3-btn svg { width: 9px; height: 15px; fill: currentColor; transition: transform 160ms var(--abm-ease-out); }

@media (hover: hover) and (pointer: fine) {
  .entry-content .abm-svc.abm-svc--v3 .abm-free3 a:hover { color: var(--abm-white); }
  .entry-content .abm-svc.abm-svc--v3 .abm-card3:hover span.abm-card3-btn { background: var(--abm-red); }
  .entry-content .abm-svc.abm-svc--v3 .abm-card3:hover .abm-card3-btn svg { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .entry-content .abm-svc.abm-svc--v3 .abm-card3, .entry-content .abm-svc.abm-svc--v3 .abm-free3 a, .entry-content .abm-svc.abm-svc--v3 .abm-card3-btn svg { transition: none; }
}
@media (max-width: 1024px) {
  .entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--hero { padding-block: 75px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-free3 a { font-size: 16px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-tipsrow, .entry-content .abm-svc.abm-svc--v3 .abm-band3 { grid-template-columns: minmax(0, 1fr); }
  .entry-content .abm-svc.abm-svc--v3 .abm-tipsphoto { min-height: 0; aspect-ratio: 3 / 2; }
  .entry-content .abm-svc.abm-svc--v3 .abm-cards3 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(n) .abm-card3 { background: var(--abm-white); border-color: var(--abm-navy); }
  .entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(4n+1) .abm-card3, .entry-content .abm-svc.abm-svc--v3 .abm-cards3 li:nth-child(4n+4) .abm-card3 { background: #E6F0FF; border-color: #E6F0FF; }
}
@media (max-width: 767px) {
  .entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--hero { padding-block: 60px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-free3 ul { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-free3 li:nth-child(n) { justify-self: center; }
  .entry-content .abm-svc.abm-svc--v3 .abm-free3 a { min-height: 44px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-tipscard, .entry-content .abm-svc.abm-svc--v3 .abm-band3 { padding: 30px 20px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-tipscard p, .entry-content .abm-svc.abm-svc--v3 .abm-ticks li { font-size: 18px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-band3 h2 { font-size: 26px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-map3 { height: 260px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-cards3 ul { gap: 16px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-card3 { padding: 20px 12px; gap: 12px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-card3 > svg { width: 40px; height: 40px; }
  .entry-content .abm-svc.abm-svc--v3 .abm-card3 h3 { font-size: 18px; }
  .entry-content .abm-svc.abm-svc--v3 span.abm-card3-btn { padding: 12px 14px; font-size: 13px; }
}
/* Facts row hidden on Health Services pages (Cheska, 15 Oct 2026) */
body.page-id-656 .abm-svc .abm-band--facts, body.parent-pageid-656 .abm-svc .abm-band--facts { display: none; }
/* Old band's italic line under the heading */
.entry-content .abm-svc.abm-svc--v3 .abm-band3 p.abm-band3-sub { font-family: "Open Sans", sans-serif; font-size: 17px; font-weight: 700; font-style: italic; line-height: 1.3; color: #fff; margin: 20px 0 0; }
.entry-content .abm-svc.abm-svc--v3 .abm-tipscard .abm-rule { justify-self: center; margin: 35px 0; }
/* Health Services hub (old hub page): 70px H1 with a white last line, white phone button, card blurbs, alternate card colours, Free banner */
.entry-content .abm-svc.abm-svc--hub .abm-band--hero h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.4; }
.entry-content .abm-svc.abm-svc--hub .abm-band--hero h1 span.abm-h1-w { color: var(--abm-white); }
.entry-content .abm-svc.abm-svc--hub .abm-band--hero a.abm-btn--white { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 10px; background: var(--abm-white); color: #052E8D; font-size: 15px; line-height: 1; font-weight: 700; text-decoration: none; transition: transform 160ms var(--abm-ease-out); }
.entry-content .abm-svc.abm-svc--hub .abm-band--hero a.abm-btn--white svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; }
.entry-content .abm-svc.abm-svc--hub .abm-band--hero a.abm-btn--white:active { transform: scale(0.97); }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 { grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 40px; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 h3 { font-family: "Open Sans", sans-serif; font-size: 23px; line-height: 1.3; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 h3 a { color: var(--abm-navy); }
.entry-content .abm-svc.abm-svc--hub .abm-card3-rule { display: block; width: 40px; border-top: 2px solid #D50E1C; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 p { font-size: 15px; line-height: 24px; color: #000; margin: 0; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 p a { position: relative; z-index: 1; white-space: nowrap; }
@media (min-width: 1025px) {
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li:nth-child(n) .abm-card3 { background: var(--abm-white); border-color: var(--abm-navy); }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li:nth-child(8n+2) .abm-card3, .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li:nth-child(8n+4) .abm-card3,
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li:nth-child(8n+5) .abm-card3, .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li:nth-child(8n+7) .abm-card3 { background: #E6F0FF; border-color: #E6F0FF; }
}
.ast-container .entry-content .abm-svc > figure.abm-hubbanner { max-width: none; margin: 0; }
.entry-content .abm-svc.abm-svc--hub figure.abm-hubbanner img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 { padding: 24px 16px; }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 h3 { font-size: 18px; }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 p { font-size: 14px; line-height: 22px; }
}
/* Navy hero on the newer service pages (no old page): same height as the old photo heroes (Cheska 16 Oct: min-height 550px) */
@media (min-width: 1025px) {
  .entry-content .abm-svc.abm-svc--v3:not(.abm-svc--hub) .abm-band--hero:not(.abm-band--photo) { min-height: 550px; box-sizing: border-box; padding-block: 80px; display: flex; align-items: center; }
  .entry-content .abm-svc.abm-svc--v3:not(.abm-svc--hub) .abm-band--hero:not(.abm-band--photo) > .abm-wrap { width: 100%; }
}
/* Hero call button matches the site's Elementor buttons (Cheska 16 Oct: match existing, red on hover) */
body .entry-content .abm-svc .abm-band--hero a.abm-btn[href^="tel:"] { min-height: 0; padding: 14px 30px; border: 0; border-radius: 10px; background: #FFFFFF; color: #052E8D; font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 700; line-height: 1; text-transform: uppercase; box-shadow: 0 0 10px 0 rgba(255, 255, 255, .5); transition: background-color .3s, color .3s; }
body .entry-content .abm-svc .abm-band--hero a.abm-btn[href^="tel:"]:hover, body .entry-content .abm-svc .abm-band--hero a.abm-btn[href^="tel:"]:focus-visible { background: #D50E1C; color: #FFFFFF; }
body .entry-content .abm-svc .abm-band--hero a.abm-btn[href^="tel:"] svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; }
/* Hub matched to old.abermainchemist.com.au/health-services/ (Cheska 16 Oct) */
.entry-content .abm-svc.abm-svc--hub .abm-band--hero h1 span.abm-h1-w { color: var(--abm-white) !important; font-weight: 700; } /* beats the theme's h1 span !important */
.entry-content .abm-svc.abm-svc--hub .abm-band--hero .abm-band-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1008px) minmax(0, 1fr); }
.entry-content .abm-svc.abm-svc--hub .abm-band--hero .abm-band-inner > * { grid-column: 1 / -1; }
.entry-content .abm-svc.abm-svc--hub .abm-band.abm-band--hero .abm-band-inner > p:not(.abm-eyebrow) { grid-column: 2; font-size: 16px; text-shadow: none; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 { grid-template-rows: none; align-content: start; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub .abm-card3 h3 a { font: inherit; font-weight: 700; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub span.abm-card3-btn { font-family: "Open Sans", sans-serif; text-transform: uppercase; }
@media (min-width: 1025px) { .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub > .abm-wrap { padding-inline: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .entry-content .abm-svc.abm-svc--hub .abm-band--hero .abm-band-inner { animation: abm-fadeIn 1.25s both; }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li.abm-anim { visibility: hidden; }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--hub li.abm-anim.abm-in { visibility: visible; animation: abm-slideInUp 1.25s both; }
}
@keyframes abm-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes abm-slideInUp { from { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
/* Hub hero photo as on the old page: full-size image, right-centre crop, black-to-navy overlay at 50%, 708px tall (Cheska 16 Oct) */
.entry-content .abm-svc.abm-svc--hub .abm-band.abm-band--hero.abm-band--photo { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 14, 111, 0.5) 100%), var(--abm-hero); background-position: 100% 50%; min-height: 708px; box-sizing: border-box; display: flex; align-items: center; }
.entry-content .abm-svc.abm-svc--hub .abm-band.abm-band--hero.abm-band--photo > .abm-wrap { width: 100%; }
/* 8 older service pages: hero photo overlay, crop and fade-in as on their old pages (Cheska 16 Oct) */
.entry-content .abm-svc.abm-svc--v3:not(.abm-svc--hub) .abm-band.abm-band--hero.abm-band--photo { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 14, 111, 0.5) 100%), var(--abm-hero); }
.entry-content .abm-svc.abm-svc--v3 .abm-band.abm-band--hero.abm-band--photo:is([style*="Diabetes-Monitoring.jpg"], [style*="Stroke-Risk-Assessment"], [style*="Weight-Management-Support-scaled.jpg"], [style*="Work-Absence-Certificates.jpg"]) { background-position: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .entry-content .abm-svc.abm-svc--v3:not(.abm-svc--hub) .abm-band--hero.abm-band--photo .abm-band-inner { animation: abm-fadeIn 1.25s both; }
}
/* Batch 3-5 (Cheska 16 Oct): a lone 'All ... Services' card becomes a centred button under the grid; two grids stack */
.entry-content .abm-svc.abm-svc--v3 .abm-cards3-all { margin: 40px 0 0; text-align: center; }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3-all a.abm-card3-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 10px; background: var(--abm-navy); color: var(--abm-white); font-size: 15px; line-height: 1; font-weight: 700; text-transform: uppercase; text-decoration: none; transition: background-color 160ms var(--abm-ease-out); }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3-all a.abm-card3-btn:focus-visible { outline: 2px solid var(--abm-navy); outline-offset: 3px; }
.entry-content .abm-svc.abm-svc--v3 .abm-cards3 + .abm-cards3 { padding-top: 0; }
@media (hover: hover) and (pointer: fine) {
  .entry-content .abm-svc.abm-svc--v3 .abm-cards3-all a.abm-card3-btn:hover { background: var(--abm-red); color: var(--abm-white); }
  .entry-content .abm-svc.abm-svc--v3 .abm-cards3-all a.abm-card3-btn:hover svg { transform: translateX(3px); }
}
/* Hub merge (Cheska 16 Oct): each group is an old-style card grid; intro under the rule; a short last row is centred */
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-rule { margin-bottom: 30px; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-cards3-intro { margin: 0 0 45px; text-align: center; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-cards3-intro p { margin: 0; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp + .abm-cards3--grp { padding-top: 0; }
/* Round 14 (Cheska 16 Oct): equal cards. 8-track grid, each card spans 2; a short last row is centred; every row as tall as the tallest
   (rows go back to their own height while a Read more is open); button pinned to the card bottom */
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp ul:has(details[open]) { grid-auto-rows: auto; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp li { grid-column: span 2; display: grid; min-width: 0; }
@media (min-width: 1025px) {
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--grp li:last-child:nth-child(4n+1) { grid-column: 4 / span 2; }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--grp li:nth-last-child(2):nth-child(4n+1) { grid-column: 3 / span 2; }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--grp li:nth-last-child(3):nth-child(4n+1) { grid-column: 2 / span 2; }
}
.entry-content .abm-svc.abm-svc--hub .abm-cards3--hub.abm-cards3--grp .abm-card3 { grid-template-rows: auto auto auto auto 1fr auto; align-content: stretch; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp span.abm-card3-btn { align-self: end; grid-row: 6; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more { align-self: start; text-align: center; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more summary { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 700; color: var(--abm-navy); }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more summary::-webkit-details-marker { display: none; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more summary span { color: inherit; font: inherit; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more summary svg { width: 16px; height: 16px; transition: transform 160ms var(--abm-ease-out); }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more[open] summary svg { transform: rotate(180deg); }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more summary:focus-visible { outline: 2px solid var(--abm-navy); outline-offset: 3px; border-radius: 4px; }
.entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more > p { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) { .entry-content .abm-svc.abm-svc--hub .abm-cards3--grp .abm-card3-more summary:hover { color: var(--abm-red); } }
@media (max-width: 1024px) {
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--grp ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .entry-content .abm-svc.abm-svc--hub .abm-cards3--grp li:last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
}

/* About Us "Our Health Services": the old About Us card look (Cheska 16 Oct 2026, "match .old"), one card per service group */
.abm-svc.abm-hs--cards .abm-hs-title { margin-bottom: 15px; }
.abm-svc.abm-hs--cards .abm-hs-rule { display: block; width: 70px; height: 5px; margin: 0 auto 45px; background: #FFEF00; }
.abm-svc.abm-hs--cards .abm-hs-grid { gap: 30px; }
.abm-svc.abm-hs--cards .abm-hs-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px; background: #E6F0FF; border: 1px solid #E6F0FF; border-radius: 10px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); }
.abm-svc.abm-hs--cards .abm-hs-grid > li:nth-child(even) .abm-hs-card { background: var(--abm-white); border-color: var(--abm-navy); }
.abm-svc.abm-hs--cards .abm-hs-card > svg { width: 50px; height: 50px; margin-bottom: 10px; fill: #000; flex: none; }
.abm-svc.abm-hs--cards .abm-hs-name { margin: 0 0 30px; font-family: "Open Sans", sans-serif; font-size: 30px; font-weight: 700; line-height: 39px; color: #000; }
.abm-svc.abm-hs--cards .abm-hs-name a { color: inherit; }
.abm-svc.abm-hs--cards .abm-hs-name a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.abm-svc.abm-hs--cards .abm-hs-btn { margin-top: auto; display: inline-flex; align-items: center; gap: 15px; padding: 14px 30px; border-radius: 10px; background: var(--abm-navy); color: var(--abm-white); font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 700; line-height: 15px; text-transform: uppercase; transition: background-color .2s ease; }
.abm-svc.abm-hs--cards .abm-hs-btn svg { width: 8px; height: 15px; fill: currentColor; }
.abm-svc.abm-hs--cards .abm-hs-card:hover .abm-hs-btn, .abm-svc.abm-hs--cards .abm-hs-card:focus-within .abm-hs-btn { background: var(--abm-red); }
.abm-svc.abm-hs--cards .abm-hs-name a:focus-visible { outline: none; }
.abm-svc.abm-hs--cards .abm-hs-card:focus-within { outline: 2px solid var(--abm-navy); outline-offset: 3px; }
@media (max-width: 768px) { .abm-svc.abm-hs--cards .abm-hs-name { font-size: 20px; line-height: 26px; } .abm-svc.abm-hs--cards .abm-hs-btn { font-size: 13.68px; line-height: 13.68px; } .abm-svc.abm-hs--cards .abm-hs-btn svg { width: 7px; height: 14px; } }
@media (max-width: 600px) { .abm-svc.abm-hs--cards .abm-hs-card { padding: 15px; } .abm-svc.abm-hs--cards .abm-hs-rule { margin-bottom: 30px; } }
/* Site button standard on every abm-svc page (Cheska 16 Oct 2026): match the Elementor site buttons. Open Sans 15px bold uppercase, 10px radius, 14px 30px, red hover. */
body .entry-content .abm-svc a.abm-btn { min-height: 0; padding: 14px 30px; border: 0; border-radius: 10px; font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: normal; }
body .entry-content .abm-svc a.abm-btn.abm-btn--accent, body .entry-content .abm-svc a.abm-btn.abm-btn--navy { background: #00206B; color: #FFFFFF; }
body .entry-content .abm-svc a.abm-btn.abm-btn--line { padding: 12px 28px; border: 2px solid #052E8D; background: #FFFFFF; color: #052E8D; }
body .entry-content .abm-svc.abm-svc .abm-band3 a.abm-btn.abm-btn--line { border-color: #FFFFFF; background: #FFFFFF; color: #052E8D; }
body .entry-content .abm-svc a.abm-btn svg { width: 15px; height: 15px; fill: currentColor; }
body .entry-content .abm-svc a.abm-btn:hover, body .entry-content .abm-svc a.abm-btn:focus-visible, body .entry-content .abm-svc.abm-svc .abm-band3 a.abm-btn.abm-btn--line:hover { background: #D50E1C; border-color: #D50E1C; color: #FFFFFF; }
body .entry-content .abm-svc .abm-card3-btn { font-family: "Open Sans", sans-serif; text-transform: uppercase; }

/* Our Pharmacists profile (16 Oct 2026): photo beside the bio, stacked on phones. */
.abm-svc .abm-profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.abm-svc .abm-profile picture { display: block; } .abm-svc .abm-profile img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.abm-svc .abm-profile-text h2 { margin: 0 0 4px; }
.abm-svc .abm-profile-text p.abm-profile-role { margin: 0 0 16px; color: var(--abm-red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.875rem; }
.abm-svc .abm-profile-text p:last-child { margin-bottom: 0; }
.abm-svc p.abm-profile-reg { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--abm-line); }
@media (max-width: 700px) { .abm-svc .abm-profile { grid-template-columns: minmax(0, 1fr); gap: 24px; } .abm-svc .abm-profile picture, .abm-svc .abm-profile img { max-width: 320px; } }
/* Our Pharmacists "How Ashley can help" cards (16 Oct 2026): two columns in the main column. */
.abm-svc .abm-help { margin-top: 40px; }
.abm-svc .abm-help h2 { margin: 0 0 24px; }
.abm-svc .abm-help .abm-hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.abm-svc .abm-help .abm-hs-desc { margin-bottom: 0; }
@media (max-width: 600px) { .abm-svc .abm-help .abm-hs-grid { grid-template-columns: minmax(0, 1fr); } }
.abm-svc .abm-content ul.abm-hs-grid { list-style: none; padding: 0; margin: 0; } .abm-svc .abm-content ul.abm-hs-grid > li { margin: 0; }
