/*
Theme Name:     BWS
Author:         2code
Description:    BWS Theme
Version:        1.0
License:        GNU General Public License v2 or later
*/

@font-face {
  font-family: "RobotoFlex";
  src: url("assets/fonts/Roboto-flex/RobotoFlex-VariableFont_GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf") format("truetype");
  font-weight: 100 1000;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}

:root {
  /* header height */
  --header-height: 64px;

  /* base colors */
  --dark-brown: #2b3434;
  --brown: #4f4f4f;
  --daintree50: #012b34;
  --grey: #b3b3b3;
  --light-grey: #f1f1f1;
  --white: #ffffff;
  --white80: #ffffff80;
  --white60: #FFFFFF99;
  --white40: #ffffff66;
  --white20: #ffffff20;

  /* accent colors */
  --daintree: #014655;
  --essential-teal: #00757b;
  --mystery: #a7ccce;
  --tiffanyblue: #7bf0cc;
  --melting-glacier: #e9f9f7;
}

html {
  margin: 0;
  position: relative;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
}

body {
  font-family: "RobotoFlex";
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.03em;
  color: var(--dark-brown);
  font-weight: 400;
  background-color: var(--grey-light);
}

body.open-menu {
  overflow: hidden;
}

section.history .history-slide h3,
section.newsticker li a,
section.hero h2,
h1 {
  font-weight: 500;
  font-size: 52px;
  line-height: 110%;
  letter-spacing: 0;
}

section.hero h2,
h1 {
  margin-bottom: 14px;
}

h2 {
  font-weight: 500;
  font-size: 40px;
  line-height: 130%;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  letter-spacing: 0;
  margin-bottom: 6px;
}

h4 {
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}


h1,
h2,
h3,
h4,
h5,
h6,
a,
p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

ul+h1,
ul+h2,
ul+h3,
ul+h4,
ol+h1,
ol+h2,
ol+h3,
ol+h4,
p+h1,
p+h2,
p+h3,
p+h4,
figure+h1,
figure+h2,
figure+h3,
figure+h4,
[class*="wp-block-"]+h1,
[class*="wp-block-"]+h2,
[class*="wp-block-"]+h3,
[class*="wp-block-"]+h4 {
  margin-top: 40px;
}

ul+p {
  margin-top: 16px;
}

a {
  display: inline-block;
  color: var(--dark-brown);
  transition: all 0.5s;
}

a:hover {
  color: inherit;
}

main > .container > p a,
.textcontent a {
  text-decoration: underline;
}
main > .container > p a:hover,
.textcontent a:hover{
  color: var(--essential-teal);
}

p a {
  text-decoration: none;
}

p:last-of-type {
  margin-bottom: 0;
}

a.button-link {
  display: inline-block;
  text-decoration: none;
  color: var(--dark-brown);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-transform: uppercase;
  width: fit-content;
  padding: 13px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background-color: var(--tiffanyblue);
  border: 1px solid var(--tiffanyblue);
  position: relative;
}

a.button-link:hover {
  background-color: var(--white);
  border-color: var(--tiffanyblue);
}

a.button-link.secondary {
  border-color: var(--white);
  color: var(--white);
  background-color: transparent;
}

a.button-link.secondary:hover {
  background-color: var(--white);
  color: var(--dark-brown);
}

a.button-link:hover img.arrow.icon {
  background-color: var(--tiffanyblue);
}

a.button-link.has-arrow {
  padding-right: 52px;
}

a.button-link img.arrow.icon {
  background-color: var(--white);
  border-radius: 50%;
  padding: 8px;
  position: absolute;
  right: 4px;
}

p+a.button-link {
  margin-top: 36px;
}

