/* Services hub (/services, services.php). Loads before modern.css, so every rule here is scoped with .page-services
   or a section class that only this page uses. Tokens and components (pagehead, photo card, seal, float cards, service
   cards, steps, review cards, the closing band) come from modern.css (brief sections 3 and 8); this file lays out the
   hub's own blocks. Light theme only. */

/* ---------- 1. Header ----------
   The text in columns 1 to 6; the family photo card in 7 to 12 with the seal half over its bottom left corner and two
   glass cards on its right edge. The bottom padding leaves room for the group cards, which straddle the edge. */
.page-services { --hub-lift: 48px; }
@media (min-width: 768px) { .page-services { --hub-lift: 56px; } }
@media (min-width: 1024px) { .page-services { --hub-lift: 72px; } }
/* Below 1024 the photo card closes the header and keeps its own bottom margin for the seal, so less padding is needed. */
.page-services .pagehead--hub { padding-bottom: calc(24px + var(--hub-lift)); }
@media (min-width: 1024px) { .page-services .pagehead--hub { padding-bottom: calc(104px + var(--hub-lift)); } }
.page-services .pagehead__where { margin-bottom: 14px; font-size: 0.875rem; font-weight: 650; color: var(--accent); }
@media (min-width: 640px) { .page-services .pagehead__where { display: none; } }
.page-services .pagehead--hub h1 { max-width: 15ch; }
.page-services .pagehead--hub .pagehead__actions { gap: 12px; }
@media (max-width: 479.98px) { .page-services .pagehead--hub .pagehead__actions .btn { width: 100%; } }
.page-services .pagehead--hub .pagehead__visual { margin-top: 48px; }
@media (min-width: 1024px) {
  .page-services .pagehead--hub .pagehead__text { grid-column: 1 / span 6; }
  .page-services .pagehead--hub .pagehead__visual { grid-column: 7 / span 6; margin-top: 0; padding-left: 56px; }
}

/* The photo card on the hub: the seal takes the disc's place on the bottom left corner. */
.page-services .photo-card--hub { margin-bottom: 56px; }
.page-services .photo-card--hub .seal { position: absolute; z-index: 3; left: 16px; bottom: -46px; width: 104px; height: 104px; }
.page-services .photo-card--hub .seal .seal__mark { width: 32px; height: 32px; }
.page-services .photo-card--hub .float-card--br { display: none; }
/* Phones: the rating card moves to the photo's bottom right, clear of the faces, beside the seal. */
@media (max-width: 639.98px) {
  .page-services .photo-card--hub .float-card--tr { top: auto; bottom: 12px; right: 10px; gap: 10px; padding: 8px 14px 8px 8px; }
  .page-services .photo-card--hub .float-card--tr .float-card__icon { width: 38px; height: 38px; font-size: 1rem; }
}
@media (min-width: 640px) {
  .page-services .photo-card--hub .seal { width: 132px; height: 132px; left: 28px; bottom: -56px; }
  .page-services .photo-card--hub .seal .seal__mark { width: 40px; height: 40px; }
  .page-services .photo-card--hub .float-card--br { display: flex; bottom: -26px; right: 20px; }
  .page-services .photo-card--hub { margin-bottom: 64px; }
}
@media (min-width: 1024px) {
  .page-services .photo-card--hub { margin: 0 0 56px; }
  .page-services .photo-card--hub .seal { width: 148px; height: 148px; left: -56px; bottom: -52px; }
  .page-services .photo-card--hub .seal .seal__mark { width: 44px; height: 44px; }
  .page-services .photo-card--hub .float-card--tr { top: 32px; right: -32px; }
  .page-services .photo-card--hub .float-card--br { bottom: -28px; right: 32px; }
}

/* ---------- 2. The group cards ----------
   Glass cards across the header's bottom edge, one per group: an icon disc, the title and the count, with a caret
   that points down the page. Phones: one glass panel with the groups in rows. 640 to 1023: three over two. 1024 and
   up: five in a row, stacked inside (disc and caret on top, the words below). */
