/* Keep source desktop rendering; give mobile photos their own unobstructed area. */
.replica-mobile-hero {
  display: none;
}
/* White copy stays legible on the information panel and desktop hero CTA. */
.home .elementor-3200 .elementor-element.elementor-element-54b8355 {
  background-color: #08776e;
}
.home #SR7_6_1 a.sr7-layer[id$='-4'] {
  background-color: #08776e !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .home .scroll-top {
    bottom: 88px !important;
    right: 16px !important;
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
  .elementor-element-5d7f2a3 {
    display: none !important;
  }
  .replica-mobile-hero {
    display: block;
    width: 100%;
    background: #eef8f8;
    color: #0e204d;
  }
  .replica-mobile-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #e1eeee;
  }
  .replica-mobile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
  .replica-mobile-arrow {
    position: absolute;
    top: calc(50% - 22px);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #283b6a;
    font-size: 28px;
    box-shadow: 0 2px 12px #10234818;
    cursor: pointer;
  }
  .replica-mobile-arrow.prev {
    left: 12px;
  }
  .replica-mobile-arrow.next {
    right: 12px;
  }
  .replica-mobile-caption {
    padding: 24px 20px 22px;
    text-align: center;
  }
  .replica-mobile-caption h2 {
    font-family: Quicksand, sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.6px;
    display: grid;
    place-items: center;
    margin: 0 auto 6px;
    max-width: 370px;
    min-height: 106px;
    color: #0e204d;
  }
  .replica-mobile-caption p {
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 18px;
    color: #283b6a;
  }
  .replica-mobile-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .replica-mobile-actions .btn {
    padding: 0 19px;
    min-height: 46px;
    line-height: 46px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: none;
  }
  .replica-mobile-actions .btn:not(.secondary) {
    background: #08776e;
    border-color: #08776e;
    color: #fff;
  }
  .replica-mobile-actions .secondary {
    background: #fff;
    color: #283b6a;
  }
  .replica-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 7px;
  }
  .replica-mobile-dot {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .replica-mobile-dot:before {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #607980;
  }
  .replica-mobile-dot[aria-current='true']:before {
    background: #08776e;
    box-shadow: 0 0 0 4px #21cdc026;
  }
  .replica-mobile-pause {
    border: 0;
    background: none;
    color: #283b6a;
    font-size: 13px;
    font-weight: 700;
    min-width: 56px;
    padding: 8px;
    min-height: 44px;
    cursor: pointer;
  }
  .elementor-element-1d342e6 {
    margin-top: 0 !important;
  }
  .replica-mobile-hero button:focus-visible,
  .replica-mobile-hero a:focus-visible {
    outline: 3px solid #283b6a;
    outline-offset: 3px;
  }
}
@media (max-width: 360px) {
  .replica-mobile-photo {
    height: 220px;
  }
  .replica-mobile-caption h2 {
    font-size: 26px;
  }
  .replica-mobile-caption {
    padding-inline: 15px;
  }
  .replica-mobile-actions .btn {
    padding-inline: 12px;
  }
}

@media (max-width: 360px) {
  .replica-mobile-dot {
    width: 32px;
  }
}