a.button-link+a.button-link {
  margin-left: 7px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

header a,
footer a {
  text-decoration: none;
}

section {
  display: block;
  width: 100%;
  position: relative;
}

/* HEADER & FOOTER */

/* HEADER */
header a,
footer a {
  position: relative;
}

header {
  background-color: var(--grey-light);
  position: absolute;
  width: 100%;
  top: 44px;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

header>.container {
  height: 100%;
}

header>.container .backdrop {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  height: 100%;
  /* background-color: #ffffff33;
  backdrop-filter: blur(30px); */
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 16px;
  background-color: rgb(192, 192, 192, 0.4);
  backdrop-filter: blur(40px);
}

header .header-menu,
header .header-menu>nav,
header .header-menu>nav>ul {
  height: 100%;
}

header .header-menu>nav>ul>li {
  height: 100%;
  display: flex;
  align-items: center;
}

header>.container>* {
  flex-shrink: 0;
}

header a {
  color: var(--white);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

header .nav-menu>li.current-menu-item>a,
header .nav-menu>li>a:hover {
  color: var(--white);
}

header .nav-menu>li>a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
header .search-wrap a::after,
header .nav-menu>li>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  margin-top: 3px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

header .search-wrap a:hover::after,
header .nav-menu>li.current-menu-item>a::after,
header .nav-menu>li>a:hover::after {
  width: 100%;
}

header a.logo img {
  height: 32px;
  width: auto;
}

header img.icon {
  margin-right: 19px;
}

header nav,
header nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

header .row {
  align-items: center;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

header .menu-item-has-children::after {
  content: url("assets/images/icons/drop.svg");
  width: 8px;
  height: 4px;
  padding-left: 2px;
}

header .menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  border-radius: 16px;
  border-top: 20px solid transparent;

  a {
    color: var(--dark-brown);
  }

  li.current-menu-item>a,
  a:hover {
    color: var(--essential-teal);
  }

}

header .menu-item-has-children .sub-menu>li {
  background-color: var(--white);
  padding: 5px 24px;
}

header .menu-item-has-children .sub-menu>li:first-of-type {
  padding-top: 10px;
}

header .menu-item-has-children .sub-menu>li:last-of-type {
  padding-bottom: 10px;
}

header .menu-item-has-children:hover .sub-menu,
header .menu-item-has-children:focus-within .sub-menu {
  display: block;
}

header .lang-menu {
  display: inline-flex;
  border-radius: 20px;
  overflow: hidden;
  gap: 0;
  background-color: #F1F1F1;
}

.lang-menu {

  span.wpml-ls-display,
  a {
    word-break: initial;
    hyphens: none;
  }
}


header .lang-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

header .lang-menu li a {
  display: block;
  text-align: center;
  padding: 6px 12px;
  text-decoration: none;
  color: #012B3480;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

header .lang-menu li.wpml-ls-current-language a {
  background-color: var(--tiffanyblue);
  color: var(--dark-brown);
}

header .lang-menu li a:hover {
  color: var(--dark-brown);
}

header .search-wrap {
  margin-right: 15px;
}

header .search-wrap a:hover {
  color: var(--white);
}

header .search-wrap a span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;

  img {
    flex-shrink: 0;
  }
}


/* MAIN */
main:last-child.section:not(section[data-bg="darkblue"]) {
  margin-bottom: 200px;
}

/* FOOTER */
footer {
  background-color: var(--daintree);
  color: var(--white60);
  padding-top: 80px;
  padding-bottom: 18px;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
}

footer p {
  margin-bottom: 0;
}

footer a {
  color: var(--white60);
}

footer a:hover {
  color: var(--white);
}

footer .footer-logo-anchor {
  margin-bottom: 30px;
}

footer .content-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 150px;
}

footer .content-wrap .contentgroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 239px;
}

footer .bottom {
  padding-top: 18px;
  border-top: 1px solid var(--white60);
  margin-top: 10px;
}

footer nav.footer-menu>ul {
  display: flex;
  flex-wrap: wrap;
  gap: 57px;
  justify-content: end;
}

footer nav.main>ul {
  justify-content: end;
  padding-right: 198px;
}

footer .left-center-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 80px;
  padding-right: 197px;
}

footer .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 28px;
}

footer .left,
footer .center,
footer .right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* breadcrumbs */
nav.breadcrumb-section {
  position: absolute;
  top: 128px;
  width: 100%;
  z-index: 1;

  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0;
}

nav.breadcrumb-section li,
nav.breadcrumb-section a {
  color: var(--white80);
  text-decoration: none;
}

nav.breadcrumb-section li::after {
  content: "—";
  padding: 0 5px;
}

nav.breadcrumb-section li:last-child::after {
  content: "";
  padding: 0;
}

/* TEMPLATE PARTS */

/* SECTION RULES */
section[data-bg="blue"] {
  background-color: var(--melting-glacier);
}

section[data-bg="darkblue"] {
  background-color: var(--daintree);
  color: var(--white);
}

section[data-border-radius="1"]:not(section[data-bg="white"]),
section[data-border-radius="top"]:not(section[data-bg="white"]) {
  border-radius: 40px;
  overflow: clip;
}

section[data-bg="blue"]+section[data-border-radius="1"][data-bg="white"],
section[data-bg="blue"]+section[data-border-radius="top"][data-bg="white"] {
  background-color: var(--melting-glacier);
}

section[data-bg="darkblue"]+section[data-border-radius="1"][data-bg="white"],
section[data-bg="darkblue"]+section[data-border-radius="top"][data-bg="white"] {
  background-color: var(--daintree);
}

section[data-border-radius="1"][data-bg="white"],
section[data-border-radius="top"][data-bg="white"] {
  .container {
    z-index: 1;
    position: relative;
  }
}

section[data-border-radius="1"][data-bg="white"] .background-color,
section[data-border-radius="top"][data-bg="white"] .background-color {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
  top: 0;
  left: 0;
  border-radius: 40px;
  overflow: clip;
}

section[data-border-radius="top"]:not(section[data-bg="white"]) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

section[data-border-radius="top"][data-bg="white"] .background-color {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.row,
.row>* {
  --bs-gutter-x: 20px;
}

section .cs-controls {
  position: absolute;
  bottom: 95px;
  text-align: center;
  right: 0;
  left: 0;
  z-index: 999;

  button {
    border: none;
    background-color: white;
    border-radius: 50%;
    padding: 0px 10px;
    color: var(--essential-teal);
  }

  button[disabled] {
    opacity: 0.6;
  }
}


section .cards-controls {
  text-align: center;
  margin-top: 10px;

  button {
    border: none;
    background-color: white;
    border-radius: 50%;
    padding: 5px 15px;
    color: var(--essential-teal);
  }

  button[disabled] {
    opacity: 0.6;
  }

}

section .arrows {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-shrink: 0;

  button {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
  }

  svg {
    flex-shrink: 0;

  }

  .disabled {
    pointer-events: none;
  }

}

section.history .arrows {
  svg {

    path {
      fill: var(--white);
      opacity: 1;
    }
  }

  .disabled {
    svg path {
      fill: var(--melting-glacier);
      opacity: 0.6;
    }
  }
}

section.casestudies .arrows {
  svg {

    path {
      fill: var(--dark-brown);
      opacity: 1;
    }
  }

  .disabled {
    svg path {
      fill: var(--mystery);
      opacity: 0.6;
    }
  }
}

section.scroll-up {

  button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;

    position: fixed;
    /* top: 0; */
    top: 50%;
    bottom: 0;
    height: fit-content;
    width: fit-content;
    margin: auto;
    right: 40px;
    z-index: 999;
  }

  img.icon {
    width: 60px;
    height: 60px;
  }
}