.group-band { position: relative; z-index: 4; margin: calc(-1 * var(--hub-lift, 48px)) var(--panel-inset) 0; }
.group-cards {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: var(--r-card); background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-float), var(--shadow);
}
.group-cards > li { display: flex; min-width: 0; }
.group-cards > li + li { border-top: 1px solid var(--rule); }
.group-card {
  flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 14px; border-radius: var(--r-card); color: var(--ink); text-decoration: none;
  transition: background-color var(--t-ui) ease, box-shadow var(--t-ui) ease, transform 450ms var(--ease-apex);
}
.group-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--ink); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.group-card__icon .icon { width: 22px; height: 22px; }
.group-card__text { display: grid; gap: 2px; min-width: 0; }
.group-card__title { font-family: var(--display); font-size: 1rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.group-card__count { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.group-card__go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rule-ink); color: var(--ink); transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease; }
.group-card__go .icon { width: 16px; height: 16px; }
.group-card:hover .group-card__icon, .group-card:focus-visible .group-card__icon { background: var(--ink); color: #fff; }
.group-card:hover .group-card__go, .group-card:focus-visible .group-card__go { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 640px) {
  .group-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; background: none; border: 0; box-shadow: none; }
  .group-cards > li { grid-column: span 2; }
  .group-cards > li:nth-child(4):nth-last-child(2), .group-cards > li:nth-child(5):last-child { grid-column: span 3; }
  .group-cards > li + li { border-top: 0; }
  .group-card {
    padding: 16px 16px 16px 14px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-float), var(--shadow);
  }
  .group-card:hover { background: #fff; box-shadow: var(--shadow-lg); }
}
@media (min-width: 640px) and (max-width: 1023.98px) { .group-card { grid-template-columns: auto minmax(0, 1fr); } .group-card__go { display: none; } }
@media (min-width: 1024px) {
  .group-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .group-cards > li, .group-cards > li:nth-child(4):nth-last-child(2), .group-cards > li:nth-child(5):last-child { grid-column: auto; }
  .group-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: start; gap: 22px 12px; min-height: 0; padding: 22px 20px 24px; }
  .group-card__icon { width: 52px; height: 52px; }
  .group-card__icon .icon { width: 24px; height: 24px; }
  .group-card__text { grid-column: 1 / -1; grid-row: 2; align-self: end; gap: 4px; }
  .group-card__title { font-size: 1.0625rem; }
  .group-card__go { grid-column: 2; grid-row: 1; }
}

/* ---------- 3. Tooth pain today, and what the office lists ----------
   The emergency note is an ink card (the number large, the hours and today's status under the call button); beside
   it from 1024, the four listed offerings as cards that link to their pages. */
