/* Fonts Loading */
/* source-sans-3-regular */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/source-sans-3-400-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-500 (Medium) */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/source-sans-3-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-600 (Bold) */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Basic Settings/Elements */
body,
html {
  perspective: 1000px; /* gives a 3D space effect */
  transform-style: preserve-3d;
  font-family: "Source Sans 3", sans-serif;
}
input {
  font-family: "Source Sans 3", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  color: unset !important;
}

.one-container .site-content {
  padding: 0 !important;
}
.container {
  background-color: unset !important;
}

.ccontainer {
  padding-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: unset !important;
}
.inside-header.grid-container,
.ccontainer {
  max-width: 1500px !important;
}

.ccontainer.padding,
.padding,
.padding-parent > .padding-child {
  padding: var(--spacer-s);
}

.boxy-container,
.bordered-container {
  border: 1px solid;
  border-bottom: 0;
}

.bordered-sides {
  border-left: 1px solid;
  border-right: 1px solid;
}

main section:last-child .boxy-container {
  border-bottom: 1px solid;
}

.boxy-container.full > a:not(:last-child),
.boxy-container.full > div:not(:last-child) {
  border-bottom: 1px solid;
}
.boxy-container > *:not(:nth-last-child(-n + 2)) {
  border-bottom: 1px solid;
}

.boxy-container.full.oddly > div:last-child {
  height: fit-content !important;
  min-height: unset !important;
}

.boxy-container.wrap {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .boxy-container > a:not(:last-child) {
    border-bottom: 1px solid;
  }
  .boxy-container,
  .bordered-container,
  .bordered-sides {
    border-left: 0;
    border-right: 0;
  }
}

.bt-no {
  border-top: none !important;
}
.bb-none,
.bb-no {
  border-bottom: none !important;
}
.pb-none {
  padding-bottom: 0 !important;
}

.grid-box {
  padding: var(--spacer-s);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 50px;
}
.grid.column {
  flex-direction: column;
}
.grid.column > div,
.grid.column > a {
  width: 100% !important;
}

.grid.third > div,
.grid.third > a {
  width: 30%;
  flex: 0 1 calc(33.333% - 1rem);
  min-height: 25vh;
}

.grid.half {
  width: 100% !important;
}

.grid.half > div,
.grid.half > a {
  width: calc(50% - 12px);
  min-height: 25vh;
}
.box.tool {
  min-height: unset !important;
}

@media screen and (max-width: 1200px) {
  .grid.third > div,
  .grid.third > a {
    width: 100%;
    flex: unset;
  }

  .grid.half > div,
  .grid.half > a {
    width: 100% !important;
  }

  .grid {
    row-gap: 25px;
  }
}

/* BUTTON */
input[type="button"],
input[type="submit"],
button,
.button {
  border-radius: 100px !important;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
  background-color: unset !important;
  border: 2px solid;
  font-weight: 600 !important;
  width: fit-content;
}
input[type="button"]:hover,
input[type="submit"]:hover,
button:hover,
.button:hover {
  transform: scale(1.05);
}

.site-logo {
  height: 70px !important;
}

a.injected-logo:hover,
footer .site-logo a:hover {
  background-color: unset !important;
}

section.hero {
  padding-top: 5rem !important;
}

.site.grid-container {
  max-width: 100% !important;
}

p,
div,
span,
a,
ul,
ol,
.small {
  font-weight: 600 !important;
  font-size: clamp(1.25rem, 0.9643rem + 0.5952vw, 1.5rem) !important;
  line-height: normal;
}

.s-font {
  font-size: clamp(1.125rem, 0.7143rem + 0.5952vw, 1.25rem) !important;
}

select {
  font-weight: 400 !important;
}

h1,
.xl-font {
  font-size: clamp(3.75rem, -4.1071rem + 16.369vw, 10.625rem) !important;
  line-height: 106%;
  font-weight: 600;
  margin: unset !important;
}

h2,
.l-font {
  font-size: clamp(1.75rem, 0.2717rem + 7.3913vw, 6rem) !important;
  font-weight: 600;
  line-height: 100%;
  margin: unset !important;
}

h3,
h3 a,
.m-font {
  font-size: clamp(1.75rem, 0.6071rem + 2.381vw, 3rem) !important;
  font-weight: 600;
  line-height: 105%;
  margin: unset !important;
}

.ms-font {
  font-size: clamp(1.5rem, 0.9286rem + 1.1905vw, 2rem) !important;
  font-weight: 600;
}

h3 a {
  text-decoration: none;
}

.capitalized {
  text-transform: uppercase;
}

.site-content {
  flex-direction: column !important;
}

.one-container .site-content,
.site-content .content-area {
  width: 100% !important;
}

.one-container.both-right .site-main,
.one-container.right-sidebar .site-main {
  margin-right: 0 !important;
}

.bg-blue {
  background-color: var(--blue) !important;
  color: white;
  border-color: white;
}

.site-content > section {
  width: 100%;
}

a {
  font-size: clamp(1.125rem, 0.6964rem + 0.8929vw, 1.5rem) !important;
  font-weight: 600 !important;
}

