/*
 * The EHR's public pages in the practice website's design (apnshealth.com,
 * repository apns-website): its colors, typefaces, buttons, cards, colored
 * bands, header and footer, copied from that site's src/styles/site.css,
 * src/components/Header.astro, Footer.astro and src/pages/index.astro, with
 * the website's own contrast notes. The words, sections and their order are
 * the EHR's own; only how they look follows the website
 * (docs/PUBLIC-FRONT-PAGE.md).
 *
 * Loaded after main.css on the public pages only (layouts.app), so it has the
 * last word. Its own classes have a site- prefix; its rules for the front
 * page's sections name them by id, so main.css's template rules cannot win.
 *
 * The design standard's floors hold, as they do on the website: text 16 px
 * or larger (body 18 px), 7:1 for body text, 48 x 48 px tap targets.
 */

/* ---- Typefaces: the website's three, served from this site ------------- */
/* Plus Jakarta Sans for words, Inter for the menu and the price panel, Jost
   for buttons and the footer (SIL Open Font License; the license texts are
   beside the files). Latin and Latin Extended, as variable fonts. */
@font-face { font-family: 'Plus Jakarta Sans Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../../fonts/site/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans Variable'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../../fonts/site/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../../fonts/site/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../../fonts/site/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../../fonts/site/jost-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../../fonts/site/jost-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- The website's values ------------------------------------------------ */
:root {
  --site-heading: #24202a;        /* 16.0:1 on white: headings */
  --site-ink: #4a4453;            /* 9.4:1 on white, 8.5:1 on lavender, 8.6:1 on sky: body text */
  --site-ink-muted: #6b6477;      /* 5.6:1 on white: field borders, never body text */
  --site-purple: #855ba5;         /* the website's accent: large headings, borders and rules (white on it 5.2:1) */
  --site-purple-band: #6a3f8f;    /* white on it 7.7:1: purple sections and filled buttons */
  --site-purple-dark: #4c006d;    /* 13.7:1 on white: links */
  --site-purple-darker: #2e0042;  /* pressed and hover */
  --site-magenta: #a11274;        /* white on it 7.4:1: the strip across the top and the button that books */
  --site-magenta-dark: #86105f;
  --site-lavender: #f4f3fb;       /* bands */
  --site-lavender-line: #ddd3ea;
  --site-sky: #edf6ff;            /* the light-blue band */
  --site-portrait: #dcebf7;       /* the block behind a portrait (the website's Our Staff) */
  --site-footer: #151618;         /* white on it 18.1:1 */
  --site-footer-muted: #c9c6cf;   /* 10.7:1 on the footer */
  --site-danger: #9b0e0e;         /* 8.5:1 on white: the 911 line */
  --site-alert: #e0218a;          /* the website's emergency card border */
  --site-white: #ffffff;

  --site-font: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --site-font-menu: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --site-font-button: 'Jost Variable', 'Jost', 'Plus Jakarta Sans Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --site-text: 1.125rem;          /* 18 px body */
  --site-text-weight: 500;
  --site-text-small: 1rem;        /* 16 px, the floor */
  --site-leading: 1.65;
  --site-tap: 3rem;               /* 48 px */
  --site-gutter: 1rem;
  --site-page: 77.5rem;           /* 1240 px, the website's content width */
  --site-radius: 0.5rem;
  --site-h-display: clamp(2.1875rem, 1.8rem + 1.66vw, 3.125rem);   /* the front page's sections: 35 px, 50 px from 1280 */
  --site-h-card: clamp(1.75rem, 1.646rem + 0.442vw, 2rem);         /* a card's heading: 28 px, 32 px from 1280 */
  --site-space: clamp(3rem, 2rem + 3vw, 4.6875rem);                /* a band, top and bottom: the website's 75 px from 1280 */
}
@media (min-width: 48rem) { :root { --site-gutter: 2rem; } }
@media (min-width: 80rem) { :root { --site-gutter: 1.25rem; } }

/* Every public page takes the website's typefaces, the Health information
   and privacy pages included (main.css reads these three names). The header
   no longer floats over the page, so nothing needs room under it. */
body.apns-site {
  --default-font: var(--site-font);
  --heading-font: var(--site-font);
  --nav-font: var(--site-font-menu);
  --apns-header-offset: 0px;
  margin: 0;
  background: var(--site-white);
  font-family: var(--site-font);
}
.apns-site section { scroll-margin-top: 1rem; }
.apns-site :is(.site-header, .site-footer, .main) :focus-visible { outline: 3px solid var(--site-magenta); outline-offset: 3px; box-shadow: none; }
.apns-site :is(.site-footer, .site-helpline) :focus-visible { outline-color: var(--site-white); }

/* The column: 1240 px of content between the gutters. */
.site-wrap { width: 100%; max-width: calc(var(--site-page) + 2 * var(--site-gutter)); margin: 0 auto; padding: 0 var(--site-gutter); }

/* ---- Buttons: the website's one system --------------------------------- */
/* Jost at weight 500, 10 px corners, filled in the section purple; magenta for
   the button that books; outlined when it stands beside a filled one. */
.site-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--site-tap); padding: 0.625rem 1.5rem;
  border: 2px solid var(--site-purple-band); border-radius: 0.625rem;
  background: var(--site-purple-band); color: var(--site-white);
  font-family: var(--site-font-button); font-size: 1.25rem; font-weight: 500; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer; transition: none;
}
.site-button:hover { background: var(--site-purple-dark); border-color: var(--site-purple-dark); color: var(--site-white); text-decoration: none; }
.site-button--primary { background: var(--site-magenta); border-color: var(--site-magenta); }
.site-button--primary:hover { background: var(--site-magenta-dark); border-color: var(--site-magenta-dark); }
.site-button--outline { background: var(--site-white); color: var(--site-purple-dark); border-color: var(--site-purple-dark); }
.site-button--outline:hover { background: var(--site-lavender); color: var(--site-purple-darker); border-color: var(--site-purple-dark); }

