/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */

.service-style-1 h2 {
  margin: 10px 0;
}
#in-services-style-2.squares .ry-each:before,
#in-services-style-2.squares .ry-each img {
  border-radius: 0;
}
.testimonials-swiper p,
.testimonials-swiper-2 p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
  #contents .text-base.leading-6.text-gray-600 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.75rem; /* 28px */
  }
}

/* HP Edits - Started <October 02, 2026> */

/**/
/*fonts*/
/*btns*/

/*Modal*/
/* Header */
/**/
.snap-mobile-menu {
  background: white;
}

mm-burger {
  color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.primary .caret {
  border-color: #374151; /*text-gray-700*/
}

.ry-menu .ry-nav li.primary:hover .caret {
  border-color: var(--color-secondary-background);
}
.with-gradient:before {
  background-image: linear-gradient(to bottom, white, transparent, #000000ba);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
  background: var(--color-primary-background);
  color: var(--color-primary-text);
}

.with-gradient:before {
  background: none;
}

.cta-icon {
  border-color: var(--color-primary-background);
  color: var(--color-primary-background);
}
/* Hero */
/**/
#hp-slider,
#hp-slider .swiper-wrapper,
.homepage-swiper .swiper-slide img {
  height: 100% !important;
}
#hp-slider .swiper-pagination-bullet {
  background-color: white;
}
.slider-info {
  min-height: fit-content;
}

/* CTA */
/**/
/* Welcome */
/**/
.module-welcome.style-5 .ry-each.image-wrapper {
  border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
  object-fit: contain;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
  padding-top: 10%;
}

.module-welcome.style-5 .ry-text {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
/* Services */
/**/
#section-hp-services .background-section-1,
#section-hp-services .background-section-1 img {
  position: absolute;
  top: 1%;
  left: 1%;
  height: 98%;
  width: 98%;
  object-fit: contain;
  object-position: center center;
}

#section-hp-services .background-section-2,
#section-hp-services .background-section-2 img {
  position: absolute;
  top: 1%;
  left: 1%;
  height: 98%;
  width: 98%;
  object-fit: contain;
  object-position: center center;
}

#section-hp-services .custom-headline * {
  color: var(--color-primary-text);
}

.ry-services.style2 .ry-content .content {
  max-width: 1280px;
}

.ry-services.style2 .each-block .title div {
  text-transform: uppercase;
}
/* Meet the Team */
/**/
.custom-hp-team .content-wrapper {
  margin-top: 40px;
}

.custom-hp-team .details-wrapper {
  padding: 40px 60px;
  border-radius: 30px;
}

.custom-hp-team .details-wrapper h3 {
  font-size: 39.56px;
  color: var(--color-primary-text);
}

.custom-hp-team .details-wrapper h4 {
  font-size: 24.45px;
  color: var(--color-primary-text);
}

.custom-hp-team .flex:nth-child(1) .details-wrapper {
  background: linear-gradient(45deg, #7ac3e0, #268eb8);
  padding-left: calc(60px + 70px);
  border-top-right-radius: 120px;
}

.custom-hp-team .flex:nth-child(1) .photo {
  margin-right: -80px;
  z-index: 1;
}

.custom-hp-team .flex:nth-child(2) .details-wrapper {
  background: var(--color-secondary-background);
  padding-right: calc(60px + 70px);
  border-top-left-radius: 120px;
}

.custom-hp-team .flex:nth-child(2) .photo {
  margin-left: -80px;
  z-index: 1;
}

.custom-hp-team .flex:first-child {
  justify-content: flex-start;
}

.custom-hp-team .flex:last-child {
  justify-content: flex-end;
  margin-top: -70px;
}
/* Technologies */

.custom-hp-technologies .background-section,
.custom-hp-technologies .background-section img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.custom-hp-technologies .w-full:nth-child(2) {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.custom-hp-technologies .max-w-7xl {
  position: relative;
  padding-top: 12.6vh;
}
/* Insurance */
/**/
/* Brand */
/**/
/* Request Appointment */
/**/
/* Testimonials */
/**/
.module-testimonials.style-5 svg {
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}

.module-testimonials.style-5 .flex.items-center {
  justify-content: center;
}

.module-testimonials.style-5 p {
  text-align: center;
}

:is(.module-testimonials.style-5) :is(.swiper-button-prev, .swiper-button-next) {
  background-color: transparent;
  border: 1px solid var(--color-primary-text);
}

#hp-testimonials-5 .background-section-1,
#hp-testimonials-5 .background-section-1 img {
  position: absolute;
  top: 1%;
  left: 1%;
  height: 98%;
  width: 98%;
  object-fit: contain;
  object-position: center center;
}

#hp-testimonials-5 .background-section-2,
#hp-testimonials-5 .background-section-2 img {
  position: absolute;
  top: 1%;
  left: 1%;
  height: 98%;
  width: 98%;
  object-fit: contain;
  object-position: center center;
}

.module-testimonials.style-5 .photo::before {
  content: none;
}
/* Footer */
/**/
#ry-footer::before {
  background-position: right;
}

@media (min-width: 1600px) {
  #ry-footer .container {
    max-width: 1280px;
  }
}

