@property --chiefdoctor-cta-orbit-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: -90deg;
}

@keyframes chiefdoctor-letter-gradient-drift {
  from { background-position: 5% 15%; }
  to { background-position: 95% 85%; }
}

/* The exported chief doctor page needs its own content rhythm and safe reveal state. */
body[data-page="chiefdoctor"] .chiefdoctor-education .tabs_content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* VitaNatale's startup rule hides every standalone .card until ix3 initializes.
   The introductory card is fixed in place and has no entrance animation, so
   keeping it visible prevents a late visible pop on page load. */
html.w-mod-js:not(.w-mod-ix3) body[data-page="chiefdoctor"] .chiefdoctor-intro .hero-overlay {
  visibility: visible !important;
}

body[data-page="chiefdoctor"] .chiefdoctor-education .quote.is-large {
  font-family: var(--_typography---font--body-font), sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-copy {
  display: none;
}

body[data-page="chiefdoctor"] .chiefdoctor-stack {
  display: none;
}

@media (min-width: 992px) and (max-width: 1150px) {
  body[data-page="chiefdoctor"] .nav.is-secondary.nav_is_3d .nav_contact_wrapper a[href="tel:+79299119946"] {
    display: none;
  }
}

@media (max-width: 991px) {
  body[data-page="chiefdoctor"] .section.chiefdoctor-profile .w-layout-grid.grid_3-col {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-community {
    overflow: clip;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile .grid_3-col > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education .tabs_nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body[data-page="chiefdoctor"] .chiefdoctor-intro {
    padding: 32px 0 40px !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile {
    padding: 40px 0 64px;
  }
}

@media (max-width: 767px) {
  /* The profile summary is already contained in the mobile intro card. */
  body[data-page="chiefdoctor"] .section.chiefdoctor-profile {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__desktop-copy {
    display: none !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .hero-overlay {
    min-height: 440px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-copy {
    position: relative;
    z-index: 3;
    display: flex !important;
    min-height: inherit;
    flex-direction: column;
    padding: 24px 20px 20px;
    color: #fffaf0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-title {
    margin: 0;
    font-family: var(--_typography---font--heading-font), sans-serif;
    font-size: clamp(22px, 7.15vw, 28px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: .98;
    text-align: center;
    text-wrap: balance;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-title > span {
    display: block;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-title-dark {
    margin-bottom: 14px;
    color: #3b2a21;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-title-light {
    color: #fffaf0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-typewriter-wrap {
    min-height: 5.2em;
    margin: 22px 0 18px;
    color: #fffaf0;
    opacity: 1;
    transition: opacity .36s ease;
    font-family: var(--_typography---font--body-font), sans-serif;
    font-size: clamp(15px, 4.25vw, 17px);
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-cursor {
    display: none;
    width: .075em;
    height: 1em;
    margin-left: .1em;
    vertical-align: -.12em;
    background: currentColor;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-typewriter-wrap.has-cursor .chiefdoctor-intro__mobile-cursor {
    display: inline-block;
    animation: chiefdoctor-typewriter-blink .75s step-end infinite;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-typewriter-wrap.is-fading-out {
    opacity: 0;
  }

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

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-cta.button.on-inverse {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 12px 16px;
    border-radius: 18px;
    color: #fffaf0;
    font-size: clamp(17px, 4.7vw, 19px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-cta.button.on-inverse::after {
    --chiefdoctor-cta-orbit-angle: -90deg;
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(
      from var(--chiefdoctor-cta-orbit-angle),
      transparent 0deg 342deg,
      rgb(245 227 196 / 28%) 352deg,
      rgb(245 227 196 / 82%) 360deg
    );
    content: "";
    pointer-events: none;
    opacity: .72;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    filter: drop-shadow(0 0 4px rgb(245 227 196 / 30%));
    animation: chiefdoctor-cta-border-orbit 9s linear infinite;
  }

  @keyframes chiefdoctor-cta-border-orbit {
    from { --chiefdoctor-cta-orbit-angle: -90deg; }
    to { --chiefdoctor-cta-orbit-angle: 270deg; }
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-cta:focus-visible {
    outline: 3px solid #fffaf0;
    outline-offset: 3px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro {
    padding: 16px 0 24px !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .container,
  body[data-page="chiefdoctor"] .chiefdoctor-profile > .container,
  body[data-page="chiefdoctor"] .chiefdoctor-education > .container,
  body[data-page="chiefdoctor"] .chiefdoctor-letter-section > .container {
    width: 100%;
    padding-inline: 16px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .hero-overlay {
    min-height: var(--chiefdoctor-mobile-card-height, 440px);
    overflow: hidden;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .card_body {
    padding: 20px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .heading_primary {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.06;
    overflow-wrap: normal;
    hyphens: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile {
    padding: 24px 0 40px;
  }

  body[data-page="chiefdoctor"] .section.chiefdoctor-profile .w-layout-grid.grid_3-col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile .grid_3-col > :first-child {
    grid-column: 1 / -1 !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education,
  body[data-page="chiefdoctor"] .chiefdoctor-letter-section {
    padding: 40px 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education.has-education-gallery .w-tabs {
    display: none !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__gallery {
    --chiefdoctor-education-side-inset: 18px;
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    padding: 18px var(--chiefdoctor-education-side-inset) 0;
    isolation: isolate;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__viewport {
    position: relative;
    display: flex;
    min-height: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__viewport::-webkit-scrollbar {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__viewport:focus-visible {
    outline: 3px solid #73522c;
    outline-offset: -3px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide {
    --chiefdoctor-education-inset: clamp(20px, 6.15vw, 24px);
    position: relative;
    display: flex;
    min-width: 0;
    flex: 0 0 100%;
    height: 100%;
    flex-direction: column;
    padding: 18px var(--chiefdoctor-education-inset);
    overflow: hidden;
    border-radius: 20px;
    background-color: #e8d6bc;
    background-image: var(--chiefdoctor-education-gradient);
    background-size: 180% 180%;
    color: #3b2a21;
    scroll-snap-align: start;
    animation: chiefdoctor-letter-gradient-drift 18s ease-in-out infinite alternate;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    border: 1px solid #674a33;
    border-radius: inherit;
    content: "";
    pointer-events: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__heading-row {
    display: flex;
    min-height: 41px;
    align-items: center;
    gap: var(--chiefdoctor-education-inset);
    margin-bottom: 18px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__image {
    display: block;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    border-radius: 50%;
    object-fit: cover;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide-title {
    min-width: 0;
    margin: 0;
    color: #3b2a21;
    font-family: var(--_typography---font--heading-font), sans-serif;
    font-size: clamp(13px, 3.65vw, 16px);
    font-weight: 700;
    line-height: 1.15;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide-title span {
    display: inline-block;
    margin-right: .28em;
    white-space: nowrap;
  }

  /* Keep the education copy attached to the lower edge of each mobile card. */
  body[data-page="chiefdoctor"] .chiefdoctor-education__content {
    margin-top: auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__content .chiefdoctor-education__slide-title {
    margin-bottom: 18px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__detail + .chiefdoctor-education__slide-title {
    margin-top: 32px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__institution {
    margin: 0 0 18px;
    color: #5d4935;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide:first-child .chiefdoctor-education__institution {
    margin-top: auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--residency .chiefdoctor-education__institution {
    margin-top: auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__details {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__detail {
    margin: 0 0 8px;
    color: #604a37;
    font-size: 13px;
    line-height: 1.35;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__detail:last-child {
    margin-bottom: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__gallery {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-closing,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-closing {
    /* Keep the social-project slides on the same 500px card grid as education. */
    --chiefdoctor-mobile-card-height: 500px;
    background: var(--chiefdoctor-stack-card-background);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-active .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-closing .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-active .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-closing .chiefdoctor-stack__panel-inner {
    padding-top: 28px;
    padding-bottom: 18px;
    background: transparent;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-active .chiefdoctor-stack__panel.is-open,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-closing .chiefdoctor-stack__panel,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-active .chiefdoctor-stack__panel.is-open,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-closing .chiefdoctor-stack__panel {
    margin-bottom: -36.75px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-active .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-closing .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-active .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-closing .chiefdoctor-stack__tab {
    border-top-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-community > .w-layout-grid {
    display: none !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-social__gallery {
    /* Match the education gallery's centered frame and arrow geometry. */
    --chiefdoctor-social-side-inset: 18px;
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    padding: 18px var(--chiefdoctor-social-side-inset) 0;
    isolation: isolate;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__viewport {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__viewport::-webkit-scrollbar {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__viewport:focus-visible {
    outline: 3px solid #73522c;
    outline-offset: -3px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__slide {
    --chiefdoctor-social-inset: clamp(20px, 6.15vw, 24px);
    position: relative;
    display: flex;
    min-width: 0;
    flex: 0 0 100%;
    height: 100%;
    flex-direction: column;
    padding: 18px var(--chiefdoctor-social-inset);
    overflow: hidden;
    border-radius: 20px;
    background-color: #d5b48f;
    background-image: radial-gradient(circle at 14% 14%, rgb(250 232 205 / 86%), transparent 46%), radial-gradient(circle at 84% 82%, rgb(156 102 59 / 34%), transparent 54%), linear-gradient(135deg, #e7c9a8 0%, #d5b48f 50%, #c39164 100%);
    background-size: 180% 180%;
    color: #3b2a21;
    scroll-snap-align: start;
    animation: chiefdoctor-letter-gradient-drift 18s ease-in-out infinite alternate;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__slide--document {
    overflow: hidden;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__slide::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    border: 1px solid #674a33;
    border-radius: inherit;
    content: "";
    pointer-events: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__title {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    color: #3b2a21;
    font-family: var(--_typography---font--heading-font), sans-serif;
    font-size: clamp(13px, 3.65vw, 16px);
    font-weight: 700;
    line-height: 1.15;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__title span {
    display: inline-block;
    margin-right: .28em;
    white-space: nowrap;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__text {
    position: relative;
    z-index: 2;
    min-height: 0;
    flex: 1 1 auto;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    color: #5d4935;
    font-size: 13px;
    line-height: 1.35;
    scrollbar-width: thin;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__document-frame {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: center;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__document {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 22px;
    object-fit: contain;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-photo__slide {
    padding: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-photo__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow {
    position: absolute;
    z-index: 3;
    top: calc(50% + 9px);
    width: 32px;
    height: 32px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow::before {
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    border-bottom: .7px solid #3b2a21;
    border-left: .7px solid #3b2a21;
    content: "";
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow--previous {
    /* Keep the full 32px hit area inside the clipped gallery frame. */
    left: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow--previous::before {
    transform: rotate(45deg);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow--next {
    right: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow--next::before {
    transform: rotate(-135deg);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow:disabled {
    opacity: .42;
    cursor: default;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-social__arrow:focus-visible {
    outline: 3px solid #73522c;
    outline-offset: 2px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--residency .chiefdoctor-education__details {
    flex: 0 0 auto;
    overflow: visible;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--residency .chiefdoctor-education__detail:not(:last-child) {
    margin-bottom: 16px;
  }

  /* Keep the third card fixed: only its qualification list scrolls vertically. */
  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--scrollable-list .chiefdoctor-education__content {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    margin-top: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--scrollable-list .chiefdoctor-education__details {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--scrollable-list .chiefdoctor-education__details:focus-visible {
    outline: 2px solid #73522c;
    outline-offset: 2px;
  }

  /* The additional education list is intentionally long. Keep every entry
     reachable inside the existing card instead of changing the slider frame. */
  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--additional .chiefdoctor-education__content {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    margin-top: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--additional .chiefdoctor-education__details {
    flex: 1 1 auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__slide--additional .chiefdoctor-education__detail:not(:last-child) {
    margin-bottom: 14px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow {
    position: absolute;
    z-index: 2;
    top: calc(50% + 9px);
    width: 32px;
    height: 32px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow::before {
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    border-bottom: .7px solid #3b2a21;
    border-left: .7px solid #3b2a21;
    content: "";
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow--previous {
    /* Use the same safe arrow position as the social-project gallery. */
    left: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow--previous::before {
    transform: rotate(45deg);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow--next {
    right: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow--next::before {
    transform: rotate(-135deg);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow:disabled {
    opacity: .42;
    cursor: default;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__arrow:focus-visible {
    outline: 3px solid #73522c;
    outline-offset: 2px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education .tabs_nav {
    margin-bottom: 20px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-community .position_sticky {
    position: static;
    min-height: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-community .height_50vh {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-community .ix_target-text-explode,
  body[data-page="chiefdoctor"] .chiefdoctor-community [class*="ix_target-img-explode-"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-typewriter-wrap.has-cursor .chiefdoctor-intro__mobile-cursor {
    animation: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro__mobile-cta.button.on-inverse::after {
    animation: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education__toggle,
  body[data-page="chiefdoctor"] .chiefdoctor-education__chevron,
  body[data-page="chiefdoctor"] .chiefdoctor-education__panel {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 767px) {
  /* Keep a single 48px vertical rhythm from the mobile header to the footer. */
  body[data-page="chiefdoctor"] .chiefdoctor-intro {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile {
    padding-top: 0;
    padding-bottom: 24px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile .header,
  body[data-page="chiefdoctor"] .chiefdoctor-education .header {
    margin-bottom: 48px;
  }

  body[data-page="chiefdoctor"] .section.chiefdoctor-profile .w-layout-grid.grid_3-col {
    row-gap: 48px;
    column-gap: 12px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-education {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-letter-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-community {
    padding-top: 0;
    padding-bottom: 48px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-community .container > .w-layout-grid.grid_1-col,
  body[data-page="chiefdoctor"] .chiefdoctor-community .w-layout-grid.grid_1-col.gap-small {
    row-gap: 48px !important;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  body[data-page="chiefdoctor"] .section.chiefdoctor-profile .w-layout-grid.grid_3-col {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-profile .grid_3-col > :first-child {
    grid-column: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="chiefdoctor"] .chiefdoctor-education .tabs_nav,
  body[data-page="chiefdoctor"] .chiefdoctor-community .ix_target-text-explode,
  body[data-page="chiefdoctor"] .chiefdoctor-community [class*="ix_target-img-explode-"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  body[data-page="chiefdoctor"] .chiefdoctor-intro .hero-overlay {
    position: relative;
    z-index: 5;
    /* VitaNatale applies a 100px startup transform to this exported card.
       Keep that internal reveal state from reaching the mobile layout. */
    transform: none !important;
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro.is-stack-expanded .hero-overlay {
    transform: translateY(-26px) !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack.is-ready {
    display: block;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__tabs {
    --chiefdoctor-stack-overlap: 28px;
    --chiefdoctor-stack-edge-overlap: 54px;
    --chiefdoctor-stack-tab-height: 64px;
    --chiefdoctor-stack-spread: 26px;
    --chiefdoctor-stack-card-radius: 16px;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    isolation: isolate;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item {
    --chiefdoctor-stack-card-background: #f2e8da;
    position: relative;
    width: 100%;
    margin-top: calc(-1 * var(--chiefdoctor-stack-overlap));
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1), margin-top 420ms cubic-bezier(.2, .8, .2, 1);
  }

body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"],
body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"],
body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"],
body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"] {
    height: var(--chiefdoctor-stack-tab-height);
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1), margin-top 420ms cubic-bezier(.2, .8, .2, 1), height 420ms cubic-bezier(.2, .8, .2, 1);
  }

body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-active,
body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-active,
body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"].is-active,
body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-active {
    height: var(--chiefdoctor-mobile-card-height, 440px);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(1) { z-index: 4; }
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(2) { z-index: 3; }
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(3) { z-index: 2; }
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(4) { z-index: 1; }

  body[data-page="chiefdoctor"] .chiefdoctor-stack.is-expanded .chiefdoctor-stack__item.is-above-active {
    transform: translateY(calc(-1 * var(--chiefdoctor-stack-spread)));
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack.is-expanded .chiefdoctor-stack__item.is-active {
    transform: translateY(calc(-1 * var(--chiefdoctor-stack-spread)));
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-directly-below-active {
    margin-top: calc(-1 * var(--chiefdoctor-stack-edge-overlap));
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-directly-above-active .chiefdoctor-stack__tab {
    border-radius: var(--chiefdoctor-stack-card-radius);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-closing {
    display: flex;
    flex-direction: column;
    border-radius: var(--chiefdoctor-stack-card-radius);
    background: var(--chiefdoctor-stack-card-background);
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-closing {
    --chiefdoctor-mobile-card-height: 500px;
    background-color: #f2e8da;
    background-image: radial-gradient(circle at 18% 22%, #faf2e6 0%, transparent 43%),
      radial-gradient(circle at 78% 76%, #ddc5a8 0%, transparent 48%),
      linear-gradient(135deg, #f2e6d7 0%, #e8d0b7 52%, #f5e9d9 100%);
    background-size: 180% 180%;
    animation: chiefdoctor-letter-gradient-drift 18s ease-in-out infinite alternate;
    /* Keep the expanded letter visually above the overlapping Education tab. */
    box-shadow: 0 14px 22px -12px rgb(72 48 28 / 52%);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__tab {
    position: relative;
    display: flex;
    width: 100%;
    height: var(--chiefdoctor-stack-tab-height);
    min-height: var(--chiefdoctor-stack-tab-height);
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: var(--chiefdoctor-stack-overlap) 12px 0;
    border: 0;
    border-top: 1px solid rgb(108 81 51 / 15%);
    border-radius: var(--chiefdoctor-stack-card-radius);
    background: var(--chiefdoctor-stack-card-background);
    box-shadow: 0 8px 14px rgb(58 42 28 / 14%);
    color: #423327;
    font-family: var(--_typography---font--body-font), sans-serif;
    font-size: clamp(14px, 3.9vw, 17px);
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(2) {
    --chiefdoctor-stack-card-background: #e8d6bc;
    --chiefdoctor-education-gradient: radial-gradient(circle at 12% 20%, rgb(249 237 219 / 80%), transparent 48%),
      radial-gradient(circle at 85% 78%, rgb(195 151 105 / 38%), transparent 50%),
      linear-gradient(135deg, #ead9c1 0%, #ddc3a1 48%, #f0dec6 100%);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-closing {
    --chiefdoctor-mobile-card-height: 500px;
    background: var(--chiefdoctor-stack-card-background);
    animation: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(3) {
    --chiefdoctor-stack-card-background: #d5b48f;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(4) {
    --chiefdoctor-stack-card-background: #a97b54;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(4) .chiefdoctor-stack__tab {
    color: #fffaf1;
    background: #a97b54;
  }

  /* Keep the Photo gallery tab on one stable surface during its collapse. */
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-active .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"].is-closing .chiefdoctor-stack__tab {
    color: #fffaf1;
    background: #a97b54;
    border-top-color: transparent;
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__tab:hover,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__tab[aria-expanded="true"] {
    color: #2f241c;
    background-color: #f3eadf;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__tab:focus-visible {
    outline: 0;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }

  /* Applied only when focus is returned after a pointer-driven panel close.
     Keyboard navigation retains the regular focus indicator above. */
  body[data-page="chiefdoctor"] .chiefdoctor-stack__tab.is-focus-restored:focus-visible {
    outline: 0;
    text-decoration: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    overflow: hidden;
    transition: grid-template-rows 420ms cubic-bezier(.2, .8, .2, 1), margin 420ms cubic-bezier(.2, .8, .2, 1);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel[hidden] {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel.is-open {
    grid-template-rows: 1fr;
    margin: 20px 0 30px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-active .chiefdoctor-stack__panel,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-closing .chiefdoctor-stack__panel {
    order: 1;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-active .chiefdoctor-stack__panel.is-open {
    margin: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: padding 420ms cubic-bezier(.2, .8, .2, 1), background-color 420ms ease, box-shadow 420ms ease;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"] .chiefdoctor-stack__panel {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"] .chiefdoctor-stack__panel[hidden] {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"] .chiefdoctor-stack__panel-inner {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #aa9276 transparent;
    scrollbar-width: thin;
  }

  /* The scrollable letter keeps its keyboard focus indicator only while it is
     visible. A focused, collapsing panel otherwise draws a large outline over
     the tab stack. */
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"] .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner:focus-visible {
    outline: 3px solid #73522c;
    outline-offset: -4px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-closing .chiefdoctor-stack__panel-inner {
    outline: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-stack__panel {
    display: block;
    min-height: 0;
    flex: 1 1 auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-stack__panel[hidden] {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-stack__panel-inner {
    height: 100%;
    overflow: hidden;
  }

  /* Social projects use the same panel geometry as the education gallery. */
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"] .chiefdoctor-stack__panel,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"] .chiefdoctor-stack__panel {
    display: block;
    min-height: 0;
    flex: 1 1 auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"] .chiefdoctor-stack__panel[hidden],
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"] .chiefdoctor-stack__panel[hidden] {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"] .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="gallery"] .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="social"] .chiefdoctor-community {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-education,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-education > .container {
    height: 100%;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-education > .container {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-education .header {
    flex: 0 0 auto;
    margin-bottom: 12px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner {
    padding-top: 26px;
    padding-bottom: 26px;
    border: 1px solid #e6d8c6;
    border-radius: 24px;
    background: #fbf8f3;
    box-shadow: 0 10px 24px rgb(58 42 28 / 10%);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-active .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner {
    padding-top: 28px;
    padding-bottom: 20px;
    border: 0;
    border-radius: 0;
    background: var(--chiefdoctor-stack-card-background);
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-closing .chiefdoctor-stack__panel-inner {
    border: 0;
    border-radius: 0;
    background: var(--chiefdoctor-stack-card-background);
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-active .chiefdoctor-stack__panel-inner > .section,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-closing .chiefdoctor-stack__panel-inner > .section {
    background: transparent;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-active .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item.is-closing .chiefdoctor-stack__tab {
    order: 2;
    border-radius: 0 0 28px 28px;
    background: var(--chiefdoctor-stack-card-background);
    box-shadow: 0 10px 16px rgb(58 42 28 / 18%);
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-active .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-closing .chiefdoctor-stack__tab {
    background: transparent;
    border-top-color: transparent;
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(4).is-active .chiefdoctor-stack__gallery-title,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item:nth-child(4).is-closing .chiefdoctor-stack__gallery-title {
    color: #fffaf1;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel-inner > .section {
    padding: 0 !important;
    overflow: visible;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel-inner > .section > .container,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel-inner .chiefdoctor-community > .w-layout-grid > .container {
    width: 100%;
    max-width: none;
    padding: 0 !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .header {
    margin-bottom: 22px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"] .chiefdoctor-education .header {
    display: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-active .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-closing .chiefdoctor-stack__panel-inner {
    padding-top: 28px;
    padding-bottom: 18px;
    background: transparent;
  }

  /* The lower tab reserves 28px above its label. Let the gallery use that
     otherwise empty area, so the visible label has the same 18px clearance
     as the card above. */
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-active .chiefdoctor-stack__panel.is-open,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-closing .chiefdoctor-stack__panel {
    margin-bottom: -36.75px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-active .chiefdoctor-stack__tab,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-closing .chiefdoctor-stack__tab {
    background: transparent;
    border-top-color: transparent;
    box-shadow: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .heading_primary,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__gallery-title {
    margin: 0;
    color: #5d4935;
    font-family: var(--_typography---font--heading-font), sans-serif;
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .grid_2-col {
    gap: 12px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-active .chiefdoctor-stack__panel.is-open .chiefdoctor-stack__panel-inner,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-closing .chiefdoctor-stack__panel-inner {
    padding-top: 46px;
    background: transparent;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-active .chiefdoctor-stack__panel.is-open,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-closing .chiefdoctor-stack__panel {
    margin-bottom: -19px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .header,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .header .subheading {
    margin-bottom: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .header .heading_primary {
    margin-bottom: 12px;
    color: #3b2a21;
    font-family: var(--_typography---font--heading-font), sans-serif;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: .98;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .header .subheading p {
    margin: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .header .subheading p + p {
    margin-top: 12px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .flex_vertical.gap-small {
    gap: 6px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .content-block-popup-c {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .content-block-popup-c .paragraph_large {
    font-weight: 600;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .content-block-popup-c .rich-text p {
    margin-top: 0;
    margin-bottom: 12px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .content-block-popup-c .rich-text p:last-child {
    margin-bottom: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .header .subheading p,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .content-block-popup-c .rich-text p {
    color: #604a37;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .paragraph_large,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .rich-text p {
    letter-spacing: normal;
    word-spacing: .12em;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-letter-section .heading_primary {
    word-spacing: .12em;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-community .min-height_100dvh {
    min-height: 0;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-community .ix_target-text-explode {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel .chiefdoctor-community .eyebrow {
    font-size: 14px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__gallery-title {
    margin-bottom: 22px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-gallery-source],
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-profile-gallery] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    pointer-events: auto;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .chiefdoctor-stack .chiefdoctor-stack__panel [data-stack-gallery-source].w-layout-grid,
  body[data-page="chiefdoctor"] .chiefdoctor-intro .chiefdoctor-stack .chiefdoctor-stack__panel [data-stack-profile-gallery].w-layout-grid.grid_3-col {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-gallery-source] {
    margin-top: 16px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-gallery-source] > *,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-profile-gallery] > * {
    display: block !important;
    min-width: 0;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-gallery-source] .image-ratio_1x1,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-profile-gallery] .image-ratio_2x3 {
    overflow: hidden;
    border-radius: 16px;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-gallery-source] img,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel [data-stack-profile-gallery] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .chiefdoctor-stack .chiefdoctor-stack__item[data-stack-item="gallery"] .chiefdoctor-stack__panel [data-stack-profile-gallery],
  body[data-page="chiefdoctor"] .chiefdoctor-intro .chiefdoctor-stack .chiefdoctor-stack__item[data-stack-item="gallery"] .chiefdoctor-stack__panel [data-stack-gallery-source] {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="letter"].is-closing,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-active,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item[data-stack-item="education"].is-closing,
  body[data-page="chiefdoctor"] .chiefdoctor-education__slide {
    animation: none;
  }

  body[data-page="chiefdoctor"] .chiefdoctor-intro .hero-overlay,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__item,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel,
  body[data-page="chiefdoctor"] .chiefdoctor-stack__panel-inner {
    transition-duration: 0.01ms;
  }
}