/* Profile introduction and benefits on the homepage. */
.home .elementor-3200 .elementor-element-45f21cd8 .cms-heading-wrapper {
  padding: clamp(24px, 5vw, 56px) clamp(18px, 5vw, 48px);
  border: 1px solid #cfe9e7;
  border-radius: 24px;
  background: linear-gradient(155deg, #f2fbfa, #d8f3ef);
}

.home .elementor-3200 .elementor-element-45f21cd8 .custom-subheading {
  max-width: 46ch;
  margin: 0 auto 12px;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.5;
  text-wrap: balance;
}

.home .elementor-3200 .elementor-element-45f21cd8 .cms-heading-wrapper .custom-heading {
  max-width: 25ch;
  margin: 0 auto;
  color: #0e204d;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.16;
  text-wrap: balance;
}

.home .replica-profile-benefits {
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid #cfe9e7;
  border-radius: 16px;
  background: #f2fbfa;
  color: #283b6a;
}

.home .replica-profile-benefits h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.home .replica-profile-benefits ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .replica-profile-benefits li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.home .replica-profile-benefits li::before {
  content: '';
  width: 10px;
  height: 6px;
  margin: 6px auto 0;
  border-bottom: 2px solid #08776e;
  border-left: 2px solid #08776e;
  transform: rotate(-45deg);
}
 
/* Align the two adjacent surgical-care sections on phones and tablets. */
@media (max-width: 1024px) {
  .home .elementor-3200 {
    --surgical-care-gutter: clamp(16px, 4.3vw, 30px);
  }

  .home .elementor-3200 .elementor-element-37b83ee0
    .elementor-element-4b2fb6bc > .elementor-widget-wrap,
  .home .elementor-3200 .elementor-element-54b8355
    .elementor-element-48fb570 > .elementor-widget-wrap {
    margin-inline: 0;
    padding-inline: var(--surgical-care-gutter);
    min-width: 0;
  }
}
@media (max-width: 1024px) {
  .home .elementor-3200 .elementor-element-4b2fb6bc
    > .elementor-widget-wrap > .elementor-widget > .elementor-widget-container,
  .home .elementor-3200 .elementor-element-48fb570
    > .elementor-widget-wrap > .elementor-widget > .elementor-widget-container {
    margin-inline: 0;
  }
}

.home-services {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4.3vw, 30px);
}

.home-services h2 {
  margin: 0 0 24px;
  color: #0e204d;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  text-wrap: balance;
}

.home-services .home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-service-card {
  min-width: 0;
}

.home-service-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #cfe9e7;
  border-radius: 16px;
  background: white;
  box-shadow: 0 5px 18px #0e204d0c;
  color: #0e204d;
}

.home-service-card > a:hover {
  border-color: #08776e;
}

.home-service-card > a:focus-visible {
  outline: 3px solid #08776e;
  outline-offset: 3px;
}

.home-service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e0f1ef;
}

.home-service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.home-service-copy h3 {
  margin: 0 0 8px;
  color: #0e204d;
  font-size: 22px;
  line-height: 1.25;
}

.home-service-copy p {
  margin: 0 0 16px;
  color: #465674;
  font-size: 15px;
  line-height: 1.55;
}

.home-service-action {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #deeeec;
  color: #08776e;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .home-services .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-services .home-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home .elementor-3200 > .home-services {
  display: block;
  box-sizing: border-box;
  scroll-margin-top: 96px;
}

@media (max-width: 767px) {
  /* The outer section now supplies the gutter, so neither column adds another. */
  .home .elementor-3200 .elementor-element-37b83ee0
    > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .home .elementor-3200 .elementor-element-54b8355
    .elementor-element-48fb570 > .elementor-widget-wrap {
    margin-inline: 0;
    padding-inline: 0;
  }

  .home .elementor-3200 > .elementor-element-24294775 {
    padding: 40px 0 0;
  }

  .home .elementor-3200 .elementor-element-37b83ee0 {
    margin-top: 0;
  }

  .home .elementor-3200 .elementor-element-14f45b48 > .elementor-widget-wrap {
    padding-inline: 0;
  }

  /* The theme's outer content container already contributes 15px per side. */
  .home .elementor-3200 > .home-services {
    padding-inline: calc(var(--reading-gutter) - 15px);
  }

  .home .elementor-3200 > .elementor-element-7f371c8f {
    padding-top: 48px;
  }

  .home .elementor-3200 > .elementor-element-2995d18c {
    margin-top: 40px;
  }
}

.home-surgeon {
  box-sizing: border-box;
  display: grid;
  align-items: center;
  gap: clamp(22px, 5vw, 64px);
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 64px) clamp(20px, 4vw, 42px);
  color: #142951;
}