#ry-footer h6 {
  color: var(--color-secondary-background);
  text-transform: uppercase;
  font-size: 34px;
}

#ry-footer h6 .span-1 {
  color: var(--color-primary-background);
}

#ry-footer li span {
  color: rgb(107 114 128 / var(--tw-text-opacity, 1)) !important;
}
/*Media Queries*/
/**/
@media (min-width: 768px) {
  .slider-info-center-bottom {
    bottom: 5%;
  }
}

@media (min-width: 1081px) {
  .mobile-services {
    display: block;
  }
  .ry-services.style2 .ry-flex {
    display: none;
  }

  .ry-services.style2 .each-block .photo {
    position: relative;
    padding-bottom: 100%;
    padding-top: 50%;
    border-radius: 50px;
    overflow: hidden;
  }

  .ry-services.style2 .each-block .photo:before {
    content: none;
  }

  .ry-services.style2 .each-block .photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  .ry-services.style2 .each-block .title {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 3;
    transition: 0.4s;
  }

  .ry-services.style2 .each-block .title div {
    font-size: 20px;
    color: #fff;
  }

  .ry-services.style2 .each-block .link,
  .ry-services.style2 .each-block .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 0;
  }

  .ry-services.style2 .each-block .button-svg {
    display: none;
  }

  .mobile-services .slick-track .each-block {
    margin-left: 25px;
  }

  .mobile-services .slick-list {
    margin-left: -25px;
  }

  .mobile-services .slick-dots {
    margin-top: 30px;
    padding-left: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .mobile-services .slick-dots li {
    margin: 0 3px;
    height: auto;
    line-height: initial;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-services .slick-dots li:not(.slick-active) {
    opacity: 0.5;
  }

  .mobile-services .slick-dots button {
    width: 12px;
    height: 12px;
    text-indent: -9999999px;
    background: #8a8b8e;
    border: unset;
    box-shadow: unset;
    border-radius: 50%;
  }
}

.slider-info {
  min-height: fit-content;
  padding-top: 140px !important;
  margin-top: -100px;
  background-color: var(--color-primary-background);
}
@media (max-width: 1780px) {
  #ry-footer::before {
    background-position: left;
  }
}
@media (max-width: 1600px) {
  #section-hp-services .background-section-1,
  #section-hp-services .background-section-1 img,
  #section-hp-services .background-section-2,
  #section-hp-services .background-section-2 img {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
  }
}
@media (max-width: 1439px) {
  #hp-testimonials-5 .background-section-1,
  #hp-testimonials-5 .background-section-1 img,
  #hp-testimonials-5 .background-section-2,
  #hp-testimonials-5 .background-section-2 img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
  }
}

@media (max-width: 1080px) {
  .ry-services.style2 .each-block .photo,
  .ry-services.style2 .each-block .photo img {
    border-radius: 20px;
  }

  .ry-services.style2 .each-block .photo {
    padding-top: 50%;
  }

  .ry-services.style2 .each-block .photo:before {
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .custom-hp-team .flex:last-child {
    margin-top: 40px;
  }

  .custom-hp-team .flex:nth-child(1) .details-wrapper {
    padding-left: 60px;
    border-radius: 30px;
    padding-top: 70px;
  }

  .custom-hp-team .flex:nth-child(2) .details-wrapper {
    padding-right: 60px;
    border-radius: 30px;
    padding-bottom: 70px;
  }

  .custom-hp-team .flex:first-child .photo img {
    margin: 0 auto;
  }

  .custom-hp-team .flex:nth-child(1) .photo {
    margin: 0;
    margin-bottom: -50px;
  }

  .custom-hp-team .flex:nth-child(2) .photo {
    margin: 0;
    margin-top: -50px;
  }
  .custom-hp-team .details-wrapper h3,
  .custom-hp-team .details-wrapper h4 {
    text-align: center;
  }
}

@media (max-width: 425px) {
  .custom-hp-team .flex:nth-child(2) .details-wrapper {
    padding: 20px 30px 70px;
  }

  .custom-hp-team .flex:nth-child(1) .details-wrapper {
    padding: 70px 30px 20px;
  }
  .custom-hp-team .details-wrapper h3 {
    font-size: 29px !important;
  }

  .custom-hp-team .details-wrapper h4 {
    font-size: 20px;
  }
}
/* End - HP Edits*/
/* HP REVAMP EDITS */

/* ==========================================================================
   1. GLOBAL FONT
   ========================================================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
input,
textarea,
button,
.custom-headline,
.custom-headline h1,
.custom-headline h2,
.custom-headline h3 {
  font-family: "Montserrat", sans-serif !important;
}

body .custom-headline h1 {
  line-height: 1.2 !important;
}

/* ==========================================================================
   2. REUSABLE SECTION BADGES (.section-badge)
   ========================================================================== */
.section-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 32px !important;
  border-radius: 106px !important;
  border: 1px solid #258db8 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: #258db8 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease-in-out !important;
}

.section-badge.badge-solid,
.section-badge.badge-hero {
  background-color: #e5eff3 !important;
}

.section-badge.badge-tint,
.section-badge.badge-subtle {
  background-color: rgba(37, 141, 184, 0.1) !important;
}

