/*!***********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./blocks/services/src/style.css ***!
  \***********************************************************************************************************************************************************************************/
/* SERVICES BLOCK CSS */

/*@view-transition {
  navigation: auto;
}

::view-transition-group-old(root) {
  animation: fade-in-right 250ms ease-in forwards;
}

::view-transition-group-old(root) {
  animation: fade-in-right 250ms ease-out forwards;
}*/

.wp-block-services {
  /* visibility: hidden; */
  position: relative;
  background-color: var(--bright-white);
  display: grid;
  width: 100%;
  height: 90vh;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto 1fr;
  z-index: 1;
  gap: 12px;
  padding-bottom: 150px;
  padding-top: 150px;
  margin-top: -150px;
  margin-bottom: -150px;
  z-index: 2;
}

.services-mast {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  grid-column: 2 / 8;
  grid-row: 1;
  color: var(--font-smoke);
  z-index: 1;
  padding: 120px 0 24px 24px;
  align-items: start;
  justify-content: flex-end;
  vertical-align: bottom;
  gap: 14px;
}

/*.services-mast::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: #fbbc04;
    z-index: 0;
    padding: none;
}*/

.services-mast h3 {
  font-family: var(--font-a);
  font-weight: 700;
  color: var(--dark-blue);
  font-size: var(--h3);
  line-height: 0.25;
}

.services-mast p {
  font-family: var(--font-b);
  font-weight: 675;
  font-size: var(--p-2);
  line-height: 0.009;
  font-style: italic;
  word-spacing: -2.2px;
  letter-spacing: 0.15px;
}

.services-menu-wrapper {
  /* CUT ON HERE */
  /*visibility: hidden;*/
  position: relative;
  display: flex;
  flex-direction: row;
  grid-column: 2 / 8;
  grid-row: 2;
  justify-content: center;
  align-items: end;
  justify-self: stretch;
  gap: 10px;
  padding: 0 24px 32px;
  z-index: 1;
}

/* Comment */

.services-menu__button {
  text-decoration: none;
  background-color: var(--bright-white);
  font-family: var(--font-b);
  font-size: 0.999rem;
  color: var(--dark-blue);
  display: inline-flex; /* This and line below stretch buttons across div */
  flex: 1; /* This and line above stretch buttons across div */
  border-radius: 4px;
  border: 1.075px solid var(--dark-blue);
  cursor: pointer;
  justify-content: space-around;
  width: auto;
  height: 36px;
  /*height: 2.5rem;*/
  /*padding: 4px;*/
  font-size: 0.99rem;
  font-weight: 500;
  appearance: none;
  text-align: center;
  align-items: center;
  transition: all 0.2s ease-in-out;

  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.06);
}

.services-menu__button:hover {
  background-color: var(--dark-blue);
  color: var(--bright-white);
  transform: translateY(-2px);
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.services-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  margin: 0;
  padding: 0;
  filter: contrast(0%);
  filter: opacity(55%);
}

/* CAROUSEL */

#services-card-display {
  display: block;
  grid-column: 2 / 12;
  grid-row: 3;
  width: 100%;
  height: 100%;
  /* padding: 0 24px 0 24px; */
  overflow: hidden;
}

.services-card-group {
  display: none;
}

.services-card-group.active {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  /* padding: 0 16px; */
  box-sizing: border-box;
  overflow: hidden;
}

.services-card-group.active > .services-card {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  aspect-ratio: 10 / 16;
  margin: 0;
  transform: none !important;
}

.services-card-group.active > .services-card {
  transition:
    transform 0.28s ease,
    height 0.28s ease,
    opacity 0.28s ease;
  cursor: pointer;
}

.services-card--featured {
  height: 100%;
  z-index: 2;
  transform: scale(1);
}

.services-card--mini {
  height: var(--mini-h, 25%);
  opacity: 0.9;
  transform: scale(0.92);
}

.services-card__image-wrapper {
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 9;
}

.services-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.services-card__h3_wrapper {
  display: none !important;
}