section .tag-link {
  padding: 8px 24px;
  font-weight: 500;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}

section .tag-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--essential-teal);
  display: inline-block;
  margin: auto;
  margin-right: 8px;
}

section .tag-link-wrap {
  background-color: var(--white);
  color: var(--dark-brown);
  border-radius: 100px;
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
}

section .tag-text-row .textcontent a {
  color: var(--grey);
  text-decoration: none;
}

section .tag-text-row .textcontent h2:last-child {
  margin-bottom: 0;
}

section .tag-link-wrap+.textcontent {
  margin-top: 25px;
}

section.history .tag-link-wrap,
section[data-bg="white"] .tag-link-wrap {
  background-color: var(--light-grey);
}


blockquote {
  position: relative;
  padding-left: 30px;
  color: var(--essential-teal);
  margin-bottom: 0;
}

blockquote:not(blockquote:first-child) {
  margin-top: 14px;
}

blockquote::before {
  content: url("assets/images/icons/quotes-left.svg");
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 0;
}

main>.container ol,
.textcontent ol {
  li:not(li:last-of-type) {
    margin-bottom: 10px;
  }
}

main>.container ul,
.textcontent ul {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    position: relative;
    padding-left: 20px;
  }

  li:not(li:last-of-type) {
    margin-bottom: 10px;
  }

  li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--essential-teal);
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    position: absolute;
    top: 10px;
    left: 0;
  }
}

section.products .textcontent ul {
  li::before {
    top: 5px;
  }
}

.taxonomy-link {
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  color: var(--daintree);
  border: none;
  background-color: transparent;
  display: inline-block;
  cursor: pointer;
}

.taxonomy-link:hover,
.taxonomy-link.active {
  background-color: var(--white);
}

.taxonomies {
  padding: 4px;
  border-radius: 24px;
  background-color: var(--mystery);
  width: fit-content;
}

/* TEXT TEMPLATE */

main>.container {
  padding-top: 100px;
  padding-bottom: 100px;
}

.textcontent p+ul,
.textcontent p+ol,
main>.container p+ul,
main>.container p+ol {
  margin-top: 20px;
}

/* 404 */
section.text-404 {
  padding-bottom: 100px;
}

/* history */
section.history {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: var(--daintree);
  color: var(--white);
  width: calc(100% - 40px);
  margin-left: 20px;
  border-radius: 40px;
  margin-bottom: 20px;
  /* max-width: 1480px;
  width: 100%;
  margin-left: auto;
  margin-right: auto; */
}

section.history p,
section.history .history-card .textcontent {
  color: var(--white80);
}

section.history .history-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

section.history .history-card {
  border: 1px solid var(--white40);
  border-radius: 16px;
  padding: 24px;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  flex: 0 0 calc((100% - 18px) / 2);
}

section.history .history-slider {
  margin-top: 50px;
}

section.history .history-slide h2 {
  font-size: 120px;
  line-height: 100%;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--tiffanyblue);
  margin-bottom: 0;
}

section.history hr {
  margin: 14px 0;
}

section.history .top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
}

section.history .text-group {
  width: 330px;
}

section.history .slider-group {
  width: calc(100% - 330px - 60px);
}

section.history .group-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 60px;
}


/* downloads */
section.downloads {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.downloads .filename {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
}

section.downloads .row+.row.downloads-row {
  margin-top: 40px;
}

section.downloads .download-card {
  padding: 20px 20px 24px 20px;
  background-color: var(--melting-glacier);
  border-radius: 32px;
}

section.downloads .download-card a {
  text-decoration: none;
}

section.downloads img.download-image {
  margin-bottom: 20px;
}

section.downloads .filename-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 5px;
}

