@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit_var.woff2") format("woff2");
  font-display: swap;
}
/* 
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/Urbanist_var.woff2") format("woff2");
  font-display: swap;
} */

/* #wrap ~ div {
  display: none;
} */

span.gray-text {
  color: #777777;
}

body .btn:hover {
  transform: none;
}

.twb {
  text-wrap: balance;
}
.twp {
  text-wrap: pretty;
}

body.page-scheme-dark {
  font-family: "Outfit", sans-serif;
}

/* BTNs */

body .custom-flex-btn {
  margin-top: auto;
  margin-left: auto;
  /* width: 100%; */

  .elementor-button {
    width: 100%;
    justify-content: space-between;
    align-items: center;

    &:hover {
      .btn-icon {
        transform: translateX(4px);
      }
    }
  }
}

.custom-btn .elementor-button {
  .btn-txt {
    padding: 10px 20px;
    border-radius: 99px;
    border: 1px solid white;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .btn-icon {
    border-radius: 99px;
    margin: 0;
    padding: 0;
    width: 46px;
    height: 46px;
    background-color: white;
    transition: transform 0.3s ease;

    @media (width <= 880px) {
      width: 42px;
      height: 42px;
    }
  }

  &:hover {
    box-shadow: none;
    .btn-txt {
      background-color: white;
      color: var(--e-global-color-secondary);
    }
    .btn-icon {
      transform: rotate(-45deg);
      .icon-ion-ios-arrow-round-forward::before {
        color: var(--e-global-color-secondary);
      }
    }
  }
}

/* search bar reduced */

.search-bar-reduced {
  .lqd-module-search-slide-top {
    .ld-module-dropdown {
      height: 150px !important;

      .ld-search-form-container {
        justify-content: flex-end;
        max-width: 800px;

        input[type="search"] {
          font-size: 38px;
          height: unset;
          border-bottom: 2px solid #000;
          margin-bottom: 10px;
        }
      }
    }
  }
}

/* Hero animation */

body :is(.img-1, .img-2, .img-3, .img-4, .img-5) {
  position: absolute;
}

body .img-1 {
  top: 50%;
  left: 50%;
  transform: translate(50%, -30%);
  z-index: 2;
}
body .img-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 2;
}
body .img-3 {
  top: 50%;
  left: 50%;
  transform: translate(10%, -70%);
}
body .img-4 {
  transform: translate(-70%, 50%);
}
body .img-5 {
  transform: translate(-50%, -60%);
}

#savoir-faire {
  .image-container {
    height: auto;
    flex: 1 0 55%;
    .elementor-widget-ld_fancy_image,
    .lqd-imggrp-single,
    .lqd-imggrp-img-container {
      width: 100%;
      height: 100%;
    }
    figure {
      height: 100%;
    }
    img {
      aspect-ratio: 4/3;
      object-fit: cover;
      height: 100%;
    }
  }
  .text-container {
    flex: 1 1 45%;

    p {
      text-wrap: pretty;
      text-box: trim-start cap alphabetic;
    }
  }
}

.image-container {
  height: 100%;
  width: 100%;
  * {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  img {
    height: 100% !important;
  }
}

body #wrap .flex-container {
  transform: translate3d(0, 0, 0);
  width: 100%;
  justify-content: center;

  .flex-card {
    flex: 1 1 33%;
    transition: flex 0.6s ease-in-out;
    background-size: auto 210%;
    @media (width <= 992px) {
      background-size: cover;
    }
    .elementor-widget-text-editor {
      opacity: 0;
      display: none;
      transition: opacity 0.45s ease 0.5s;
      transition-behavior: allow-discrete;
    }
    .elementor-button {
      width: 40px;
      max-height: 40px;
      padding-inline: 20px;
      overflow: hidden;
      transition: width 0.4s ease;
      .btn-txt {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease, display 0.3s ease;
        transition-behavior: allow-discrete;
      }
      .btn-icon {
        left: -3px;
      }
    }
    &:hover,
    &.active {
      flex: 1 1 80%;
      @media (width <= 768px) {
        min-height: auto;
      }
      .elementor-widget-text-editor {
        opacity: 1;
        display: block;
        @starting-style {
          opacity: 0;
        }

        @media (width <= 768px) {
          margin-bottom: 20px;
        }
      }

      .elementor-button {
        width: 250px;
        .btn-txt {
          display: block;
          opacity: 1;
          transition: opacity 0.45s ease 0.2s, display 0.45s ease 0.2s;
          @starting-style {
            opacity: 0;
          }
        }
      }
    }
  }

  &.--variant {
    .flex-card {
      flex: 1 1 50%;
      background-size: cover;
      .elementor-widget-text-editor {
        transition: opacity 0.45s ease, display 0.45s ease;
        transition-behavior: allow-discrete;
      }
      &:hover,
      &.active {
        flex: 1 1 50%;
        &::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: var(--e-global-color-secondary);
          opacity: 0.8;
          z-index: 0;
        }
      }
    }
  }
}

