.section-heading,
.flex {
  width: 100%;
  display: flex;
  flex-grow: 1;
}

.center,
.center-col {
  display: flex;
  padding: var(--spacer-s);
  gap: var(--spacer-xs);
}
.center.col-gap {
  flex-direction: column;
  gap: var(--spacer-xs);
  align-items: flex-start;
}

.heading {
  position: relative;
}

.half {
  width: 50%;
}
.full {
  width: 100%;
}

.flex > .center.description {
  justify-content: center;
}
.flex p,
.section-heading p {
  margin-bottom: 0 !important;
}

.center-col {
  flex-direction: column;
  justify-content: space-between;
}

.flex.left .center-col.border:first-child {
  border-right: 1px solid;
}
.flex.right .center-col.border:first-child {
  border-left: 1px solid;
}

.flex.right {
  flex-direction: row-reverse;
}
.flex.h-auto {
  height: fit-content;
  max-height: unset;
}

.image {
  padding: 0 !important;
  position: relative;
}
.image > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.boxy.image:not(.h-auto) {
  min-height: var(--box-h);
  max-height: 35rem;
}

.quote-block {
  align-items: center;
}

@media screen and (max-width: 768px) {
  .section-heading {
    padding-bottom: calc(var(--spacer-xs) / 2);
  }

  .boxy.image {
    height: fit-content !important;
    max-height: unset !important;
  }
  .quote-block {
    flex-direction: column-reverse !important;
    align-items: flex-start;
  }
}

.person-teaser {
  min-height: 35rem;
}

.text-teaser,
.text-half {
  width: 50%;
}

.text-image-teaser.right > div:first-child {
  width: 50.1%;
}

@media (max-width: 768px) {
  .image > img {
    position: relative;
  }

  .section-heading,
  .flex {
    flex-direction: column;
  }

  .text-image-teaser.right,
  .text-image-teaser,
  .person-teaser,
  .person-teaser.right {
    flex-direction: column-reverse;
  }

  .flex > div,
  .section-heading > div {
    width: 100% !important;
  }

  .flex > div.image {
    padding: 0 !important;
    border-bottom: 1px solid;
  }

  .flex > .description,
  .section-heading > .description {
    padding-top: 10px;
  }

  .flex.left .center-col.border:first-child {
    border-right: 0;
  }
  .flex.right .center-col.border:first-child {
    border-left: 0;
  }
  .center-col {
    gap: var(--spacer-xxs);
  }

  .text-teaser,
  .text-half {
    width: 100%;
  }

  .boxy .image,
  .person-teaser .image,
  .detail-grid .featured-image .img-person {
    height: 45vh !important;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-s);
}