section.imageboxes .imagebox .arrow,
section.downloads .arrow {
  border-radius: 12px;
  padding: 8px;
  background-color: var(--white);
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* 2columns */
section.text-2columns {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.text-2columns .right-col .textcontent {
  padding-left: 95px;
}

section.text-2columns .array-images {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

section.text-2columns .array-image-wrap {
  padding: 16px 96px;
  border-radius: 20px;
  background-color: var(--white);
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.text-2columns .array-image {
  max-width: 140px;
  height: auto;
}

/* products */
section.products {
  position: relative;
  padding: 100px 0;
}

/* card stack effect */
.product-cards {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.product-card {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(0);
  transition: top 0.6s ease, transform 0.6s ease, opacity 0.6s ease;
  z-index: 1;
}



section.products .product-card {
  display: flex;
  flex-direction: row;
  gap: 40px;
  background-color: var(--white);
  padding: 20px;
  border: 1px solid var(--melting-glacier);
  border-radius: 32px;

  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;

  img {
    flex-shrink: 0;
    height: fit-content;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
  }

  h2,
  h3 {
    margin-bottom: 6px;
    color: var(--essential-teal);
  }

  ul,
  ol {
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    margin: 20px 0;
  }

  a.product-file-link {
    text-decoration: none;
    display: flex;
    gap: 6px;

    .meta {
      color: var(--daintree50);
      opacity: 0.5;
      font-size: 14px;
      line-height: 130%;
      letter-spacing: 0;
    }
  }
}

/* imageboxes-offset */

section.imageboxes-offset {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.imageboxes-offset>.row {
  z-index: 1;
  position: relative;
}

section.imageboxes-offset .imagebox:nth-of-type(odd) {
  margin-top: 58px;
}

section.imageboxes-offset .imagebox {
  width: 335px;
  max-width: 100%;
  height: fit-content;

  padding: 20px 20px 25px 20px;
  background-color: var(--melting-glacier);
  border-radius: 32px;
  max-width: unset;
  flex-shrink: 0;

  h3 {
    color: var(--daintree);
    margin-bottom: 0;
  }

}

section.imageboxes-offset .imagebox-container {
  display: flex;
  max-width: unset;
  gap: 38px;

  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);



}

section.imageboxes-offset img.box-image {
  aspect-ratio: 295 / 253;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 12px;
}

/* screenloader */
section.screenloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--essential-teal);
  z-index: 1000;
}

section.screenloader .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Reserviere Platz → kein Layout-Shift, kein Flackern */
section.screenloader img.logo {
  height: 66px;
  width: auto;
  display: block;
}

/* Statt display:none → unsichtbar, aber im Layout (kann decodieren) */
section.screenloader .after-loading {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
  will-change: opacity;
  /* Tipp für die GPU */
}

/* Wenn sichtbar schalten */
section.screenloader .after-loading.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease;
}


.progress-circle {
  width: 90px;
  height: 90px;
  margin: auto;
}

.circle-loader {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circle {
  fill: none;
  stroke: var(--white);
  /* Farbe der Linie */
  stroke-width: 3;
  stroke-dasharray: 282.743;
  /* Umfang = 2 * π * r */
  stroke-dashoffset: 282.743;
  animation: fillCircle 1s ease-in-out forwards;
}

@keyframes fillCircle {
  to {
    stroke-dashoffset: 0;
  }
}

section.search-template {
  padding-top: 100px;
  padding-bottom: 100px;

  .search-pagination {
    margin-top: 100px;
  }

  ul.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;

    li.search-result-item a {
      text-decoration: none;
      color: var(--essential-teal);
      margin-bottom: 6px;
    }
  }

  form.search-form {
    margin-bottom: 100px;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;

    label,
    input {
      width: 100%;
    }

    input.search-field {
      padding: 10px 20px;
      padding-right: 80px;
      border-radius: 32px;
      border: 1px solid var(--brown);
    }

    button.search-submit {
      background-color: var(--tiffanyblue);
      border: 1px solid var(--tiffanyblue);
      color: var(--dark-brown);
      border-radius: 32px;
      padding: 10px 20px;
      flex-shrink: 0;
      transition: all 0.2s ease-in-out;
    }

    button.search-submit:hover {
      background-color: var(--white);
    }
  }

}

/* HERO */
section.hero {
  padding: 20px;
  color: var(--white);

  .textcontent a:not(a.button-link) {
    color: var(--white);
    text-decoration: underline;
  }

  .button-links {
    margin-top: 38px;
  }
}

section.hero .hero-image {
  position: relative;
}

section.hero .overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  max-width: 60%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 22, 43, 0.55) 0%, rgba(0, 28, 54, 0) 100%);
  border-radius: 24px;
}

section.hero img.hero-slide-image,
section.hero video {
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 811;
  border-radius: 24px;
  object-fit: cover;
}

section.hero[data-size="small"] img.hero-slide-image,
section.hero[data-size="small"] video {
  aspect-ratio: 1400 / 702;
}

section.hero[data-size="tiny"] img.hero-slide-image,
section.hero[data-size="tiny"] video {
  aspect-ratio: 1400 / 350;
}

section.hero .container {
  width: 100%;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

section.hero[data-size="tiny"] .container {
  padding-top: 100px;
}

section.hero .hero-slide[data-file="1"] .container {
  height: 100%;
}

section.hero .hero-slide[data-textposition="right_center"] {
  .slidecontent {
    display: flex;
    justify-content: end;
    padding-right: 70px;
  }
}

section.hero .hero-slide[data-textposition="left_bottom"] {
  .container {
    padding-bottom: 170px;
    padding-top: 100px;
    top: unset;
  }
}

section.hero .hero-slide[data-textposition="right_bottom"] {
  .container {
    padding-bottom: 170px;
    padding-top: 100px;
    top: unset;
  }

  .slidecontent {
    display: flex;
    justify-content: end;
  }
}

section.hero .hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 28, 54, 0) 0%, rgba(0, 26, 51, 0.25) 29.85%, rgba(0, 24, 47, 0.45) 60.98%, rgba(0, 22, 43, 0.65) 100%);
  pointer-events: none;
  border-radius: 24px;
  /* z-index: 1;  */
}

section.hero .textcontent {
  /* width: 579px; */
  width: 704px;
  max-width: 100%;
  letter-spacing: 0.02em;
}

section.hero .hero-slide[data-file="1"] .textcontent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-top: 80px;
  /* compensation for file margin */
}

section.hero .hero-slide[data-file="1"] .slidecontent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  height: 100%;
}

section.hero .file {
  margin-top: 40px;
  background-color: var(--melting-glacier);
  color: #012B3480;
  padding: 14px 16px;
  border-radius: 16px;
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  margin-bottom: 40px;

  .details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    --webkit-justify-content: space-between;
  }

  .title {
    color: var(--essential-teal);
    font-weight: 500;
  }

  .file-format,
  .file-size {
    font-size: 14px;
  }

  a {
    font-size: 16px;
    text-decoration: none;
    color: var(--dark-brown);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  a:hover{
    color: var(--essential-teal);
  }
}