/* ---- Header ------------------------------------------------------------- */
/* The help line in the strip the website uses across its top: magenta, white
   words at 24 px. On a phone the phone number alone. */
.site-helpline { background: var(--site-magenta); color: var(--site-white); font-family: var(--site-font); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.site-helpline__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem; text-align: center; }
/* A link in the strip is 48 px tall without making the strip taller. */
.site-helpline a { display: inline-block; padding: 0.6rem 0; margin: -0.6rem 0; color: var(--site-white); text-decoration: underline; text-underline-offset: 0.15em; }
.site-helpline a:hover { color: var(--site-white); text-decoration-thickness: 2px; }
@media (max-width: 47.99rem) { .site-helpline__more { display: none; } }

/* The website's header: its large logo, the menu in Inter, and the magenta
   button. "Sign in" (outlined) stands beside it at every width. */
.site-header { position: relative; z-index: 10; background: var(--site-white); box-shadow: 0 1px 0 var(--site-lavender-line); font-family: var(--site-font); }
.site-header__bar { display: flex; align-items: center; gap: 0.5rem; min-height: 7rem; }
.site-logo { display: inline-flex; align-items: center; min-height: var(--site-tap); flex-shrink: 0; margin-right: auto; }
.site-logo img { display: block; width: 11.5rem; height: auto; }

/* Wide screens: the row of menu links, in the website's menu type. */
.site-menu-wide { display: none; }
.site-menu-wide > ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.site-menu-wide li { margin: 0; }
.site-menu-wide a {
  display: inline-flex; align-items: center; min-height: var(--site-tap); padding: 0 0.5rem; border-radius: 0.375rem;
  color: var(--site-heading); font-family: var(--site-font-menu); font-weight: 600; font-size: 1rem; white-space: nowrap; text-decoration: none;
}
.site-menu-wide a:hover { background: var(--site-lavender); color: var(--site-purple-dark); }
/* The page you are on: dark purple with the website's purple bar under it. */
.site-menu-wide a.active { color: var(--site-purple-dark); box-shadow: inset 0 -3px 0 var(--site-purple); }

.site-header-signin, .site-header-book {
  white-space: nowrap; min-height: var(--site-tap); padding-inline: 0.75rem; border-radius: 0.1875rem;
  font-family: var(--site-font-menu); font-size: 1rem; font-weight: 600;
}
.site-header-book { display: none; }

