/* Scoped portrait pathway carousel. Kept separate and loaded after editorial overrides. */
.mh-editorial.mh-editorial .hp-pathways.care-carousel {
  --care-alabaster: #f9f8f7;
  --care-bronze: #564929;
  --care-inset: clamp(18px, 2vw, 25px);
  background: var(--ed-paper-light) !important;
  color: var(--care-bronze) !important;
  padding-block: clamp(54px, 7vw, 86px);
  overflow: hidden;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head {
  margin: 0 0 clamp(24px, 3vw, 38px);
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head .eyebrow,
.mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head h2,
.mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head p {
  color: var(--care-bronze) !important;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head h2 {
  max-width: 34ch;
  margin-bottom: 10px;
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head p {
  max-width: 52ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(235px, 24vw, 340px);
  grid-template-columns: none;
  grid-template-rows: none;
  gap: clamp(12px, 1.6vw, 22px);
  width: 100%;
  padding: 0 0 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-carousel-track::-webkit-scrollbar {
  display: none;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-carousel-track:focus-visible {
  outline: 2px solid var(--care-bronze);
  outline-offset: 5px;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card,
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--bariatric,
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--upper-gi,
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--metabolic,
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 4;
  grid-column: auto;
  grid-row: auto;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  border: 0 !important;
  border-radius: 0;
  background: #25231d !important;
  color: var(--care-alabaster) !important;
  box-shadow: none !important;
  text-decoration: none;
  isolation: isolate;
  transition: transform .28s ease;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card:hover {
  transform: translateY(-3px);
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card:focus-visible {
  outline: 2px solid var(--care-alabaster);
  outline-offset: 4px;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-image {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  background: #302d25;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card:hover .care-image > img {
  transform: scale(1.025);
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--bariatric .care-image > img {
  object-position: center 20%;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--upper-gi .care-image > img {
  object-position: center 22%;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--metabolic .care-image > img {
  object-position: center 34%;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23,21,17,.02) 40%, rgba(23,21,17,.18) 59%, rgba(23,21,17,.76) 100%);
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: var(--care-inset);
  padding-right: calc(var(--care-inset) + 36px);
  border: 0 !important;
  background: transparent !important;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-copy-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-kicker {
  display: block;
  margin: 0 0 6px;
  color: var(--care-alabaster) !important;
  font-family: "Styrene B", "Inter", sans-serif !important;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-title {
  display: block;
  margin: 0;
  color: var(--care-alabaster) !important;
  font-family: "Styrene B", "Inter", sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .055em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-description {
  display: block;
  max-width: 34ch;
  margin: 5px 0 0;
  color: var(--care-alabaster) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.45;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-arrow {
  position: absolute;
  right: var(--care-inset);
  bottom: var(--care-inset);
  display: grid;
  width: 24px;
  height: 24px;
  margin: 0;
  place-items: center;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--care-alabaster) !important;
  font-size: 16px;
  line-height: 1;
  transform: none;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card:hover .care-arrow {
  transform: none;
  background: transparent !important;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--care-alabaster) !important;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-arrow svg path {
  stroke: var(--care-alabaster);
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app .care-phone-stage {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 49% 35%, rgba(255,252,245,.76) 0, rgba(255,252,245,0) 58%),
    linear-gradient(145deg, #f1e9de 0%, #e8ddcf 54%, #ddcdbb 100%);
  position: relative;
  inset: auto;
  height: 100%;
  min-height: 0;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app .care-phone-stage > img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app .care-phone-stage::after {
  display: none;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app .care-copy {
  position: relative;
  inset: auto;
  background: #3e3025 !important;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app:hover .care-phone-stage > img {
  transform: none;
}

.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress[hidden] {
  display: none;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(86,73,41,.23);
  transition: background-color .18s ease, transform .18s ease;
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress-dot[aria-pressed="true"] span {
  background: var(--care-bronze);
  transform: scale(1.25);
}
.mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress-dot:focus-visible {
  outline: 1px solid var(--care-bronze);
  outline-offset: -3px;
}

@media (min-width: 681px) {
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card {
    scroll-snap-align: center;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-carousel-track {
    grid-auto-columns: clamp(300px, 32vw, 420px);
    padding-right: calc((100% - clamp(300px, 32vw, 420px)) / 2);
  }
}

@media (max-width: 680px) {
  .mh-editorial.mh-editorial .hp-pathways.care-carousel {
    padding-block: 48px 44px;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head {
    margin-bottom: 22px;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head h2 {
    max-width: 30ch;
    font-size: clamp(22px, 6vw, 27px);
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .section-head p {
    font-size: 13px;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-carousel-track {
    grid-auto-columns: min(78vw, 340px);
    gap: 12px;
    width: calc(100% + var(--gut));
    margin-right: calc(-1 * var(--gut));
    padding-right: calc(var(--gut) * 2);
    scroll-padding-left: 0;
    scroll-padding-right: var(--gut);
    scrollbar-width: none;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card--app {
    scroll-snap-align: center;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-carousel-track::-webkit-scrollbar {
    display: none;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-copy {
    padding: var(--care-inset);
    padding-right: calc(var(--care-inset) + 36px);
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-description {
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-progress-dot span {
    transition: none;
  }
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-card,
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-image > img,
  .mh-editorial.mh-editorial .hp-pathways.care-carousel .care-arrow {
    transition: none;
  }
}