/* newsticker */

section.newsticker {
  margin-top: 40px;
  margin-bottom: 40px;
  overflow: hidden;
}

section.hero+section.newsticker {
  margin-top: 20px;
}

.ticker-wrapper-h {
  white-space: nowrap;
  width: 100%;
  position: relative;
  height: 59px;
}

.news-ticker-h {
  display: flex;
  white-space: nowrap;
  position: absolute;
  left: 0;
  top: 0;
}

.news-ticker-h li {
  display: inline-block;
  padding: 0 40px;
  line-height: 40px;
  white-space: nowrap;
}

.news-ticker-h li a {
  color: #212529;
  font-weight: bold;
  text-decoration: none;
}

section.newsticker .news-ticker-h li a {
  color: var(--essential-teal);
  text-decoration: none;
}

/* facts */

section.facts {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.facts img.image {
  border-radius: 24px;
}

section.facts .row.boxes {
  margin-top: 47px;
}

section.facts .fact-box {
  background-color: var(--white);
  border-radius: 16px;
  padding: 24px 36px;
}

section.facts[data-bg="white"] .fact-box {
  background-color: var(--melting-glacier);
}

section.facts h3.box-title {
  font-size: 64px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 6px;
  color: var(--essential-teal);
}

section.facts .tag-link-wrap+img {
  margin-top: 25px;
}

section.facts[data-has-image="1"] .textcontent.top {
  padding-left: 35px;
}

/* imageboxes experts */
section.imageboxes.experts {
  background-color: var(--melting-glacier);

  .imagebox {
    background-color: var(--white);

    .arrow {
      background-color: var(--melting-glacier);
    }
  }

}

/* imageboxes */
section.imageboxes {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.imageboxes .row.boxes {
  margin-top: 45px;
}

section.imageboxes img.box-image {
  width: 100%;
  height: auto;
  aspect-ratio: 413 / 298;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 12px;
}

section.imageboxes .row,
section.imageboxes .row>* {
  --bs-gutter-y: 20px;
}

section.imageboxes .title {
  display: flex;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  align-items: center;
}

section.imageboxes[data-twocols="yes"] .textcontent.flowtext {
  padding-right: 95px;
}

section.imageboxes .imagebox {
  padding: 20px 20px 25px 20px;
  background-color: var(--melting-glacier);
  border-radius: 32px;

  h3 {
    color: var(--daintree);
    margin-bottom: 6px;
  }

  .textcontent {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 130%;
    color: var(--brown);
  }
}

section.imageboxes a.box-link {
  text-decoration: none;
}

/* slider */

section.slider .slide-wrap {
  padding-top: 72px;
  padding-bottom: 175px;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1440 / 620;
  background-position: center;
}

section.slider .slide-wrap[data-textposition="right"] .textcontent {
  margin-left: auto;
}

section.slider .slide-wrap[data-textposition="right"] .underlay::after {
  left: unset;
  right: 0;
  background: linear-gradient(90deg, rgba(0, 28, 54, 0) 0%, rgba(0, 22, 43, 0.72) 100%);
  width: 80%;
  max-width: 80%;
}

section.slider .textcontent {
  max-width: 575px;
  width: 100%;
  color: var(--white);
  z-index: 1;
  position: relative;
}

section.slider .tag-link-wrap {
  margin-bottom: 57px;
  background-color: var(--white20);
  backdrop-filter: blur(30px);
}

section.slider .tag-link {
  color: var(--white);
}

section.slider .tag-link::before {
  background-color: var(--white);
}

section.slider .underlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  max-width: 70%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 22, 43, 0.72) 0%, rgba(0, 28, 54, 0) 100%);
}

section.slider .container.progress-bars-container {
  position: absolute;
  bottom: 25px;
  width: 100%;
  left: 0;
  right: 0;
}

section.slider .progress-bars {
  display: flex;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 10px;
}

section.slider .progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

section.slider .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: white;
  transition: none;
}

/* advantages */
section.advantages {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.advantages .row,
section.advantages .row>* {
  --bs-gutter-x: 80px;
}

section.advantages .box {
  color: var(--brown);
  border-radius: 16px;
  background-color: var(--white);
  overflow: clip;
}

section.advantages .advantage {
  background-color: var(--white);
  padding: 35px 30px;
  color: var(--essential-teal);
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--melting-glacier);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: none;
  cursor: pointer;
}

section.advantages .top-group {
  display: flex;
  gap: 75px;
}

section.advantages .icon-wrap {
  padding: 10px;
  background-color: var(--melting-glacier);
  width: fit-content;
  border-radius: 8px;
  flex-shrink: 0;
  height: fit-content;
}

