/**
 * Generic styling
 */

body.disabled-scroll {
  overflow-y: auto;
  position: initial;
}

.align-center {
  margin: 0 auto;
}

.relative {
  position: relative;
}

.text-align-center {
  text-align: center;
}

.text-align-left {
  text-align: left;
}

.text-align-right {
  text-align: right;
}

.text-transform-none {
  text-transform: none;
}

.lowercase {
  text-transform: none !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.capitalize {
  text-transform: capitalize !important;
}

.overflow-hidden {
  overflow: auto;
}

.bold {
  font-weight: 600;
}

.text-underline {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .md-text-align-right {
    text-align: right;
  }
  .md-text-align-left {
    text-align: left;
  }
}

/* General font styling */

a {
  text-decoration: none;
  color: inherit;
  user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 .h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  letter-spacing: 0;
  font-weight: 400;
}

h1,
.h1 {
  font-size: 36px;
  line-height: 52px;
}

h2,
.h2 {
  font-size: 30px;
  line-height: 40px;
}

h3,
.h3 {
  font-size: 30px;
  line-height: 40px;
}

h4,
.h4 {
  font-size: 24px;
  line-height: 32px;
}

h5,
.h5 {
  font-size: 18px;
  line-height: 28px;
}

p,
.p {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.prose h1:first-child,
.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child,
.prose h5:first-child,
.prose h6:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0px;
}

.prose h1:last-child,
.prose h2:last-child,
.prose h3:last-child,
.prose h4:last-child,
.prose h5:last-child,
.prose h6:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-bottom: 0px;
}

p:first-child {
  margin-top: 0px;
}

p:last-child,
.prose p:last-child,
.prose .p:last-child {
  margin-bottom: 0px;
}

/* Text content (WYSIWYG etc.) */
.prose h1,
.prose .h1,
.prose h2,
.prose .h2,
.prose h3,
.prose .h3,
.prose h4,
.prose .h4,
.prose h5,
.prose .h5 {
  /* margin-bottom: 16px; */
  margin-bottom: var(--size-4);
  font-weight: 500;
  font-family: "Figtree", sans-serif;
  color: var(--color-green-dark);
}

.prose p,
.prose .p {
  /*   margin-bottom: 32px; */
  margin-bottom: var(--size-6);
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.prose.wysiwyg.text-base-regular p,
.prose.wysiwyg.text-base-regular .p {
  /*   margin-bottom: 32px; */
  margin-bottom: var(--size-6);
  font-family: "Figtree", sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
}

.prose.wysiwyg.text-xl-regular p,
.prose.wysiwyg.text-xl-regular .p {
  /*   margin-bottom: 32px; */
  margin-bottom: var(--size-6);
  font-family: "Figtree", sans-serif !important;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
}

.prose.wysiwyg.text-2xl-medium p,
.prose.wysiwyg.text-2xl-medium .p {
  /*   margin-bottom: 32px; */
  margin-bottom: var(--size-6);
  font-family: "Figtree", sans-serif !important;
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 500 !important;
}

.prose.wysiwyg strong {
  color: var(--color-green-dark);
}

.prose.wysiwyg a {
  color: var(--color-green-dark);
}

.prose.wysiwyg li {
  margin-bottom: 8px;
}

.prose.wysiwyg a:hover {
  text-decoration: underline;
  padding-top: 10px;
}

.intro {
  font-size: 20px;
  line-height: 32px;
}

.quote {
  font-size: 24px;
  line-height: 32px;
}

.manchet {
  font-size: 20px;
  line-height: 32px;
}

.label {
  font-size: 14px;
  line-height: 25px;
}

@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 48px;
    line-height: 56px;
  }

  h2,
  .h2 {
    font-size: 32px;
    line-height: 36px;
  }

  h3,
  .h3 {
    font-size: 16px;
    line-height: 24px;
  }

  h4,
  .h4 {
    font-size: 14px;
    line-height: 23px;
  }

  h5,
  .h5 {
    font-size: 14px;
    line-height: 24px;
  }

  /*  p,
  .p {
    font-size: 18px;
    line-height: 30px;
  } */

  .intro {
    font-size: 32px;
    line-height: 40px;
  }

  .quote {
    font-size: 24px;
    line-height: 32px;
  }

  .manchet {
    font-size: 20px;
    line-height: 32px;
  }

  .label {
    font-size: 14px;
    line-height: 25px;
  }

  .prose h1,
  .prose .h1,
  .prose h2,
  .prose .h2,
  .prose h3,
  .prose .h3,
  .prose h4,
  .prose .h4 .prose h5,
  .prose .h5 {
    /* margin-bottom: 24px; */
    margin-bottom: var(--size-4);
  }

  .prose p,
  .prose .p {
    margin-bottom: 40px;
  }
}