@media (max-width: 767px) {
  .section-badge {
    height: 40px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
    letter-spacing: 0.15em !important;
  }
}

/* ==========================================================================
   3. UNIFIED BUTTON SYSTEM (Matches Header & Hero 48px Pill + Hover Outline)
   ========================================================================== */
.ry-btn,
a.ry-btn,
button.ry-btn,
#navigation-style-7 a[href*="tel"],
#navigation-style-7 a[href*="appointment"],
.slider-info .btn-container a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 10px 28px !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out !important;
}

/* Primary Blue Button (Default: Solid Blue -> Hover: Transparent + Blue Border/Text) */
.ry-btn.ry-btn-primary,
.ry-btn-primary,
#section-hp-services .button-wrapper .ry-btn,
#navigation-style-7 a[href*="tel"],
.slider-info .btn-container a:first-child {
  background-color: #258db8 !important;
  border: 1px solid #258db8 !important;
  color: #ffffff !important;
}

.ry-btn.ry-btn-primary:hover,
.ry-btn-primary:hover,
#section-hp-services .button-wrapper .ry-btn:hover,
#navigation-style-7 a[href*="tel"]:hover {
  background-color: transparent !important;
  border-color: #258db8 !important;
  color: #258db8 !important;
}

/* Header Gray Button (Default: Solid Gray -> Hover: Transparent + Gray Border/Text) */
#navigation-style-7 a[href*="appointment"] {
  background-color: #8a8b8e !important;
  border: 1px solid #8a8b8e !important;
  color: #ffffff !important;
}

#navigation-style-7 a[href*="appointment"]:hover {
  background-color: transparent !important;
  border-color: #666666 !important;
  color: #666666 !important;
}

/* Secondary / White Button (Hero 2nd Button: Solid White) */
.ry-btn.ry-btn-secondary,
.ry-btn-secondary,
.slider-info .btn-container a:last-child {
  background-color: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #1e1e1e !important;
}

/* Hero Buttons Hover (Over Dark Photo -> Transparent + Crisp White Border & Text) */
.slider-info .btn-container a:first-child:hover,
.slider-info .btn-container a:last-child:hover,
.homepage-swiper .slider-info .ry-btn-primary:hover,
.homepage-swiper .slider-info .ry-btn-secondary:hover {
  background-color: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Hero Buttons Mobile Responsive (Exact Original) */
@media (max-width: 767px) {
  .homepage-swiper .slider-info .btn-container,
  .homepage-swiper .slider-info .hero-cta-group,
  .slider-info .btn-container,
  .slider-info .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 16px auto 0 !important;
    gap: 12px !important;
  }

  .homepage-swiper .slider-info .ry-btn,
  .slider-info .btn-container a,
  .slider-info .hero-cta-group a,
  .slider-info .ry-btn {
    width: 100% !important;
    max-width: 320px !important;
    min-height: 48px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .homepage-swiper .slider-info .ry-btn-primary,
  .slider-info .btn-container a:first-child,
  .slider-info .hero-cta-group a:first-child,
  .slider-info a.ry-btn:first-child {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  }

  .homepage-swiper .slider-info .ry-btn-secondary,
  .slider-info .btn-container a:last-child,
  .slider-info .hero-cta-group a:last-child,
  .slider-info a.ry-btn:last-child {
    background-color: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: #1e1e1e !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  }
}

/* ==========================================================================
   4. UNIFIED SECTION CONTAINER WIDTH (1680px Across All Homepage Sections)
   ========================================================================== */
#welcome-wrap .ry-container,
#hp-team .ry-container,
#section-hp-services > .content,
#section-hp-services .ry-container,
#section-hp-services .ry-content,
#section-hp-services .ry-content > .content,
#hp-testimonials .ry-container,
#hp-testimonials .testimonials-swiper,
.testimonials-swiper {
  max-width: 1680px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Shared H2 Section Heading Typography */
#welcome-wrap .custom-headline h2,
#welcome-wrap .custom-headline h2 .span-1,
#hp-team .team-intro h2,
#hp-team .team-intro h2 .span-1,
#section-hp-services .custom-headline h2,
#section-hp-services .custom-headline h2 .span-1,
#hp-testimonials h2,
#hp-testimonials h2 .span-1 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  line-height: 1.22 !important;
  margin: 0 !important;
}

#welcome-wrap .custom-headline h2,
#hp-team .team-intro h2,
#section-hp-services .custom-headline h2,
#hp-testimonials h2 {
  color: #666666 !important;
}

#welcome-wrap .custom-headline h2 .span-1,
#hp-team .team-intro h2 .span-1,
#section-hp-services .custom-headline h2 .span-1,
#hp-testimonials h2 .span-1 {
  color: #258db8 !important;
  padding-bottom: 0 !important;
  letter-spacing: 0 !important;
}

/* ==========================================================================
   5. WELCOME SECTION (#welcome-wrap)
   ========================================================================== */
#welcome-wrap .ry-container {
  padding: 73px 24px !important;
  gap: 53px;
}

#welcome-wrap .custom-headline {
  gap: 20px;
}

