/*
 * Layout fixes for in-between window widths (loaded after every other stylesheet).
 *
 * The theme keeps `.container` at 960px all the way up to 1319px, which is too narrow for the full-size
 * navbar (logo collided with "Services", "Contact" hid behind "Book a Call") and squeezed the home hero.
 * 1. use the standard 1140px / 1320px container steps at 1200px and 1400px (written with :where() so it never
 *    overrides a page's own, more specific container width)
 * 2. below 1200px (container 960px) shrink the navbar so all seven links still fit
 */

/* ----------------------------------------------------------------------
   Full width on large screens (1200px and up)
   The theme capped every page at 1140/1320px, which left wide empty margins on big monitors. From 1200px the
   content now fills the screen, with a side margin that grows gently with the window. (Narrow text columns of
   about 860px are kept on purpose: very long lines are hard to read.)
   ---------------------------------------------------------------------- */
:root {
  --site-gutter: clamp(1.5rem, 5vw, 6rem);
}
@media (min-width: 1200px) {
  /* plain .container (written with :where() so it never beats a page's own, more specific width) */
  :where(.landing-page, .landing-top-header-outer) .container:where(:not([class*="-container"])) {
    max-width: none;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }
  /* wrappers that carried their own fixed width */
  .landing-page .re2-container,
  .landing-page .rental-workflow-container,
  .ind2 .wrap,
  .ind2 .hero-grid {
    max-width: none;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }
  /* pricing sections */
  .hl-pricing .c-section > .inner,
  .hl-pricing .c-section > .inner > .c-row > .inner {
    max-width: none !important;
  }
  .hl-pricing .c-section {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
  }
}

/* imported dental / home-services pages: their layouts are positioned for a fixed width, so below 1800px they keep their
   own width; on very large screens they widen to 1760px (centred) */
