/*HEADER*/
header {
  box-shadow: 0px 8px 24px -8px rgba(0, 0, 0, 0.08);
}
header .above-header {
  transition: all 300ms ease-in-out;
}

header.swt-sticky-header-active .above-header {
  height: 0;
  opacity: 0;
}

.above-header .uagb-icon-list__wrap {
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 20px;
}

.above-header .uagb-icon-list__source-wrap {
  margin-right: 5px !important;
}

.above-header .wp-block-uagb-icon-list-child {
  font-size: 0.8em !important;
}

header.swt-sticky-header-active .main-header {
  padding-top: 0.25em !important;
}

/*FOOTER*/
footer .wp-block-navigation__container li:before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%2300b2dd' viewBox='0 0 320 512'><path d='M285.476 272.971l-194.343 194.343c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L196.118 256 34.485 94.254c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 0.25em;
  vertical-align: middle;
}

body {
  background-color: var(--wp--preset--color--quaternary);
}

body:before {
  content: "";
  background-image: url(/wp-content/uploads/2025/12/logo_k_background.png);
  background-repeat: no-repeat;
  height: calc(100vh - 120px);
  width: 100vw;
  position: fixed;
  z-index: -1;
  top: 120px;
  left: 0;
  background-position: center;
  opacity: 0.7;
}

/*swt-scroll-top*/
.swt-scroll-top {
  border-radius: 5px !important;
}

.swt-scroll-top:hover {
  background-color: var(--wp--preset--color--secondary) !important;
}

/*above-banner*/
.above-banner img {
  height: 100vh;
  max-height: calc(100vh - 220px);
  width: auto;
  object-fit: contain !important;
}

body:before {
  content: "";
  background-image: url(/wp-content/uploads/2025/12/logo_k_background.png);
  background-repeat: no-repeat;
  height: calc(100vh - 120px);
  width: 100vw;
  position: fixed;
  z-index: -1;
  top: 120px;
  left: 0;
  background-position: center;
}

/*HOME BANNER*/
body.home .swt-block-page-banner-group .wp-block-group-is-layout-flex img {
  max-width: unset !important;
}

body.home .swt-block-page-banner-group .wp-block-group-is-layout-flex .wp-block-uagb-image {
  align-self: center;
}

@media screen and (max-width: 781px) {
  body.home .swt-block-page-banner-group .wp-block-group-is-layout-flex {
    flex-wrap: wrap;
    justify-content: center;
  }
  body.home
    .swt-block-page-banner-group
    .wp-block-group-is-layout-flex
    .wp-block-uagb-image:last-of-type {
    order: 2;
  }

  body.home .swt-block-page-banner-group .wp-block-group-is-layout-flex > .wp-block-group {
    order: 3;
    width: 100%;
  }

  body.home .swt-block-page-banner-group .wp-block-group-is-layout-flex .wp-block-uagb-image img {
    width: 140px;
  }
}

/*icon-grid*/
.icon-grid .wp-block-group {
  background-color: white;
  padding: 40px 20px 20px;
  border: 1px solid #d5e1ed;
}

@media screen and (max-width: 1200px) {
  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 600px) {
  .icon-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

.icon-grid .wp-block-group .uagb-svg-wrapper {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #00b2dd;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}
.icon-grid .wp-block-group .uagb-svg-wrapper:before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(0, 178, 221, 0.2);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

/*testimonial-slider*/
.testimonial-slider .wp-block-uagb-slider-child {
  background-color: white;
  box-shadow: 0px 8px 24px -8px rgba(0, 0, 0, 0.08);
}

.impressie-cols .wp-block-column {
  padding: 30px 20px 10px;
}

.impressie-cols .uagb-heading-text,
.impressie-cols .uagb-heading-text a,
.impressie-cols .uagb-desc-text {
  color: white;
}

@media (min-width: 782px) and (max-width: 1200px) {
  .impressie-cols {
    flex-wrap: wrap !important;
  }

  .impressie-cols .wp-block-column {
    flex-basis: calc(50% - 10px) !important;
  }
}

/*link cards*/
.link-cards .wp-block-column {
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.link-cards .wp-block-column:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 24px -8px rgba(0, 0, 0, 0.2);
}