.elementor-widget-ld_accordion {
  .accordion {
    --gap: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
  }
  .accordion-item {
    position: relative;
    transition: background-color 0.3s ease;
    &:hover {
      background-color: rgba(255, 255, 255, 0.055);
    }
    &:not(:first-child, :last-child)::before {
      content: "";
      position: absolute;
      top: calc(-1 * (var(--gap) / 2));
      left: 0;
      width: 100%;
      height: 1px;
      background-color: white;
    }
    &:not(:first-child, :last-child)::after {
      content: "";
      position: absolute;
      bottom: calc(-1 * (var(--gap) / 2));
      left: 0;
      width: 100%;
      height: 1px;
      background-color: white;
    }
    .accordion-expander {
      transition: transform 0.3s ease;
    }
    &.active {
      .accordion-expander {
        transform: rotate(-45deg);
      }
    }

    .accordion-title-txt,
    p {
      text-wrap: pretty;
    }

    ul li:not(:last-child) {
      margin-bottom: 24px;
      @media (width <= 768px) {
        margin-bottom: 14px;
      }
    }
  }
}

.has-list ul li:not(:last-child) {
  margin-bottom: 24px;
  @media (width <= 768px) {
    margin-bottom: 14px;
  }
}

/* CAROUSEL */

html {
  scroll-behavior: smooth;
}

body #carousel-realisations {
  .carousel-dots-mobile {
    display: none;
  }

  .carousel-nav {
    display: flex !important;
    justify-content: flex-end !important;
    .flickity-button {
      @media (width <= 992px) {
        width: 48px;
        height: 48px;
      }
      &:disabled {
        background-color: transparent;
        color: white;
        opacity: 1;
        svg {
          stroke-width: 2px;
          stroke: white;
        }
      }

      svg {
        stroke-width: 2px;
        stroke: black;
      }
    }
  }
  .carousel-items {
    margin-inline-start: -16px;
    margin-inline-end: 0px;
  }

  .carousel-item {
    padding-inline-end: 0px !important;

    .carousel-item-content {
      p {
        display: flex;
        flex-direction: column;
        width: 100%;
        color: white;
        text-transform: uppercase;
        gap: 12px;
        font-family: "Outfit", sans-serif;
        font-weight: 200;
      }

      img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: 20px;
      }
    }
  }
}

.wpcf7 form .wpcf7-acceptance .wpcf7-list-item-label {
  display: block;
  color: white;
  a{
    color: white;
    text-decoration: underline;
    font-weight: 600;
  }
}

#lqd-contents-wrap .wpcf7 form .wpcf7-file{
  font-size: 16px;
  border: 1px solid var(--color-secondary) !important;
  width: min-content;
  margin-top: 10px;
  padding: 6px !important;

  &::-webkit-file-upload-button  {
    border: none;
    background: var(--color-secondary);
    padding: 6px 20px;
    color: white;
    margin-right: 14px;

  }
}

.wpcf7 form:is(.sent, .failed, .invalid) .wpcf7-response-output {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  margin-top: 16px;
  width: fit-content;
  font-size: 16px;
  color: white;
  font-weight: 500;
  text-align: center;
  background: var(--color-secondary);
  padding: 18px 32px;
  border-radius: 12px;
  margin-inline: auto;
}
.wpcf7 form:is(.validating) .wpcf7-response-output {
  display: none !important;
}
.wpcf7 form .wpcf7-validation-errors.wpcf7-response-output {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  margin-top: 16px;
  width: fit-content;
  font-size: 16px;
  color: white;
  font-weight: 500;
  text-align: center;
  background: var(--color-secondary);
  padding: 18px 32px;
  border-radius: 12px;
  margin-inline: auto;
}