@media (min-width: 1800px) {
  .e-con-inner,
  .workflow-wrap,
  .flow2-wrap,
  .analytics-wrap,
  .review-flow,
  .cp-wrap,
  .zhs-hero-container,
  .gm-feature-wrap,
  .fbx-banner,
  .ps-flow-wrap,
  .csp-wrapper,
  .cbt-section,
  .mwf-wrapper,
  .hp-notice-bar {
    max-width: 1760px !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* desktop navbar between the hamburger breakpoint (992px) and the 1140px container (1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  html .landing-top-header .landing-top-nav {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  html .landing-top-logo {
    height: 64px;
    max-height: 64px;
  }
  html .landing-top-nav-collapse {
    gap: 0.4rem;
  }
  html .landing-top-nav-center {
    margin-left: 0.25rem;
    gap: 0;
  }
  html .landing-top-header .landing-top-nav-link,
  html .landing-top-header .landing-top-dd-trigger {
    font-size: 0.8125rem;
    padding: 0.4rem 0.5rem;
    gap: 0.2rem;
  }
  html .landing-top-header .landing-top-cta-btn,
  html .landing-top-header .landing-top-cta-btn:focus {
    min-width: 0;
    padding: 0.6rem 1.7rem !important;
    font-size: 0.875rem;
  }
}

/* ======================================================================
   Phones (up to 575px)
   ====================================================================== */
@media (max-width: 575.98px) {
  /* footer links: real tap targets, centred and wrapping */
  .landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 0.25rem;
  }
  .landing-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 0.6rem;
  }

  /* step flows (home + service pages): fixed-width steps that scroll sideways instead of squashing their labels */
  .wfx-flow {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0 1rem 0.6rem;
    scroll-padding-inline: 1rem;
    /* soft edge fade: shows there are more steps to either side */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  }
  .wfx-node {
    flex: none;
    scroll-snap-align: center;
  }
  .wfx-stepbtn {
    flex: none;
    width: 5.6rem;
    min-width: 5.6rem;
  }
  .wfx-lbl {
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
  .wfx-tag {
    text-align: center;
    white-space: nowrap;
  }
  .wfx-line {
    flex: 0 0 1.4rem;
    min-width: 1.4rem;
  }

  /* labels inside the illustrative demos were 9-10px */
  .svv-top span,
  .svv-col-h,
  .wfx-tag,
  .rv-tag,
  .svv-days span,
  .svv-node-k,
  .dn-sample,
  .landing-top-dd-badge {
    font-size: 0.72rem;
  }

  /* text links that are tapped on their own: 44px-high targets */
  .svh-link,
  .landing-cta-chip a,
  a[href^='tel:'],
  a[href^='mailto:'] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .svv-rev-card span,
  .wfx-eyebrow {
    font-size: 0.72rem;
  }

  /* long call-to-action buttons wrap instead of running off a small screen */
  .svc-cta-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  /* real-estate pipeline: its grid column was sized by its content (396px) and pushed the page sideways */
  .re-pipe-split {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .re-pipe-split > * {
    min-width: 0;
  }
}

/* never scroll sideways: decorative elements that stick out past the window edge are clipped (clip, unlike hidden, keeps the sticky header working) */
html,
body {
  overflow-x: clip;
}

/* the travelling mail icon overlaps the step buttons on phones and small tablets; desktop and large tablets keep it */
@media (max-width: 820px) {
  .wfx-packet { display: none !important; }
}

/* phones: feature and process cards stack over each other as the page scrolls (each card sticks below the header, the next slides over it) */
@media (max-width: 767.98px) {
  .row > div:has(> .landing-feature-card),
  .row > div:has(> .landing-global-card) {
    position: sticky;
    top: calc(5rem + var(--stack, 0) * 0.75rem);
  }
  .row > div:has(> .landing-feature-card):nth-child(1), .row > div:has(> .landing-global-card):nth-child(1) { --stack: 0; }
  .row > div:has(> .landing-feature-card):nth-child(2), .row > div:has(> .landing-global-card):nth-child(2) { --stack: 1; }
  .row > div:has(> .landing-feature-card):nth-child(3), .row > div:has(> .landing-global-card):nth-child(3) { --stack: 2; }
  .row > div:has(> .landing-feature-card):nth-child(4), .row > div:has(> .landing-global-card):nth-child(4) { --stack: 3; }
  .row > div:has(> .landing-feature-card):nth-child(5), .row > div:has(> .landing-global-card):nth-child(5) { --stack: 4; }
  .row > div:has(> .landing-feature-card):nth-child(6), .row > div:has(> .landing-global-card):nth-child(6) { --stack: 5; }
  .row > div:has(> .landing-feature-card):nth-child(7), .row > div:has(> .landing-global-card):nth-child(7) { --stack: 6; }
  .row > div:has(> .landing-feature-card):nth-child(8), .row > div:has(> .landing-global-card):nth-child(8) { --stack: 7; }
  .row > div:has(> .landing-feature-card):nth-child(9), .row > div:has(> .landing-global-card):nth-child(9) { --stack: 8; }
  .landing-feature-card, .landing-global-card {
    background: #fff !important;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  }
}

/* the original white hover style sticks after a tap on touch screens and turned the icon white on the light header */
html .landing-top-nav-toggler:hover,
html .landing-top-nav-toggler:focus,
html .landing-top-nav-toggler:active {
  color: #0f2a4d;
  background: #eef3fb;
  border-color: #c7d6ea;
}
html[data-bs-theme=dark] .landing-top-nav-toggler:hover,
html[data-bs-theme=dark] .landing-top-nav-toggler:focus,
html[data-bs-theme=dark] .landing-top-nav-toggler:active {
  color: #e2e8f0;
  background: #1e293b;
  border-color: #334155;
}
html .landing-top-nav-toggler:focus-visible { outline: 2px solid #2563eb; }

/* phones: the "What you get" cards on the service pages stack over each other like the home page cards */
@media (max-width: 767.98px) {
  .svg-grid > .svg-card {
    position: sticky;
    top: calc(5rem + var(--stack, 0) * 0.75rem);
    background: #fff;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  }
  .svg-grid > .svg-card:nth-child(1) { --stack: 0; }
  .svg-grid > .svg-card:nth-child(2) { --stack: 1; }
  .svg-grid > .svg-card:nth-child(3) { --stack: 2; }
  .svg-grid > .svg-card:nth-child(4) { --stack: 3; }
  .svg-grid > .svg-card:nth-child(5) { --stack: 4; }
  .svg-grid > .svg-card:nth-child(6) { --stack: 5; }
}

/* small desktops / laptops (1200–1399px): keep logo, links and CTA on one tidy row */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  html .landing-top-logo {
    height: 84px;
    max-height: 84px;
  }
  html .landing-top-nav-center {
    gap: 0;
    margin-left: 0.5rem;
  }
  html .landing-top-header .landing-top-nav-link,
  html .landing-top-header .landing-top-dd-trigger {
    font-size: 0.9rem;
    padding: 0.45rem 0.6rem;
  }
  html .landing-top-header .landing-top-cta-btn,
  html .landing-top-header .landing-top-cta-btn:focus {
    min-width: 0;
    padding: 0.65rem 2.3rem !important;
    font-size: 0.95rem;
  }
}

/* FAQ sections: same card-style accordion as the pricing page */
.svs--faq .container {
  max-width: 900px !important;
}
.svs--faq .svs-title {
  text-align: center !important;
  margin: 0 0 2.25rem 0 !important;
}
.svs--faq .svq-list {
  border-top: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}
.svs--faq .svq {
  border: 1px solid #dbe3ef !important;
  border-radius: 0.75rem !important;
  background: #fff !important;
  padding: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.svs--faq .svq:hover,
.svs--faq .svq[open] {
  border-color: #b9c9e3 !important;
  box-shadow: 0 6px 18px rgba(27, 64, 121, 0.08) !important;
}
.svs--faq .svq summary {
  padding: 1.1rem 1.15rem !important;
  color: #1f2937 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.svs--faq .svq summary:hover {
  color: #1b4079 !important;
}
.svs--faq .svq summary::after,
.svs--faq .svq[open] summary::after {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 6px solid #1f2937 !important;
  font-size: 0 !important;
  transition: transform 0.2s ease !important;
}
.svs--faq .svq[open] summary::after {
  transform: rotate(180deg) !important;
}
.svs--faq .svq p {
  margin: 0 !important;
  padding: 0 1.15rem 1.15rem !important;
}
@media (max-width: 575.98px) {
  .svs--faq .svq summary {
    padding: 1rem !important;
  }
  .svs--faq .svq p {
    padding: 0 1rem 1rem !important;
  }
}

/* header "Book a Call" button: wider */
@media (min-width: 1400px) {
  html .landing-top-header .landing-top-cta-btn,
  html .landing-top-header .landing-top-cta-btn:focus {
    min-width: 13.5rem;
    padding-left: 2.75rem !important;
    padding-right: 2.75rem !important;
  }
}

/* white-label process: all six steps on one row on desktop */
@media (min-width: 1100px) {
  .grid.g3.steps {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
  .grid.g3.steps .step {
    padding: 1.1rem 0.95rem !important;
  }
  .grid.g3.steps .step h3 {
    font-size: 1rem !important;
  }
  .grid.g3.steps .step p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .grid.g3.steps .step .num {
    top: 12px !important;
    right: 12px !important;
    font-size: 1.15rem !important;
  }
}

/* contact page: nicer booking-calendar card */
.ct-cal h2 {
  margin-bottom: 0.5rem !important;
}
.ct-cal .ct-cal-sub {
  color: #475569;
  margin: 0 0 1rem;
  line-height: 1.6;
}
.ct-cal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.ct-cal-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e8f0ff;
  color: #1b4079;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.ct-cal-badges svg {
  color: #2563eb;
  flex-shrink: 0;
}
.ct-cal-frame {
  position: relative;
  background: #f6f9ff;
  border: 1px solid #dbe6f7;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 380px;
}
.ct-cal-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
}
.ct-cal-loading {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
}
.ct-cal-loading span {
  display: block;
  height: 3.2rem;
  border-radius: 0.7rem;
  background: linear-gradient(90deg, #e7eefb 25%, #f4f8ff 50%, #e7eefb 75%);
  background-size: 200% 100%;
  animation: ct-shimmer 1.4s infinite linear;
}
.ct-cal-loading span:first-child {
  height: 2rem;
  width: 45%;
}
.ct-cal-loading span:last-child {
  flex: 1;
}
@keyframes ct-shimmer {
  to { background-position: -200% 0; }
}
.ct-cal-note {
  margin: 1rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}
.ct-cal-note a {
  color: #1b4079;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 991.98px) {
  .ct-cal-frame { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-cal-loading span { animation: none; }
}

/* home hero badge: always one line */
.landing-hero-badge {
  white-space: nowrap !important;
  max-width: 100%;
  letter-spacing: 0.03em !important;
  font-size: clamp(0.62rem, 1.6vw, 0.8rem) !important;
}
.landing-hero-badge .hb-short { display: none; }
@media (max-width: 575.98px) {
  .landing-hero-badge .hb-full { display: none; }
  .landing-hero-badge .hb-short { display: inline; }
  .landing-hero-badge { font-size: clamp(0.62rem, 3.1vw, 0.78rem) !important; }
}
/* the hero text column is narrow on laptops (992–1399px): use the short wording there */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .landing-hero-badge .hb-full { display: none; }
  .landing-hero-badge .hb-short { display: inline; }
  .landing-hero-badge { font-size: 0.78rem !important; }
}

/* CTA bands: free-trial choice + price note */
.svc-cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; flex: none; align-items: center; }
.svc-cta-btn.svc-cta-btn--ghost,
.svc-cta-btn.svc-cta-btn--ghost:hover {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: calc(0.95rem - 2px) 1.4rem;
}
.svc-cta-btn.svc-cta-btn--ghost:hover { background: rgba(255, 255, 255, 0.12) !important; }
.svc-cta-in p.svc-cta-note { margin-top: 0.7rem; font-size: 0.85rem; font-weight: 700; color: #a9c4ee; letter-spacing: 0.02em; }
@media (max-width: 767.98px) {
  .svc-cta-actions { width: 100%; }
  .svc-cta-actions .svc-cta-btn { flex: 1 1 100%; justify-content: center; }
}

/* header "Free Trial" button: same shape and size as Book a Call, light version */
html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn,
html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn:focus {
  background: #fff !important;
  color: #0f2748 !important;
  border: 2px solid #0f2748 !important;
}
html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn:hover {
  background: #0f2748 !important;
  color: #fff !important;
}

/* pricing: plan guide line */
.plan-guide {
  max-width: 880px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  text-align: center;
  color: #334155;
  background: #f1f6ff;
  border: 1px solid #d8e5fb;
  border-radius: 0.9rem;
  font-size: 1rem;
  line-height: 1.6;
}
.plan-guide b { color: #1b4079; }

/* Free Trial: outline drawn inside the box so it is exactly as tall as Book a Call; narrower so the nav still fits */
html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn,
html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn:focus {
  border: 0 !important;
  box-shadow: inset 0 0 0 2px #0f2748, 0 8px 20px rgba(15, 39, 72, 0.12) !important;
  min-width: 0 !important;
}
@media (min-width: 1400px) {
  html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn { padding-left: 1.9rem !important; padding-right: 1.9rem !important; }
  html .landing-top-header .landing-top-cta-btn:not(.landing-top-trial-btn) { min-width: 0 !important; padding-left: 2.1rem !important; padding-right: 2.1rem !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  html .landing-top-header .landing-top-cta-btn:not(.landing-top-trial-btn) { padding-left: 1.6rem !important; padding-right: 1.6rem !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  html .landing-top-header .landing-top-cta-btn.landing-top-trial-btn { padding-left: 1.1rem !important; padding-right: 1.1rem !important; }
  html .landing-top-header .landing-top-cta-btn:not(.landing-top-trial-btn) { padding-left: 1.2rem !important; padding-right: 1.2rem !important; }
}

/* compact dropdown sub-menus on desktop: names only, no descriptions */
@media (min-width: 992px) {
  html .landing-top-dd-panel {
    min-width: 13.5rem !important;
    max-width: 16rem !important;
    padding: 0.4rem !important;
    border-radius: 0.8rem !important;
  }
  html .landing-top-dd-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; }
  html .landing-top-dd-item-desc { display: none !important; }
  html .landing-top-dd-item-link { padding: 0.55rem 0.8rem !important; border-radius: 0.55rem !important; }
  html .landing-top-dd-item-title { font-size: 0.95rem !important; font-weight: 600 !important; }
}
@media (min-width: 992px) {
  html .landing-top-dd-badge { display: none !important; }
  html .landing-top-dd-item-title { white-space: nowrap; }
  html .landing-top-dd-panel { width: max-content !important; min-width: 13.5rem !important; }
}

/* invisible bridge so the pointer can travel from the menu word to its sub-menu without it closing */
@media (min-width: 992px) {
  html .landing-top-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
  html .landing-top-dd-panel { animation-duration: 0.12s !important; }
}

/* contact page: second form (message) under the booking calendar */
.ct-msg { padding: 0 0 4rem; }
.ct-msg-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--sv-card, #fff);
  border: 1px solid var(--sv-line, #dbe6f7);
  border-radius: 1.4rem;
  padding: 2.4rem;
  box-shadow: 0 24px 50px rgba(27, 64, 121, 0.1);
}
.ct-msg-card h2 { margin: 0 0 0.4rem; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--sv-title, #0f2748); text-align: center; }
.ct-msg-sub { margin: 0 0 1.4rem; text-align: center; color: #475569; line-height: 1.6; }
.ct-msg-frame { background: #f6f9ff; border: 1px solid #dbe6f7; border-radius: 1rem; padding: 0.5rem; overflow: hidden; }
@media (max-width: 575.98px) { .ct-msg-card { padding: 1.4rem 1rem; } .ct-msg-card h2 { font-size: 1.4rem; } }

/* home hero: plan / sub-account line */
.landing-hero-plan { font-size: 0.95rem; font-weight: 600; color: #1b4079; line-height: 1.5; max-width: 34rem; }

/* testimonials */
.tst { padding: 4rem 0 1rem; background: transparent; }
.tst-eyebrow { margin: 0 0 0.5rem; text-align: center; color: #2563eb; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.tst-title { margin: 0 0 2rem; text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; color: #0f2748; }
.tst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; max-width: 1140px; margin: 0 auto; }
.tst-grid--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.tst-card { position: relative; margin: 0; display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid #dbe6f7; border-radius: 1.2rem; padding: 1.7rem 1.6rem 1.5rem; box-shadow: 0 18px 40px rgba(27, 64, 121, 0.08); }
.tst-q { color: #2563eb; opacity: 0.9; }
.tst-card blockquote { margin: 0; color: #1e293b; font-size: 1.02rem; line-height: 1.65; font-weight: 500; flex: 1; }
.tst-card figcaption { display: flex; flex-direction: column; gap: 0.1rem; border-top: 1px solid #e6edf8; padding-top: 0.9rem; }
.tst-card figcaption strong { color: #0f2748; font-size: 0.98rem; }
.tst-card figcaption span { color: #5b6d8c; font-size: 0.86rem; }
@media (max-width: 991.98px) { .tst-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* testimonial carousel (industry pages) */
.tst-carousel { position: relative; max-width: 760px; margin: 0 auto; }
.tst-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 0.8rem 1.6rem 2.4rem; margin: 0 -1.6rem; scroll-padding: 0 1.6rem; overscroll-behavior-x: contain; }
.tst-track::-webkit-scrollbar { display: none; }
.tst-track > .tst-card { flex: 0 0 100%; scroll-snap-align: center; min-width: 0; }
.tst-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.2rem; }
.tst-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #cfdcf2; background: #fff; color: #1b4079; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; box-shadow: 0 6px 16px rgba(27, 64, 121, 0.1); }
.tst-btn:hover { background: #1b4079; color: #fff; border-color: #1b4079; }
.tst-btn:focus-visible, .tst-dot:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.tst-dots { display: flex; gap: 0.5rem; align-items: center; }
.tst-dot { width: 0.6rem; height: 0.6rem; padding: 0; border-radius: 999px; border: 0; background: #c3d3ee; cursor: pointer; transition: width 0.25s, background 0.25s; }
.tst-dot.is-on { width: 1.6rem; background: #2563eb; }
.tst-single .tst-track { overflow: visible; padding-bottom: 0.4rem; }
@media (prefers-reduced-motion: reduce) { .tst-track { scroll-behavior: auto; } }

/* Dental and Home Services pages: keep the content off the screen edge on laptops (1025-1365px) */
@media (min-width: 1025px) and (max-width: 1365.98px) {
  .elementor > .e-con.e-con-boxed > .e-con-inner,
  .elementor > .e-con.e-parent > .e-con.e-con-boxed > .e-con-inner,
  .elementor > .e-con.e-parent > .e-con-inner {
    padding-left: clamp(20px, 3vw, 40px) !important;
    padding-right: clamp(20px, 3vw, 40px) !important;
    box-sizing: border-box;
  }
}