.home-surgeon-photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #e5f4f1;
}
.home-surgeon-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.home-surgeon-experience {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  padding: 10px 15px;
  border-radius: 12px;
  background: #142951;
  color: white;
  font: 500 13px/1.35 Roboto, sans-serif;
}
.home-surgeon-experience strong {
  font: 700 clamp(26px, 4vw, 38px)/1 Quicksand, sans-serif;
}
.home-surgeon-copy {
  min-width: 0;
  font: 400 16px/1.65 Roboto, sans-serif;
}
.home-surgeon-role {
  margin: 0 0 6px;
  color: #08776e;
  font-weight: 700;
}
.home-surgeon-copy h2 {
  margin: 0 0 12px;
  color: #142951;
  font: 700 clamp(30px, 4vw, 48px)/1.1 Quicksand, sans-serif;
  text-wrap: balance;
}
.home-surgeon-copy details {
  margin: 18px 0;
  padding: 0 16px;
  border: 1px solid #cfe9e7;
  border-radius: 12px;
  background: #f2fbfa;
}
.home-surgeon-copy summary {
  min-height: 48px;
  padding-block: 12px;
  font-weight: 700;
  cursor: pointer;
}
.home-surgeon-copy details p { margin: 0 0 6px; }
.home-surgeon-copy details ul { padding-inline-start: 20px; }
.home-surgeon-location { margin: 0 0 16px; }
.home-surgeon-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #08776e;
  color: #fff;
  font-weight: 700;
}
.home-surgeon-link:hover { background: #142951; color: white; }
.home-surgeon :focus-visible { outline: 2px solid #08776e; outline-offset: 3px; }

@media (min-width: 768px) {
  .home-surgeon { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

/* Keep the portrait and profile copy in one balanced reading area. */
.home .elementor-3200 > .home-surgeon {
  width: min(1120px, calc(100% - 12px));
  gap: clamp(20px, 3.6vw, 46px);
  margin: clamp(16px, 3vw, 36px) auto;
  padding: clamp(14px, 3.4vw, 38px);
  border: 1px solid #d9ebe8;
  border-radius: 24px;
  background: #f7fcfb;
}
.home-surgeon-photo img {
  aspect-ratio: 5 / 4;
  object-position: center 42%;
}
.home-surgeon-copy > p:not(.home-surgeon-role) {
  max-width: 52ch;
  line-height: 1.6;
}
.home-surgeon-copy details {
  margin-block: 14px;
  background: #fff;
}
.home-surgeon-copy .home-surgeon-location {
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .home .elementor-3200 > .home-surgeon {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .home .elementor-3200 > .home-surgeon {
    width: 100%;
  }
  .home-surgeon-copy h2 {
    font-size: clamp(27px, 7.5vw, 36px);
  }
}

.home-consultation {
  box-sizing: border-box;
  width: min(calc(100% - 12px), 1120px);
  margin: clamp(24px, 5vw, 56px) auto;
  padding: clamp(20px, 4vw, 42px);
  display: grid;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  border: 1px solid #cfe9e7;
  border-radius: 22px;
  background: #f2fbfa;
  color: #142951;
  scroll-margin-top: 95px;
}
.home-consultation h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.15;
}
.home-consultation-intro p { max-width: 49ch; margin: 0; color: #405471; }
.home-consultation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.home-consultation-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 18px;
  border: 1px solid #08776e;
  border-radius: 999px;
  font-weight: 700;
}
.home-consultation-primary { background: #08776e; color: #fff; }
.home-consultation-primary:hover { background: #065c55; color: #fff; }
.home-consultation-secondary { background: #fff; color: #08776e; }
.home-consultation-secondary:hover { background: #def3ef; }
.home-quick-contacts {
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
  border-radius: 15px;
  background: #142951;
  color: #e4ecf7;
}
.home-quick-contacts h3 { margin: 0 0 10px; color: #fff; font-size: 22px; }
.home-quick-contacts address { margin: 0 0 8px; font-style: normal; }
.home-quick-contacts p { margin: 0; color: inherit; }
.home-quick-contacts a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; color: #99f2e8; text-decoration: underline; text-underline-offset: 3px; }
.home-consultation a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (min-width: 768px) {
  .home-consultation { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
