:root {
  --hero-ink: #17312f;
  --hero-pine: #0f625b;
  --hero-pine-dark: #093f3b;
  --hero-lime: #d9ef79;
  --hero-mint: #d9ede7;
  --hero-line: rgba(23, 49, 47, .16);
}

* { box-sizing: border-box; }

.hero-editorial-page {
  min-width: 320px;
  margin: 0;
  background: #fff;
  color: var(--hero-ink);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.hero-editorial-main {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.hero-editorial {
  display: grid;
  min-height: calc(100vh - 92px);
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(52px, 7vw, 92px);
  align-items: start;
  padding: clamp(58px, 7vw, 96px) 0 72px;
}

.hero-editorial__copy {
  position: sticky;
  top: 118px;
  min-width: 0;
}

.hero-editorial h1 {
  max-width: 700px;
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.058em;
}

.hero-editorial h1 span { color: var(--hero-pine); }

.hero-editorial__lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(23, 49, 47, .67);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.8;
}

.hero-editorial__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.hero-editorial__primary,
.hero-editorial__secondary {
  color: var(--hero-pine);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero-editorial__primary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 25px;
  background: var(--hero-pine);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease;
}

.hero-editorial__primary:hover { background: var(--hero-pine-dark); }

.hero-editorial__secondary {
  padding: 8px 0;
  text-decoration: underline;
  text-decoration-color: rgba(15, 98, 91, .28);
  text-underline-offset: 4px;
  transition: text-decoration-color .18s ease;
}

.hero-editorial__secondary:hover { text-decoration-color: var(--hero-pine); }

.hero-editorial__doctor {
  width: min(100%, 440px);
  min-width: 0;
  margin: 0;
  margin-left: auto;
}

.hero-editorial__photo-stage {
  position: relative;
  isolation: isolate;
}

.hero-editorial__photo-stage::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-editorial__photo-stage::before {
  z-index: -1;
  left: -25px;
  top: 40px;
  width: 106%;
  height: 88%;
  border-radius: 42px;
  background: var(--hero-mint);
  transform: rotate(-4deg);
}

.hero-editorial__photo {
  position: relative;
  overflow: hidden;
  border-radius: 44% 44% 22px 22px / 18% 18% 22px 22px;
  background: var(--hero-mint);
  box-shadow: 0 0 0 1px rgba(23, 49, 47, .12);
}

.hero-editorial__photo img {
  display: block;
  width: 100%;
  height: clamp(390px, 34vw, 440px);
  object-fit: cover;
  object-position: 52% 19%;
}

.hero-editorial__caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--hero-line);
  padding: 24px 0;
}

.hero-editorial__name {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.hero-editorial__role {
  max-width: 470px;
  margin: 9px 0 0;
  color: rgba(23, 49, 47, .58);
  font-size: 12px;
  line-height: 1.65;
}

.hero-editorial__video {
  position: absolute;
  z-index: 3;
  left: 22px;
  top: 86px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(23, 49, 47, .1);
  border-radius: 999px;
  padding: 7px 16px 7px 7px;
  background: rgba(255, 255, 255, .95);
  color: var(--hero-pine);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 10px 28px rgba(20, 63, 59, .12);
  text-align: left;
  backdrop-filter: blur(8px);
  transition: background .18s ease, transform .18s ease;
}

.hero-editorial__play {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--hero-pine);
  color: #fff;
  font-size: 11px;
  transition: transform .18s ease;
}

.hero-editorial__video:hover {
  background: #fff;
  transform: translateY(-2px);
}

.hero-editorial__video:hover .hero-editorial__play { transform: scale(1.05); }

.hero-editorial__video strong,
.hero-editorial__video small { display: block; }

.hero-editorial__video strong {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-editorial__badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: -26px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--hero-pine);
  color: #fff;
  box-shadow: 0 10px 28px rgba(20, 63, 59, .1);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(6deg);
}