#welcome-wrap .grid {
  column-gap: 16px;
}

#welcome-wrap .grid > div {
  width: 100%;
  padding: 0;
}

#welcome-wrap .grid h3 {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1e1e1e !important;
  line-height: 1.2;
  min-height: 58px;
  margin: 0 0 16px;
}

#welcome-wrap .grid p {
  font-size: 20px;
  font-weight: 400;
  color: #666666 !important;
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 1024px) {
  #welcome-wrap .ry-container {
    padding: 56px 20px !important;
    gap: 36px;
  }

  #welcome-wrap .grid h3 {
    font-size: 20px;
    min-height: 0;
    margin-bottom: 10px;
  }

  #welcome-wrap .grid p {
    font-size: 17px;
  }
}

/* ==========================================================================
   6. OUR DOCTORS SECTION (#hp-team)
   ========================================================================== */
#hp-team .ry-container {
  padding: 92px 24px !important;
  gap: 56px;
}

#hp-team .team-intro {
  gap: 28px;
}

#hp-team .team-intro h2,
#hp-team .team-intro h2 .span-1 {
  text-align: left !important;
}

#hp-team .team-intro h2 .span-1 {
  display: block;
}

#hp-team .team-intro p {
  font-size: 20px;
  font-weight: 400;
  color: #666666 !important;
  line-height: 1.25;
  max-width: 577px;
  margin: 0;
}

#hp-team .team-intro .ry-btn {
  min-width: 258px;
}

#hp-team .doctor-grid {
  gap: 31px;
}

#hp-team .doctor-card {
  background-color: #f2ece4;
  border: 1px solid #258db8;
  border-radius: 34px;
  height: 608px;
}

#hp-team .doctor-card img {
  width: 100%;
  height: 258px;
  object-fit: cover;
  display: block;
}

#hp-team .doctor-card > div {
  padding: 36px 40px;
}

#hp-team .doctor-card h3 {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  color: #258db8 !important;
  line-height: 1.2;
  margin: 0 0 10px;
}

#hp-team .doctor-card h4 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #258db8 !important;
  opacity: 0.55;
  line-height: 1.2;
  margin: 0 0 24px;
}

#hp-team .doctor-card p {
  font-size: 20px;
  font-weight: 400;
  color: #666666 !important;
  line-height: 1.25;
  margin: 0;
  max-height: 165px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  #hp-team .ry-container {
    padding: 56px 20px !important;
    gap: 40px;
  }

  #hp-team .team-intro {
    align-items: center !important;
    text-align: center;
  }

  #hp-team .team-intro h2,
  #hp-team .team-intro h2 .span-1 {
    text-align: center !important;
  }

  #hp-team .doctor-card {
    height: auto;
  }

  #hp-team .doctor-card > div {
    padding: 28px 24px;
  }

  #hp-team .doctor-card h3 {
    font-size: 26px;
  }

  #hp-team .doctor-card h4 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  #hp-team .doctor-card p {
    font-size: 17px;
    max-height: none;
  }
}

/* ==========================================================================
   7. OUR SERVICES SECTION (#section-hp-services)
   ========================================================================== */
#section-hp-services {
  background: linear-gradient(
    to bottom,
    #f8f5ef 0%,
    #f8f5ef 64%,
    #f4f9fb 64%,
    #f4f9fb 100%
  ) !important;
  padding: 65px 24px !important;
}

#section-hp-services > .content {
  padding: 0 !important;
  float: none;
}

#section-hp-services .max-w-4xl {
  max-width: 881px !important;
  margin: 0 auto !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#section-hp-services .max-w-4xl > * {
  margin-top: 0 !important;
}

#section-hp-services .custom-headline h2,
#section-hp-services .custom-headline h2 .span-1 {
  text-align: center !important;
}

#section-hp-services .custom-headline h2 .span-1 {
  display: inline !important;
}

#section-hp-services .max-w-4xl p {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #666666 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  max-width: 867px;
  margin: 0 !important;
}

#section-hp-services .ry-container,
#section-hp-services .ry-content,
#section-hp-services .ry-content > .content {
  padding: 0 !important;
}

@media (min-width: 1081px) {
  #section-hp-services .mobile-services {
    margin-top: 40px;
  }

  #section-hp-services .mobile-services .slick-list {
    margin-left: 0 !important;
    overflow: visible !important;
  }

  #section-hp-services .mobile-services .slick-track {
    width: 100% !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 36px !important;
  }

  #section-hp-services .mobile-services .slick-track::before,
  #section-hp-services .mobile-services .slick-track::after {
    display: none !important;
  }

  #section-hp-services .mobile-services .slick-track .each-block {
    width: 100% !important;
    margin: 0 !important;
  }

  #section-hp-services .mobile-services .each-block .photo {
    padding-top: 0 !important;
    padding-bottom: 118.85% !important;
    border-radius: 34px !important;
  }

  #section-hp-services .mobile-services .slick-dots {
    display: none !important;
  }
}

#section-hp-services .button-wrapper {
  margin-top: 56px;
}

#section-hp-services .button-wrapper .ry-btn {
  min-width: 236px;
}