section.advantages .group .textcontent {
  margin-top: 24px;
  color: var(--brown);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

section.advantages .advantage.active .group .textcontent {
  opacity: 1;
  visibility: visible;
  position: static;
}


section.advantages img.icon {
  width: 40px;
  height: auto;
}

/* text */
section.text {
  padding-top: 100px;
  padding-bottom: 40px;
}

main>section.text+.container {
  padding-top: 0;
}

.wrapper-jAIu2l {
  padding: 0 !important;
}

/* text-images */

section.text-images {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.text-images[data-bg="white"]+section.text-images[data-bg="white"] {
  padding-top: 10px;
}

section.text-images .title-col h2 {
  margin-bottom: 40px;
}

section.text-images .tag-link-wrap {
  margin-bottom: 48px;
}


section.text-images .row,
section.text-images .row>* {
  --bs-gutter-x: 40px;
}

section.text-images[data-imageposition="right"] .image-text-row {
  flex-direction: row-reverse;
}

section.text-images .image-text-row img {
  border-radius: 16px;
}

/* casestudies */

section.casestudies {
  padding-top: 100px;
  padding-bottom: 100px;
}

section.casestudies .case-study-card {
  background-color: var(--white);
  border-radius: 32px;
  padding: 18px 18px 25px 18px;
  height: 100%;
  cursor: pointer;

  h3 {
    color: var(--essential-teal);
  }

  .card-content .group {
    display: flex;
    gap: 15px;
    align-items: start;
  }

  .arrow {
    background-color: var(--melting-glacier);
    border-radius: 12px;
    padding: 8px;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    text-align: center;
  }
}

section.casestudies .slick-track,
section.casestudies .slick-list {
  height: 100%;
}

section.casestudies .case-studies-head {
  display: flex;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

section.casestudies .taxonomy,
section.casestudies-lightbox .taxonomy {
  width: fit-content;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: 0.01em;
  font-weight: 500;

  padding: 8px 16px;
  text-decoration: none;
  color: var(--white);
  background-color: var(--daintree);
  border-radius: 32px;
}

section.casestudies img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  aspect-ratio: 413 / 298;
  object-fit: cover;
}

section.casestudies .card-image {
  margin-bottom: 13px;
  position: relative;
}

section.casestudies .card-taxonomies {
  bottom: 20px;
  left: 20px;
  position: absolute;
}

section.casestudies .all-case-studies {
  margin-left: -10px;
  margin-right: -10px;
  height: 100%;
}

section.casestudies .card-content .arrow {
  text-decoration: none;
}

section.casestudies .all-case-studies .slick-slide {
  padding-right: 10px;
  padding-left: 10px;
  box-sizing: border-box;
  height: 100%;
}

/* casestudies lightbox */

body.open-lightbox {
  overflow: hidden;
}

section.casestudies-lightbox {
  position: fixed;
  width: 100%;
  height: fit-content;
  min-height: 100vh;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #00000066;
  visibility: hidden;
}

section.casestudies-lightbox.open {
  visibility: visible;
}

section.casestudies-lightbox .case-study-cards {
  overflow: hidden;
  position: relative;
  border-radius: 32px;
}

section.casestudies-lightbox .case-study-card {
  padding: 90px 40px;
  border-radius: 32px;
  background-color: #F5F5F5;
  color: var(--brown);

  /* stacking animation styles */
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(0);
  transition: top 0.6s ease, transform 0.6s ease, opacity 0.6s ease;
  z-index: 1;
}

section.casestudies-lightbox .case-study-card-content {
  display: flex;
  gap: 40px;
}

/* set by js */
.case-study-card.is-visible {
  top: 0;
  opacity: 1;
}

section.casestudies-lightbox>.container {
  height: fit-content;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.casestudies-lightbox .container>.row {
  height: 100%;
}

section.casestudies-lightbox button.close-lightbox {
  all: unset;
  position: absolute;
  top: 45px;
  right: 40px;
  cursor: pointer;

  img {
    width: 18px;
    height: auto;
    margin-bottom: 2px;
  }
}


section.casestudies-lightbox .row.case-study-card-row,
section.casestudies-lightbox .row.case-study-card-row>* {
  --bs-gutter-x: 40px;
}

section.casestudies-lightbox .card-images-wrap {
  position: relative;
  flex-shrink: 0;
  width: 40%;
  height: fit-content;
}

section.casestudies-lightbox .card-taxonomies {
  position: absolute;
  top: 20px;
  left: 20px;
}

section.casestudies-lightbox .card-images img {
  width: 100%;
  height: auto;
  aspect-ratio: 437 / 421;
  object-fit: cover;
  border-radius: 12px;
}

section.casestudies-lightbox .download {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  margin-top: 15px;

  a {
    color: var(--essential-teal);
  }
}

section.casestudies-lightbox .data {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  margin-top: 30px;

  .row {
    row-gap: 15px;
  }

  .value {
    color: var(--daintree);
  }
}

section.casestudies-lightbox h3 {
  color: var(--essential-teal);
}

section.casestudies-lightbox button.arrow-button {
  background-color: var(--white80);
  border-radius: 12px;
  padding: 8px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  text-align: center;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.casestudies-lightbox button.arrow-button {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

section.casestudies-lightbox button.arrow-button.left {
  left: 20px;
}

section.casestudies-lightbox button.arrow-button.right {
  right: 20px;
}

/* contact */
section.contact {

  .feedback {
    font-size: 14px;
    margin-top: 35px;
  }

  .feedback.success {
    color: green;
  }

  .row.tag-text-row {
    padding-top: 25px;
    padding-bottom: 45px;
  }

  .tag-link-wrap {
    background-color: var(--light-grey);
  }

  .contact-content-wrap {
    background-color: var(--melting-glacier);
    padding: 120px 0;
  }

  .form-box {
    background-color: var(--white);
    border-radius: 14px;
    padding: 40px;

    .textcontent {
      width: 100%;
      max-width: 500px;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-top: 43px;
    }

    .form-group {
      display: flex;
      gap: 15px;
    }

    input,
    textarea {
      width: 100%;
      display: inline-block;
      padding: 14px;
      font-size: 13px;
      font-weight: 500;
      line-height: normal;
      border-radius: 6px;
      border: 1px solid #E0E0E0;
      accent-color: var(--essential-teal);
      color: #A8A8A8;
    }

    input::placeholder,
    textarea::placeholder {
      color: #A8A8A8;
    }

    textarea {
      height: 117px;
    }

    button {
      background-color: var(--essential-teal);
      padding: 13px;
      border-radius: 6px;
      border: 1px solid var(--essential-teal);
      font-weight: 500;
      text-align: center;
      color: var(--white);
      transition: all 0.2s ease-in-out;
    }

    button:hover {
      background-color: var(--white);
      color: var(--essential-teal);
    }

    button:hover::after {
      content: url('assets/images/icons/arrow-down-alt.svg');
    }

    button::after,
    button[disabled]:hover::after {
      content: url('assets/images/icons/arrow-down.svg');
      width: 20px;
      height: 20px;
      display: inline-block;
      vertical-align: middle;
      margin-left: 14px;
      margin-bottom: 2px;
    }

    button[disabled],
    button[disabled]:hover {
      background-color: var(--grey);
      border-color: var(--grey);
      color: var(--white);
    }

    p.caps {
      text-transform: uppercase;
      font-weight: 600;
      line-height: 100%;
      font-size: 14px;
      color: var(--essential-teal);
      margin-bottom: 10px;
    }

    .checkbox-wrap {
      display: flex;
      flex-direction: row;
      gap: 15px;
      align-items: start;
      font-size: 14px;
      line-height: normal;
      font-weight: 500;
      margin: 15px 0;

      input {
        flex-grow: 0;
        flex-shrink: 0;
        width: fit-content;
        margin-top: 1px;
      }

      label {
        color: #181818;
        opacity: 0.5;
        font-weight: 500;
        font-size: 14px;

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

  .contact-box+.contact-box {
    margin-top: 12px;
  }

  .contact-box {
    padding: 50px 40px 50px 40px;
    border-radius: 15px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    gap: 30px;

    h3 {
      margin-bottom: 4px;
      line-height: 158%;
      font-weight: 700;
    }

    .icon-wrap {
      background-color: var(--melting-glacier);
      width: 150px;
      height: 110px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 11px;
      flex-shrink: 0;

      img {
        width: auto;
        max-height: 40px;
      }
    }

    .link-wrap {
      display: flex;
      flex-direction: row;
      gap: 8px;
      margin-top: 13px;

      a {
        text-decoration: none;
        font-size: 16px;
        line-height: 1;
        font-weight: 600;
        color: #181818;
      }

      a:hover {
        color: var(--essential-teal);
      }

      img.copy {
        cursor: pointer;
      }

      img.copy:focus,
      img.copy:active {
        outline: 2px solid var(--essential-teal);
      }
    }

    .address {
      font-size: 16px;
      line-height: 132%;
      color: #181818;
      opacity: 0.5;
      font-weight: 500;
    }
  }
}

section.mobile-menu-bar {

  position: fixed;
  bottom: 0;
  z-index: 99999;
  width: 100%;
  padding: 10px 20px;
  background-color: var(--white);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  /* backdrop-filter: blur(40px); */
  /* background-color: rgb(192, 192, 192, 0.4); */

  .menu-icon-wrap {
    text-align: center;
  }

  img.icon {
    height: 40px;
  }
}

section.mobile-menu {
  height: 100dvh;
  z-index: 9999;
  position: fixed;
  width: 100%;
  background-color: var(--melting-glacier);
  padding: 60px 0 120px 0;
  overflow: auto;

  ul li a,
  .search-wrap a {
    font-size: 28px;
    line-height: normal;
    text-decoration: none;
    font-weight: 500;
    color: var(--essential-teal);
  }

  ul li a:hover,
  .search-wrap a:hover {
    color: var(--essential-teal);
  }

  li.current-menu-item>a {
    text-decoration: underline;
  }

  ul.nav-menu {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  .search-wrap {
    text-align: center;
    margin-right: 0;
    margin-bottom: 45px;

    a span {
      img {
        height: 35px;
      }
    }
  }

  nav.language-options {
    text-align: center;
  }

  .lang-menu {
    display: inline-flex;
    border-radius: 20px;
    overflow: hidden;
    gap: 0;
    background-color: var(--white);
  }

  .lang-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
  }

  .lang-menu li a {
    display: block;
    text-align: center;
    padding: 6px 12px;
    text-decoration: none;
    color: #012B3480;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.01em;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
  }

  .lang-menu li.wpml-ls-current-language a {
    background-color: var(--tiffanyblue);
    color: var(--dark-brown);
  }

  .lang-menu li a:hover {
    color: var(--dark-brown);
  }

  .search-wrap a span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;

    img {
      flex-shrink: 0;
    }
  }
}

@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {
  .container {
    max-width: 100%;
  }

  header {
    width: calc(100% - 40px);
    left: 20px;
  }

}

@media (max-width: 991.98px) {
  :root {
    --header-height: 60px;
  }

  section.advantages .row,
  section.advantages .row>*,
  section.text-images .row,
  section.text-images .row>*,
  section.casestudies-lightbox .row.case-study-card-row,
  section.casestudies-lightbox .row.case-study-card-row>* {
    --bs-gutter-x: 20px;
  }


  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  section.history .history-slide h3,
  section.newsticker li a,
  section.hero h2,
  h1,
  h1 {
    font-size: 40px;
    line-height: normal;
    margin-bottom: 8px;
  }

  h2 {
    font-size: 28px;
    line-height: normal;
    margin-bottom: 8px;
  }

  h3 {
    font-size: 24px;
    line-height: normal;
  }

  h4 {
    font-size: 20px;
    line-height: normal;
  }

  section.scroll-up {
    button {
      right: 20px;
      top: unset;
      bottom: 80px;
    }
  }

  /* footer */
  footer {
    padding-bottom: 160px;

    .content-wrap {
      gap: 40px;
    }

    .bottom {
      margin-top: 40px;
    }

    .bottom>.row,
    .container>.row {
      row-gap: 40px;
    }

    nav.footer-menu>ul {
      justify-content: start;
      row-gap: 10px;
      flex-direction: column;
      align-items: start;
    }

    .left-center-right {
      justify-content: start;
      gap: 10px;
      padding-right: 0;
      flex-direction: column;
    }
  }

  nav.breadcrumb-section {
    top: 125px;
  }

  ul.breadcrumbs {
    padding: 0 20px;
  }

  section.scroll-up {
    img.icon {
      width: 55px;
      height: 55px;
    }
  }

  /* TEMPLATE PARTS */

  section {
    .row.tag-text-row {
      row-gap: 20px;
    }

    .textcontent {
      word-break: break-word;
      hyphens: manual;
    }

  }

  section.hero .hero-slide[data-textposition="left_bottom"],
  section.hero .hero-slide[data-textposition="right_bottom"] {
    .container {
      padding-bottom: unset;
      padding-top: unset;
      top: unset;
    }
  }

  section.casestudies {
    .case-studies-head {
      flex-direction: column-reverse;
      align-items: end;
      margin-top: 20px;
    }

    .case-study-card {
      padding: 0;
    }
  }

  section.casestudies-lightbox {
    .case-study-card {
      max-height: calc(100dvh - 100px);
      overflow-y: auto;
      min-height: unset !important;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
    }

    button.close-lightbox {
      top: 15px;
      right: 15px;
    }

    button.close-lightbox {
      z-index: 2;
      background-color: var(--white);
      padding: 2px 6px;
      border-radius: 50%;
    }

    .case-study-card-content {
      overflow-y: auto;
      overflow-x: hidden;
      flex-direction: column;
    }

    .card-content,
    .card-images-wrap {
      width: 100%;
    }
  }

  section.casestudies-lightbox>.container {
    justify-content: start;
    margin-top: 20px;
  }

  section.products {
    .product-card {
      flex-direction: column;
      gap: 20px;
    }
  }

  section.advantages {
    .top-group {
      gap: 20px;
    }

    .container>.row {
      row-gap: 20px;
    }
  }

  section.downloads {
    .row.downloads-row {
      row-gap: 20px;
    }

    .download-card {
      height: 100%;
    }
  }

  section.history {
    .group-wrap {
      flex-direction: column;
    }

    .text-group {
      width: 100%;
    }

    .slider-group {
      width: 100%;
    }

    .history-slide h2 {
      font-size: 56px;
      line-height: normal;
    }

    .history-cards {
      flex-direction: column;
    }
  }

  section.imageboxes-offset {
    overflow: hidden;

    .onesided-fullwidth-content {
      padding: 0 20px !important;
    }

    .textcontent {
      margin-bottom: 20px;
    }
  }

  section.text-2columns {
    .right-col .textcontent {
      padding-left: 0;
    }
  }

  section.contact {
    .container>.row {
      row-gap: 20px;
    }
  }

  section.hero[data-size="tiny"] .container {
    padding-top: 0;
  }

  section.hero .hero-slide[data-file="1"] .slidecontent {
    display: flex;
    flex-direction: column;
    height: unset;
    justify-content: start;
    gap: 20px;
  }

  section.hero .file {
    margin-top: 0;
  }

  section.hero .hero-slide[data-file="1"] .textcontent {
    padding: 140px 40px 40px 0;
    padding-top: 140px;
  }

  section.hero {

    .hero-slide[data-textposition="right_center"] {
      .slidecontent {
        padding-right: 0;
      }
    }

    .textcontent {
      padding: 140px 40px 40px 0;
    }

    .textcontent a.button-link:not(.textcontent a.button-link:first-child) {
      margin-top: 20px;
    }

    img.hero-slide-image,
    section.hero video {
      aspect-ratio: unset;
    }
  }

  section.slider {
    .slide-wrap {
      aspect-ratio: unset;
    }

    .slide-wrap[data-textposition="right"] .underlay::after,
    .underlay::after {
      width: 100%;
      max-width: 100%;
      background: rgba(0, 22, 43, 0.5);
    }
  }



  section.facts {
    .row.boxes {
      row-gap: 20px;
    }

    .fact-box {
      padding: 20px;
    }
  }

  section.facts[data-has-image="1"] .textcontent.top {
    padding-left: 0;
  }


  section.text-images .image-text-row {
    row-gap: 30px;
  }
}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  a,
  p {
    hyphens: manual;
    word-break: break-word;
  }

  section.advantages {
    .top-group {
      gap: 30px;
      flex-direction: column;
    }
  }

  section.products .product-card {
    >img {
      width: 100%;
    }
  }

  section.contact {
    & .form-box {
      .form-group {
        flex-direction: column;
      }
    }

    .form-box,
    .contact-box {
      padding: 20px;
    }

    .contact-box {
      flex-direction: column;
      align-items: start;
      gap: 20px;
    }
  }
}

@media (max-width: 475.98px) {
  a.button-link+a.button-link {
    margin-left: 0px;
  }
}