/* Phones and tablets: one "Menu" button, the menu a fold-out list inside. */
.site-menu-narrow > summary {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--site-tap); padding: 0 0.75rem;
  border: 2px solid var(--site-purple-dark); border-radius: 0.375rem; color: var(--site-purple-dark);
  font-family: var(--site-font-menu); font-weight: 600; font-size: 1rem; white-space: nowrap; list-style: none; cursor: pointer;
}
.site-menu-narrow > summary::-webkit-details-marker { display: none; }
.site-menu-narrow .site-when-open { display: none; }
.site-menu-narrow[open] .site-when-open { display: inline; }
.site-menu-narrow[open] .site-when-closed { display: none; }
.site-menu-narrow[open] > summary { background: var(--site-lavender); }
.site-menu-narrow__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  max-height: calc(100vh - 11.5rem); max-height: calc(100dvh - 11.5rem); overflow-y: auto;
  padding: 1rem var(--site-gutter) 1.5rem; background: var(--site-white);
  border-bottom: 2px solid var(--site-lavender-line); box-shadow: 0 1rem 2rem rgb(31 26 36 / 0.16);
}
.site-menu-narrow__panel > .site-button { width: 100%; margin-bottom: 0.75rem; }
.site-menu-narrow__panel ul { margin: 0; padding: 0; list-style: none; }
.site-menu-narrow__panel li { margin: 0; border-bottom: 1px solid var(--site-lavender-line); }
.site-menu-narrow__panel li a {
  display: flex; align-items: center; min-height: var(--site-tap); padding: 0 0.5rem;
  color: var(--site-heading); font-weight: 700; font-size: 1.125rem; text-decoration: none;
}
.site-menu-narrow__panel li a:hover { background: var(--site-lavender); color: var(--site-purple-dark); }
.site-menu-narrow__panel li a.active { color: var(--site-purple-dark); box-shadow: inset 4px 0 0 var(--site-purple); }

/* A phone narrower than 30rem: a smaller logo, so the logo, "Sign in" and
   "Menu" (or "Close menu") share one row (at 375 px they fill the 343 px
   between the gutters). */
@media (max-width: 29.99rem) {
  .site-logo img { width: 8rem; }
  .site-header__bar { gap: 0.375rem; }
}
/* Narrower than a 375 px phone (below the standard's floor) the row may wrap rather than run off the screen. */
@media (max-width: 22.49rem) { .site-header__bar { flex-wrap: wrap; padding-block: 0.5rem; } }
@media (min-width: 30rem) {
  .site-header-signin, .site-menu-narrow > summary { padding-inline: 1.25rem; }
  .site-header__bar { gap: 1rem; }
}
@media (min-width: 80rem) {
  /* From 1280 the website's row: the logo at its 276 px, the menu beside the buttons. */
  .site-header__bar { min-height: 7.75rem; gap: 0.75rem; }
  .site-logo img { width: 17.25rem; }
  .site-menu-narrow { display: none; }
  .site-menu-wide { display: block; }
  .site-header-signin, .site-header-book { min-height: 3.5rem; padding-inline: 1rem; }
  .site-header-book { display: inline-flex; }
}

/* ---- Footer ------------------------------------------------------------- */
/* The website's footer: near-black, the emergency line in white across the
   top over a rule, the white logo, headings in Jost, links in capitals. */