.wpcf7 form {
  p {
    font-size: 18px;
    color: white;
  }

  .lqd-select-dropdown {
    .ui-menu-item {
      color: black;
    }
  }
  .action-button,
  .wpcf7-form-control.wpcf7-submit {
    background-color: #223940;
    font-family: "Outfit", Sans-serif;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: white;
    border: none !important;
    border-radius: 99px 99px 99px 99px;
    padding: 12px 20px !important;
    width: fit-content;
    line-height: 1;
  }
  .wpcf7-form-control.wpcf7-submit {
    top: 16px;
    height: unset;
  }
}

.wpcf7-spinner{
  display: none !important;
}

.form-step-container{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;

  p.form-step{
    font-size: 18px;
    color: white;
    padding: 10px;
    border-radius: 99px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: white;
    color: var(--e-global-color-secondary);

    
    
    &.completed, &.current{
    background-color: var(--e-global-color-secondary);
    color: white;

    &:hover{
      cursor: pointer;
    }

      &::before {
        content: "";
        width: 20px;
        height: 6px;
        background-color: var(--e-global-color-secondary);
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(50%, -50%);
    }
    }
    &:nth-child(3){
      &::before {
        display: none;
      }
    }
  }
}

body.search .content .lqd-lp-img img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-height: 180px;
}


body.search .titlebar .titlebar-inner h1 {
  text-transform: initial;
}

.search.search-results {
  .titlebar .titlebar-inner {
    background-color: #171717;
    h1 {
      color: white;
    }
  }
  .lqd-lp-grid {
    .lqd-lp-row {
      --gap: 20px;
      --num-columns: 3;
      @media (width <= 1024px) {
        --num-columns: 2;
      }
      @media (width <= 480px) {
        --num-columns: 1;
      }
      width: 100%;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: var(--gap);
      .lqd-lp-column {
        padding: 0;
        display: flex;
        flex: 0 1
          calc(
            100% / var(--num-columns) - (var(--gap) / var(--num-columns)) *
              (var(--num-columns) - 1)
          );
        margin: 0;
        overflow: hidden;
        border-radius: 20px;
        background-color: var(--e-global-color-secondary);
        article.lqd-lp {
          border: none;
          color: white;
          font-family: "Outfit", sans-serif;
          max-width: 100%;
          text-wrap: pretty;
          line-height: 1.2;
          padding: 0;
          .content {
            padding: 0 16px;
            h2 {
              font-size: 24px;
              font-weight: 600;
              color: white;
              text-transform: initial;
            }
            p {
              font-size: 18px;
            }
          }
        }
      }
    }
  }
  ul.pagination {
    align-items: center;
    justify-content: center;
  }
  ul.pagination .next,
  ul.pagination .prev {
    background-color: var(--e-global-color-secondary);
    color: white;
  }
  ul.pagination .page-numbers {
    color: white;
  }
  .page-links .post-page-numbers.current,
  .page-links .post-page-numbers:hover,
  ul.pagination .page-numbers.current,
  ul.pagination .page-numbers:hover {
    background-color: var(--e-global-color-secondary);
    color: white;
  }
}

/* 404 */
#post-404 :is(h1, h3, p) {
  color: white;
}

#post-404 .elementor-button {
  color: black;
}

.lqd-sticky-menu {
  .inline-ul {
    transition: transform 0.3s ease;
  }
}

