.root {
  box-sizing: border-box;
  padding: 0;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dark {
  background-color: var(--color-bg-base-dark);
  color: var(--color-text-primary-inverted);
}

.expandingDetailsWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.header {
  text-align: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--spacing-88, 88px) 1.5vw 0;
}

.description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title {
  justify-content: center;
  line-height: 1;
  p {
    @media (max-height: 670px) {
      font-size: var(--font-size-heading-lg, 32px);
    }
  }
}

.label {
  text-transform: uppercase;
  padding-bottom: var(--spacing-16, 16px);
}

.title {
  margin: 0;
}

.sections {
  width: 100%;
  width: 100%;
  max-width: calc(var(--content-max-width) + 6vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  overflow-x: visible;
}

.section {
  padding: 0 3vw;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  background-color: var(--color-bg-base-light);
}

.section::before, .section::after {
  content: '';
  position: absolute;
  height: var(--border-width-sm);
  left: 5vw;
  right: 5vw;
  background: var(--border-color-light);
  z-index: 3;
}

.dark .section::before, .dark .section::after {
  background: var(--border-color-alpha-white-20);
}

.section::before {
  top: 0;
}

.section::after {
  bottom: 0;
}

.leftBorder, .rightBorder {
  position: absolute;
  top: var(--spacing-16);
  bottom: var(--spacing-16);
  width: var(--border-width-sm);
  background-color: var(--border-color-light);
  z-index: 3;
}

.leftBorder {
  left: 4vw;
}

.rightBorder {
  right: 4vw;
}

.leftEyebrow, .rightEyebrow {
  position: absolute;
  top: 0;
  width: 3vw;
  height: var(--border-width-sm);
  background-color: var(--border-color-light);
  z-index: 10;
}

.leftEyebrow {
  left: 0;
}

.rightEyebrow {
  right: 0;
}

.dark {
  .leftBorder, .rightBorder, .leftEyebrow, .rightEyebrow {
    background-color: var(--border-color-alpha-white-20);
  }
}

.dark .section {
  background-color: var(--color-bg-base-dark);
}

.heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--spacing-24) var(--spacing-48);
  background-color: var(--color-bg-base-light);
  position: relative;
  z-index: 2;
}

.dark .heading {
  background-color: var(--color-bg-base-dark);
}

.sectionTitleWrapper {
  transform-origin: left;
}

.sectionIndexWrapper {
  transform-origin: right;
}

.content {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10vw;
  padding: var(--spacing-48);
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.protocolWrapper {
  display: flex;
  flex-direction: column;
  max-width: 36rem;
  transform-origin: bottom;
  gap: 2vw;
}

.imageCircle {
  border-radius: var(--border-radius-full);
  overflow: hidden;
  transform-origin: bottom;
  width: 100%;
  max-width: 400px;
  height: auto;
  @media (max-width: 1366px) and (min-width: 933px) {
    max-width: 17vw;
  }
  @media (width <= 932px) {
    max-width: none;
    width: 100%;
  }
}

.imageCircle img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 3;

  @media (width <= 932px) {
    aspect-ratio: 5 / 3;
  }
}

@media (width <= 1366px) {
  .protocolSubtitle {
    font-size: 1.5rem;
    font-weight: "bold";
  }
}

@media (width <= 932px) {
  .header {
    position: initial;
    transform: none;
    padding: var(--spacing-88) var(--spacing-16) 0;
    height: 30vh;
    height: 30dvh;
  }
  .sections {
    min-height: 70vh;
    min-height: 70dvh;
  }
  .heading {
    padding: var(--spacing-16);
  }
  .section {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-16);
    position: relative;
  }
  .sectionIndex {
    top: 0.7rem;
    right: 0.7rem;
  }
  .content {
    gap: var(--spacing-16);
    padding: var(--spacing-12) var(--spacing-16);
  }
}

@media (width <= 430px) {
  .content {
    flex-direction: column;
  }
  .protocolWrapper {
    order: 2;
  }
  .imageCircle {
    order: 1;
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
}
