/* ==========================================================================
   Revision 9, page group: about (/why-elite/, /technology/, /reviews/,
   /faqs/). Scoped to this group's templates by body class. Loaded before
   revision-5.css (the shared inner-page system): the hero, the H1 scale, the
   facts strip and the Google badge come from there; rules here that must win
   over it carry the body class as well as .premium-inner.
   The approved home page is the reference throughout.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Group rhythm: card radius, the section head, and a card surface used on
   every page of the group.
   -------------------------------------------------------------------------- */
:is(.page-template-page-templatestemplate-why-elite-php, .page-template-page-templatestemplate-technology-php, .post-type-archive-elite_review, .post-type-archive-elite_faq) {
  --ab-r: 1.5rem;
  --ab-card: 0 1px 0 rgba(26, 18, 54, 0.03), 0 24px 48px -40px rgba(26, 18, 54, 0.45);
}
:is(.page-template-page-templatestemplate-why-elite-php, .page-template-page-templatestemplate-technology-php, .post-type-archive-elite_review, .post-type-archive-elite_faq).premium-inner .sect-head { margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }

/* A short laptop screen (1366x768, 1280x720): the hero copy tightens and the
   lede keeps its first sentence, so the lane buttons, the phone and Get
   Directions pills (and on Why Elite the top of the facts strip) stay on the
   first screen, as on the home page. */
@media (min-width: 64rem) and (max-height: 820px) {
  :is(.page-template-page-templatestemplate-why-elite-php, .page-template-page-templatestemplate-technology-php, .post-type-archive-elite_review, .post-type-archive-elite_faq).premium-inner .ihero__copy { gap: 0.8rem; }
  :is(.page-template-page-templatestemplate-why-elite-php, .page-template-page-templatestemplate-technology-php, .post-type-archive-elite_review, .post-type-archive-elite_faq).premium-inner .ihero__copy .lede { margin-top: 0.1rem; }
  :is(.page-template-page-templatestemplate-why-elite-php, .page-template-page-templatestemplate-technology-php, .post-type-archive-elite_review, .post-type-archive-elite_faq).premium-inner .ihero__copy .lede__extra { display: none; }
  :is(.page-template-page-templatestemplate-why-elite-php, .page-template-page-templatestemplate-technology-php, .post-type-archive-elite_review, .post-type-archive-elite_faq).premium-inner .ihero__copy > .hero-book { margin-top: 0.2rem; }
}


/* ==========================================================================
   WHY ELITE
   ========================================================================== */

/* --- Hero: the page's own photograph (a treatment room) in the shared arch
   frame, the Google badge on its corner (revision-5.css). ------------------ */
.page-template-page-templatestemplate-why-elite-php.premium-inner .why-hero__visual .ihero__art img { object-position: 55% 64%; }

