/**
 * Fixes for mobile version
 * WIP - 28th March 2025
 */
@media (max-width: 767px) {
  .bw {
    display: none !important;
  }
  .site-header .wrapper {
    height: 90px;
  }
  .site-header .logo {
    width: 100px;
  }
  .site-header--floating .logo--floating {
    width: 90px;
  }
  .mobile-navigation {
    padding: 2rem 2rem;
    max-width: 100%;
  }
  .mobile-navigation .wrapper {
    gap: 2rem;
  }
  .mobile-navigation__main ul {
    gap: 0.5rem;
  }
  .home-hero.flexi {
    min-height: 90vh;
  }
  .home-hero.flexi .home-hero__carousel,
  .home-hero.flexi .home-hero__carousel .flex-carousel__item {
    height: 90vh;
  }
  .home-hero.flexi .flex-carousel__dots {
    margin: 1.8rem 1.5rem;
  }
  .home-hero.flexi .home-hero__text {
    margin: 2rem 1.5rem;
  }
  .section h1.home-intro {
    font-size: 2.2rem;
  }
  /**
    * Projects intro
    */
  .projects-intro {
    margin-top: 6rem;
  }
  .projects-intro.section h2,
  .projects-intro.section .rich h3,
  .latest-artices.section h2,
  .latest-artices.section .rich h3 {
    font-size: 2rem;
  }
  /**
    * Project carousel
    */
  .project-carousel {
    margin-top: 6rem;
    margin-bottom: 4rem;
  }
  .project-carousel__item-text {
    margin: 1.2rem 1.5rem;
  }
  .project-carousel__item:nth-child(3n+1) .project-carousel__item-image,
  .project-carousel__item:nth-child(3n+2) .project-carousel__item-image,
  .project-carousel__item:nth-child(3n+3) .project-carousel__item-image {
    width: 80vw;
    height: auto;
  }
  .flickity-enabled .project-carousel__item {
    margin-right: 1.25rem;
    width: 80vw;
    height: auto;
  }
  .project-carousel .flickity-prev-next-button.previous,
  .project-carousel .flickity-prev-next-button.next {
    bottom: -2rem;
  }
  /**
    * Image carousel
    */
  .image-carousel__items {
    margin-top: 3rem;
  }
  .image-carousel__item:nth-child(3n+1) {
    margin-top: 0;
  }
  .image-carousel__item:nth-child(3n+2) {
    margin-top: 1rem;
  }
  .image-carousel__item:nth-child(3n+3) {
    margin-top: -1rem;
  }
  /**
    * Testimonials
    */
  .testimonials-home-hero__caption-heading span,
  .testimonials-home-hero__caption-heading a {
    left: 50%;
    transform: translateX(-50%);
  }
  /**
    * Site footer
    */
  .site-footer .footer-navigation ul#menu-footer-navigation {
    gap: 0.5rem;
  }
  .site-footer .footer-navigation #menu-footer-navigation > li:has(a[href^=mailto]) {
    margin-top: 1rem;
  }
  .site-footer .footer-navigation .primary-navigation li a {
    height: auto;
  }
  .site-footer .upper__first {
    gap: 3rem;
    padding: 4rem 0 3.5rem 0;
  }
  .site-footer .upper__last {
    gap: 4rem;
  }
  .site-footer .lower .wrapper {
    gap: 0.5rem;
    padding: 2rem 0;
    margin-top: 3rem;
  }
  .site-footer .lower .wrapper .credit {
    margin-top: 2rem;
    padding: 0;
  }
  /**
    * Careers - jobs-block
    */
  .jobs-block__jobs__split__hold__single .cta.pseudo.right-jobs {
    display: inline-flex;
  }
  .jobs-block__jobs__split__hold__single .cta.pseudo.right-jobs .cta.pseudo.right-jobs span {
    margin-top: 3px;
  }
  /**
    * indent
    */
  .section.indent {
    margin-top: 10rem;
  }
  /**
   * Pagination
   */
  .pagination {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
  }
  .pagination span,
  .pagination a {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0.3rem;
  }
  .basic-text-cta {
    margin-top: 5rem;
  }
  .basic-text-cta__hr {
    width: 100%;
    margin-bottom: 3.5rem;
    display: none;
  }
  .expertise-process__items h1 {
    background-image: linear-gradient(140deg, #ffffff, #75C4BF 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent !important;
  }
  .expertise-process__items {
    margin-left: 1.25rem;
    width: calc(100% - 2.5rem);
  }
  .project-grid-filter__menu-toggler {
    padding-left: 2rem;
    padding-right: 2rem;
    background-position: left 0.5rem center;
  }
  .project-grid__item-image-text {
    display: none;
  }
  .project-grid__item-image.highlight:after {
    opacity: 0.5;
    background-color: var(--brand--dark);
  }
  .project-grid__item:hover .project-grid__item-image:after {
    opacity: 0.5;
  }
  .more-projects {
    margin-bottom: 5rem !important;
  }
  .full-width-image__title .rotate {
    right: 2rem;
  }
}
/** end media query **/
/**
  * Fix an issue with the project grid filter menu
  */
