/**
 * @file
 * Shared content component styles.
 */

.field--name-field-page-components {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 1440px;
  padding-inline: 20px;
  margin-inline: auto;
}

.field--name-field-page-components > .page-component:first-child > section > h2,
.field--name-field-page-components > .page-component:first-child > section > h3 {

}

article.landing-page .field--name-field-page-components > .page-component > .section {
  min-width: 0;
  margin-block: 0px;
  padding: 28px 0;
}

.field--name-field-page-components > .page-component:has(.body-section) {
  grid-column: 1 / -1;
}

.field--name-field-page-components > .page-component:first-child {
  margin-block-end: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .page-component-load-in {
    opacity: 0;
    transition: opacity 500ms ease-out;
  }

  .page-component-load-in.page-component-visible {
    opacity: 1;
  }
}

.paragraph--type--faqs {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border-block-end: 1px solid #e2e6eb;
}

.info-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 24px 20px;
  color: #374151;
  font-family: "Teva Sans", Arial, sans-serif;
  word-break: break-word;
  background: var(--color-brand-white);
  border: 1.5px solid var(--info-box-color, var(--color-brand-green));
  border-radius: 20px;
  box-shadow: 0 2px 8px rgb(28 64 107 / 6%);
}

.info-box__heading,
h3.info-box__heading {
  color: var(--info-box-color);
}

.info-box__body {
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.info-box__body .field,
/* .info-box__body p, */
.info-box__body ul,
.info-box__body ol {
  margin-block: 0;
}

.info-box__body ul,
.info-box__body ol {
  padding-inline-start: 27px;
}

.info-box__body li + li {
  margin-block-start: 4px;
}

.info-box .cta {
  margin-top: 15px;
}

.body-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  color: #374151;
  font-family: "Teva Sans", Arial, sans-serif;
  word-break: break-word;
  scroll-margin-block-start: 120px;
}

p,
p.body {
  width: 100%;
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  margin: 10px 0 0;
}

@media (min-width: 1000px) {
  .body-section--normal {
    width: 70%;
    max-width: 728px;
  }
}

.body-section__body .field,
.body-section__body p:first-child,
.body-section__body ul:first-child,
.body-section__body ol:first-child {
  margin-block-start: 0;
}

.body-section__body p,
.body-section__body ul,
.body-section__body ol {
  margin-block: 0 16px;
}

.body-section__body ul,
.body-section__body ol {
  padding-inline-start: 27px;
}

.body-section__body li + li {
  margin-block-start: 4px;
}

.body-section__body > .field > :last-child,
.body-section__body > .field > :last-child > :last-child {
  margin-block-end: 0;
}

.section {
  box-sizing: border-box;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  color: #374151;
  font-family: "Teva Sans", Arial, sans-serif;
  word-break: break-word;
}

.section__inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 1440px;
  padding-inline: 20px;
  margin-inline: auto;
}

.section__heading {
  width: 100%;
  margin: 0;
  color: var(--color-brand-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
}

.section__components {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
}

.section__components > .page-component {
  min-width: 0;
  margin: 0;
}

.section--context-boxes .section__inner,
.section--context-boxes .section__components {
  gap: 20px;
}

.context-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 22.5px 22.5px 26.5px;
  color: #374151;
  font-family: "Teva Sans", Arial, sans-serif;
  word-break: break-word;
  background: var(--color-brand-white);
  border: 1.5px solid var(--context-box-color, var(--color-brand-green));
  border-radius: 20px;
  box-shadow: 0 2px 8px rgb(28 64 107 / 6%);
}

.context-box *,
.context-box *::before,
.context-box *::after {
  box-sizing: border-box;
}

.context-box__main,
.context-box__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.context-box__main {
  gap: 20px;
}

.context-box__header {
  gap: 16px;
}

.context-box__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: var(--context-box-color, var(--color-brand-green));
  border: 3px solid #ededed;
  border-radius: 50%;
}

.context-box__icon img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.context-box__heading {
  width: 100%;
  margin: 0;
  color: var(--context-box-color, var(--color-brand-green));
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
}

.context-box__body {
  width: 100%;
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
}

.context-box__body .field,
.context-box__body p,
.context-box__body ul,
.context-box__body ol {
  margin-block: 0;
}

.context-box__body p + p,
.context-box__body p + ul,
.context-box__body p + ol,
.context-box__body ul + p,
.context-box__body ol + p {
  margin-block-start: 12px;
}

.context-box__body ul,
.context-box__body ol {
  padding-inline-start: 24px;
}

.context-box__body sup {
  font-size: 0.645em;
  line-height: 0;
}

.context-box__components,
.context-box__components > .field,
.context-box__components > .field > .field__item {
  width: 100%;
}

.context-box__components > .field {
  display: block;
}

.context-box__components .page-component {
  margin: 0;
}

.two-column-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  color: #374151;
  font-size: 16px;
  line-height: 21px;
  border-radius: 12px;
}

.two-column-box:has(.info-box) {
  padding: 0;
  background: none;
  border-radius: 0;
}

.two-column-box__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
}

.two-column-box__column,
.two-column-box__text,
.two-column-box .body-section,
.two-column-box .body-section__body {
  width: 100%;
}

.two-column-box__column {
  display: flex;
  flex-direction: column;
}