@media (max-width: 1080px) {
  #section-hp-services {
    padding: 56px 20px !important;
  }

  #section-hp-services .max-w-4xl p {
    font-size: 17px !important;
  }

  #section-hp-services .button-wrapper {
    margin-top: 36px;
  }
}

/* ==========================================================================
   8. TESTIMONIALS SECTION (#hp-testimonials)
   ========================================================================== */
#hp-testimonials,
.ry-section:has(.testimonials-swiper) {
  background-color: #e9e1d5 !important;
  padding: 0 !important;
}

#hp-testimonials .ry-container {
  padding: 82px 24px !important;
}

#hp-testimonials .testimonials-header,
.section-p:has(.testimonials-swiper) .max-w-7xl,
.section-p:has(.testimonials-swiper) .max-w-4xl {
  max-width: 1150px !important;
  margin: 0 auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#hp-testimonials .testimonials-header > *,
.section-p:has(.testimonials-swiper) .max-w-7xl > *,
.section-p:has(.testimonials-swiper) .max-w-4xl > * {
  margin-top: 0 !important;
}

#hp-testimonials h2,
#hp-testimonials h2 .span-1 {
  text-align: center !important;
}

#hp-testimonials h2 .span-1 {
  display: inline !important;
}

#hp-testimonials .testimonials-header p,
.section-p:has(.testimonials-swiper) .max-w-4xl p {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #666666 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  max-width: 867px;
  margin: 0 !important;
}

#hp-testimonials .testimonials-swiper,
.testimonials-swiper {
  margin: 24px auto 0 !important;
}

.testimonials-swiper > div:first-child,
.testimonials-swiper .testimonials-arrows {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 36px !important;
}

.testimonials-swiper .t-swiper-button-prev,
.testimonials-swiper .t-swiper-button-next {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background-color: #258db8 !important;
  color: #ffffff !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.testimonials-swiper .t-swiper-button-prev.swiper-button-disabled,
.testimonials-swiper .t-swiper-button-next.swiper-button-disabled {
  opacity: 0.45 !important;
}

.testimonials-swiper .swiper-slide {
  box-sizing: border-box !important;
  background-color: #f2ece4 !important;
  border: none !important;
  border-radius: 34px !important;
  padding: 39px 54px !important;
  min-height: 301px !important;
  height: auto !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: left !important;
}

.testimonials-swiper .swiper-slide > div {
  padding: 0 !important;
}

.testimonials-swiper .swiper-slide::before {
  content: "";
  display: block;
  width: 136px;
  height: 25px;
  margin-bottom: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 25' fill='%23facc15'%3E%3Cpath d='M12.5 1.5l3.1 6.3 6.9 1-5 4.9 1.2 6.9-6.2-3.3-6.2 3.3 1.2-6.9-5-4.9 6.9-1L12.5 1.5zm28 0l3.1 6.3 6.9 1-5 4.9 1.2 6.9-6.2-3.3-6.2 3.3 1.2-6.9-5-4.9 6.9-1L40.5 1.5zm28 0l3.1 6.3 6.9 1-5 4.9 1.2 6.9-6.2-3.3-6.2 3.3 1.2-6.9-5-4.9 6.9-1L68.5 1.5zm28 0l3.1 6.3 6.9 1-5 4.9 1.2 6.9-6.2-3.3-6.2 3.3 1.2-6.9-5-4.9 6.9-1L96.5 1.5zm28 0l3.1 6.3 6.9 1-5 4.9 1.2 6.9-6.2-3.3-6.2 3.3 1.2-6.9-5-4.9 6.9-1L124.5 1.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.testimonials-swiper .swiper-slide p {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #666666 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  margin: 0 !important;
}

.testimonials-swiper .swiper-slide h4,
.testimonials-swiper .swiper-slide > div:last-child p:first-child {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #666666 !important;
  line-height: 1.2 !important;
  margin: 24px 0 0 !important;
}

@media (max-width: 1024px) {
  #hp-testimonials .ry-container {
    padding: 56px 20px !important;
  }

  #hp-testimonials .testimonials-header p,
  .section-p:has(.testimonials-swiper) .max-w-4xl p {
    font-size: 17px !important;
  }

  .testimonials-swiper .swiper-slide {
    padding: 28px 28px !important;
    min-height: 240px !important;
  }

  .testimonials-swiper .swiper-slide p,
  .testimonials-swiper .swiper-slide h4 {
    font-size: 17px !important;
  }
}
#ry-footer::before {
  background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-3973cd71-aeed-4474-be6c-5abef932737b/YourDentist_footer_bg_optimized.webp") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

#ry-footer {
  overflow-x: clip !important;
  max-width: 100% !important;
  position: relative !important;
}

#ry-footer .footer-container {
  max-width: 1620px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 96px clamp(24px, 4.5vw, 60px) 48px !important;
  box-sizing: border-box !important;
  float: none !important;
}