.project-grid-filter__menu {
  pointer-events: none;
}

.project-grid-filter__menu.animate-in {
  pointer-events: all;
}

/**
* .page-link-mosaic / .latest-articles
*/
@media (max-width: 767px) {
  .page-link-mosaic.latest-articles {
    padding-bottom: 1rem;
  }
}
@media (min-width: 1200px) {
  .page-link-mosaic.latest-articles .page-link-mosaic__image:nth-child(3) .page-link-mosaic__image-image {
    display: none;
  }
}
@media (max-width: 1199px) {
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image.set-items .cta-hold,
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image.set-table .cta-hold {
    position: relative !important;
  }
}
@media (max-width: 1199px) {
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image.set-items .cta-hold .cta.bottom-right,
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image.set-table .cta-hold .cta.bottom-right {
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 767px) {
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image-image {
    aspect-ratio: 1;
  }
}
@media (max-width: 1199px) {
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image.set-table h1 {
    font-size: 26px !important;
  }
}
@media (max-width: 1199px) {
  .page-link-mosaic.latest-articles .page-link-mosaic__images .page-link-mosaic__image:nth-child(3) .sep {
    margin-top: 3rem;
  }
}

/**
* .project-carousel 
*/
.project-carousel__nav {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.project-carousel button {
  background: none;
  border: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  opacity: 0.5;
  transition: opacity 50ms ease;
  margin: 0;
  padding: 0;
}
.project-carousel button:hover {
  opacity: 0.8;
}
.project-carousel button[aria-label=Next] {
  transform: rotate(180deg);
}
.project-carousel button svg path {
  fill: var(--brand--accent-color);
}
.project-carousel__items {
  height: auto;
}

/**
* .perks-carousel 
*/
@media (max-width: 767px) {
  .perks-carousel {
    margin-top: 5rem;
  }
}
.perks-carousel .wrapper {
  align-items: flex-start;
  background-color: var(--brand--dark-color);
  gap: 0;
  flex-direction: column;
}
@media (min-width: 992px) {
  .perks-carousel .wrapper {
    flex-direction: row;
  }
}
@media (min-width: 1600px) {
  .perks-carousel .wrapper {
    max-width: 1680px;
  }
}
.perks-carousel .perks-carousel__images {
  align-self: stretch;
  width: 100%;
  position: relative;
}
@media (min-width: 992px) {
  .perks-carousel .perks-carousel__images {
    width: 50%;
    flex: none;
    min-height: 750px;
  }
}
@media (min-width: 1600px) {
  .perks-carousel .perks-carousel__images {
    width: 60%;
    flex: none;
    min-height: 860px;
  }
}
.perks-carousel .perks-carousel__images .perks-carousel__images-nav {
  display: flex;
  gap: 0;
  align-items: center;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  gap: 0.5rem;
}
@media (min-width: 992px) {
  .perks-carousel .perks-carousel__images .perks-carousel__images-nav {
    display: none;
  }
}
.perks-carousel .perks-carousel__images .perks-carousel__images-items {
  height: 100%;
  aspect-ratio: 3/2;
}
@media (min-width: 768px) {
  .perks-carousel .perks-carousel__images .perks-carousel__images-items {
    aspect-ratio: 3/2;
  }
}
@media (min-width: 992px) {
  .perks-carousel .perks-carousel__images .perks-carousel__images-items {
    aspect-ratio: unset;
  }
}
.perks-carousel .perks-carousel__images .perks-carousel__images-items .flickity-viewport {
  overflow: hidden;
}
.perks-carousel .perks-carousel__images .perks-carousel__images-item {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
}
@media (min-width: 768px) {
  .perks-carousel .perks-carousel__images .perks-carousel__images-item {
    aspect-ratio: 3/2;
  }
}
@media (min-width: 992px) {
  .perks-carousel .perks-carousel__images .perks-carousel__images-item {
    /* aspect-ratio: 1; */
    aspect-ratio: unset;
    height: 100%;
  }
}
.perks-carousel .perks-carousel__images .perks-carousel__images-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.perks-carousel .perks-carousel__text {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  color: white;
  width: 100%;
  position: relative;
}
@media (min-width: 992px) {
  .perks-carousel .perks-carousel__text {
    align-self: stretch;
    width: 50%;
    flex: none;
    padding: 3rem 3.5rem;
  }
}
@media (min-width: 1200px) {
  .perks-carousel .perks-carousel__text {
    padding: 5rem;
  }
}
@media (min-width: 1600px) {
  .perks-carousel .perks-carousel__text {
    justify-content: center;
    width: 40%;
    flex: none;
  }
}
.perks-carousel .perks-carousel__text .perks-carousel__text-nav {
  display: none;
}
@media (min-width: 992px) {
  .perks-carousel .perks-carousel__text .perks-carousel__text-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
    margin-left: -0.5rem;
  }
}
@media (min-width: 1600px) {
  .perks-carousel .perks-carousel__text .perks-carousel__text-nav {
    position: absolute;
    top: 5rem;
  }
}
.perks-carousel .perks-carousel__text .perks-carousel__text-items {
  /* margin-top: -4rem; */
}
.perks-carousel .perks-carousel__text .perks-carousel__text-items .flickity-viewport {
  overflow: hidden;
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-content * {
  color: white;
}
@media (max-width: 767px) {
  .perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-content * {
    font-size: 1.1rem;
  }
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta {
  margin-top: 2rem;
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a span {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: var(--letterspacing-1);
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a i {
  transition: transform 150ms ease;
  margin-bottom: -0.2rem;
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a i svg {
  aspect-ratio: 1;
  width: 1rem;
  height: auto;
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a i svg path {
  fill: white;
  transition: fill 150ms ease;
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a:hover span {
  color: var(--brand--accent-color);
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a:hover i {
  transform: rotate(-45deg);
}
.perks-carousel .perks-carousel__text .perks-carousel__text-item .perks-carousel__text-item-cta a:hover i svg path {
  fill: var(--brand--accent-color);
}
.perks-carousel .heading--perks-carousel {
  font-family: var(--brand--heading-font);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: var(--letterspacing-0);
  color: white;
  max-width: 17rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .perks-carousel .heading--perks-carousel {
    font-size: 2rem;
    max-width: 100%;
  }
}
.perks-carousel button {
  background: none;
  border: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  opacity: 0.5;
  transition: opacity 50ms ease;
  margin: 0;
  padding: 0;
}
.perks-carousel button:hover {
  opacity: 0.8;
}
.perks-carousel button[aria-label=Next] {
  transform: rotate(180deg);
}

/**
* .testimonials-carousel 
*/
.testimonials-carousel {
  --gutter: 2rem;
  --inner-pad-y: 6rem;
  position: relative;
  padding-top: calc(var(--inner-pad-y) * 0.75);
  padding-bottom: calc(var(--inner-pad-y) * 0.75);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  /* aspect-ratio: 4/3; */
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .testimonials-carousel {
    padding-top: var(--inner-pad-y);
    padding-bottom: var(--inner-pad-y);
  }
}
.testimonials-carousel .wrapper {
  text-align: left;
  container-type: inline-size;
}
.testimonials-carousel .testimonials-carousel__header {
  margin-bottom: 2.5rem;
}
.testimonials-carousel .testimonials-carousel__images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.testimonials-carousel .testimonials-carousel__images-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
}
.testimonials-carousel .testimonials-carousel__images-items:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--brand--dark);
  z-index: 1;
  opacity: 0.8;
}
.testimonials-carousel .testimonials-carousel__images-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.testimonials-carousel .testimonials-carousel__images-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.testimonials-carousel .testimonials-carousel__text-items .flickity-viewport {
  overflow: hidden;
}
.testimonials-carousel .testimonials-carousel__text-item-cta a {
  font-family: var(--brand--heading-font);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: var(--letterspacing-1);
  color: white;
  padding: 0;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: color 150ms ease;
}
.testimonials-carousel .testimonials-carousel__text-item-cta a i {
  aspect-ratio: 1;
  display: flex;
  width: 1.2rem;
  height: auto;
  transition: transform 150ms ease;
}
.testimonials-carousel .testimonials-carousel__text-item-cta a i svg {
  aspect-ratio: 1;
  width: 1.2rem;
  height: auto;
}
.testimonials-carousel .testimonials-carousel__text-item-cta a i svg path {
  fill: white;
  transition: fill 150ms ease;
}
.testimonials-carousel .testimonials-carousel__text-item-cta a:hover {
  color: var(--brand--accent-color);
}
.testimonials-carousel .testimonials-carousel__text-item-cta a:hover i {
  transform: rotate(-45deg);
}
.testimonials-carousel .testimonials-carousel__text-item-cta a:hover i svg path {
  fill: var(--brand--accent-color);
}
.testimonials-carousel .testimonials-carousel__text-item-quote {
  font-family: var(--brand--heading-font);
  font-weight: 400;
  font-size: 3.2rem;
  font-size: 6.6cqw;
  color: white;
  line-height: 1.4;
  text-align: left;
}
@media (min-width: 768px) {
  .testimonials-carousel .testimonials-carousel__text-item-quote {
    font-family: var(--brand--heading-font);
    font-weight: 400;
    font-size: 3.2rem;
    color: white;
    line-height: 1.3;
    text-align: left;
  }
}
.testimonials-carousel .heading--testimonials-carousel {
  font-family: var(--brand--heading-font);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.3;
  color: white;
}
@media (min-width: 768px) {
  .testimonials-carousel .heading--testimonials-carousel {
    font-size: 2rem;
  }
}

/**
* .home-hero 
*/
@media (max-width: 991px) {
  .home-hero.flexi .flex-carousel__dots {
    margin: 1.8rem 1.5rem;
  }
}
@media (max-width: 767px) {
  .home-hero.flexi .flex-carousel__dots {
    right: auto;
    left: 0;
  }
}
@media (max-width: 991px) {
  .home-hero.flexi .home-hero__text {
    margin: 2rem 1.5rem;
  }
}
@media (max-width: 767px) {
  .home-hero.flexi .home-hero__text {
    margin: 4.5rem 1.5rem;
  }
}
@media (min-width: 992px) {
  .home-hero.flexi .home-hero__text a {
    width: 100%;
    max-width: calc(100% - 24rem);
  }
}
@media (min-width: 1264px) {
  .home-hero.flexi .home-hero__text a {
    max-width: 69rem;
    width: 100%;
  }
}
@media (min-width: 1464px) {
  .home-hero.flexi .home-hero__text a {
    max-width: 80rem;
  }
}
@media (min-width: 1600px) {
  .home-hero.flexi .home-hero__text a {
    max-width: 84rem;
  }
}
.single-team-member__split__content a {
  text-decoration: underline;
}

.single-team-member__split__content a:hover {
  text-decoration: none;
}