.svc-urgent__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .svc-urgent__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: stretch; } }
.svc-pain {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: 36px 24px; border-radius: var(--r-lg); color: var(--on-ink);
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 55%, var(--ink-3) 100%); box-shadow: var(--shadow-lg);
}
.svc-pain::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -220px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 171, 238, 0.34), rgba(1, 171, 238, 0)); pointer-events: none; }
.svc-pain__orbit { position: absolute; z-index: -1; width: 420px; height: 420px; right: -190px; bottom: -230px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); pointer-events: none; }
.svc-pain__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--on-ink-accent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.svc-pain__icon .icon { width: 26px; height: 26px; }
.svc-pain h2 { color: #fff; }
.svc-pain h2 em { color: #fff; }
.svc-pain > p { margin-top: 18px; max-width: 46ch; color: var(--on-ink); font-size: 1.0625rem; line-height: 1.65; }
.svc-pain > p a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(127, 211, 247, 0.7); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.svc-pain > p a:hover { text-decoration-color: #fff; }
.svc-pain :focus-visible { outline-color: #fff; }
.svc-pain__call { display: grid; justify-items: start; gap: 18px; margin-top: auto; padding-top: 32px; width: 100%; }
.svc-pain__hours { display: grid; gap: 2px; margin: 0; font-size: 0.9375rem; color: var(--on-ink-muted); }
.svc-pain__status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 650; color: #fff; }
.svc-pain__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(1, 171, 238, 0.22); }
@media (min-width: 768px) {
  .svc-pain { padding: 48px; }
  .svc-pain__call { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; }
}
@media (min-width: 1024px) { .svc-pain { padding: 52px 48px; } .svc-pain__call { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 479.98px) { .svc-pain__call .btn { width: 100%; } }

.svc-offered { display: flex; flex-direction: column; }
.svc-offered .head { margin-bottom: 28px; }
.svc-offered__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; flex: 1; }
.svc-offered__list > li { display: flex; min-width: 0; }
@media (min-width: 640px) { .svc-offered__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.offer {
  flex: 1; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 6px 16px;
  padding: 22px 20px; border-radius: var(--r-card); background: var(--offwhite); color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(14, 42, 58, 0.05);
  transition: background-color var(--t-ui) ease, box-shadow var(--t-ui) ease, transform 450ms var(--ease-apex);
}
a.offer:hover { background: var(--mint); box-shadow: var(--shadow); }
.offer__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.offer__icon .icon { width: 22px; height: 22px; }
.offer__text { display: grid; gap: 4px; min-width: 0; padding-right: 36px; }
.offer__title { font-family: var(--display); font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.offer__line { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.offer__go { position: absolute; top: 20px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule-ink); color: var(--ink); background: #fff; transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease; }
.offer__go .icon { width: 16px; height: 16px; }
a.offer:hover .offer__go, a.offer:focus-visible .offer__go { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 1024px) {
  .offer { grid-template-columns: 1fr; align-content: space-between; gap: 24px; padding: 26px 24px 28px; }
  .offer__icon { width: 56px; height: 56px; }
  .offer__icon .icon { width: 26px; height: 26px; }
  .offer__text { padding-right: 0; }
  .offer__go { top: 26px; right: 24px; }
}

/* ---------- 4. Every service in one list (1024 and up) ----------
   Numbered rows in two columns of groups; the preview on the right is sticky and crossfades to the animation of the
   row under the pointer or focus (site.js). Below 1024 the section is not shown: the group cards below carry the same
   links. */
.svc-index-section { display: none; }
@media (min-width: 1024px) {
  .svc-index-section { display: block; }
  .svc-index { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .svc-index__cols { columns: 2; column-gap: 40px; }
  .svc-index__group { break-inside: avoid; padding-bottom: 36px; }
  .svc-index__label { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); }
  .svc-index__label .icon { width: 18px; height: 18px; }
  .svc-index__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
  .svc-index__rows > li { border-bottom: 1px solid var(--rule); }
  .svc-index__row {
    position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    min-height: 58px; padding: 8px 0; color: var(--ink); text-decoration: none;
  }
  .svc-index__row::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 26px; margin-top: -13px; border-radius: 3px; background: var(--brand); opacity: 0; transform: scaleY(0.4); transition: opacity 300ms var(--ease-apex), transform 300ms var(--ease-apex); }
  .svc-index__num { font-family: var(--display); font-size: 0.875rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; transition: color var(--t-ui) ease, transform 450ms var(--ease-apex); }
  .svc-index__name { font-family: var(--display); font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; transition: transform 450ms var(--ease-apex); }
  .svc-index__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule-ink); color: var(--ink); transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease, color var(--t-ui) ease; }
  .svc-index__go .icon { width: 16px; height: 16px; }
  .svc-index__row:is(:hover, :focus-visible, .is-active) .svc-index__num { color: var(--accent); transform: translateX(12px); }
  .svc-index__row:is(:hover, :focus-visible, .is-active) .svc-index__name { transform: translateX(12px); }
  .svc-index__row:is(:hover, :focus-visible, .is-active)::before { opacity: 1; transform: none; }
  .svc-index__row:is(:hover, :focus-visible, .is-active) .svc-index__go { background: var(--ink); border-color: var(--ink); color: #fff; }

  .svc-index__preview { position: sticky; top: calc(var(--header-h) + 32px); display: grid; }
  .svc-index__pv {
    grid-area: 1 / 1; display: grid; gap: 0; padding: 14px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: opacity 450ms var(--ease-apex), visibility 0s linear 450ms;
  }
  .svc-index__pv.is-active { opacity: 1; visibility: visible; transition: opacity 450ms var(--ease-apex), visibility 0s; }
  .svc-index__pv .anim-stage { max-width: none; border-radius: calc(var(--r-lg) - 6px); }
  .svc-index__cap { display: grid; gap: 6px; padding: 22px 12px 10px; }
  .svc-index__cap b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
  .svc-index__cap > span:last-child:not(.svc-index__tag) { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
  .svc-index__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); }
  .svc-index__tag .icon { width: 16px; height: 16px; }
  /* Only the preview on show plays its animation. */
  .svc-index__pv:not(.is-active) .anim, .svc-index__pv:not(.is-active) .anim * { animation-play-state: paused !important; }
}

/* ---------- 5. The groups ----------
   A head and a card per service. The note that closes each grid fills the rest of its last row: the span classes come
   from services.php (s2 for the two-column grid, s3 for the three-column one), and a wide note lays out in a row. */
.svc-group__grid > .svc-note-cell { container-type: inline-size; }
@media (min-width: 640px) and (max-width: 1023.98px) {
  .svc-note-cell--s2-2 { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .svc-note-cell--s3-2 { grid-column: span 2; }
  .svc-note-cell--s3-3 { grid-column: 1 / -1; }
}
.svc-note {
  position: relative; isolation: isolate; overflow: hidden; flex: 1; display: grid; grid-template-columns: 1fr; align-content: start; gap: 18px;
  padding: 28px 24px; border-radius: var(--r-card);
  background: linear-gradient(150deg, #FFFFFF 0%, var(--mint-soft) 100%); box-shadow: inset 0 0 0 1px rgba(14, 42, 58, 0.07);
}
.section--tint .svc-note { background: linear-gradient(150deg, #FFFFFF 30%, var(--mint-soft) 100%); box-shadow: var(--shadow-sm); }
.svc-note::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -150px; bottom: -170px; border-radius: 50%; border: 1px solid var(--rule-ink); pointer-events: none; }
.svc-note__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--ink); }
.svc-note__icon .icon { width: 24px; height: 24px; }
.svc-note__text { display: grid; gap: 10px; min-width: 0; }
.svc-note__title { font-size: 1.3125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.svc-note__text p { color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.svc-note .btn { justify-self: start; align-self: end; }
/* A note alone in one cell: the button sits at the foot of the card, level with the cards' links. */
.svc-note { grid-template-rows: auto auto 1fr; }
/* The orbit art: a white disc with the group's icon on two crossing ellipses. Shown only in a note that shares its
   row with one card (three columns, the note two wide), where the row is as tall as a card with a photo. */
.svc-note__art { display: none; }
@media (min-width: 1024px) {
  .svc-note-cell--s3-2 .svc-note { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); grid-template-rows: auto auto; align-content: center; align-items: start; gap: 28px 32px; padding: 40px 40px 40px 44px; }
  .svc-note-cell--s3-2 .svc-note > :not(.svc-note__art) { grid-column: 1; }
  .svc-note-cell--s3-2 .svc-note .btn { align-self: start; }
  .svc-note-cell--s3-2 .svc-note__art { display: block; position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; width: 100%; max-width: 280px; aspect-ratio: 1; }
  .svc-note-cell--s3-2 .svc-note__art::before, .svc-note-cell--s3-2 .svc-note__art::after { content: ""; position: absolute; left: -6%; right: -6%; top: 22%; bottom: 22%; border-radius: 50%; border: 1px solid rgba(14, 42, 58, 0.55); }
  .svc-note-cell--s3-2 .svc-note__art::before { transform: rotate(-24deg); }
  .svc-note-cell--s3-2 .svc-note__art::after { transform: rotate(22deg); }
  .svc-note-cell--s3-2 .svc-note__disc { position: absolute; z-index: 1; inset: 27%; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.55), var(--shadow-lg); }
  .svc-note-cell--s3-2 .svc-note__disc .icon { width: 42%; height: 42%; }
  .svc-note-cell--s3-2 .svc-note__art i { position: absolute; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 4px 12px rgba(1, 109, 150, 0.25); }
  .svc-note-cell--s3-2 .svc-note__art i:nth-child(2) { left: 6%; top: 27%; }
  .svc-note-cell--s3-2 .svc-note__art i:nth-child(3) { left: 93%; top: 30%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-color: var(--ink); }
  .svc-note-cell--s3-2 .svc-note__title { font-size: 1.625rem; }
  .svc-note-cell--s3-2 .svc-note__icon { display: none; }
}
@container (min-width: 560px) {
  .svc-note { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; align-content: center; gap: 28px; padding: 32px 36px; }
  .svc-note .btn { align-self: center; }
}
@media (max-width: 479.98px) { .svc-note .btn { justify-self: stretch; } }

/* ---------- 7. Reviews ---------- */
.svc-hub-reviews__rating { display: grid; justify-items: start; gap: 14px; }
@media (min-width: 1024px) { .svc-hub-reviews__rating { justify-items: end; } }

/* ---------- 8. Nervous about the dentist ----------
   The archived photo of Dr. Saad is 350 px wide, so it is never shown wider than 300 px; the orbit ellipses are drawn
   tall and narrow to pass above and below a portrait frame. */
.svc-nervous__visual { width: 100%; max-width: 420px; margin-inline: auto; }
.svc-nervous__visual .orbit-photo { padding: 12% 0; }
.svc-nervous__visual .orbit-photo > .photo { width: 100%; max-width: 300px; margin-inline: auto; box-shadow: var(--shadow-lg); }
.svc-nervous__visual .orbit-photo__ring { width: 96%; aspect-ratio: 0.7; }
@media (min-width: 420px) { .svc-nervous__visual .orbit-photo__ring { width: 92%; aspect-ratio: 0.8; } }
.svc-nervous__caption { margin-top: 28px; text-align: center; }
.svc-nervous__body { display: grid; gap: 16px; max-width: 60ch; }
.svc-nervous__body p { color: var(--muted); text-wrap: pretty; }
.svc-nervous__body .svc-nervous__lead { font-size: 1.125rem; line-height: 1.6; color: var(--text); }
@media (min-width: 768px) { .svc-nervous__body .svc-nervous__lead { font-size: 1.25rem; } }
.svc-nervous__text .head { margin-bottom: 28px; }
.svc-nervous__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; }
@media (min-width: 1024px) { .page-services .svc-nervous__split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

/* ---------- Review pass fixes ----------
   Phones: the shared compact card clamps its line at three lines, which cut every description on this page mid-word
   ("pala...", "gumlin..."). The hub is where people read them, so the whole line shows here. */
@media (max-width: 639.98px) {
  .page-services .svc-group__grid .svc-card__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
/* The rating pill on the ink band: the number disc keeps its circle beside the two lines of text. */
.svc-hub-reviews .rating-pill__num { flex: none; }