@media (min-width: 1025px) {
  h1,
  .h1 {
    font-size: 60px;
    line-height: 60px;
    font-weight: 400;
  }

  h2,
  .h2 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
  }

  h3,
  .h3 {
    font-size: 36px;
    line-height: 52px;
    font-weight: 400;
  }

  h4,
  .h4 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
  }

  h5,
  .h5 {
    font-size: 18px;
    line-height: 28px;
  }

  /*   p,
  .p {
    font-size: 18px;
    line-height: 30px;
  } */

  .intro {
    font-size: 48px;
    line-height: 53px;
  }

  .quote {
    font-size: 36px;
    line-height: 48px;
  }

  .manchet {
    font-size: 24px;
    line-height: 32px;
  }

  .label {
    font-size: 14px;
    line-height: 25px;
  }

  .prose h1,
  .prose .h1,
  .prose h2,
  .prose .h2,
  .prose h3,
  .prose .h3,
  .prose h4,
  .prose .h4 .prose h5,
  .prose .h5 {
    /* margin-bottom: 24px; */
    margin-bottom: var(--size-4);
  }

  .prose p,
  .prose .p {
    margin-bottom: 40px;
  }
}

/* Generel */

.image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.image-container.one {
  aspect-ratio: 1 / 1;
}

.image-container.three {
  aspect-ratio: 4 / 3;
}

.image-container.four {
  aspect-ratio: 16/9;
}

.image-container.five {
  aspect-ratio: 16/7;
}

.image-container.six {
  aspect-ratio: 41/25;
}

.image-container img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/**
 * WP Embeds
 */

.wp-embed-aspect-4-3 iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.wp-embed-aspect-16-9 iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Text content (WYSIWYG etc.) */

.prose {
  font-size: 16px;
  line-height: 25px;
}

.prose a {
  color: inherit;
}

.prose a:hover::after {
  text-decoration: underline;
}

/*
* Font-sizes
*/

.text-sm-regular {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
}

.text-sm-semibold {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.text-base-regular {
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.text-base-medium {
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.text-lg-regular {
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.text-lg-medium {
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.text-xl-font-normal {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: var(--color-base-gray);
}

.text-4xl-regular {
  font-family: "Figtree", sans-serif;
  font-size: 36px;
  line-height: 52px;
  font-weight: 400;
}

.text-xl-medium {
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.text-2xl-regular {
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}

.text-2xl-medium {
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.text-3xl-regular {
  font-family: "Figtree", sans-serif;
  font-size: 30px;
  line-height: 40px;
  font-weight: 400;
}

.text-3xl-medium {
  font-family: "Figtree", sans-serif;
  font-size: 30px;
  line-height: 40px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .text-lg-medium {
    font-family: "Figtree", sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
  }

  .text-xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
  }

  .text-2xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
  }

  .text-3xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 30px;
    line-height: 40px;
    font-weight: 400;
  }

  .text-5xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
  }

  .text-6xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 60px;
    line-height: 60px;
    font-weight: 400;
  }
}

@media screen and (min-width: 1025px) {
  .text-xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
  }

  .text-2xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
  }

  .text-5xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
  }
  .text-4xl-medium {
    font-family: "Figtree", sans-serif;
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
  }

  .text-6xl-regular {
    font-family: "Figtree", sans-serif;
    font-size: 60px;
    line-height: 60px;
    font-weight: 400;
  }
}

/* Font weights */

.font-100 {
  font-weight: 100;
}

.font-200 {
  font-weight: 200;
}

.font-300 {
  font-weight: 300;
}

.font-400 {
  font-weight: 400;
}

.font-500 {
  font-weight: 500;
}

.font-600 {
  font-weight: 600;
}

.font-700 {
  font-weight: 700;
}

.font-800 {
  font-weight: 800;
}

.font-900 {
  font-weight: 900;
}

/**
* Opacity
*/
.opacity-50 {
  opacity: 0.5;
}

.opacity-90 {
  opacity: 0.9;
}