.lqd-sticky-menu > .inline-ul {
  scroll-snap-type: x mandatory;
  display: flex;
  flex-wrap: nowrap;
  scroll-snap-align: start;
  overflow: auto;
  width: 100%;
  max-width: 60vw !important;
  scrollbar-width: none;
  scroll-padding-inline-start: 10px;

  &::-webkit-scrollbar {
    display: none;
  }
}
.lqd-sticky-menu-floating {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0px;
  background: none !important;
  gap: 6px;
  box-shadow: none !important;

  .prev-arrow,
  .next-arrow {
    width: var(--arrow-size, 40px);
    height: auto;
    background-color: #ffffffcc;
    border-radius: 99px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    &::before {
      content: "";
      width: 100%;
      height: 100%;
      background-image: url(../images/ArrowNext.svg);
      background-repeat: no-repeat;
      background-position: center;
    }
    &:hover {
      cursor: pointer;
    }
  }
  .prev-arrow {
    &::before {
      transform: rotate(180deg);
    }
  }

  ul.inline-ul {
    background-color: #ffffffcc;
    border-radius: 99px;
    padding: 4px;

    > li {
      scroll-snap-align: start;
      a {
        font-size: 16px !important;
        width: max-content;
      }
    }
  }
}

.elementor-widget-image-gallery {
  .elementor-image-gallery {
    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
  }
}
.elementor-image-gallery .gallery-item {
  max-width: 100% !important;

  img {
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 20px;
  }
}

.realisations {
  .filtered-gallery-grid.columns-3 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 300px 300px 400px;
    gap: 10px;
    position: relative;

    @media (width <= 1024px) {
      grid-auto-rows: 200px 200px 300px;
    }

    @media (width <= 768px) {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  }

  .filtered-gallery-filters {
    background-color: transparent;
  }

  .filtered-gallery-filter {
    border-radius: 99px;
    border: 1px solid white;
    padding: 12px 24px;
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 18px;

    &:hover,
    &.active {
      background-color: white;
      color: black;
    }

    &:focus,
    &:focus-visible {
      outline: none;
    }
  }
  .filtered-gallery-item {
    .filtered-gallery-title {
      color: white;
      text-wrap: pretty;
    }
    img {
      aspect-ratio: 4/3;
      object-fit: cover;
      height: 100%;
    }
  }
}

.filtered-gallery-carousel {
  .filtered-gallery-carousel-title {
    color: white;
  }
}

footer#footer {
  .lqd-custom-menu {
    .submenu-expander {
      top: 10px !important;
      right: -10px !important;
      background-color: unset;
      color: white;
    }

    .nav-item-children {
      padding: 0;
      @media (width <= 1200px) {
        width: 100%;
      }

      li {
        @media (width <= 1200px) {
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: column;
        }
        a {
          padding: 8px 16px 8px 16px;
          font-size: 18px;
          @media (width <= 1200px) {
            color: white;
            text-align: center;
          }
        }
      }
      .nav-item-children {
        li a {
          @media (width <= 1200px) {
            padding: 8px 10px 4px 30px;
            font-size: 15px;
          }
        }
      }
    }
  }
}

/* BLOG */

body.blog {
  .container {
    width: 100%;
    max-width: 1600px;
    padding: 0;
    padding-inline: 0px;
    .lqd-lp-grid {
      .lqd-lp-column {
        width: 100%;
      }
    }
  }
}

.beekom-blog-header {
  padding-top: 120px;
  padding-bottom: 80px;
  text-align: center;
  h1 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    line-height: var(--e-global-typography-primary-line-height);
    letter-spacing: var(--e-global-typography-primary-letter-spacing);
    color: var(--e-global-color-primary);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    span {
      font-size: 32px;
      line-height: 1.2;
    }
  }
}

.blog-topbar {
  margin-bottom: 24px;
  width: calc(70% - 60px);
  @media (width <= 992px) {
    width: 100%;
  }
}

.blog-filter-form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  background: #4a5e64;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.blog-filter-form:focus-within {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.blog-filter-input {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 4px 16px;
  border-radius: 99px;
}

.blog-filter-input::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")
    no-repeat center/18px 18px;
  filter: brightness(10);
}

.blog-filter-input input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
  color: white;
  padding: 8px 0;
}

.blog-filter-input input::placeholder {
  color: white;
  opacity: 0.6;
}

.blog-filter-select {
  position: relative;
  height: auto;
  display: flex;

  .ui-selectmenu-button.ui-button {
    text-align: left;
    white-space: nowrap;
    width: fit-content;
    background: var(--color-secondary);
    border: none;
    border-radius: 99px;
    color: white;
    padding: 10px 20px;
    align-items: center;
  }
  .ui-selectmenu-icon {
    display: none;
  }
}