/* .services-card-group {
  width: 100%;
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: max-content;
  gap: 3px;             
  align-content: start;
  height: 100%;
overflow: hidden;
  box-sizing: border-box;
} */

/* #services-card-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: start;
}
.services-card-group.hidden {
  display: grid;
}

.services-card-group.active {
  grid-column: 1;
  position: relative;
  min-height: 560px;
}

.services-card-group.active > .services-card {
  position: absolute;
}

.services-card-group.inactive {
  grid-column: 2;
  display: grid;
  gap: 10px;
}

.services-card-group.inactive > .services-card {
  position: relative;
  transform: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.services-card-group.inactive > .services-card:nth-child(n + 2) {
  display: none;
}

.services-card-group.inactive > .services-card {
  position: relative;
  transform: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.services-card-group.inactive > .services-card:nth-child(n + 2) {
  display: none;
}

.services-card-group.inactive .services-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 12px;
}

.services-card-group.inactive .services-card:nth-child(n + 2) {
  display: none;
}

.services-card-group.inactive .services-card__h3_wrapper {
  display: none;
}

.services-card-group > .services-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  margin: 0;
  z-index: 1;
}

.services-card-group > .services-card:nth-child(2)  { transform: translateY(-2px)  translateX(-6px); }
.services-card-group > .services-card:nth-child(3)  { transform: translateY(-4px)  translateX(-12px); }
.services-card-group > .services-card:nth-child(4)  { transform: translateY(-6px)  translateX(-18px); }
.services-card-group > .services-card:nth-child(5)  { transform: translateY(-8px)  translateX(-24px); }
.services-card-group > .services-card:nth-child(6)  { transform: translateY(-10px) translateX(-30px); }
.services-card-group > .services-card:nth-child(7)  { transform: translateY(-12px) translateX(-36px); }
.services-card-group > .services-card:nth-child(8)  { transform: translateY(-14px) translateX(-42px); }
.services-card-group > .services-card:nth-child(9)  { transform: translateY(-16px) translateX(-48px); }
.services-card-group > .services-card:nth-child(10) { transform: translateY(-18px) translateX(-54px); }
.services-card-group > .services-card:nth-child(11) { transform: translateY(-20px) translateX(-60px); }
.services-card-group > .services-card:nth-child(12) { transform: translateY(-22px) translateX(-66px); }


.services-card-group.hidden {
  display: none;
} */

/* RESPONSIVE MEDIA QUERIES */

/* MOBILE */

/*.services-menu__button {

}

.services-menu-wrapper {

      grid-column: 1 / 13;
      flex-direction: column;
}*/

/* TABLETS */

/*@media (min-width: 580px) and (max-width: 849px) {
    .services-menu__button {

    }

    .services-menu-wrapper {
    grid-column: 0 / 13;
    }
}*/

/* DESKTOP SMALL */

/*@media (min-width: 820px) and (max-width: 1399px) {
    .services-menu__button {

    }

    .services-menu-wrapper {

    }*/

/* DESKTOP LARGE */

/*@media (min-width: 1400px) {
    .services-menu__button {

    }

    .services-menu-wrapper {

    }
}*/

/* RESPONSIVE MEDIA QUERIES */

/* MOBILE */

@media (max-width: 430px) {
  .services-mast {
    padding: 64px 0 12px 12px;
    grid-column: 2 / 12;
    /* OLD  */

    align-items: start;
    justify-content: flex-end;
    vertical-align: bottom;
    gap: 2px;
    overflow-wrap: anywhere;
  }

  .services-menu-wrapper {
    grid-column: 2 / 12;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;
    justify-self: stretch;
    gap: 6px;
    padding: 18px 6px 32px 6px;
  }

  .services-mast h3 {
    font-size: clamp(1.75rem, 4vw, 1.75rem);
    line-height: 1.25;
    white-space: normal;
    letter-spacing: 0.35px;
  }

  .services-mast p {
    letter-spacing: 0.25px;
    padding-top: 8px;
    /* margin: 0; */
  }
  .services-menu__button {
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
  /* SLIDER SIDE SCROLL MOBILE */
    #services-card-display {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .services-card-group.active {

  gap: 8px;

}
}