.box {
  background-color: var(--dark-blue);
  border-radius: 30px;
  color: var(--grey);
  fill: var(--grey);
  padding: var(--spacer-xxs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.box.link {
  padding: var(--spacer-xs);
  background-color: unset !important;
  color: inherit !important;
  border: 2px solid !important;
}
.box.link .content {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);
  position: relative;

  h3 {
    padding-right: var(--spacer-m);
  }
}
.box.link .content a:hover {
  background-color: var(--dark-blue) !important;
  color: var(--beige) !important;
}

.box.link .icon {
  position: absolute !important;
  top: 0;
  right: 0;
  transform: rotate(130deg);
}

.box.link svg {
  fill: var(--dark-blue) !important;
  width: 2rem;
  height: 2rem;
}

.box.tool {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.box.tool a {
  display: flex;
}

.box.tool .header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;

  .tool-image {
    height: 27vw;
    max-height: 35rem;

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

  .tool-info {
    display: flex;
    justify-content: space-between;
    align-items: center;

    svg {
      width: 32px;
    }
  }
}

.grid.column .tool-image {
  height: 25vh !important;
}

@media (max-width: 768px) {
  .box.tool .header {
    gap: 16px;

    .tool-image {
      height: 35vh;
    }
  }

  .tool-info svg {
    width: 28px !important;
  }
}

.full-link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.column.gap {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.text-half {
  height: unset;
  min-height: unset !important;
}
.text-half .center-col {
  justify-content: unset !important;
  height: 100%;
}

.person-teaser .info-person {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);
}

.boxy.column {
  flex-direction: column;
}

.partners-slider,
.slider {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);
  padding-bottom: var(--spacer-s);
}
.partners-slider .swiper,
.slider .swiper {
  display: flex;
  gap: 24px;
  width: 100% !important;
  padding: 0 var(--spacer-s);
  cursor: grab;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.slider.logos .swiper-wrapper {
  height: 100% !important;
}

.slider.logos .swiper .swiper-slide {
  padding: var(--spacer-s);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22rem !important;
  height: 8rem !important;
}
.slider.logos .swiper-slide .logo {
  width: fit-content;
  height: 100%;

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

@media (max-width: 768px) {
  .slider.logos .swiper .swiper-slide {
    width: 10rem !important;
    height: 5rem !important;
    border-radius: 25px;

    .logo {
      width: 100%;

      svg,
      img {
        width: 100%;
      }
    }
  }
}

.swiper-slide {
  border-radius: 36px;
}
.swiper-slide .content {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);

  .button:hover {
    background-color: var(--red) !important;
    color: var(--dark-blue) !important;
  }
}

.swiper-slide img {
  border-radius: 36px 36px 0 0 !important;
}

.swiper-wrapper {
  height: unset !important;
}

.slider .swiper > .swiper-wrapper .swiper-slide,
.partners-slider .swiper > .swiper-wrapper .swiper-slide {
  width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--dark-blue);
  color: var(--red);

  .image {
    height: 22rem;
  }

  .content {
    padding: 20px;
    flex: 1 1 auto;
    justify-content: space-between;

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

.slider .heading,
.partners-slider .heading {
  position: relative;
}

.swiper-controls {
  position: absolute;
  right: 0;
  top: 0;
  padding: inherit;
  display: flex;
  gap: 69px;

  .right {
    transform: scaleX(-1);
  }
}
.swiper-controls > div {
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}
.swiper-controls > div:hover {
  scale: 0.9;
}
.swiper-button-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.swiper-wrapper {
  position: relative;
}

.swiper-controls {
  position: absolute;
  z-index: 999;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 60px;
  pointer-events: none;
}

.swiper-controls .left,
.swiper-controls .right {
  pointer-events: all;
}

.swiper-controls .left {
  left: 20px;
}

.swiper-controls .right {
  right: 20px;
}

.swiper-controls .right,
.swiper-controls .left {
  position: absolute;
  background: var(--red);
  padding: 12px;
  border-radius: 100%;
  padding-bottom: 5px;
  box-shadow: 0px 15px 10px -15px var(--dark-blue);
}

.swiper-button-disabled {
  display: none;
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 1200px) {
  .partners-slider .swiper > .swiper-wrapper .swiper-slide {
    width: 25rem;

    .image {
      height: 15rem;
    }
  }
}

@media (max-width: 768px) {
  .partners-slider .swiper > .swiper-wrapper .swiper-slide {
    width: 95%;

    .image {
      height: 17rem;
    }

    img {
      border-radius: 24px 24px 0 0 !important;
    }
  }
}

@media (max-width: 768px) {
  .swiper-controls {
    height: 26px;
  }

  .swiper-controls .left {
    left: 10px;
  }

  .swiper-controls .right {
    right: 10px;
  }

  .swiper-controls .right,
  .swiper-controls .left {
    padding: 6px 10px;
    padding-bottom: 1px !important;
  }

  .swiper-controls svg {
    width: 20px;
  }
}

.breadcrumb ul {
  margin: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.jump-links ul {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);
  width: fit-content;
}
.jump-links li {
  width: fit-content;
}
.jump-links svg {
  width: 0.6rem;
  height: 0.6rem;
  transform: rotate(-90deg);
}
.jump-links a {
  text-decoration: none;
  transition: 0.3s all ease-in-out;
}
.jump-links a:hover {
  text-decoration: underline;
}

.jump-links.external a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.5rem;
}
.jump-links.external svg {
  transform: rotate(130deg);
  width: 0.8rem;
  height: 0.8rem;
}

.breadcrumb ul li,
.meta-box ul li,
.jump-links ul li {
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb ul svg {
  transform: scaleX(-1);
  width: 1rem;
  height: 1rem;
}

.column {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-xs);
}
.column.list {
  padding-bottom: var(--spacer-l);
}

.meta-box {
  border-bottom: 1px solid;
}

.meta-box ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacer-m);
}

.meta-box ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-box ul,
.column ul {
  margin: 0;
}

.column li {
  list-style: none;
}

.detail-grid {
  display: flex;
  align-items: flex-start;
}
.detail-grid.stretch {
  align-items: stretch;
}

.detail-grid.stretch > div {
  height: unset !important;
  min-height: unset !important;
}

.detail-grid > div:last-child {
  min-height: 100vh;
}

.detail-grid > div:first-child {
  position: sticky;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  top: 0; /* or whatever offset you want */
}

.tools .detail-grid > div:first-child {
  height: 100vh;
}

.projects .detail-grid > div:first-child {
  justify-content: flex-start !important;
}

.detail-grid.img-shrink > div:first-child {
  height: unset;
}

.detail-grid > div:last-child {
  flex: 1;
  border-left: 1px solid;
}

