h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ol {
  margin-top: 0;
}

.rec-ol {
  margin-bottom: 0;
  /* padding-inline-start: 50px; */
}

.main-intro-block {
  opacity: var(--sds-size-stroke-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-intro-block.dark-bg {
  background: #f3f1e3;
}
.sand-bg {
  background: #f3f1e3;
}

.text-block-padding {
  padding: 5% 20px;
}

/* Padding for elements that contain stretched content (images or charts) */
.text-block-padding-l-r {
  padding-left: 25%;
  padding-right: 25%;
}
.text-block-padding-top {
  padding-top: 5%;
}
.text-block-padding-bottom {
  padding-bottom: 5%;
}

.dark {
  background: #e6e6e6;
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  gap: 32px;
  /* width: 100%; */
}

.text-h2 {
  align-self: stretch;
  color: #000;
  font-family: "Bodoni Moda", serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 58px; /* 161.111% */
  margin: 0;
}

.text-h3 {
  color: #000;
  /* H3 */
  font-family: "Bodoni 72";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 58px; /* 161.111% */
}

.text-h4 {
  color: #000;
  /* H4 */
  font-family: "Proxima Nova";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.text-p {
  max-width: 660px;
  align-self: stretch;
  color: #000;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Proxima Nova";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 160% */
  opacity: var(--sds-size-stroke-border);
  margin: 0 auto 0 auto;
}

.text-p.summ-modal {
  font-size: 16px;
  line-height: 24px;
}

.text-p-bigger {
  color: #000;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Proxima Nova";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.text-block.light .text-h2,
.text-block.light .text-p {
  color: #fff;
}

.chart-title {
  color: #000;
  text-align: center;

  /* H4 */
  font-family: "Proxima Nova";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.partner-logo-container {
  display: flex;
  max-width: 900px;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
}

.chapter-text {
  align-self: stretch;
  opacity: 0.5;
  color: #000;
  font-family: Georgia;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: 58px; /* 252.174% */
}

.chapter-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: -7px;
  align-self: stretch;
}

.chapter-description {
  color: #000;
  opacity: 0.6;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Proxima Nova";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 160% */
  align-self: stretch;
}

.explore-button {
  color: #007d8e;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Proxima Nova";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 160% */
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s ease;
}

.explore-button:hover {
  text-decoration: underline;
}

.portrait-title {
  align-self: stretch;
  opacity: 0.8;
  color: #000;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Bodoni 72";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.portrait-description {
  align-self: stretch;
  opacity: 0.6;
  color: #000;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.chapter-title {
  color: #000;
  opacity: 0.5;
  font-family: Georgia;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: 58px; /* 252.174% */
}

.modal-container {
  float: right; /* Float the div to the left */
  width: 100%;
  max-width: 376px;
  max-height: 508px;
  padding: 30px;
  background-color: #e9e7d9;
  margin-left: 20px;
}

/* .text-p-wrap-container {
  margin-right: -250px;
} */

.conclusion-heading {
  color: #000;
  /* H2 */
  font-family: "Bodoni 72";
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 58px; /* 120.833% */
  padding-bottom: 2%;
}

.conclusion-text {
  color: #000;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Proxima Nova";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 145.455% */
}

.max-w-1000 {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.padding-2-p {
  padding: 2%;
}

.padding-5-p {
  padding: 5%;
}

.intro-modal-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.intro-modal-gif {
  /* width: 100%; */
  width: auto;
  height: auto;
  max-height: 100vh;
  max-width: 100vw;
}

.intro-modal-text-parent {
  position: absolute;
  bottom: 0;
  background: #ffffff4a;
  width: 100%;
  padding: 3%;
  backdrop-filter: blur(5px);
}

.intro-modal-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.intro-animation-modal-p {
  color: #000;
  text-align: center;
  font-family: "Proxima Nova";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.intro-animation-modal-red-p {
  color: #da383b;
  text-decoration-color: #da383b;
  text-align: center;
  font-family: "Proxima Nova";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  align-items: center;
  gap: 3px;
}

#close-intro-animation-modal:hover {
  text-decoration: underline;
  /* text-decoration-color: inherit; */
  cursor: pointer;
}

.intro-animation-modal-logo {
  position: absolute;
  top: 31px;
  left: 33px;
  color: #383307;
  font-family: "Bodoni 72";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 48px */
  letter-spacing: 0.64px;
}

.modal__container.intro-animation {
  width: 100vw;
  overflow-y: clip;
}

.modal-content img {
  max-width: 260px;
}

.graphic-padding-l-r {
  padding-left: 4%;
  padding-right: 4%;
}

.graphic-padding {
  padding: 4%;
}

@media screen and (max-width: 1080px) {
  .text-p-wrap-container {
    margin-right: 0;
  }
}

@media screen and (max-width: 992px) {
  /* .text-block-padding {
    padding: 5% 5%;
  } */

  /* Padding for elements that contain stretched content (images or charts) */
  .text-block-padding-l-r {
    padding-left: 5%;
    padding-right: 5%;
  }
  .text-block-padding-top {
    padding-top: 5%;
  }
  .text-block-padding-bottom {
    padding-bottom: 5%;
  }
}

/* General mobile styles */
@media only screen and (max-width: 768px) {
  .text-block-padding {
    padding-left: 0;
    padding-right: 0;
  }
  .text-h3 {
    line-height: normal;
    padding-left: 20px;
    padding-right: 20px;
  }
  .intro-modal-container {
    height: 100vh;
    background-color: #f3f1e3;
  }
  .intro-modal-text-parent {
    position: unset;
  }
  .intro-animation-modal-logo {
    position: unset;
    width: 100%;
  }
  .text-p,
  h4 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .bullet-mobile-padding {
    padding-left: 40px;
  }
  .chart-title {
    padding-left: 10px;
    padding-right: 10px;
  }
  .conclusion-text-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 640px) {
  .text-p-wrap-container {
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
  }
}

@media only screen and (max-width: 460px) {
  /* .text-p-wrap-container {
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
  } */
  .modal-container {
    float: unset;
    margin-left: 0;
    max-width: fit-content;
    padding: 0;
  }
  .modal-content img {
    max-width: 100%;
  }
  .modal-description {
    font-size: 16px;
  }
}