.blog-filter-select select {
  border: none;
  outline: none;
  background: transparent;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 28px 8px 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.blog-filter-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat center/14px 14px;
  filter: brightness(10);
}

@media (max-width: 640px) {
  .blog-filter-form {
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }
  .blog-filter-select {
    margin-inline: auto;
  }
}

.blog-grid {
  display: flex;
  gap: 80px;
  @media (width <= 992px) {
    flex-direction: column;
    padding-bottom: 60px;
  }
  .blog-sidebar {
    flex: 1 1 30%;
    padding-right: 20px;
    height: fit-content;

    .widget {
      padding: 0;
      border: none;
    }

    .mejs-container {
      width: 100% !important;
    }
  }
}

.blog-sidebar {
  position: relative;
  top: -85px;
  padding: 18px 24px;
  background-color: #242424;
  border-radius: 10px;
  @media (width <= 992px) {
    top: 0;
    padding: 18px;
  }
  .widget {
    border: none;
    padding: 0;
    margin-bottom: 40px;
  }
  h2 {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: clamp(24px, 2.5vw, 42px);
    font-weight: var(--e-global-typography-secondary-font-weight);
    text-transform: var(--e-global-typography-secondary-text-transform);
    line-height: var(--e-global-typography-secondary-line-height);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
    color: white;
    margin: 0 0 32px 0;
  }
  .widget.ld_widget_popular_entries,
  .widget.hub_child_widget_category_posts {
    ul {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    li {
      margin-bottom: 0;
      article {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        gap: 24px;
        padding: 8px;
        border-radius: 12px;
        transition: background-color 0.3s ease;

        &:hover{
          background-color: #171717;
        }

        figure {
          width: 100px;
          /* height: 100px; */
          flex: 0 0 auto;
          margin-bottom: 0;
          @media (992px <= width <= 1200px) {
            display: none;
          }
          img {
            aspect-ratio: 1/1;
            border-radius: 6px;
            object-fit: cover;
            height: 100%;
            width: 100%;
          }
        }
        .ld_entries_contents {
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          justify-content: flex-start;
          gap: 6px;
          .post-date {
            font-size: 15px;
            color: white;
            order: -1;
          }
          a.h2 {
            font-size: 22px;
            color: white;
            margin-bottom: 0;
          }
        }
      }
    }
  }
  .widget_text {
    margin-bottom: 0;
    h3 {
      font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
      font-size: clamp(24px, 2.5vw, 28px);
      font-weight: var(--e-global-typography-secondary-font-weight);
      text-transform: var(--e-global-typography-secondary-text-transform);
      line-height: var(--e-global-typography-secondary-line-height);
      letter-spacing: var(--e-global-typography-secondary-letter-spacing);
      color: white;
      margin: 0 0 32px 0;
    }
  }
}

.blog-grid-inner {
  display: grid;
  flex: 1 1 70%;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content max-content;
  padding: 0;
  gap: 40px;
  padding-bottom: 120px;
  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (width <= 992px) {
    padding-bottom: 0px;
  }
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
  .blog-card {
    &:first-child {
      grid-column: span 2;
      display: flex;
      flex-direction: row;
      gap: 20px;
      @media (width <= 768px) {
        grid-column: span 1;
      }
      @media (width <= 600px) {
        flex-direction: column;
        height: fit-content;
      }
      .lqd-lp-img {
        flex: 0 0 40%;
        figure {
          height: 100%;
        }
        img {
          aspect-ratio: 16/9;
          object-fit: cover;
          height: 100%;
          border-radius: 12px;
          width: 100%;
        }
      }
      .content {
        flex: 1 1 60%;
      }
    }
    position: relative;
    overflow: hidden;
  }
  .no-results {
    color: white;
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
  }
}

.beekom-blog-content {
  padding: 0 20px;
  .blog-card {
    position: relative;
    background-color: #242424;
    padding: 12px;
    border-radius: 10px;
    height: 100%;
    @media (width <= 992px) {
      grid-column: span 1;
    }
    @media (width <= 768px) {
      display: flex;
      flex-direction: row;
      gap: 20px;
    }
    @media (width <= 600px) {
      flex-direction: column;
    }

    .lqd-lp-img {
      border: none;
      border-radius: 8px;
      @media (600px <= width <= 768px) {
        flex: 0 0 40%;
        figure {
          height: 100%;
        }
        img {
          aspect-ratio: 16/9;
          object-fit: cover;
          height: 100%;
        }
      }
    }
    .content {
      h2 {
        font-family: var(--e-global-typography-secondary-font-family),
          Sans-serif;
        font-size: clamp(24px, 2.5vw, 32px);
        font-weight: var(--e-global-typography-secondary-font-weight);
        text-transform: var(--e-global-typography-secondary-text-transform);
        line-height: var(--e-global-typography-secondary-line-height);
        letter-spacing: var(--e-global-typography-secondary-letter-spacing);
        color: white;
        margin: 6px 0 12px 0;
      }
      p {
        font-family: var(--e-global-typography-text-font-family), Sans-serif;
        font-size: var(--e-global-typography-text-font-size);
        font-weight: var(--e-global-typography-text-font-weight);
        text-transform: var(--e-global-typography-text-text-transform);
        line-height: var(--e-global-typography-text-line-height);
        letter-spacing: var(--e-global-typography-text-letter-spacing);
        color: white;
      }
    }

    .category {
      position: absolute;
      height: fit-content;
      width: fit-content;
      inset: 22px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 4px;

      a {
        background: white;
        border-radius: 99px;
        padding: 4px 18px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        color: var(--e-global-color-secondary);
        line-height: 1;
      }
    }
    .date {
      display: block;
      margin-top: 12px;
      color: white;
    }
  }
  .blog-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* SINGLE POST */

body.single-post {
  .article-header {
    figure {
      margin-bottom: 24px;
      img {
        aspect-ratio: 16/9;
        object-fit: cover;
        border-radius: 12px;
      }
    }
  }

  #lqd-contents-wrap#lqd-contents-wrap {
    padding-top: 150px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: nowrap;
    gap: 60px;
    display: grid !important;
    grid-template-columns: .3fr .7fr;
    grid-template-rows: min-content max-content;
    @media (width <= 1024px) {
      display: flex !important;
      flex-direction: column;
    }

    .article-header {
      grid-column: 1 / 3;
      grid-row: 1;
      display: flex;
      align-items: center;
      display: flex;
      align-items: center;
      gap: 60px;
      width: 100%;
      @media (width <= 768px) {
        flex-direction: column;
        gap: 20px;
      align-items: flex-start;

      }
    }

    .lqd-contents {
      grid-column: 2;
      width: 100%;
    }
    .blog-sidebar-header {

      .breadcrumbs {
        color: white;
        margin-bottom: 24px;
        a {
          color: white;
          font-size: 16px;
        }
      }

      .categories {
        color: white;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 12px;
        gap: 8px;

        a {
          padding: 6px 16px;
          border-radius: 99px;
          background-color: white;
          color: var(--e-global-color-secondary);
          font-size: 16px;
          &:hover {
            background-color: var(--e-global-color-secondary);
            color: white;
          }
        }
      }
      h1 {
        font-size: 42px;
        font-weight: 600;
        color: white;
        line-height: 1.2;
        text-transform: none;
        @media (width <= 1200px) {
          font-size: 32px;
        }
      }

      .published-date {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 24px;
        span {
          font-size: 16px;
          color: white;
        }
      }
    }
    .blog-sidebar-container {
      grid-row: 2;
      padding-bottom: 100px;

      .blog-sidebar {
        position: sticky;
        top: calc(var(--lqd-sticky-header-height) + 20px);

        .widgettitle {
          color: white;
          font-size: 24px;
          font-weight: 500;
          margin-bottom: 12px;
        }

        form.wpcf7-form {
          display: flex !important;
          flex-direction: row;
          flex-wrap: wrap;
          gap: 8px;

          @media (width <= 1200px) {
            flex-direction: column;
          }

          p {
            margin-bottom: 8px;
            flex: 1;
          }
          p:last-of-type {
            flex: 0;
          }
          .wpcf7-response-output {
            margin: 0 !important;
          }
        }
        input.wpcf7-email {
          background: transparent;
          border: 1px solid gray;
          padding: 8px;
          width: 100%;

          &:focus,
          &:focus-visible,
          &:focus-within {
            outline: none;
            border: 1px solid white;
          }
        }
        .cat-item {
          border-radius: 8px;
          border-bottom: none;
          margin-bottom: 4px;
          padding: 10px;
          background-color: #303030;
          transition: background-color 0.3s ease;
          &:hover {
            background-color: #4a5e64;
          }
        }
        .cat-item a {
          color: white;
          font-size: 18px;
        }

        #custom_html-3 {
          margin-top: 40px;
        }

        .social-links {
          display: flex;
          gap: 8px;
          a {
            color: white;
          }
        }
      }
    }
  }

  .lqd-post-content {
    p {
      font-family: var(--e-global-typography-text-font-family), Sans-serif;
      font-size: var(--e-global-typography-text-font-size);
      font-weight: var(--e-global-typography-text-font-weight);
      text-transform: var(--e-global-typography-text-text-transform);
      line-height: var(--e-global-typography-text-line-height);
      letter-spacing: var(--e-global-typography-text-letter-spacing);
      color: var(--e-global-color-primary);
    }
  }

  .blog-post-footer {
    &:before {
      display: none;
    }
  }

  .related-posts {
    h3 {
      font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
      font-size: clamp(24px, 2.5vw, 32px);
      font-weight: var(--e-global-typography-secondary-font-weight);
      text-transform: var(--e-global-typography-secondary-text-transform);
      line-height: var(--e-global-typography-secondary-line-height);
      letter-spacing: var(--e-global-typography-secondary-letter-spacing);
      color: white;
      margin: 16px 0 12px 0;
    }
    .lqd-lp-header {
      margin-top: 24px;
    }
    .lqd-lp-header h4 a {
      color: white;
    }
  }
}