@media (min-width: 1200px) {
  #ry-footer .footer-main-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(40px, 4.5vw, 67px) !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #ry-footer .footer-form-card {
    flex: 0 0 clamp(460px, 38vw, 648px) !important;
    max-width: 648px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #ry-footer .footer-right {
    flex: 1 1 0% !important;
    max-width: 785px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 56px !important;
  }

  #ry-footer .footer-logos {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(36px, 4.5vw, 82px) !important;
    width: 100% !important;
    max-width: 684px !important;
    margin: 0 auto !important;
  }

  #ry-footer .footer-info-grid {
    display: grid !important;
    grid-template-columns: minmax(250px, 310px) minmax(290px, 387px) !important;
    justify-content: space-between !important;
    align-items: start !important;
    gap: clamp(32px, 4vw, 88px) !important;
    width: 100% !important;
    max-width: 785px !important;
    margin: 0 !important;
  }
}

@media (max-width: 1199px) {
  #ry-footer .footer-container {
    padding: 64px 24px 40px !important;
  }

  #ry-footer .footer-main-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 48px !important;
    margin: 0 !important;
  }

  #ry-footer .footer-form-card {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  #ry-footer .footer-right {
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px !important;
  }

  #ry-footer .footer-logos {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 36px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  #ry-footer .footer-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    justify-content: space-between !important;
    align-items: start !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 640px) {
  #ry-footer .footer-logos {
    gap: 20px !important;
  }

  #ry-footer .footer-logo-main img {
    max-width: 190px !important;
  }

  #ry-footer .footer-logo-seal img {
    max-width: 115px !important;
  }

  #ry-footer .footer-info-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }
}

#ry-footer .footer-form-card {
  background: linear-gradient(90deg, #2876a0 0%, #7ac3df 100%) !important;
  border-radius: 34px !important;
  padding: 42px 21px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: none !important;
  float: none !important;
}

#ry-footer .footer-form-card .section-badge {
  background-color: #ffffff !important;
  border-color: #258db8 !important;
  color: #258db8 !important;
  max-width: 488px !important;
  width: 100% !important;
  margin-bottom: 18px !important;
}

#ry-footer .footer-form-card .custom-headline {
  font-size: clamp(28px, 2.2vw, 40px) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 0 0 24px !important;
  text-align: center !important;
}

#ry-footer .footer-form-box {
  background-color: #ffffff !important;
  border-radius: 29px !important;
  padding: 26px 21px !important;
  width: 100% !important;
  float: none !important;
}

#ry-footer .footer-form-box form {
  margin: 0 !important;
}

#ry-footer .footer-form-box form > .container-fluid {
  margin-top: 0 !important;
}

#ry-footer .footer-form-box .fieldset {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}

#ry-footer .footer-form-box .fieldset > .col-xs-12 {
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}

@media (max-width: 540px) {
  #ry-footer .footer-form-box .fieldset > .grid {
    grid-template-columns: 1fr !important;
  }
}

#ry-footer .footer-form-box .form-group {
  margin: 0 !important;
  width: 100%;
}

#ry-footer .footer-form-box .flex.justify-center .form-group {
  width: auto !important;
}

#ry-footer .footer-form-box input[type="text"],
#ry-footer .footer-form-box input[type="email"],
#ry-footer .footer-form-box input[type="tel"],
#ry-footer .footer-form-box textarea {
  width: 100% !important;
  background-color: rgba(102, 102, 102, 0.12) !important;
  border: none !important;
  color: #1e1e1e !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  padding: 12px 24px !important;
  outline: none !important;
  box-shadow: none !important;
}

#ry-footer .footer-form-box input[type="text"],
#ry-footer .footer-form-box input[type="email"],
#ry-footer .footer-form-box input[type="tel"] {
  height: 46px !important;
  border-radius: 104px !important;
}

#ry-footer .footer-form-box textarea {
  height: 150px !important;
  border-radius: 26px !important;
  padding-top: 16px !important;
  resize: none !important;
}

#ry-footer .footer-form-box input::placeholder,
#ry-footer .footer-form-box textarea::placeholder {
  color: #666666 !important;
  opacity: 1;
}

#ry-footer .footer-form-box .ry-btn {
  min-width: 180px;
}

#ry-footer .footer-logo-main,
#ry-footer .footer-logo-seal {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
  flex: 0 1 auto !important;
}

#ry-footer .footer-logo-main img {
  max-width: clamp(220px, 19vw, 368px) !important;
  width: 100% !important;
  height: auto !important;
  cursor: pointer;
}

#ry-footer .footer-logo-seal img {
  max-width: clamp(140px, 12.2vw, 234px) !important;
  width: 100% !important;
  height: auto !important;
}

#ry-footer .footer-contact-col,
#ry-footer .footer-hours-col {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  align-self: start !important;
}

#ry-footer .footer-contact-col > div,
#ry-footer .footer-hours-col > div,
#ry-footer .footer-contact-col .space-y-6,
#ry-footer .footer-contact-col .space-y-4,
#ry-footer .footer-hours-col .space-y-6 {
  margin: 0 !important;
  padding: 0 !important;
}

#ry-footer .footer-info-grid .text-lg.font-semibold {
  margin: 0 0 24px !important;
  padding: 0 !important;
}

#ry-footer .footer-info-grid h6,
#ry-footer .footer-info-grid h6 .span-1 {
  font-size: clamp(22px, 1.65vw, 32px) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