/* --- What is different here: four cards, two by two --------------------- */
.page-template-page-templatestemplate-why-elite-php .why-diff { padding-top: calc(var(--sect) * 0.85); }
.page-template-page-templatestemplate-why-elite-php .why-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.page-template-page-templatestemplate-why-elite-php .why-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--line-soft); border-radius: var(--ab-r); background: #fff; box-shadow: var(--ab-card);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.page-template-page-templatestemplate-why-elite-php .why-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ortho) 22%, #e5e1ea); box-shadow: 0 28px 50px -34px rgba(26, 18, 54, 0.5); }
.page-template-page-templatestemplate-why-elite-php .why-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(145deg, #eee8f8, #e4f4f4); }
.page-template-page-templatestemplate-why-elite-php .why-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.page-template-page-templatestemplate-why-elite-php .why-card:hover .why-card__media img { transform: scale(1.04); }
.page-template-page-templatestemplate-why-elite-php .why-card__badge {
  position: absolute; bottom: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.4rem; border-radius: 999px; background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -18px rgba(26, 18, 54, 0.55);
  color: var(--ink); font-size: 0.86rem; font-weight: 600;
}
.page-template-page-templatestemplate-why-elite-php .why-card__badge .itile { width: 2rem; height: 2rem; border-radius: 999px; box-shadow: none; }
.page-template-page-templatestemplate-why-elite-php .why-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem 2rem 2rem; }
.page-template-page-templatestemplate-why-elite-php .why-card .fold-head { display: flex; align-items: center; gap: 0.9rem; }
.page-template-page-templatestemplate-why-elite-php .why-card__n {
  display: grid; flex: none; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem;
  background: var(--ortho-tint, #eee9f7); color: var(--ortho); font-family: var(--display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em;
}
.page-template-page-templatestemplate-why-elite-php .why-card h3 { margin: 0; font-size: clamp(1.35rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.15; letter-spacing: -0.03em; }
.page-template-page-templatestemplate-why-elite-php .why-card .fold-panel { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.page-template-page-templatestemplate-why-elite-php .why-card .fold-panel > p { max-width: 54ch; margin: 1rem 0 1.5rem; color: var(--body-strong); font-size: 1rem; line-height: 1.65; }
.page-template-page-templatestemplate-why-elite-php .why-card__go { margin-top: auto; }

/* --- Google reviews, on the ink surface ----------------------------------- */
.page-template-page-templatestemplate-why-elite-php .why-proof__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.page-template-page-templatestemplate-why-elite-php .why-proof__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__lead h2 { max-width: 14ch; margin: 0 0 0.75rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__card { max-width: 24rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__more { margin-top: 0.5rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote { min-width: 0; margin: 0; padding: 1.75rem; border-radius: 1.25rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote:first-child { grid-column: 1 / -1; padding: 2.25rem 2.25rem 2rem; }
.page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote:first-child blockquote { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem); line-height: 1.3; letter-spacing: -0.015em; }

/* --- Visit: the building beside the address, hours and contact ----------- */
.page-template-page-templatestemplate-why-elite-php .why-visit__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.5rem; align-items: stretch; }
.page-template-page-templatestemplate-why-elite-php .why-visit__in > * { min-width: 0; }
.page-template-page-templatestemplate-why-elite-php .why-map {
  position: relative; display: block; min-height: 22rem; overflow: hidden; border-radius: var(--ab-r);
  background: linear-gradient(145deg, #eee8f8, #e4f4f4); color: var(--ink); text-decoration: none; box-shadow: var(--ab-card);
}
.page-template-page-templatestemplate-why-elite-php .why-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 55%; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.page-template-page-templatestemplate-why-elite-php a.why-map:hover img { transform: scale(1.03); }
.page-template-page-templatestemplate-why-elite-php a.why-map:focus-visible { outline: 3px solid var(--ortho); outline-offset: 3px; }
/* The business name and address on the photograph, with the Maps cue. */
.page-template-page-templatestemplate-why-elite-php .why-map__chip {
  position: absolute; right: 1rem; bottom: 1rem; left: 1rem; z-index: 1; display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 0.75rem 0.75rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 22px 44px -26px rgba(26, 18, 54, 0.6);
}
.page-template-page-templatestemplate-why-elite-php .why-map__pin { display: grid; flex: none; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; background: var(--ortho-tint, #eee9f7); color: var(--ortho); }
.page-template-page-templatestemplate-why-elite-php .why-map__txt { display: flex; flex: 1; flex-direction: column; gap: 0.1rem; min-width: 0; font-size: 0.86rem; line-height: 1.4; }
.page-template-page-templatestemplate-why-elite-php .why-map__txt strong { color: var(--ink); font-size: 0.92rem; font-weight: 700; }
.page-template-page-templatestemplate-why-elite-php .why-map__txt span { color: var(--body); }
.page-template-page-templatestemplate-why-elite-php .why-map__go { display: inline-flex; flex: none; align-items: center; gap: 0.6rem; color: var(--ortho); font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.page-template-page-templatestemplate-why-elite-php .why-map__go .go-link__ic { width: 2.1rem; height: 2.1rem; }
.page-template-page-templatestemplate-why-elite-php a.why-map:hover .why-map__go .go-link__ic { background: var(--ortho); color: #fff; }
.page-template-page-templatestemplate-why-elite-php .why-visit__in > .card { height: 100%; border-radius: var(--ab-r); }
.page-template-page-templatestemplate-why-elite-php .why-visit__in > .card .card__body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }

/* Tablet */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .page-template-page-templatestemplate-why-elite-php .why-cards { gap: 1.25rem; }
  .page-template-page-templatestemplate-why-elite-php .why-card__body { padding: 1.4rem 1.5rem 1.6rem; }
  .page-template-page-templatestemplate-why-elite-php .why-card__badge { font-size: 0.8rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__in { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; column-gap: 2rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead > .eyebrow,
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead > h2 { grid-column: 1; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead > .why-proof__card { grid-column: 2; grid-row: 1 / span 3; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead > .why-proof__more { grid-column: 1; justify-self: start; }
  .page-template-page-templatestemplate-why-elite-php .why-visit__in { grid-template-columns: 1fr; }
  .page-template-page-templatestemplate-why-elite-php .why-map { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Phone */
@media (max-width: 47.99rem) {
  /* The four cards as compact rows with the shared treatment card's phone
     metrics (a 5.25rem thumbnail inset 0.55rem, a 1rem radius, a 1rem title):
     the sentence and the link open below, the first one open. The whole row,
     thumbnail included, opens and closes it. */
  .page-template-page-templatestemplate-why-elite-php .why-diff { padding-top: 3.5rem; }
  .page-template-page-templatestemplate-why-elite-php .why-cards { grid-template-columns: 1fr; gap: 0.6rem; }
  .page-template-page-templatestemplate-why-elite-php .why-card {
    position: relative; display: grid; grid-template-columns: 6.35rem minmax(0, 1fr); align-items: center;
    padding: 0; border-radius: 1rem; box-shadow: 0 1px 0 rgba(26, 18, 54, 0.03);
  }
  .page-template-page-templatestemplate-why-elite-php .why-card:hover { transform: none; }
  .page-template-page-templatestemplate-why-elite-php .why-card__media { grid-column: 1; grid-row: 1; width: 5.25rem; height: 5.25rem; margin: 0.55rem; aspect-ratio: auto; border-radius: 0.75rem; }
  .page-template-page-templatestemplate-why-elite-php .why-card__badge,
  .page-template-page-templatestemplate-why-elite-php .why-card__n { display: none; }
  .page-template-page-templatestemplate-why-elite-php .why-card__body { display: contents; }
  .page-template-page-templatestemplate-why-elite-php .why-card .fold-head { grid-column: 2; grid-row: 1; gap: 0.6rem; min-height: 6.35rem; padding: 0.7rem 0.8rem 0.7rem 0.2rem; }
  .page-template-page-templatestemplate-why-elite-php .why-card .fold-head::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 6.35rem; cursor: pointer; }
  .page-template-page-templatestemplate-why-elite-php .why-card .fold-btn { position: relative; z-index: 1; }
  .page-template-page-templatestemplate-why-elite-php .why-card h3 { flex: 1; min-width: 0; font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
  .page-template-page-templatestemplate-why-elite-php .why-card .fold-panel { grid-column: 1 / -1; grid-row: 2; padding: 0 1rem 1rem; }
  .page-template-page-templatestemplate-why-elite-php .why-card .fold-panel > p { margin: 0.1rem 0 0.9rem; font-size: 0.95rem; line-height: 1.6; }
  .page-template-page-templatestemplate-why-elite-php .why-card__go { display: flex; width: 100%; }

  .page-template-page-templatestemplate-why-elite-php .why-proof__in { grid-template-columns: 1fr; gap: 2rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead { gap: 0.9rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__lead h2 { margin-bottom: 0.25rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__card { max-width: none; padding: 1.25rem 1.3rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__more { display: flex; width: 100%; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__quotes {
    display: flex; gap: 0.75rem; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 0.5rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none;
  }
  .page-template-page-templatestemplate-why-elite-php .why-proof__quotes::-webkit-scrollbar { display: none; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote { flex: 0 0 84%; scroll-snap-align: start; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote,
  .page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote:first-child { padding: 1.35rem 1.25rem 1.25rem; }
  .page-template-page-templatestemplate-why-elite-php .why-proof__quotes > .quote:first-child blockquote { font-size: 1.2rem; }

  .page-template-page-templatestemplate-why-elite-php .why-visit__in { grid-template-columns: 1fr; gap: 1rem; }
  .page-template-page-templatestemplate-why-elite-php .why-map { min-height: 0; aspect-ratio: 4 / 3; border-radius: 1.25rem; }
  .page-template-page-templatestemplate-why-elite-php .why-map__chip { right: 0.65rem; bottom: 0.65rem; left: 0.65rem; gap: 0.7rem; padding: 0.65rem; }
  .page-template-page-templatestemplate-why-elite-php .why-map__pin { width: 2.25rem; height: 2.25rem; border-radius: 0.7rem; }
  .page-template-page-templatestemplate-why-elite-php .why-map__txt { font-size: 0.8rem; }
  .page-template-page-templatestemplate-why-elite-php .why-map__txt strong { font-size: 0.86rem; }
  /* The arrow alone carries the Maps cue on a phone; the words stay for screen readers. */
  .page-template-page-templatestemplate-why-elite-php .why-map__go > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .page-template-page-templatestemplate-why-elite-php .why-visit__in > .card { border-radius: 1.25rem; }
}


/* ==========================================================================
   TECHNOLOGY
   ========================================================================== */

/* --- Three things: the home page's service-card language ----------------- */
.page-template-page-templatestemplate-technology-php .tech-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.page-template-page-templatestemplate-technology-php .tech-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--line-soft); border-radius: 1.25rem; background: #fff; box-shadow: var(--ab-card);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.page-template-page-templatestemplate-technology-php .tech-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ortho) 22%, #e5e1ea); box-shadow: 0 28px 50px -34px rgba(26, 18, 54, 0.5); }
.page-template-page-templatestemplate-technology-php .tech-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(145deg, #eee8f8, #e4f4f4); }
.page-template-page-templatestemplate-technology-php .tech-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.page-template-page-templatestemplate-technology-php .tech-card:hover .tech-card__media img { transform: scale(1.045); }
.page-template-page-templatestemplate-technology-php .tech-card__icon {
  position: absolute; bottom: 0.9rem; left: 0.9rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 0.8rem; background: #fff; color: var(--ortho); box-shadow: 0 10px 24px -12px rgba(26, 18, 54, 0.5);
}
.page-template-page-templatestemplate-technology-php .tech-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.5rem 1.6rem; }
.page-template-page-templatestemplate-technology-php .tech-card h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.025em; }
.page-template-page-templatestemplate-technology-php .tech-card .fold-panel { margin: 0.6rem 0 0; color: var(--body); font-size: 0.97rem; line-height: 1.6; }

/* --- What a scan replaces: the copy beside a comparison ------------------- */
.page-template-page-templatestemplate-technology-php .tech-compare__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto auto; column-gap: clamp(2.5rem, 5vw, 5rem); }
.page-template-page-templatestemplate-technology-php .tech-compare__copy { grid-column: 1; grid-row: 1; align-self: end; }
.page-template-page-templatestemplate-technology-php .tech-compare__in > .cmp { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.page-template-page-templatestemplate-technology-php .tech-compare__in > .tech-cta { grid-column: 1; grid-row: 2; align-self: start; }
.page-template-page-templatestemplate-technology-php .tech-compare__copy h2 { max-width: 16ch; margin: 0.9rem 0 0; }
.page-template-page-templatestemplate-technology-php .tech-compare__copy .lede { max-width: 38ch; margin-top: 1.25rem; }
/* The booking button and the two page links as one column of equal width. */
.page-template-page-templatestemplate-technology-php .tech-cta { display: grid; grid-template-columns: minmax(0, 23rem); gap: 0.65rem; margin-top: 2rem; }
.page-template-page-templatestemplate-technology-php .tech-cta .btn--stacked { width: 100%; }
.page-template-page-templatestemplate-technology-php .tech-cta__links { display: grid; gap: 0.65rem; }
.page-template-page-templatestemplate-technology-php .tech-cta__links .go-link { display: flex; width: 100%; }

.page-template-page-templatestemplate-technology-php .cmp {
  display: grid; grid-template-columns: minmax(7.5rem, 0.7fr) minmax(0, 1fr) minmax(0, 1.1fr);
  overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--ab-r); background: #fff; box-shadow: var(--ab-card);
}
.page-template-page-templatestemplate-technology-php .cmp__row { display: contents; }
.page-template-page-templatestemplate-technology-php .cmp__row > span { display: flex; align-items: center; gap: 0.6rem; min-width: 0; padding: 1.15rem 1.35rem; border-top: 1px solid var(--line-soft); font-size: 0.95rem; line-height: 1.45; }
.page-template-page-templatestemplate-technology-php .cmp__row--head > span { border-top: 0; padding-block: 1.3rem 1.1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.page-template-page-templatestemplate-technology-php .cmp__k { color: var(--ink); font-weight: 650; }
.page-template-page-templatestemplate-technology-php .cmp__old { color: var(--muted); }
.page-template-page-templatestemplate-technology-php .cmp__row--head .cmp__old { color: var(--muted); }
.page-template-page-templatestemplate-technology-php .cmp__new { background: #f7f4fc; color: var(--ink); font-weight: 600; }
.page-template-page-templatestemplate-technology-php .cmp__row--head .cmp__new { background: var(--ortho); color: #fff; }
.page-template-page-templatestemplate-technology-php .cmp__row--head .cmp__ic { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.16); }
.page-template-page-templatestemplate-technology-php .cmp__tick { display: grid; flex: none; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 999px; background: var(--ortho); color: #fff; }

/* Tablet */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  /* Two across, as the shared treatment cards are on a tablet; the third
     card spans the row as a horizontal card (photograph left, text right). */
  .page-template-page-templatestemplate-technology-php .tech-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .page-template-page-templatestemplate-technology-php .tech-card__body { padding: 1.3rem 1.4rem 1.5rem; }
  .page-template-page-templatestemplate-technology-php .tech-card h3 { font-size: 1.2rem; }
  .page-template-page-templatestemplate-technology-php .tech-card .fold-panel { font-size: 0.94rem; }
  .page-template-page-templatestemplate-technology-php .tech-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .page-template-page-templatestemplate-technology-php .tech-card:last-child:nth-child(odd) .tech-card__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 15rem; }
  .page-template-page-templatestemplate-technology-php .tech-card:last-child:nth-child(odd) .tech-card__body { justify-content: center; padding: 1.75rem 2rem; }
  .page-template-page-templatestemplate-technology-php .tech-cta { grid-template-columns: minmax(0, 23rem); }
  .page-template-page-templatestemplate-technology-php .tech-compare__in { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2.25rem; }
  .page-template-page-templatestemplate-technology-php .tech-compare__in > * { grid-column: 1 !important; grid-row: auto !important; }
  .page-template-page-templatestemplate-technology-php .tech-compare__in > .tech-cta { margin-top: 0; }
  .page-template-page-templatestemplate-technology-php .tech-compare__copy h2 { max-width: 20ch; }
}

/* Phone: each card a compact row (thumbnail, title, chevron), as the shared
   treatment card is; the comparison reads row by row, tray beside scan. */
@media (max-width: 47.99rem) {
  .page-template-page-templatestemplate-technology-php .tech-cards { grid-template-columns: 1fr; gap: 0.6rem; }
  .page-template-page-templatestemplate-technology-php .tech-card {
    position: relative; display: grid; grid-template-columns: 6.35rem minmax(0, 1fr); align-items: center;
    padding: 0; border-radius: 1rem; box-shadow: 0 1px 0 rgba(26, 18, 54, 0.03);
  }
  .page-template-page-templatestemplate-technology-php .tech-card:hover { transform: none; }
  .page-template-page-templatestemplate-technology-php .tech-card__media { grid-column: 1; grid-row: 1; width: 5.25rem; height: 5.25rem; margin: 0.55rem; aspect-ratio: auto; border-radius: 0.75rem; }
  .page-template-page-templatestemplate-technology-php .tech-card__icon { display: none; }
  .page-template-page-templatestemplate-technology-php .tech-card__body { display: contents; }
  .page-template-page-templatestemplate-technology-php .tech-card .fold-head { grid-column: 2; grid-row: 1; gap: 0.6rem; min-height: 6.35rem; padding: 0.7rem 0.8rem 0.7rem 0.2rem; }
  .page-template-page-templatestemplate-technology-php .tech-card .fold-head::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 6.35rem; cursor: pointer; }
  .page-template-page-templatestemplate-technology-php .tech-card .fold-btn { position: relative; z-index: 1; }
  .page-template-page-templatestemplate-technology-php .tech-card h3 { flex: 1; min-width: 0; font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
  .page-template-page-templatestemplate-technology-php .tech-card .fold-panel { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 0 1rem 1rem; font-size: 0.95rem; line-height: 1.6; }

  .page-template-page-templatestemplate-technology-php .tech-compare__in { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 1.75rem; }
  .page-template-page-templatestemplate-technology-php .tech-compare__in > * { grid-column: 1 !important; grid-row: auto !important; }
  .page-template-page-templatestemplate-technology-php .tech-compare__copy h2 { margin-top: 0.75rem; font-size: 1.6rem; line-height: 1.12; }
  .page-template-page-templatestemplate-technology-php .tech-compare__copy .lede { margin-top: 0.9rem; }
  .page-template-page-templatestemplate-technology-php .tech-cta { grid-template-columns: minmax(0, 1fr); margin-top: 0; }

  .page-template-page-templatestemplate-technology-php .cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 1.25rem; }
  .page-template-page-templatestemplate-technology-php .cmp__row > span { padding: 0.7rem 0.85rem; font-size: 0.86rem; }
  .page-template-page-templatestemplate-technology-php .cmp__row > .cmp__k { grid-column: 1 / -1; padding: 0.85rem 0.85rem 0.1rem; color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .page-template-page-templatestemplate-technology-php .cmp__row > .cmp__k + span,
  .page-template-page-templatestemplate-technology-php .cmp__row > .cmp__k + span + span { border-top: 0; }
  .page-template-page-templatestemplate-technology-php .cmp__row--head > .cmp__k { display: none; }
  .page-template-page-templatestemplate-technology-php .cmp__row--head > span { padding: 0.8rem 0.85rem; font-size: 0.64rem; }
  .page-template-page-templatestemplate-technology-php .cmp__new { align-items: flex-start; }
  .page-template-page-templatestemplate-technology-php .cmp__tick { display: none; }
  .page-template-page-templatestemplate-technology-php .cmp__row--head .cmp__ic { display: none; }
}


/* ==========================================================================
   REVIEWS
   ========================================================================== */

/* --- Hero: the Google trust card over the arch-framed photograph ---------- */
.post-type-archive-elite_review.premium-inner .rhero__visual .ihero__art img { object-position: 40% 30%; transform: scaleX(-1); }
.post-type-archive-elite_review.premium-inner .rhero__visual:hover .ihero__art img { transform: scaleX(-1) scale(1.025); }
.post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card {
  position: relative; z-index: 3; width: min(100%, 21rem);
  box-shadow: 0 34px 64px -36px rgba(26, 18, 54, 0.6);
}
@media (min-width: 64rem) {
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card {
    position: absolute; bottom: 2rem; left: calc(100% - min(100%, 33rem) - 2.25rem);
  }
}
/* A narrower frame (1024 to 1279): a smaller card that hangs further out, so
   it covers about half of the photograph rather than most of it. */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card {
    bottom: 1.5rem; left: calc(100% - min(100%, 33rem) - 3.25rem); width: 17rem; gap: 0.5rem; padding: 1.15rem 1.2rem;
  }
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card .gbadge__num { font-size: 2.2rem; }
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card .gbadge__biz { padding-top: 0.6rem; font-size: 0.8rem; }
}
/* Tablet: the photograph and the card side by side, the same height. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .post-type-archive-elite_review.premium-inner .rhero__visual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; width: 100%; }
  .post-type-archive-elite_review.premium-inner .rhero__visual .ihero__art { width: 100%; max-width: none; height: 100%; min-height: 16rem; aspect-ratio: auto; }
  .post-type-archive-elite_review.premium-inner .rhero__visual .ihero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card { width: 100%; max-width: none; margin: 0; }
}
/* Phone: the trust card alone is the hero's picture, so the hero stays near
   one screen with the whole card on it. */
@media (max-width: 47.99rem) {
  .post-type-archive-elite_review.premium-inner .rhero__visual .ihero__art { display: none; }
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card { width: 100%; max-width: none; margin: 0; padding: 1.2rem 1.25rem; gap: 0.55rem; }
  .post-type-archive-elite_review.premium-inner .rhero__visual .rhero__card .gbadge__num { font-size: 2.3rem; }
}

/* --- The wall: the featured review in its dark card, then the rest. ------ */
.post-type-archive-elite_review .rev__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.post-type-archive-elite_review .rev__g { flex: none; }
.post-type-archive-elite_review.premium-inner .rev.revwall__lead .rev__g { padding: 3px; border-radius: 999px; background: #fff; box-sizing: content-box; }
.post-type-archive-elite_review .rev__src { color: inherit; }
.post-type-archive-elite_review.premium-inner .rev { border-radius: 1.25rem; }
/* Round 2: the full reviews differ in length, so the wall is set in columns
   (two on a tablet, three on a desktop) and every card is as tall as its own
   words: no empty space above a name. */
@media (min-width: 48rem) {
  .post-type-archive-elite_review.premium-inner .revwall { display: block; columns: 2; column-gap: 1.25rem; }
  .post-type-archive-elite_review.premium-inner .revwall__rest { display: contents; }
  .post-type-archive-elite_review.premium-inner .revwall .rev { width: 100%; margin: 0 0 1.25rem; break-inside: avoid; }
  .post-type-archive-elite_review.premium-inner .rev .rev__who { margin-top: 1.4rem; }
  .post-type-archive-elite_review .rev.revwall__lead .rev__text { font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.35; }
}
@media (min-width: 64rem) {
  .post-type-archive-elite_review.premium-inner .revwall { columns: 3; column-gap: 1.5rem; }
  .post-type-archive-elite_review.premium-inner .revwall .rev { margin-bottom: 1.5rem; }
}

/* --- The rest are on Google ------------------------------------------------ */
.post-type-archive-elite_review .revx__more {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.25rem 1.5rem;
  border: 1px solid var(--line-soft); border-radius: 1.25rem; background: #fff; box-shadow: var(--ab-card);
}
.post-type-archive-elite_review .revx__more-copy { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.post-type-archive-elite_review .revx__g { flex: none; }
.post-type-archive-elite_review .revx__more-title { margin: 0; color: var(--ink); font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.post-type-archive-elite_review .revx__more-biz { margin: 0.2rem 0 0; color: var(--body); font-size: 0.88rem; line-height: 1.45; }
.post-type-archive-elite_review .revx__more-biz strong { color: var(--ink); font-weight: 650; }
.post-type-archive-elite_review .revx__more-link { flex: none; }
@media (max-width: 47.99rem) {
  .post-type-archive-elite_review.premium-inner .rev { padding: 1.4rem 1.35rem; }
  .post-type-archive-elite_review.premium-inner .rev__text { font-size: 1.04rem; }
  .post-type-archive-elite_review.premium-inner .rev.revwall__lead .rev__text { font-size: 1.22rem; line-height: 1.4; }
  .post-type-archive-elite_review.premium-inner .rev__who { margin-top: 1.1rem; padding-top: 1rem; }
  .post-type-archive-elite_review .revx__more { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.1rem; }
  .post-type-archive-elite_review .revx__more-copy { align-items: flex-start; }
  .post-type-archive-elite_review .revx__more-biz span { display: block; }
  .post-type-archive-elite_review .revx__more-link { display: flex; width: 100%; }
}


/* ==========================================================================
   FAQS
   ========================================================================== */

/* --- Layout: a sticky index beside the groups ----------------------------- */
.post-type-archive-elite_faq.premium-inner .faqpage { grid-template-columns: minmax(0, 18.5rem) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
.post-type-archive-elite_faq .faqpage__side { position: sticky; top: calc(var(--header-h, 81px) + 1.75rem); display: grid; gap: 1rem; }
.post-type-archive-elite_faq.premium-inner .faqpage__nav {
  position: static; display: grid; gap: 0.15rem; padding: 0.75rem; border: 1px solid var(--line-soft); border-radius: 1.25rem; background: #fff; box-shadow: var(--ab-card);
}
.post-type-archive-elite_faq .faqpage__k { margin: 0; padding: 0.5rem 0.65rem 0.6rem; color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.post-type-archive-elite_faq.premium-inner .faqpage__nav a {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  min-height: 3rem; padding: 0.35rem 0.6rem; border: 0; border-radius: 0.8rem; color: var(--ink); font-size: 0.95rem; font-weight: 600; text-decoration: none;
}
.post-type-archive-elite_faq.premium-inner .faqpage__nav a:hover { background: var(--lane-tint-2, #f7f4fb); color: var(--ortho); }
/* The topic in view (site.js marks it, as it does the treatment pages' bar). */
.post-type-archive-elite_faq.premium-inner .faqpage__nav a.is-current { background: var(--ortho-tint, #eee9f7); color: var(--ortho); box-shadow: inset 3px 0 0 var(--ortho); }
.post-type-archive-elite_faq.premium-inner .faqpage__nav a.is-current .faqpage__count { background: var(--ortho); color: #fff; }
.post-type-archive-elite_faq.premium-inner .faqpage__nav a[href="#pediatric"].is-current { background: var(--ped-tint, #e3f4f6); color: var(--ped); box-shadow: inset 3px 0 0 var(--ped); }
.post-type-archive-elite_faq.premium-inner .faqpage__nav a[href="#pediatric"].is-current .faqpage__count { background: var(--ped); }
.post-type-archive-elite_faq .faqpage__ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.6rem; background: var(--ortho-tint, #eee9f7); color: var(--ortho); }
.post-type-archive-elite_faq .faqpage__nav a[href="#pediatric"] .faqpage__ic { background: var(--ped-tint, #e3f4f6); color: var(--ped); }
.post-type-archive-elite_faq .faqpage__count { min-width: 1.6rem; padding: 0.15rem 0.45rem; border-radius: 999px; background: var(--mist); color: var(--body); font-size: 0.74rem; font-weight: 700; text-align: center; }

.post-type-archive-elite_faq .faq-ask { padding: 1.4rem 1.4rem 1.15rem; border: 1px solid color-mix(in srgb, var(--ortho) 12%, #e5e1ea); border-radius: 1.25rem; background: #f5f1fb; }
.post-type-archive-elite_faq .faq-ask__k { margin: 0; color: var(--ink); font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.post-type-archive-elite_faq .faq-ask__text { margin: 0.4rem 0 0; color: var(--body); font-size: 0.88rem; line-height: 1.5; }
.post-type-archive-elite_faq .faq-ask__lines { display: grid; gap: 0.1rem; margin: 0.85rem 0 0; padding-top: 0.7rem; border-top: 1px solid color-mix(in srgb, var(--ortho) 14%, #e5e1ea); }
.post-type-archive-elite_faq .faq-ask__lines > div { display: flex; align-items: center; gap: 0.5rem; min-height: 2.25rem; font-size: 0.92rem; }
.post-type-archive-elite_faq .faq-ask__lines dt { min-width: 3.3rem; color: var(--ink); font-weight: 700; }
.post-type-archive-elite_faq .faq-ask__lines dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.post-type-archive-elite_faq .faq-ask__lines a { color: var(--ortho); font-weight: 650; text-decoration: none; }
.post-type-archive-elite_faq .faq-ask__lines a:hover { color: var(--ink); text-decoration: underline; }

/* --- A group: icon, heading, count, what it covers, the questions --------- */
.post-type-archive-elite_faq .faq-group { scroll-margin-top: 1rem; } /* html's scroll-padding already clears the header */
.post-type-archive-elite_faq .faq-group + .faq-group { margin-top: clamp(3rem, 2rem + 2.5vw, 4.5rem); }
/* The last group is at least as tall as the sticky index beside it, so a
   click on its topic lines the two up instead of pushing the index under the
   header. */
@media (min-width: 64rem) { .post-type-archive-elite_faq .faqpage__main > .faq-group:last-child { min-height: 32rem; } }
.post-type-archive-elite_faq .faq-group__head { display: flex; align-items: center; gap: 1rem; }
.post-type-archive-elite_faq .faq-group__ic { display: grid; flex: none; place-items: center; width: 3rem; height: 3rem; border-radius: 0.9rem; background: var(--ortho-tint, #eee9f7); color: var(--ortho); }
.post-type-archive-elite_faq #pediatric .faq-group__ic { background: var(--ped-tint, #e3f4f6); color: var(--ped); }
.post-type-archive-elite_faq .faq-group__title { flex: 1; min-width: 0; }
.post-type-archive-elite_faq .faq-group__title h2 { margin: 0; font-size: clamp(1.55rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -0.03em; }
.post-type-archive-elite_faq .faq-group__meta { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.post-type-archive-elite_faq .faq-group__desc { max-width: 60ch; margin: 1rem 0 1.4rem; color: var(--body); font-size: 1rem; line-height: 1.6; }
.post-type-archive-elite_faq .faq-group > .fold-panel { margin-top: 0; }

/* The questions: one card, divided by hairlines, a plus that turns to a cross. */
.post-type-archive-elite_faq.premium-inner .faq { gap: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 1.25rem; background: #fff; box-shadow: var(--ab-card); }
.post-type-archive-elite_faq.premium-inner .faq details { border: 0; border-radius: 0; background: none; box-shadow: none; }
.post-type-archive-elite_faq.premium-inner .faq details + details { border-top: 1px solid var(--line-soft); }
.post-type-archive-elite_faq.premium-inner .faq details[open] { background: #fcfbfe; }
.post-type-archive-elite_faq.premium-inner .faq summary { position: relative; min-height: 4rem; padding: 1.15rem 4.25rem 1.15rem 1.5rem; color: var(--ink); font-size: 1.02rem; font-weight: 650; line-height: 1.4; }
.post-type-archive-elite_faq.premium-inner .faq summary:hover { color: var(--ortho); }
.post-type-archive-elite_faq.premium-inner .faq summary::after {
  content: ""; position: absolute; top: 50%; right: 1.25rem; width: 2rem; height: 2rem; margin-top: -1rem;
  border: 1px solid var(--line-soft); border-radius: 999px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23462d88' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6.5v11M6.5 12h11'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 1rem; transform: none; transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.post-type-archive-elite_faq.premium-inner .faq details[open] summary { color: var(--ortho); }
.post-type-archive-elite_faq.premium-inner .faq details[open] summary::after { transform: rotate(45deg); border-color: color-mix(in srgb, var(--ortho) 30%, var(--line-soft)); background-color: var(--ortho-tint, #eee9f7); }
.post-type-archive-elite_faq.premium-inner .faq__a { max-width: 66ch; padding: 0 4.25rem 1.35rem 1.5rem; color: var(--body-strong); font-size: 0.98rem; line-height: 1.7; }
.post-type-archive-elite_faq.premium-inner .faq__a > * + * { margin-top: 0.75rem; }
.post-type-archive-elite_faq .faq__a a { color: var(--ortho); font-weight: 650; text-decoration: underline; text-underline-offset: 0.18em; }
.post-type-archive-elite_faq .faq-group__go { margin-top: 1.25rem; }

/* Tablet: the index becomes a row of topic chips above the groups, and the
   question card sits below it. */
@media (max-width: 63.99rem) {
  .post-type-archive-elite_faq.premium-inner .faqpage { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-type-archive-elite_faq .faqpage__side { display: contents; }
  .post-type-archive-elite_faq.premium-inner .faqpage__nav { order: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.5rem; }
  .post-type-archive-elite_faq .faqpage__main { order: 1; }
  .post-type-archive-elite_faq .faq-ask { order: 2; }
  .post-type-archive-elite_faq .faqpage__k { grid-column: 1 / -1; }
}

/* Phone: the groups fold, the first open, so the four headings are the
   index; the question card closes the page after them. */
@media (max-width: 47.99rem) {
  .post-type-archive-elite_faq.premium-inner .faqpage { gap: 2rem; }
  .post-type-archive-elite_faq.premium-inner .faqpage__nav { display: none; }
  .post-type-archive-elite_faq .faq-group { padding-block: 0.85rem; border-top: 1px solid var(--line-soft); }
  .post-type-archive-elite_faq .faq-group:last-child { border-bottom: 1px solid var(--line-soft); }
  .post-type-archive-elite_faq .faq-group + .faq-group { margin-top: 0; }
  .post-type-archive-elite_faq .faq-group__head { gap: 0.8rem; }
  .post-type-archive-elite_faq .faq-group__ic { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; }
  .post-type-archive-elite_faq .faq-group__ic svg { width: 18px; height: 18px; }
  .post-type-archive-elite_faq .faq-group__title h2 { font-size: 1.28rem; letter-spacing: -0.02em; }
  .post-type-archive-elite_faq .faq-group__meta { margin-top: 0.1rem; font-size: 0.78rem; }
  .post-type-archive-elite_faq .faq-group__desc { margin: 0.9rem 0 1rem; font-size: 0.93rem; }
  .post-type-archive-elite_faq .faq-group > .fold-panel { padding-bottom: 0.6rem; }
  .post-type-archive-elite_faq.premium-inner .faq { border-radius: 1rem; }
  .post-type-archive-elite_faq.premium-inner .faq summary { min-height: 3.5rem; padding: 0.95rem 3.5rem 0.95rem 1.1rem; font-size: 0.97rem; }
  .post-type-archive-elite_faq.premium-inner .faq summary::after { right: 0.9rem; width: 1.8rem; height: 1.8rem; margin-top: -0.9rem; }
  .post-type-archive-elite_faq.premium-inner .faq__a { padding: 0 1.1rem 1.1rem; font-size: 0.94rem; line-height: 1.65; }
  .post-type-archive-elite_faq .faq-group__go { display: flex; margin-top: 1rem; }
  .post-type-archive-elite_faq .faq-ask { padding: 1.25rem; }
}