/* RELATED POSTS */

.related-posts {
  h2 {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: var(--e-global-typography-secondary-font-weight);
    text-transform: var(--e-global-typography-secondary-text-transform);
    line-height: var(--e-global-typography-secondary-line-height);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
    color: white;
  }
  .post-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    @media (width <= 998px) {
      flex-direction: column;
    }
    a.btn {
      background-color: transparent;
      padding: 0;
      color: white;
      i.icon-ion-ios-arrow-round-forward {
        color: var(--e-global-color-secondary);
        font-size: 2em;
      }
    }
    .post-nav-previous {
      a.btn {
        flex-direction: row-reverse;
        i.icon-ion-ios-arrow-round-forward {
          transform: rotate(180deg);
        }
        &:hover {
          .btn-icon {
            transform: rotate(45deg);
          }
        }
      }
    }
  }
}

/* PAGE INTERMEDIAIRE */

.intermediate-page {
  max-width: 1300px;
  margin-inline: auto;
  padding-top: 200px;
  padding-bottom: 100px;

  * {
    font-family: var(--e-global-typography-3c78215-font-family);
  }
  .content {
    color: black;
    font-size: 20px;
  }
}

.intermediate-page__header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 50px;
}

.intermediate-page__title {
  h1 {
    color: white;
    font-size: 46px;
  }
}

.intermediate-page__main-content {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
  padding: 0 20px;

  .main-content__article {
    flex: 0 1 calc((100% / 3) - 20px);
    flex-direction: column;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4a5e64;
    min-height: 140px;
    padding: 0px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;

    &:hover {
      background-color: #223940;
    }

    .fwpl-col {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .article__content{
      padding: 20px;
      display: flex;
      height: 100%;
      align-items: center;
      justify-content: center;
    }

    img {
      aspect-ratio: 1/1;
      object-fit: cover;
      max-height: 200px;
    }

    .article__title {
      font-size: clamp(20px, 2.3vw, 26px);
      color: white;
      font-weight: 300;
      text-align: center;
      margin: 0;
      text-transform: none;
    }


    .article__link,
    .article__link a {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
  }
}

@media (width <= 768px) {
  .intermediate-page__header {
    margin-bottom: 20px;
  }

  .intermediate-page__main-content {
    .main-content__article {
      flex: 0 1 calc((100% / 2) - 20px);

      .article__title {
        font-size: 20px;
      }
    }
  }
}

@media (width <= 568px) {
  .intermediate-page__main-content {
    .main-content__article {
      flex: 1 1 100%;
    }
  }
}