#ry-footer .footer-info-grid h6 {
  color: #258db8 !important;
}

#ry-footer .footer-info-grid h6 .span-1 {
  color: #666666 !important;
}

#ry-footer .footer-hours-col h6:first-of-type,
#ry-footer .footer-hours-col h6:first-of-type .span-1 {
  font-size: 0 !important;
}

#ry-footer .footer-hours-col h6:first-of-type::before {
  content: "HOURS OF " !important;
  font-size: clamp(22px, 1.65vw, 32px) !important;
  color: #666666 !important;
}

#ry-footer .footer-hours-col h6:first-of-type::after {
  content: "OPERATION" !important;
  font-size: clamp(22px, 1.65vw, 32px) !important;
  color: #258db8 !important;
}

#ry-footer .footer-info-grid h6 + h6,
#ry-footer .footer-info-grid h6:empty {
  display: none !important;
}

#ry-footer .footer-contact-col ul,
#ry-footer .footer-hours-col ul {
  display: none !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

#ry-footer .footer-contact-col ul:first-of-type {
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
  margin: 0 !important;
}

#ry-footer .footer-hours-col ul:first-of-type {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-width: 341px !important;
  margin: 0 !important;
}

#ry-footer .footer-contact-col ul[style*="display: none"],
#ry-footer .footer-hours-col ul[style*="display: none"],
#ry-footer .footer-contact-col ul:nth-of-type(n + 2),
#ry-footer .footer-hours-col ul:nth-of-type(n + 2) {
  display: none !important;
}

#ry-footer .footer-contact-col ul li,
#ry-footer .footer-hours-col ul li {
  font-size: clamp(16px, 1.05vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  color: #666666 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

#ry-footer .footer-contact-col ul li {
  padding-left: 68px !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
}

#ry-footer .footer-contact-col ul li a {
  color: #666666 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

#ry-footer .footer-contact-col ul li a:hover {
  color: #258db8 !important;
}

#ry-footer .footer-contact-col ul li:nth-child(1)::before,
#ry-footer .footer-contact-col ul li:nth-child(2)::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 46px !important;
  height: 45px !important;
  border-radius: 50% !important;
  background-color: #258db8 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px 20px !important;
}

#ry-footer .footer-contact-col ul li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E") !important;
}

#ry-footer .footer-contact-col ul li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328z'/%3E%3C/svg%3E") !important;
}

#ry-footer .footer-contact-col ul li:nth-child(n + 3) {
  display: none !important;
}

#ry-footer .footer-hours-col ul li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
}

#ry-footer .footer-hours-col ul li span {
  font-weight: 400 !important;
  color: #666666 !important;
}

#ry-footer .footer-copyright {
  margin: 56px auto 0 !important;
  width: 100% !important;
  max-width: 1280px !important;
  padding: 0 20px !important;
  text-align: center !important;
  border-top: none !important;
}

#ry-footer .footer-copyright > div {
  border-top: 1px solid rgba(102, 102, 102, 0.3) !important;
  padding-top: 24px !important;
  font-size: clamp(13px, 0.95vw, 18px) !important;
  line-height: 1.5 !important;
  color: #666666 !important;
  text-align: center !important;
}

#ry-footer .footer-copyright > div a {
  color: #666666 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

#ry-footer .footer-copyright > div p span {
  font-size: clamp(13px, 0.95vw, 18px) !important;
  color: #666666 !important;
}

@media (min-width: 1024px) and (max-width: 1240px) {
  #navigation-style-7 {
    padding: 16px 20px !important;
    justify-content: space-between !important;
  }

  #navigation-style-7 .header-logo img {
    max-width: 150px !important;
    width: auto !important;
  }

  #navigation-style-7 .header-right-group {
    gap: 16px !important;
  }

  #navigation-style-7 .ry-nav {
    gap: 12px !important;
    font-size: 13px !important;
  }

  #navigation-style-7 .ry-nav > * + * {
    margin-left: 0 !important;
  }

  #navigation-style-7 .ry-nav li a {
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  #navigation-style-7 .header-right-group .ry-menu.max-content {
    min-width: auto !important;
  }

  #navigation-style-7 .header-right-group .ry-menu.max-content .flex-col {
    gap: 6px !important;
  }

  #navigation-style-7 .header-right-group .ry-menu.max-content a {
    padding: 6px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
}

#hp-team .doctor-card p,
#hp-team .doctor-info p {
  max-height: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5 !important;
  font-size: clamp(14px, 0.95vw, 16px) !important;
}

@media (min-width: 1081px) {
  #section-hp-services .mobile-services .slick-track .slick-cloned {
    display: none !important;
  }
}

@media (max-width: 1080px) {
  #section-hp-services .mobile-services .slick-track .slick-cloned {
    display: block !important;
  }
}

@media (max-width: 1024px) {
  #ry-sidebar {
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  #ry-sidebar img {
    max-height: 220px !important;
    object-fit: cover !important;
  }
}

body[data-page-name="patient-forms"] .divide-y .ry-btn,
body[data-page-name="online-forms"] .divide-y .ry-btn,
body[data-page-name="patient-forms"] .ry-pdf-link,
body[data-page-name="online-forms"] .ry-pdf-link {
  background-color: #258db8 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 10px 26px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 6px rgba(37, 141, 184, 0.25) !important;
}