.hero-editorial__credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-editorial__credentials p {
  min-height: 76px;
  margin: 0;
  padding: 18px 16px 18px 0;
  color: rgba(23, 49, 47, .7);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.hero-editorial__credentials p:nth-child(even) {
  border-left: 1px solid var(--hero-line);
  padding-right: 0;
  padding-left: 18px;
}

.hero-editorial__credentials p:nth-child(n + 3) { border-top: 1px solid var(--hero-line); }

.hero-editorial-dialog {
  width: min(94vw, 500px);
  max-width: none;
  max-height: 94dvh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 10px;
  background: #0b2422;
  color: #fff;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .42);
}

.hero-editorial-dialog::backdrop {
  background: rgba(5, 20, 19, .84);
  backdrop-filter: blur(10px);
}

.hero-editorial-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 5px 14px 10px;
}

.hero-editorial-dialog__bar p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero-editorial-dialog__bar > div > span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
  font-weight: 600;
}

.hero-editorial-dialog__bar button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: border-color .18s ease, background .18s ease;
}

.hero-editorial-dialog__bar button:hover {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .15);
}

.hero-editorial-dialog__video {
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #000;
}

.hero-editorial-dialog__video video {
  display: block;
  width: auto;
  height: min(76dvh, 720px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}

.hero-editorial-page :focus-visible {
  outline: 3px solid var(--hero-lime);
  outline-offset: 4px;
}

html.is-accessible .hero-editorial-page,
html.is-accessible .hero-editorial-page .legal-header {
  background: #fff !important;
  color: #000 !important;
}

html.is-accessible .hero-editorial-page :where(h1, p, dt, dd, a, button, strong, small) {
  color: #000 !important;
}

html.is-accessible .hero-editorial-page :where(.hero-editorial__caption, .hero-editorial__credentials p, .hero-editorial__play) {
  border-color: #000 !important;
}

html.is-accessible .hero-editorial__photo-stage::before {
  display: none;
}

html.is-accessible .hero-editorial-dialog {
  border-color: #000 !important;
  background: #000 !important;
}

html.is-accessible .hero-editorial-dialog :where(p, span, button) {
  color: #fff !important;
}

@media (max-width: 920px) {
  .hero-editorial {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-editorial__copy { position: static; }
  .hero-editorial__doctor {
    width: min(100%, 500px);
    margin-right: auto;
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .hero-editorial-main { width: min(100% - 32px, 1200px); }

  .hero-editorial {
    gap: 46px;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .hero-editorial h1 { font-size: clamp(36px, 11.3vw, 49px); }

  .hero-editorial__lead {
    margin-top: 23px;
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-editorial__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-editorial__primary { width: 100%; }
  .hero-editorial__secondary { display: none; }
  .hero-editorial__photo img {
    height: min(108vw, 430px);
    object-position: 52% 20%;
  }

  .hero-editorial__photo-stage {
    min-width: 0;
    max-width: 100%;
    margin: 18px 10px 0 16px;
  }

  .hero-editorial__photo-stage::before {
    left: -16px;
    top: 32px;
    width: 104%;
    height: 88%;
    border-radius: 30px;
  }

  .hero-editorial__video {
    left: 14px;
    top: 68px;
    gap: 8px;
    padding: 6px 12px 6px 6px;
  }

  .hero-editorial__play {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero-editorial__video strong {
    font-size: 10px;
  }

  .hero-editorial__badge {
    top: 12px;
    right: 0;
    width: 84px;
    height: 84px;
    font-size: 8px;
  }

  .hero-editorial__caption {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-editorial__video {
    width: auto;
    max-width: calc(100% - 102px);
    white-space: nowrap;
  }

  .hero-editorial__credentials { grid-template-columns: 1fr; }

  .hero-editorial__credentials p,
  .hero-editorial__credentials p:nth-child(even) {
    min-height: 0;
    border-top: 1px solid var(--hero-line);
    border-left: 0;
    padding: 16px 0;
  }

  .hero-editorial__credentials p:first-child { border-top: 0; }

  .hero-editorial-dialog {
    width: calc(100vw - 16px);
    border-radius: 20px;
    padding: 8px;
  }

  .hero-editorial-dialog__bar {
    padding: 5px 4px 11px 8px;
  }

  .hero-editorial-dialog__bar button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero-editorial-dialog__video {
    border-radius: 13px;
  }

  .hero-editorial-dialog__video video {
    height: min(74dvh, 640px);
  }
}

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