/* Responsive page content overrides.
   Loaded after the exported site CSS. Header/footer ownership stays in their
   existing styles; this file only controls page content at mobile/tablet sizes. */

.home-mobile-values {
  display: none;
}

/* The bear-led hero is a mobile-only homepage section. */
body[data-page="index"] > .home-mobile-hero {
  display: none;
}

body[data-page="index"] .home-reviews-trust-line {
  margin: 0;
  color: #fff;
  font-family: var(--_typography---font--heading-font);
  font-size: clamp(1.3rem, 4.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

body[data-page="index"] .home-reviews-trust-line__accent {
  color: #d6aa5f !important;
  -webkit-text-fill-color: #d6aa5f;
}

@media (max-width: 991px) {
  /* Every nested Webflow grid/card must be allowed to shrink with its parent. */
  .container,
  .section,
  .w-layout-grid,
  .grid-item-manual,
  .card,
  .card_body,
  .header,
  .rich-text,
  .w-dropdown,
  .w-dropdown-list,
  .w-form {
    min-width: 0;
  }

  img,
  svg,
  video,
  iframe {
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  .heading_hero,
  .heading_primary,
  .paragraph_large,
  .rich-text,
  .text-block,
  .tag,
  .w-richtext {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .grid_2-col,
  .grid_3-col,
  .grid_6-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid_2-col > *,
  .grid_3-col > *,
  .grid_6-col > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .grid_2-col > *,
  .grid_3-col > *,
  .grid_6-col > *,
  .card > *,
  .card_body > * {
    min-width: 0;
  }

  /* Keep media from imposing the intrinsic export width on a text column. */
  .image-ratio_auto,
  .image-ratio_1x1,
  .image-ratio_2x3,
  .image_cover,
  .w-embed,
  .w-iframe {
    width: 100%;
    max-width: 100%;
  }

  .image_cover {
    object-fit: cover;
  }

  /* Exported hero cards on service pages: text is useful immediately, media
     follows it, and decorative media may crop inside its own box. */
  .grid_2-col.tablet-1-col.gap-small {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 4vw, 1.5rem);
  }

  .w-layout-grid.grid_2-col.tablet-1-col.gap-small > .card,
  .grid_2-col.tablet-1-col.gap-small > .card {
    display: flex;
    order: -1 !important;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  /* Webflow/GSAP text splitting and reveal wrappers can remain in their
     desktop waiting state on a narrow viewport. Keep page content readable
     immediately; accordion panels retain their own display state. */
  .gsap_split_word,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .ix-link-wrapper,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .grid-item-manual,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .contact-info-list,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .contact-info-list__item,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .contact-info-list__content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .w-layout-grid.grid_2-col.tablet-1-col.gap-small > .image-ratio_auto,
  .w-layout-grid.grid_2-col.tablet-1-col.gap-small > .image-ratio_1x1,
  .w-layout-grid.grid_2-col.tablet-1-col.gap-small > .image-ratio_2x3,
  .w-layout-grid.grid_2-col.tablet-1-col.gap-small > .w-embed,
  .grid_2-col.tablet-1-col.gap-small > .image-ratio_auto,
  .grid_2-col.tablet-1-col.gap-small > .image-ratio_1x1,
  .grid_2-col.tablet-1-col.gap-small > .image-ratio_2x3,
  .grid_2-col.tablet-1-col.gap-small > .w-embed {
    width: 100%;
    max-width: 100%;
    order: 2 !important;
    grid-row: 2;
    overflow: hidden;
  }

  .w-layout-grid.grid_2-col.tablet-1-col.gap-small {
    display: flex;
    flex-direction: column;
  }

  .grid_2-col.tablet-1-col.gap-small > .card .card_body,
  .grid_2-col.tablet-1-col.gap-small > .card .header,
  .grid_2-col.tablet-1-col.gap-small > .card h1,
  .grid_2-col.tablet-1-col.gap-small > .card h2,
  .grid_2-col.tablet-1-col.gap-small > .card p {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .grid_2-col.tablet-1-col.gap-small > .card .card_body {
    padding: clamp(1.25rem, 5vw, 2rem);
  }

  .grid_2-col.tablet-1-col.gap-small > .card .heading_primary,
  .grid_2-col.tablet-1-col.gap-small > .card .heading_hero {
    font-size: clamp(2rem, 8.6vw, 3.5rem);
    line-height: 1.04;
  }

  /* Price rows remain a readable service/name and value pair. */
  .list_item,
  .accordion_toggle,
  .accordion_content,
  .accordion_content > *,
  .price,
  [class*="price"],
  [class*="cost"] {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .accordion_toggle {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .accordion_content {
    width: 100%;
    overflow: visible;
  }

  .ix-link-wrapper,
  .accordion,
  .accordion_toggle,
  .heading_small,
  .heading_secondary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .flex_horizontal {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }

  /* Legal pages and long service headings use the same compact readable scale. */
  .container.is-small > .header .heading_primary,
  .section > .container.is-small .heading_primary,
  .header .heading_primary,
  .header .heading_hero {
    max-width: 100%;
    font-size: clamp(2rem, 8.6vw, 3.5rem);
    line-height: 1.04;
  }

  /* A fixed export height leaves a blank mobile first screen before the hero. */
  .grid_2-col.tablet-1-col.gap-small,
  .grid_2-col.tablet-1-col.gap-xxlarge,
  .grid_2-col.tablet-1-col {
    height: auto;
    min-height: 0;
  }

  /* Do not let reveal animation or an export transform create a clipped page. */
  .section,
  .container,
  .grid-item-manual,
  .card {
    overflow: visible;
  }
}

@media (max-width: 767px) {
  body[data-page="index"] .home-mobile-help-title {
    max-width: 22ch;
    margin: 0;
    color: #38291f !important;
    -webkit-text-fill-color: #38291f;
    font-family: var(--_typography---font--heading-font);
    font-size: clamp(2rem, 8.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  body[data-page="index"] .home-mobile-help-title .home-mobile-help-title__accent {
    color: #ad7d2d !important;
    -webkit-text-fill-color: #ad7d2d;
  }

  body[data-page="index"] .home-mobile-doctors-title {
    max-width: 22ch;
    margin: 0 auto;
    color: #38291f !important;
    -webkit-text-fill-color: #38291f;
    font-family: var(--_typography---font--heading-font);
    font-size: clamp(2rem, 8.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  body[data-page="index"] .home-mobile-doctors-title .home-mobile-doctors-title__accent {
    color: #ad7d2d !important;
    -webkit-text-fill-color: #ad7d2d;
  }

  body[data-page="index"] .home-reviews-slider-spacing,
  body[data-page="index"] .slider-main_component {
    display: none !important;
  }

  body[data-page="index"] .home-mobile-contact-form-section {
    display: none !important;
  }

  body[data-page="index"] .home-reviews-title {
    display: none;
  }

  body[data-page="index"] .home-reviews-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  body[data-page="index"] .home-reviews-copy {
    width: 100%;
    justify-content: center;
  }

  body[data-page="index"] .home-reviews-copy .subheading {
    margin: 0;
  }

  body[data-page="index"] .home-reviews-trust-line {
    text-align: center;
  }

  body[data-page="index"] .home-reviews-links {
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  body[data-page="index"] .testimonials_logos_wrapper.home-reviews-logos {
    box-sizing: border-box;
    width: 100%;
    flex: 0 0 auto;
    align-self: stretch;
    justify-content: center;
    gap: 1.5rem;
  }

  body[data-page="index"] .home-reviews-logos .testimonials_link_bk {
    display: flex;
    max-width: 100%;
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  body[data-page="index"] .home-reviews-logos .testimonials_logo_img {
    display: block;
    width: min(7.5rem, 34vw);
    height: auto;
  }

  body[data-page="index"] .home-reviews-logos .testimonials_logo_img_19x {
    display: block;
    width: min(9.5rem, 44vw);
    height: auto;
  }

  body[data-page="index"] .home-reviews-actions {
    box-sizing: border-box;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
  }

  body[data-page="index"] .home-reviews-actions .ix-link-wrapper {
    width: 100%;
    max-width: 32rem;
  }

  body[data-page="index"] .home-reviews-actions .button {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  body[data-page="index"] .card_services_wrapper > picture {
    display: block;
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 2.45rem;
    margin-right: 2rem;
    align-self: center;
    overflow: visible;
  }

  body[data-page="index"] .card_services_wrapper > picture > img.arrow_services {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100% !important;
    max-width: none;
    margin: 0;
    aspect-ratio: 58.85549 / 82.47735;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
  }

  /* Keep each mobile service label in the same color family as its bear,
     using darker companion tones for readable text on the light background. */
  body[data-page="index"] .home-mobile-service-item--1 .service_name_label { color: #805a20; }
  body[data-page="index"] .home-mobile-service-item--2 .service_name_label { color: #71603f; }
  body[data-page="index"] .home-mobile-service-item--3 .service_name_label { color: #775c31; }
  body[data-page="index"] .home-mobile-service-item--4 .service_name_label { color: #70572f; }
  body[data-page="index"] .home-mobile-service-item--5 .service_name_label { color: #704c0f; }

  body[data-page="index"] .home-mobile-services-cta-wrap {
    width: 100%;
    align-self: stretch;
  }

  body[data-page="index"] .home-mobile-services-cta {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  /* The mobile homepage follows the selected bear-led hero reference. */
  body[data-page="index"] > header[data-copilot="true"] {
    display: none !important;
  }

  /* Feature the chief doctor's portrait with the compact overlay treatment
     shown in the approved card reference. */
  body[data-page="index"] .home-doctor-feature-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: .62;
    min-height: 0;
    overflow: hidden;
    border-radius: 2rem;
    background: #b9a792;
    box-shadow: 0 3px 8px rgb(56 41 31 / 18%);
    color: #fff;
  }

  body[data-page="index"] .home-doctor-feature-card > .hero-overlay {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: inherit;
  }

  body[data-page="index"] .home-doctor-feature-card .hero_back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body[data-page="index"] .home-doctor-feature-card .ratio_1x1 {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  body[data-page="index"] .home-doctor-feature-card .hero_back img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body[data-page="index"] .home-doctor-feature-card .overlay_opacity-subtle,
  body[data-page="index"] .home-doctor-feature-card .hero_front > .overlay {
    display: none;
  }

  body[data-page="index"] .home-doctor-feature-card .hero_front {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    box-sizing: border-box;
    height: 30%;
    min-height: 30%;
    align-items: flex-end;
    padding: 0 1rem .7rem;
    color: #38291f;
    text-align: right;
  }

  body[data-page="index"] .home-doctor-feature-card .hero_front::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 16.7%, #eae1d2 30%, #eae1d2 100%);
    content: "";
    pointer-events: none;
  }

  body[data-page="index"] .home-doctor-feature-card .content-block-popup-c {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0;
  }

  body[data-page="index"] .home-doctor-feature-card .heading_xsmall {
    margin: 0 0 .3rem;
    font-size: clamp(.95rem, 4.2vw, 1.4rem);
    line-height: 1.1;
    text-align: center;
    text-wrap: balance;
  }

  body[data-page="index"] .home-doctor-feature-card .author_info {
    color: #38291f;
    font-size: clamp(.8rem, 3.6vw, 1.1rem);
    line-height: 1.2;
    text-align: right;
  }

  body[data-page="index"] .home-doctor-feature-card .content-block-link {
    color: inherit;
  }

  body[data-page="index"] .home-mobile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: calc(100% - 2rem);
    max-width: 32rem;
    margin: 0 auto;
    padding: var(--_sizes---section--section-padding-vertical) var(--_sizes---container--container-padding-horizontal);
    padding-bottom: 3rem;
    color: #38291f;
  }

  body[data-page="index"] .home-mobile-values-section {
    padding: 0 !important;
    --home-mobile-values-background: #eae1d2;
    background-color: var(--home-mobile-values-background);
  }

  body[data-page="index"] .home-mobile-values-section > .container {
    display: none;
  }

  body[data-page="index"] .home-mobile-values {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 3rem 2rem;
    color: #38291f;
  }

  body[data-page="index"] .home-mobile-values .home-mobile-values__title {
    max-width: 22ch;
    margin: 0;
    color: #38291f !important;
    -webkit-text-fill-color: #38291f;
    font-family: var(--_typography---font--heading-font);
    font-size: clamp(1.5rem, 7.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  body[data-page="index"] .home-mobile-values .home-mobile-values__title > .home-mobile-values__title-accent {
    color: #ad7d2d !important;
    -webkit-text-fill-color: #ad7d2d;
  }

  .home-mobile-values__intro {
    min-height: 4.65em;
    margin: 1rem 0 .75rem;
    color: #756454;
    font-family: var(--_typography---font--body-font);
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-mobile-values__image {
    display: block;
    width: min(100%, 22rem);
    aspect-ratio: 1.16 / 1;
    height: auto;
    margin: .75rem auto 1.5rem;
    object-fit: cover;
    object-position: center;
  }

  .home-mobile-values__point {
    padding: .95rem 0 1.05rem;
    border-bottom: 1px solid #d9cbb5;
  }

  .home-mobile-values__point h3 {
    margin: 0 0 .4rem;
    color: #38291f;
    font-family: var(--_typography---font--heading-font);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
  }

  .home-mobile-values__point p {
    margin: 0;
    color: #756454;
    font-family: var(--_typography---font--body-font);
    font-size: .95rem;
    line-height: 1.55;
  }

  .home-mobile-values__button {
    display: flex;
    box-sizing: border-box;
    width: min(100%, 19rem);
    min-height: 3.5rem;
    align-items: center;
    justify-content: center;
    margin: 3rem auto 0;
    padding: 0 1rem;
    border: 1px solid #cbbda8;
    border-radius: 1rem;
    background-color: var(--home-mobile-values-background, #eae1d2);
    color: #4c3829;
    font-family: var(--_typography---font--heading-font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease;
  }

  body[data-page="index"] > section.home-mobile-priority-section {
    margin-top: 3rem;
  }

  .home-mobile-values__button:hover {
    border-color: #ad7d2d;
    box-shadow: 0 2px 8px rgb(56 41 31 / 10%);
  }

  .home-mobile-values__button:focus-visible {
    outline: 3px solid #38291f;
    outline-offset: 3px;
  }

  .home-mobile-hero__title {
    margin: 0;
    font-family: var(--_typography---font--heading-font);
    font-size: clamp(2.05rem, 9.7vw, 3rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.045em;
  }

  .home-mobile-hero__title span {
    color: #ad7d2d;
  }

  .home-mobile-hero__art {
    position: relative;
    width: min(78vw, 18rem);
    margin: 0 auto;
    isolation: isolate;
  }

  .home-mobile-hero__art img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto;
    object-fit: contain;
    mix-blend-mode: normal;
    animation: mobile-bear-float 7s ease-in-out infinite;
    transform-origin: 50% 60%;
  }

  .home-mobile-hero__tagline {
    min-height: 1.3em;
    margin: .5rem 0 .75rem;
    color: #4c3829;
    font-family: var(--_typography---font--body-font);
    font-size: clamp(.8rem, 3.5vw, .95rem);
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
  }

  .home-mobile-hero__tagline-cursor {
    display: none;
    width: .075em;
    height: 1em;
    margin-left: .1em;
    vertical-align: -.12em;
    background: currentColor;
  }

  .home-mobile-hero__tagline.has-cursor .home-mobile-hero__tagline-cursor,
  .home-mobile-values__intro.has-cursor .home-mobile-hero__tagline-cursor {
    display: inline-block;
    animation: home-typewriter-blink .75s step-end infinite;
  }

  @keyframes home-typewriter-blink {
    50% { opacity: 0; }
  }

  .home-mobile-hero__copy {
    max-width: 30rem;
    margin: 0 auto;
  }

  .home-mobile-hero__copy p {
    margin: 0 0 3rem;
    color: #756454;
    font-size: clamp(.95rem, 4.3vw, 1.1rem);
    line-height: 1.45;
  }

  .home-mobile-hero__cta {
    display: flex;
    box-sizing: border-box;
    width: min(100%, 19rem);
    min-height: 3.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 1rem;
    border: 1px solid #aa9b82;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #d5c8b4 0%, #beaf97 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgb(56 41 31 / 24%), inset 0 1px 0 rgb(255 255 255 / 18%);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .home-mobile-hero__cta:hover {
    filter: brightness(1.04);
    box-shadow: 0 3px 7px rgb(56 41 31 / 26%), inset 0 1px 0 rgb(255 255 255 / 20%);
  }

  .home-mobile-hero__cta:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgb(56 41 31 / 24%), inset 0 1px 2px rgb(56 41 31 / 10%);
  }

  .home-mobile-hero__cta:focus-visible {
    outline: 3px solid #38291f;
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    .home-mobile-hero__cta,
    .home-mobile-values__button {
      transition: none;
    }
  }

  @keyframes mobile-bear-float {
    0%, 100% { transform: translateY(0) rotate(-.4deg); }
    50% { transform: translateY(-.4rem) rotate(.4deg); }
  }

  body > section:first-of-type {
    padding-top: clamp(1rem, 4vw, 1.5rem) !important;
  }

  body[data-page="index"] > section.home-mobile-hero {
    padding: 1.1rem var(--_sizes---container--container-padding-horizontal) 3rem !important;
  }

  .container {
    width: calc(100% - 2rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .heading_hero,
  .heading_primary,
  h1,
  h2 {
    font-size: clamp(2rem, 8.6vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
  }

  .paragraph_large,
  .rich-text,
  .w-richtext,
  .text-block {
    font-size: clamp(1rem, 4.35vw, 1.125rem);
    line-height: 1.45;
  }

  /* Page content grids need the same side rhythm as the pilot. */
  .grid_3-col,
  .grid_6-col,
  .grid_2-col {
    gap: clamp(1rem, 4vw, 1.5rem);
  }

  /* The exported service, action, doctor and FAQ lists keep desktop grid
     tracks unless their containing grid is explicitly collapsed. */
  .section:not(.is-footer-1st):not(.is-footer-2nd) .w-layout-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: minmax(0, 1fr);
  }

  .section:not(.is-footer-1st):not(.is-footer-2nd) .w-layout-grid > * {
    grid-column: auto !important;
    width: 100%;
    max-width: 100%;
  }

  .section:not(.is-footer-1st):not(.is-footer-2nd) .card {
    grid-column: 1 / -1 !important;
  }

  .section:not(.is-footer-1st):not(.is-footer-2nd) .grid_1-col {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .w-layout-grid.grid_1-col {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .reviews-carousel-shell,
  .reviews-carousel-shell .swiper,
  .reviews-carousel-shell .swiper-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  .slider-main_component {
    max-width: 100%;
    overflow: hidden !important;
  }

  .icon.is-large.is-background {
    margin-right: clamp(0.5rem, 4vw, 1rem);
    max-width: calc(100% - 0.5rem);
  }

  .grid-item-manual,
  .card,
  .card_body {
    width: 100%;
    max-width: 100%;
  }

  /* FAQs and long legal copy are allowed to grow with their text. */
  .grid-item-manual .header,
  .hero_front,
  .hero-overlay,
  .rich-text,
  .w-richtext,
  .accordion_content {
    height: auto;
    max-height: none;
  }

  .grid-item-manual .heading_primary,
  .hero-overlay .heading_primary {
    width: 100%;
    max-width: 100%;
  }

  .accordion_toggle,
  .accordion_content {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
  }

  /* Reviews and action cards must not inherit desktop equal-height clipping. */
  .swiper_slide_card,
  .swiper-slide,
  .height_100percent,
  .card.height_100percent {
    height: auto;
    min-height: 0;
  }

  .swiper-wrapper {
    height: auto;
  }

  .w-form input,
  .w-form textarea,
  .w-form select,
  .w-form button,
  .w-button,
  .button {
    max-width: 100%;
  }

  .swiper,
  .swiper-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  [class*="swiper"] {
    max-width: 100%;
  }

  /* Webflow's reveal runtime leaves off-screen image transforms in the DOM.
     Mobile content should be readable immediately and should not reserve the
     transformed desktop position. */
  .events_auto {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Make the meaningful first screen available while the exported reveal
     script is still waiting for its desktop trigger. */
  .section:not(.is-footer-1st):not(.is-footer-2nd) .card,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .image-ratio_auto,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .image-ratio_1x1,
  .section:not(.is-footer-1st):not(.is-footer-2nd) .image-ratio_2x3 {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .swiper_slide_card,
  .swiper-slide {
    max-width: 100%;
  }

  /* The six supplied homepage headings share one responsive type scale. */
  body[data-page="index"] :is(
    .home-mobile-hero__title,
    .home-mobile-values__title,
    .home-mobile-help-title,
    .home-mobile-doctors-title,
    .home-reviews-trust-line,
    .home-faq-preview-title
  ) {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  body[data-page="index"] .home-faq-preview-title {
    color: #38291f !important;
    -webkit-text-fill-color: #38291f;
    font-weight: 700;
  }

  body[data-page="index"] .home-faq-preview-title__accent {
    color: #ad7d2d !important;
    -webkit-text-fill-color: #ad7d2d;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .container {
    width: calc(100% - 3rem);
  }

  body[data-page="index"] .home-mobile-hero {
    width: calc(100% - 3rem);
    max-width: none;
  }

  body[data-page="index"] .home-mobile-values {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    width: calc(100% - 4rem);
  }

  .grid_2-col.tablet-1-col.gap-small,
  .grid_2-col.tablet-1-col.gap-xxlarge,
  .grid_2-col.tablet-1-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .heading_hero,
  .heading_primary,
  h1,
  h2 {
    font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  }

  body[data-page="services-preventive-appointment"] ul.grid_4-col.gap-xsmall,
  body[data-page="services-preventive-appointment"] ul.grid_4-col.gap-xsmall.w-list-unstyled {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0;
  }

  body[data-page="services-preventive-appointment"] ul.grid_4-col.gap-xsmall > li,
  body[data-page="services-preventive-appointment"] ul.grid_4-col.gap-xsmall .card,
  body[data-page="services-preventive-appointment"] ul.grid_4-col.gap-xsmall .card_body {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body[data-page="consultations-with-doctors"] ul.grid_4-col.gap-xsmall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0;
  }

  body[data-page="consultations-with-doctors"] ul.grid_4-col.gap-xsmall > li,
  body[data-page="consultations-with-doctors"] ul.grid_4-col.gap-xsmall .card,
  body[data-page="consultations-with-doctors"] ul.grid_4-col.gap-xsmall .card_body {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body[data-page="index"] section.faq-preview-section > .container > .grid_2-col.gap-medium,
  body[data-page="index"] section.faq-preview-section > .container > .grid_2-col.gap-medium > *,
  body[data-page="index"] section.faq-preview-section .grid-item-manual,
  body[data-page="index"] section.faq-preview-section .flex_vertical,
  body[data-page="index"] section.faq-preview-section .accordion.is-transparent,
  body[data-page="index"] section.faq-preview-section .accordion_toggle-transparent {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body[data-page="index"] section.faq-preview-section > .container > .grid_2-col.gap-medium {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-page="index"] section.faq-preview-section .accordion_toggle-transparent,
  body[data-page="index"] section.faq-preview-section .accordion_toggle-transparent > * {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (min-width: 992px) {
  /* Desktop is intentionally left to the source styles. */
  .grid_2-col.tablet-1-col.gap-small > .card {
    order: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 767px) {
  body .w-layout-grid.grid_1-col {
    grid-template-columns: minmax(0, 1fr) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body .w-layout-grid.grid_1-col.z-index_2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: stretch !important;
  }

  body .ix_target-img-explode-3,
  body .ix_target-img-explode-5,
  body .ix_target-img-explode-1,
  body .ix_target-img-explode-2 {
    transform: none !important;
    left: 0 !important;
    right: auto !important;
  }
}