.two-column-box__column > * {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.two-column-box .body-section {
  gap: 0;
  color: inherit;
  scroll-margin-block-start: 0;
}

.two-column-box .body-section__body,
.two-column-box__text {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* .two-column-box .body-section__body p,
.two-column-box .body-section__body ul,
.two-column-box .body-section__body ol,
.two-column-box__text .field,
.two-column-box__text p {
  margin: 0 0 8px;
} */

.two-column-box .body-section__body p + ul,
.two-column-box .body-section__body p + ol {
  margin-block-start: 12px;
}

.two-column-box .body-section__body ul,
.two-column-box .body-section__body ol {
  padding-inline-start: 24px;
}

.two-column-box .body-section__body li + li {
  margin-block-start: 0;
}

@media (max-width: 767px) {
  .context-box--green .context-box__body {
    line-height: 21px;
  }

  .two-column-box__column:first-child .body-section__body {
    letter-spacing: -0.3px;
  }
}

.media-lightbox,
.paragraph-media {
  box-sizing: border-box;
  width: 100%;
}

.media-lightbox__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  cursor: default;
  background: transparent;
  border: 0;
}

.media-lightbox__trigger:focus-visible {
  outline: none;

  & .media-lightbox__expand-icon {
    outline: 3px solid var(--color-brand-green);
    outline-offset: 2px;
  }
}

.media-lightbox__thumbnail-image {
  display: block;
  width: 100%;
  height: auto;
}

.media-lightbox__expand-icon {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: rgb(0 0 0 / 50%) url("../assets/expand.svg") center / 18px 18px no-repeat;
  border-radius: 6px;
}

.media-lightbox__dialog {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;
  background: var(--color-black, #000);
}

.media-lightbox__dialog[hidden] {
  display: none;
}

body.media-lightbox-open {
  overflow: hidden;
}

.media-lightbox__dialog-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.media-lightbox__full-image {
  display: block;
  width: 100%;
  max-width: 100vw;
  height: auto;
  max-height: 100vh;
  object-fit: contain;
}

.media-lightbox__close {
  position: absolute;
  top: -39px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  background: rgb(255 255 255 / 30%);
  border: 0;
  border-radius: 6px;
}

.media-lightbox__close:hover,
.media-lightbox__close:focus-visible {
  background: rgb(255 255 255 / 45%);
}

.media-lightbox__close:focus-visible {
  outline: 3px solid var(--color-brand-white);
  outline-offset: 2px;
}

.media-lightbox__close-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: url("../assets/close.svg") center / 24px 24px no-repeat;
}

@media (max-width: 767px) {
  .media-lightbox__trigger {
    cursor: zoom-in;
  }

  .media-lightbox__expand-icon {
    display: block;
  }
}

.faq-item {
  font-family: "Teva Sans", Arial, sans-serif;
  border-block-start: 1px solid #e2e6eb;
}

.faq-item__heading {
  margin: 0;
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  color: #374151;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  margin: 12px 0;
}

.faq-item__toggle:hover,
.faq-item__toggle:focus-visible {
  color: var(--color-brand-navy);
}

.faq-item__toggle:focus-visible {
  outline: 3px solid var(--color-brand-green);
  outline-offset: 3px;
}

.faq-item__question {
  flex: 1 1 auto;
  min-width: 0;
}

.faq-item__chevron {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: -9px 0 -9px 16px;
  background: url("../assets/Chevron.svg") center / 40px 40px no-repeat;
  transition: transform 180ms ease;
}

.faq-item__toggle[aria-expanded="false"] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding-block-end: 20px;
  color: #000;
}

.faq-item__answer p {
  max-width: 800px;
  color: #000;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.faq-item__answer[hidden] {
  display: none;
}

.faq-item__answer .field,
.faq-item__answer p:first-child {
  margin-block-start: 0;
}

.faq-item__answer p:last-child {
  margin-block-end: 0;
}

@media (min-width: 768px) {
  @media (prefers-reduced-motion: no-preference) {
    .page-component-load-in {
      transition: opacity 700ms ease-out;
    }
  }

  article.landing-page .field--name-field-page-components > .page-component > .section {
    padding-block: 60px;
  }

  p,
  p.body {
    font-size: 18px;
    line-height: 24px;
  }

  .field--name-field-page-components {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    padding-inline: clamp(20px, 8.3333vw, 120px);
  }

  .field--name-field-page-components > .page-component--full {
    grid-column: 1 / -1;
  }

  .info-box {
    padding: 30px 32px 32px;
  }

  .section__inner {
    padding: 0px clamp(20px, 8.3333vw, 120px);
  }

  .section__heading {
    font-size: 32px;
    line-height: 38px;
  }
/*
  .section__components {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } */

  .section__components > .page-component--full {
    grid-column: 1 / -1;
  }

  .context-box {
    gap: 28px;
    padding: 38.5px 46.5px;
  }

  .context-box__header {
    gap: 20px;
  }

  .context-box:has(.context-box__icon) .context-box__main {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 60px;
  }

  .context-box__body {
    line-height: 24px;
  }

  .two-column-box__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .faq-item__toggle {
    font-size: 20px;
  }

  .faq-item__answer p,
  .faq-item__answer li {
    font-size: 18px;
    line-height: 25px;
    font-weight: 300;
  }
}

.context-box__components {
  background-color: #F8F8F8;
  border-radius: 12px;
}