.detail-grid .featured-image {
  height: 100%;

  img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
.detail-grid > div:has(:nth-child(2)) .featured-image {
  border-top: 1px solid;
  height: 30vw;
}

@media (max-width: 1200px) {
  .column.list {
    padding-bottom: var(--spacer-s);
  }

  .detail-grid {
    flex-direction: column;
  }
  .detail-grid > div {
    width: 100% !important;
  }

  .detail-grid > div:first-child {
    position: static;
    height: fit-content;
    min-height: unset;
  }

  .tools .detail-grid > div:first-child {
    height: fit-content;
  }

  .detail-grid > div:last-child {
    border-top: 1px solid;
    min-height: unset;
    height: fit-content;
  }

  .detail-grid .featured-image {
    height: 45vh !important;
  }
}

@media (max-width: 768px) {
  .detail-grid > div:last-child {
    border-left: 0;
  }
}

.default-cols .detail-grid > div,
.facts-person .detail-grid > div {
  justify-content: flex-start;
  gap: var(--spacer-xs);
  display: flex;
  flex-direction: column;
}

.multiple-contact > .heading:first-child:nth-last-child(n + 2) {
  padding-bottom: 0;
}

.tool-info h3 a:hover {
  background-color: unset !important;
  color: unset !important;
}

.section-heading {
  border-left: 1px solid;
  border-right: 1px solid;
}

.quote-block {
  padding: var(--spacer-s);
  gap: var(--spacer-s);
}

.quote-block.no-img {
  padding: unset;
  gap: 0;
}

.quote-block .image-text {
  width: 75%;
  padding: 0;
}

.quote-block .images-container {
  width: 25%;
}

.quote-block .images-container .image {
  width: 100%;
  height: auto !important;
  border-radius: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .quote-block {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .quote-block .image-text {
    width: 100% !important;
  }

  .quote-block .images-container {
    width: 100% !important;
    padding-left: 0;
  }

  .quote-block .images-container .image {
    width: 40% !important;
  }

  .quote-block.two-imgs .images-container .image {
    width: 35% !important;
  }
}

@media (max-width: 768px) {
  .section-heading {
    border-left: 0;
    border-right: 0;
  }

  .quote-block.two-imgs .images-container .img-2 {
    margin-left: 8rem !important;
  }
}

.quote-block.two-imgs {
  align-items: stretch;
  position: relative;
}

.quote-block.two-imgs .image-text {
  width: 65%;
}
.quote-block.two-imgs .images-container {
  width: 35%;
  position: relative;
  height: auto;
  display: flex;
  align-items: center;
}

.quote-block.two-imgs .images-container .image {
  width: 55%;
  z-index: 1;
  height: auto !important;
}
.quote-block.two-imgs .images-container .img-2 {
  z-index: 0;
  margin-left: 10rem;
  margin-top: -6rem;
}
.quote-block.two-imgs .images-container .images {
  width: 100%;
  position: relative;
}

.quote-block .images-container .image {
  width: 100%;
  height: auto;
  border-radius: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.logos-grid .grid {
  padding: var(--spacer-s);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
}

.logos-grid .logo-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--dark-blue);
  color: var(--red);
  padding: 25px;
  border-radius: 25px;
  justify-content: center;
  align-items: center;
  min-height: 12rem;
  width: 100%;

  .logo {
    svg {
      width: 100%;
    }
  }
}

@media screen and (max-width: 768px) {
  .logos-grid .grid {
    grid-template-columns: 2fr; /* One column on small screens */
    grid-template-columns: repeat(2, 1fr);
    justify-items: stretch;
    gap: 1.5rem;
  }
  .logos-grid .logo-container {
    border-radius: 16px;
    padding: 15px;
    min-height: unset;
    height: unset;
  }
}

.gallery.slider {
  padding-bottom: 0 !important;
}

.gallery.slider .swiper {
  padding: 0 !important;
}

.slider.gallery .swiper > .swiper-wrapper > .swiper-slide {
  background: none !important;
  color: inherit !important;
  width: auto;
}
.slider.gallery .swiper > .swiper-wrapper > .swiper-slide span {
  margin-top: 10px;
}

.gallery.slider .swiper-wrapper {
  align-items: stretch;

  .swiper-slide img {
    height: 100%;
    object-fit: cover;
    height: 25vw !important;
    max-height: 25rem !important;
  }
}

.gallery.slider .swiper img {
  border-radius: 24px !important;
}

@media screen and (max-width: 1200px) {
  .gallery.slider .swiper-wrapper {
    align-items: stretch;

    .swiper-slide {
      max-width: 85%;
    }

    .swiper-slide img {
      height: 55vw !important;
      height: 55vw !important;
      border-radius: 16px !important;
    }
  }
}

.box.tool {
  padding: 0;
}
.box.tool > a {
  padding: var(--spacer-xxs);
}

.box.tool,
.box.tool svg {
  transition: all 0.2s ease-in-out;
}

.box.tool.hover {
  border: 2px solid;
}
.box.tool .header {
  width: 100%;
}

.contact-block > div:first-child {
  border-right: 1px solid;
}

.person .contact-block {
  border-top: 1px solid;
}