a,
u {
  color: unset;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover:not(.button) {
  color: unset;
  opacity: 0.8;
}
header a:hover {
  opacity: 1 !important;
}

a.button {
  color: unset !important;
}

a.no {
  text-decoration: none;
}

.inside-footer-widgets {
  gap: 30px;
}

.inside-footer-widgets > div {
  flex: unset !important;
}

.max-two {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  padding-bottom: 3px;
}
.max-three {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  padding-bottom: 3px;
}

.max-four {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  line-clamp: 4;
  -webkit-box-orient: vertical;
  padding-bottom: 3px;
}

/* Gutenberger Blocks Settings */
.gutenberger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.gutenberger.centered {
  align-items: center;
}

.gutenberger > div {
  max-width: 50%;
}

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

.gutenberger > .wp-block-columns {
  max-width: 100%;
}

.gutenberger.left {
  align-items: flex-start;
}
.entry-content > .centered,
.gutenberger > .centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .gutenberger > div,
  .gutenberger > * {
    max-width: 100%;
  }
}

/* Cards/Boxes */
.card {
  background: var(--grey);
}
.card:hover {
  background-color: var(--blue);
  color: white;
  border-color: white;
}

.card {
  border-radius: var(--radius-l);
  padding: var(--padding-card);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  transition: all 0.2s ease-in-out;

  .content {
    .thumbnail {
      height: 25vh;
      margin-bottom: 10px;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }

    h3 {
      margin-bottom: 10px;
    }

    h4 {
      margin-bottom: 0 !important;
    }

    .meta {
      display: flex;
      flex-direction: column;
    }

    .desc {
      margin-top: 10px;
    }
  }

  a {
    width: fit-content;
  }
}

@media screen and (max-width: 768px) {
  .card {
    background-color: var(--blue);
    color: white;
    border-color: white;
  }
  .card .thumbnail {
    height: 35vh !important;
  }
}

.card.medium {
  flex-direction: row;
  width: 45%;
  padding: var(--padding-card-l);

  .button {
    margin-top: 20px;
  }

  .meta {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
  }

  .content {
    width: 50%;

    .thumbnail {
      width: 100%;
      margin-left: auto;
    }
  }
}

.card.big {
  width: 100%;
  flex-direction: row;
  transition: all 0.2s ease-in-out;
  margin-bottom: 5vw;
  padding: var(--padding-card-l);
  padding-right: 8rem;
  height: 35vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  border-radius: var(--radius-l);

  .thumbnail {
    width: 50%;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;

    .content__inner {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .button {
      width: fit-content;
    }
  }
}
.card.big.right-aligned {
  padding: var(--padding-card-l);
  padding-left: 3rem;
}

@media screen and (max-width: 767px) {
  .card.medium {
    width: 100%;
    padding: var(--padding-card);

    .meta {
      width: 100%;

      .desc {
        margin-top: 10px;
      }
    }

    .content {
      width: 100%;

      .thumbnail {
        width: 100%;
        margin-left: 0;
      }
    }
  }

  .card.big {
    flex-direction: column;
    height: fit-content;
    align-items: flex-start;
    padding-right: var(--padding-card-l);
    padding: var(--padding-card);
    gap: 2rem;

    .thumbnail,
    .content {
      width: 100%;
    }

    .thumbnail {
      height: 50vw !important;
    }
  }

  .card.big.right-aligned {
    padding: var(--padding-card);
  }
  .card.right-aligned {
    flex-direction: column-reverse;
  }
}

.teaser-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
}
.archive {
  margin: var(--spacing-l) 0;
}

/* Projects */
.cards-archive {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  width: 100%;
  justify-content: center;
}
.cards-archive article {
  width: 25%;
}

@media screen and (max-width: 1200px) {
  .cards-archive article {
    width: 60%;
  }
}
@media screen and (max-width: 900px) {
  .cards-archive {
    gap: 50px !important;
  }

  .cards-archive article {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .cards-archive article {
    width: 100%;
  }
}

.tag {
  display: inline-block;
  border: 1px solid;
  border-color: inherit;
  padding: 3px 10px;
  border-radius: var(--radius-l);
  font-size: 0.8rem;
  text-decoration: none;
  margin-right: 10px;
  width: fit-content;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-archive article:hover {
  background-color: var(--blue);
  color: white;
  border-color: white;
}

/* PROJECTS */
.project-teaser__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;

  .button {
    width: fit-content;
  }
}

.project-teaser__image {
  width: 50%;
  height: 100%;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.project-teaser__content__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* QUOTE */
.quote-container {
  display: flex;
  justify-content: center;
}

.quote {
  padding: var(--padding-card-l);
  background-color: var(--grey);
  border-radius: var(--radius-l);
  width: 70%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: var(--blue);
  color: white;

  .logo {
    height: 100px;
    width: 100px;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  p {
    font-size: 22px;
    line-height: 160%;
    font-weight: 600;
    text-align: center;
  }

  .author-infos {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;

    .author-img {
      width: 100px;
      height: 100px;
      margin-bottom: 10px;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 100%;
      }
    }

    .name {
      font-weight: 600;
    }

    .more {
      font-size: 18px;
      text-align: center;
    }

    @media screen and (max-width: 600px) {
      .more {
        max-width: 70%;
        font-size: 16px;
      }
    }
  }
}

@media screen and (max-width: 1200px) {
  .quote {
    width: 100% !important;
  }
}

/* People */
.intro-person {
  margin-bottom: 20px;

  h3 {
    margin-bottom: 5px !important;
  }
}
.button.space {
  margin-top: 15px;
}

.link-whole {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* Equivalent to inset-0 */
  display: flex;
}

.link-container {
  text-decoration: none;
  opacity: 1 !important;
}

.overview section:nth-child(2) .boxy-container,
.overview section:nth-child(2) .bordered-container {
  border-top: 0;
}

.boxy-container > .heading-full {
  border: 0;
}

.contact-block {
  border-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
  .boxy-container > .text-half:first-child {
    border-bottom: 1px solid;
  }
}

img {
  overflow-clip-margin: unset;
}