.site-footer { background: var(--site-footer); color: var(--site-white); padding: 3rem 0 2rem; font-family: var(--site-font); font-size: var(--site-text); font-weight: var(--site-text-weight); line-height: var(--site-leading); }
.site-footer a { color: var(--site-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--site-white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0; }

.site-footer__help { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid #3a3b40; }
.site-footer__help p { margin: 0; }
.site-footer__emergency { color: var(--site-white); font-weight: 700; font-size: 1.25rem; }
/* "911" is a link a phone can call: 48 px tall without moving the line. */
.site-footer__emergency a { display: inline-block; padding: 0.75rem 0.25rem; margin: -0.75rem -0.25rem; text-decoration: underline; }

/* The brand over the columns on a phone; four columns from tablet width. */
.site-footer__main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__logo { display: inline-flex; min-height: var(--site-tap); align-items: center; }
.site-footer__logo img { width: 15rem; height: auto; }
.site-footer__brand p { margin: 0.5rem 0 0; max-width: 28rem; color: var(--site-footer-muted); font-family: var(--site-font-button); font-size: 1rem; font-weight: 400; }
/* "Visit apnshealth.com": the practice website, in words (the logo leads to this site's front page). */
.site-footer__brand p.site-footer__website { margin-top: 0.25rem; }
.site-footer__website a { display: inline-flex; align-items: center; min-height: var(--site-tap); color: var(--site-white); font-weight: 500; text-decoration: underline; text-underline-offset: 0.15em; }

.site-footer__column h2,
.site-footer__column h2.h6 { color: var(--site-white); font-family: var(--site-font-button); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin: 0 0 0.5rem; }
.site-footer__column nav + h2 { margin-top: 1.5rem; }
.site-footer__column nav a {
  display: flex; align-items: center; min-height: var(--site-tap);
  font-family: var(--site-font-button); text-transform: uppercase; font-weight: 500; font-size: 1rem; line-height: 1.25;
}
.site-footer__contact li { display: flex; align-items: center; gap: 0.625rem; min-height: var(--site-tap); color: var(--site-footer-muted); font-size: 1rem; overflow-wrap: anywhere; }
.site-footer__contact li i { color: var(--site-white); }
.site-footer__contact a { display: inline-flex; align-items: center; min-height: var(--site-tap); }

.site-footer__legal { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid #3a3b40; color: var(--site-footer-muted); font-size: 1rem; }
/* On a phone the contact column takes the whole row, so an email address is not broken in two. */
@media (max-width: 47.99rem) { .site-footer__column--contact { grid-column: 1 / -1; } }

/* A tablet: the brand across the top and the three link columns under it (four
   columns there broke the email address in two); from a laptop, four across. */
@media (min-width: 48rem) {
  .site-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
  .site-footer__column--contact { grid-column: auto; }
}
@media (min-width: 64rem) {
  .site-footer__main { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
}
/* On a laptop the website's footer logo is 332 px wide. */
@media (min-width: 80rem) { .site-footer__logo img { width: 20.75rem; } }

/* The Top button, in the website's "Back to top" look: white, outlined, in the corner. */
body.apns-site .scroll-top {
  right: 0.75rem; min-width: var(--site-tap); width: auto; height: auto; min-height: var(--site-tap); padding: 0 1rem 0 0.75rem; gap: 0.25rem;
  border: 2px solid var(--site-purple-dark); border-radius: 0.625rem; background: var(--site-white); color: var(--site-purple-dark);
  font-family: var(--site-font-button); font-size: 1.125rem; font-weight: 500; box-shadow: 0 0.25rem 1rem rgb(31 26 36 / 0.25);
}
body.apns-site .scroll-top i { color: var(--site-purple-dark); font-size: 1.5rem; }
body.apns-site .scroll-top:hover { background: var(--site-lavender); color: var(--site-purple-darker); }
body.apns-site .scroll-top.active { bottom: 0.75rem; }

/* ---- The front page: the EHR's sections in the website's look ----------- */
/* Each band is one of the website's: the hero on white, "What we can help
   with" on white, "How a visit works" on lavender with the website's white
   features box, "What a visit costs" as its purple price panel, the booking
   steps on lavender, "Questions before you book?" on its light blue. */
body.apns-site .main > section:not(.appointment-wrapper) { font-family: var(--site-font); color: var(--site-ink); }
body.apns-site .main .apns-section-head { max-width: 52rem; margin-bottom: 2.5rem; }
body.apns-site .main .apns-section-head h2 { color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: var(--site-h-display); line-height: 1.2; margin: 0 0 0.75rem; }
body.apns-site .main .apns-section-head p { color: var(--site-ink); font-size: var(--site-text); font-weight: var(--site-text-weight); line-height: var(--site-leading); }

/* The website's buttons in the EHR's markup: "Book a visit" magenta, the rest outlined. */
body.apns-site :is(#hero, #services, #how-it-works, #prices, #contact) :is(.btn.apns-btn-primary, .btn.btn-primary),
body.apns-site :is(#hero, #services, #how-it-works, #prices, #contact) :is(.btn.apns-btn-outline, .btn.btn-outline) {
  min-height: var(--site-tap); padding: 0.625rem 1.5rem; gap: 0.5rem;
  border: 2px solid var(--site-magenta); border-radius: 0.625rem; background: var(--site-magenta); color: var(--site-white);
  font-family: var(--site-font-button); font-size: 1.25rem; font-weight: 500; line-height: 1.2;
  box-shadow: none; transform: none; transition: none;
}
body.apns-site :is(#hero, #services, #how-it-works, #prices, #contact) :is(.btn.apns-btn-primary, .btn.btn-primary):hover { background: var(--site-magenta-dark); border-color: var(--site-magenta-dark); color: var(--site-white); box-shadow: none; transform: none; }
body.apns-site :is(#hero, #services, #how-it-works, #prices, #contact) :is(.btn.apns-btn-outline, .btn.btn-outline) { background: var(--site-white); border-color: var(--site-purple-dark); color: var(--site-purple-dark); }
body.apns-site :is(#hero, #services, #how-it-works, #prices, #contact) :is(.btn.apns-btn-outline, .btn.btn-outline):hover { background: var(--site-lavender); border-color: var(--site-purple-dark); color: var(--site-purple-darker); }

/* The hero: white, as the website's; its purple headline type and buttons at
   24 px; the photo framed as the website frames a portrait (a light-blue block
   behind its top-left corner). */
body.apns-site #hero.hero { background: var(--site-white); min-height: 0; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding-bottom: var(--site-space); }
body.apns-site #hero.hero::before { display: none; }
body.apns-site #hero .apns-hero-points li { color: var(--site-heading); font-size: var(--site-text); font-weight: 700; }
body.apns-site #hero .apns-hero-points i { color: var(--site-purple-band); }
body.apns-site #hero .hero-content h1 { color: var(--site-purple); font-family: var(--site-font); font-weight: 600; font-size: clamp(2.5rem, 1.75rem + 2.4vw, 3.75rem); line-height: 1.2; margin: 1rem 0; }
body.apns-site #hero .hero-content h1 .highlight { color: var(--site-purple-dark); }
body.apns-site #hero .hero-content .hero-description { color: var(--site-ink); font-size: var(--site-text); font-weight: var(--site-text-weight); line-height: var(--site-leading); max-width: 34rem; }
body.apns-site #hero .hero-content .hero-actions .btn { font-size: 1.5rem; min-height: var(--site-tap); }
/* The emergency line as the website's emergency card: white, a magenta border, the 911 in dark red. */
body.apns-site #hero .hero-content .emergency-contact { background: var(--site-white); border: 2px solid var(--site-alert); border-top-width: 3px; border-radius: 0.75rem; box-shadow: none; }
body.apns-site #hero .hero-content .emergency-contact .emergency-icon { background: var(--site-danger); }
body.apns-site #hero .hero-content .emergency-contact .emergency-info strong { color: var(--site-heading); font-size: var(--site-text); font-weight: 700; }
body.apns-site #hero .hero-content .emergency-contact .emergency-info strong a { color: var(--site-danger); }
body.apns-site #hero .hero-content .emergency-contact .emergency-info small { color: var(--site-ink); font-size: var(--site-text-small); }
/* "Next available" as one of the website's cards: a purple top edge, its kicker
   the website's purple label, "Book" outlined. */
body.apns-site #hero .hero-next-available { margin-bottom: 2.25rem; padding: 1.25rem; border: 1px solid var(--site-lavender-line); border-top: 4px solid var(--site-purple); border-radius: var(--site-radius); box-shadow: none; color: var(--site-ink); transform: none; }
body.apns-site #hero .hero-next-available:hover { box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0.1); transform: none; color: var(--site-ink); }
body.apns-site #hero .hero-next-available .card-icon { border-radius: 50%; background: var(--site-purple-band); color: var(--site-white); }
body.apns-site #hero .hero-next-available .card-kicker { align-self: flex-start; padding: 0.125rem 0.625rem; border-radius: 0.625rem; background: var(--site-purple-band); color: var(--site-white); font-size: var(--site-text-small); font-weight: 600; letter-spacing: 0.04em; }
body.apns-site #hero .hero-next-available .card-title { margin-top: 0.375rem; color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: 1.25rem; }
body.apns-site #hero .hero-next-available .card-text { color: var(--site-ink); font-size: var(--site-text-small); }
body.apns-site #hero .hero-next-available .card-go { border: 2px solid var(--site-purple-dark); border-radius: 0.625rem; background: var(--site-white); color: var(--site-purple-dark); font-family: var(--site-font-button); font-size: 1.25rem; font-weight: 500; }
body.apns-site #hero .hero-next-available:hover .card-go { background: var(--site-lavender); border-color: var(--site-purple-dark); color: var(--site-purple-darker); }
body.apns-site #hero .hero-visual { margin-left: 1.25rem; }
body.apns-site #hero .hero-visual .main-image { border-radius: 0; box-shadow: -1.25rem -1.25rem 0 0 var(--site-portrait); }
body.apns-site #hero .hero-visual .background-elements { display: none; }

/* "What we can help with": the website's white band and its cards (a purple top
   edge, the icon in a purple circle). */
body.apns-site #services.apns-services { background: var(--site-white); padding: var(--site-space) 0; }
body.apns-site #services .apns-service-card { gap: 0.875rem; padding: 1.5rem 1.25rem; background: var(--site-white); border: 1px solid var(--site-lavender-line); border-top: 4px solid var(--site-purple); border-radius: var(--site-radius); box-shadow: none; }
body.apns-site #services .apns-service-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--site-purple-band); color: var(--site-white); font-size: 1.125rem; }
body.apns-site #services .apns-service-card h3 { margin: 0.25rem 0 0.5rem; color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: 1.25rem; line-height: 1.35; }
body.apns-site #services .apns-service-card p { color: var(--site-ink); font-size: var(--site-text); font-weight: var(--site-text-weight); line-height: var(--site-leading); }
body.apns-site #services .apns-empty-note { border: 1px solid var(--site-lavender-line); border-top: 4px solid var(--site-purple); border-radius: var(--site-radius); color: var(--site-ink); }
body.apns-site #services .apns-empty-note i { color: var(--site-purple-band); }
/* "Look up a health condition": a lavender box with an outlined button to the
   website's condition library (config/patient.php, health_information_url). */
body.apns-site #services .apns-home-lookup { background: var(--site-lavender); border: 1px solid var(--site-lavender-line); border-radius: var(--site-radius); box-shadow: none; padding: 1.5rem; }
body.apns-site #services .apns-home-lookup .apns-home-lookup__title { margin: 0 0 0.25rem; color: var(--site-heading); font-family: var(--site-font); font-size: 1.375rem; font-weight: 700; line-height: 1.3; }
body.apns-site #services .apns-home-lookup .apns-home-lookup__hint { margin: 0 0 1rem; color: var(--site-ink); font-size: var(--site-text-small); }
body.apns-site #services .apns-home-lookup .apns-home-lookup__go { margin: 0; }
@media (max-width: 575.98px) { body.apns-site #services .apns-home-lookup .apns-home-lookup__go .btn { width: 100%; } }

/* "How a visit works": the lavender band with the website's white features box
   (three columns, a purple rule between them), then the three ways to be seen
   as its cards. */
body.apns-site #how-it-works.apns-how { background: var(--site-lavender); padding: var(--site-space) 0; }
body.apns-site #how-it-works .apns-steps { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 0 0 3rem; background: var(--site-white); box-shadow: 0 0.5rem 2rem rgb(31 26 36 / 0.1); }
body.apns-site #how-it-works .apns-steps > li { margin: 0; }
body.apns-site #how-it-works .apns-step { padding: 2rem 1.5rem 1.5rem; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.apns-site #how-it-works .apns-step__number { width: 3.5rem; height: 3.5rem; margin: 0; background: var(--site-purple-band); color: var(--site-white); font-family: var(--site-font-button); font-size: 1.75rem; font-weight: 500; }
body.apns-site #how-it-works .apns-step h3 { margin: 1.5rem 0 0.75rem; color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: 1.5rem; }
body.apns-site #how-it-works .apns-step p { color: var(--site-ink); font-size: var(--site-text-small); font-weight: var(--site-text-weight); line-height: 1.8; }
body.apns-site #how-it-works .apns-subhead { margin-bottom: 1.5rem; color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: var(--site-h-card); }
body.apns-site #how-it-works .apns-format-card { padding: 1.5rem 1.25rem; background: var(--site-white); border: 1px solid var(--site-lavender-line); border-top: 4px solid var(--site-purple); border-radius: var(--site-radius); }
body.apns-site #how-it-works .apns-format-card > i { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin: 0; border-radius: 50%; background: var(--site-purple-band); color: var(--site-white); font-size: 1.125rem; }
body.apns-site #how-it-works .apns-format-card h4 { margin: 0.75rem 0 0.5rem; color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: 1.25rem; }
body.apns-site #how-it-works .apns-format-card p { color: var(--site-ink); font-size: var(--site-text); font-weight: var(--site-text-weight); line-height: var(--site-leading); }
body.apns-site #how-it-works .apns-footnote { margin-top: 1.5rem; color: var(--site-ink); font-size: var(--site-text-small); }
@media (min-width: 768px) {
  body.apns-site #how-it-works .apns-steps > li + li { border-left: 1px solid var(--site-purple); }
  body.apns-site #how-it-works .apns-step { padding: 3.125rem 2.5rem 3.5rem; }
}

/* "What a visit costs": the website's purple price panel, white words in Inter. */
body.apns-site #prices.apns-prices { background: var(--site-purple-band); color: var(--site-white); padding: var(--site-space) 0; }
body.apns-site #prices .apns-section-head h2 { color: var(--site-white); font-family: var(--site-font-menu); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.1875rem); }
body.apns-site #prices .apns-section-head p { color: var(--site-white); }
body.apns-site #prices .apns-price-table { --bs-table-bg: transparent; --bs-table-color: var(--site-white); --bs-table-border-color: rgb(255 255 255 / 0.35); color: var(--site-white); font-family: var(--site-font-menu); }
body.apns-site #prices .apns-price-table th { background: transparent; color: var(--site-white); font-family: var(--site-font-menu); font-size: var(--site-text-small); font-weight: 700; border-bottom: 2px solid rgb(255 255 255 / 0.6); }
body.apns-site #prices .apns-price-table td { background: transparent; color: var(--site-white); font-size: var(--site-text); font-weight: 600; border-bottom-color: rgb(255 255 255 / 0.35); }
body.apns-site #prices .apns-price-table td.apns-price { color: var(--site-white); font-family: var(--site-font-menu); font-weight: 600; font-size: clamp(1.5rem, 0.5rem + 1.56vw, 1.75rem); }
body.apns-site #prices :is(.apns-prices-note, .apns-prices-empty) { color: var(--site-white); font-family: var(--site-font-menu); font-weight: 600; font-size: var(--site-text); }

/* The booking steps: the website's lavender band, the step card white on it. */
body.apns-site .appointment-wrapper { background: var(--site-lavender); color: var(--site-ink); }
body.apns-site .appointment-wrapper .appointment-title { color: var(--site-heading); font-family: var(--site-font); font-size: var(--site-h-display); font-weight: 600; line-height: 1.2; margin-bottom: 0.75rem; }
body.apns-site .appointment-wrapper .appointment-lead { color: var(--site-ink); font-size: var(--site-text); }

/* "Questions before you book?": the website's light-blue band, the words
   straight on it, the two buttons beside them. */
body.apns-site #contact.apns-contact { background: var(--site-sky); padding: 3.75rem 0 5rem; }
body.apns-site #contact .apns-contact-card { padding: 0; background: transparent; border: 0; box-shadow: none; }
body.apns-site #contact .apns-contact-card h2 { margin: 0 0 1rem; color: var(--site-heading); font-family: var(--site-font); font-weight: 600; font-size: var(--site-h-display); line-height: 1.2; }
body.apns-site #contact .apns-contact-card p, body.apns-site #contact .apns-contact-list li { color: var(--site-ink); font-size: var(--site-text); }
body.apns-site #contact .apns-contact-list i { color: var(--site-purple-band); }
body.apns-site #contact .apns-contact-list a { color: var(--site-purple-dark); text-decoration: underline; text-underline-offset: 0.15em; }
body.apns-site #contact .apns-contact-safety { color: var(--site-heading); }
body.apns-site #contact .apns-contact-safety :is(i, a) { color: var(--site-danger); }