body[data-page-name="patient-forms"] .divide-y .ry-btn:hover,
body[data-page-name="online-forms"] .divide-y .ry-btn:hover,
body[data-page-name="patient-forms"] .ry-pdf-link:hover,
body[data-page-name="online-forms"] .ry-pdf-link:hover {
  background-color: #1c7296 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 141, 184, 0.35) !important;
  transform: translateY(-1px) !important;
}

body[data-page-name="patient-forms"] .divide-y .ry-btn a,
body[data-page-name="online-forms"] .divide-y .ry-btn a {
  color: #ffffff !important;
  text-decoration: none !important;
}

html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

#page,
#ry-body,
.mm-page,
#site-wrapper,
main,
section,
.ry-container,
.homepage-swiper,
.testimonials-swiper,
#section-hp-hero,
#welcome-wrap,
#hp-team,
#section-hp-services,
#hp-testimonials,
#ry-footer {
  overflow-x: clip !important;
  max-width: 100% !important;
}

@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #page,
  #ry-body,
  .mm-page,
  .ry-container,
  .grid,
  .row {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  [data-aos] {
    overflow: hidden !important;
    max-width: 100% !important;
  }

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

.swiper-cube-shadow {
  display: none !important;
}

.team-inner-page p,
.team-full-description p,
.team-excerpt p {
  margin-bottom: 1.25rem !important;
  line-height: 1.7 !important;
}

.team-inner-page h3,
.team-full-description h3,
.team-excerpt h3,
.team-inner-page h4,
.team-full-description h4,
.team-excerpt h4 {
  margin-top: 1.75rem !important;
  margin-bottom: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  color: #1a1a1a !important;
}

img[src=""],
img:not([src]),
img[src="undefined"],
img[src="null"] {
  display: none !important;
}

.three-gen-gallery-swiper .sliderImage,
.three-gen-gallery-swiper .carousel-inner img {
  max-height: 480px !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain !important;
}

@media (max-width: 1400px) {
  #hp-team .doctor-card {
    height: auto !important;
    min-height: auto !important;
  }
  #hp-team .doctor-card > div {
    padding: 24px 20px !important;
  }
  #hp-team .doctor-card h3 {
    font-size: 26px !important;
  }
  #hp-team .doctor-card h4 {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 1024px) {
  #welcome-wrap .grid > div:nth-child(5) {
    grid-column: 1 / -1 !important;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (min-width: 1025px) {
  #hp-slider,
  #hp-slider .homepage-swiper,
  #hp-slider .swiper-wrapper,
  #hp-slider .swiper-slide {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
  }

  .homepage-swiper .with-gradient,
  .homepage-swiper img.swp-img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
  }

  .slider-info,
  .slider-info-center-bottom {
    position: absolute !important;
    background-color: transparent !important;
    padding: 0 20px !important;
    margin-top: 0 !important;
    bottom: 50px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 1024px) {
  #hp-slider,
  #hp-slider .homepage-swiper,
  #hp-slider .swiper-wrapper,
  #hp-slider .swiper-slide {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .homepage-swiper .with-gradient {
    position: relative !important;
    height: 440px !important;
    width: 100% !important;
  }

  .homepage-swiper img.swp-img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .slider-info,
  .slider-info-center-bottom {
    position: relative !important;
    background-color: #258db8 !important;
    padding: 40px 24px 48px !important;
    margin: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #hp-slider .custom-headline h1 {
    color: #ffffff !important;
    font-size: clamp(26px, 4vw, 38px) !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    text-align: center !important;
  }

  #hp-slider .btn-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    transform: none !important;
    opacity: 1 !important;
    margin-top: 0 !important;
  }

  #hp-slider .btn-container a[href*="tel:"] {
    border: 2px solid #ffffff !important;
    background-color: transparent !important;
    color: #ffffff !important;
  }

  #hp-slider .btn-container a[href*="appointment"],
  #hp-slider .btn-container a:last-child {
    background-color: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: #1e1e1e !important;
  }
}

@media (max-width: 767px) {
  .homepage-swiper .with-gradient {
    height: 320px !important;
  }

  .slider-info,
  .slider-info-center-bottom {
    padding: 32px 16px 40px !important;
  }

  #hp-slider .custom-headline h1 {
    font-size: clamp(22px, 6vw, 28px) !important;
    margin-bottom: 20px !important;
  }

  #hp-slider .btn-container {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  #hp-slider .btn-container a {
    width: 100% !important;
    max-width: 300px !important;
    text-align: center !important;
    justify-content: center !important;
  }
}


/* Standardize all interior body text across the #contents layout */
#contents p,
#contents li {
  font-size: 1rem; /* 16px on mobile */
  line-height: 1.5rem; /* 24px */
  font-weight: 400;
}

@media (min-width: 768px) {
  #contents p,
  #contents li,
  #contents .text-base.leading-6.text-gray-600 {
    font-size: 1.25rem !important; /* 20px on tablet/desktop */
    line-height: 1.75rem !important; /* 28px */
  }
}