/* Text utility */
/* Mobile utility */
/* link hover utility */
/* Container utility mixin */
/* Container avec variable CSS */
/* Text content styles */
/* Centered content */
/* from... */
/* to... */
/* from... to... */
/* at... */
/* FONT WEIGHTS */
.s-mesh-pages .l-container {
  display: grid;
  grid-template-columns: auto auto;
  row-gap: 3rem;
}
.s-mesh-pages__ttl {
  font-size: 3.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  font-family: "remora-sans-w1", "sans-serif";
  grid-column: 1/2;
  color: var(--wp--preset--color--txt-secondary-dark);
}
.s-mesh-pages__ttl.centered {
  text-align: center;
}
.s-mesh-pages:not(:has(.s-mesh-pages__btn)) .s-mesh-pages__ttl {
  grid-row: 1/2;
  grid-column: 1/3;
}
.s-mesh-pages__btn-wrap {
  grid-row: 1/2;
  grid-column: 2/3;
  display: flex;
}
.s-mesh-pages__btn-wrap .c-btn {
  margin-left: auto;
}
.s-mesh-pages__grid {
  grid-row: 2/3;
  grid-column: 1/3;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.s-mesh-pages-page {
  flex: 1 1 calc(33.34% - 1.25rem / 2 * 3);
  position: relative;
  padding: 1.5rem;
  color: var(--wp--preset--color--txt-white);
  overflow: hidden;
  border-radius: 0;
  height: 15.625rem;
  transition: all 0.35s ease-out;
}
.s-mesh-pages-page:first-child, .s-mesh-pages-page:nth-child(2) {
  flex: 1 1 calc(50% - 0.625rem);
}
.s-mesh-pages-page-bg {
  position: absolute;
  inset: 0;
}
.s-mesh-pages-page-bg__thumb {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: all 0.35s ease-out;
}
.s-mesh-pages-page-bg__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.s-mesh-pages-page-bg__overlay--color {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 2;
  background-color: var(--card-hover-bg, rgba(0, 0, 0, 0.6));
  transform: translateY(100%);
  transition: transform 0.35s ease-out;
}
.s-mesh-pages-page__content {
  position: relative;
  z-index: 1;
  padding-left: 0.5rem;
  padding-bottom: 0.5rem;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 4.6875rem;
  z-index: 100;
}
.s-mesh-pages-page__top {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 0;
  transition: all 0.35s ease-out;
}
.s-mesh-pages-page__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50% 50%;
  background-color: var(--wp--preset--color--bg-white);
}
.s-mesh-pages-page__icon svg {
  height: 1.1875rem;
  width: auto;
}
.s-mesh-pages-page__icon path {
  fill: var(--wp--preset--color--bg-gray-dark);
}
.s-mesh-pages-page__main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: absolute;
  transition: all 0.35s ease-out;
  bottom: -1.875rem;
}
.s-mesh-pages-page__ttl {
  font-size: 2rem;
  line-height: 1.09;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "remora-sans-w1", "sans-serif";
  letter-spacing: 1px;
  margin: 0;
  flex-shrink: 0;
  max-width: 25rem;
  margin-bottom: 1.5rem;
  transition: all 0.35s ease-out;
}
.s-mesh-pages-page__desc {
  opacity: 0;
  flex-shrink: 1;
  transition: max-height 0.35s ease-out, opacity 0.35s ease-out, margin 0.35s ease-out;
  position: absolute;
  top: 100%;
  margin: 0 0 0.5rem;
  font-family: "Inter", "sans-serif";
  font-size: 1rem;
  line-height: 1.375;
  font-style: normal;
  font-weight: 400;
  color: var(--wp--preset--color--txt-white);
  line-height: 1.5;
}
.s-mesh-pages-page__desc:last-child {
  margin-bottom: 0;
}
.s-mesh-pages-page__desc p {
  margin: 0 0 0.5rem;
  font-family: "Inter", "sans-serif";
  font-size: 1rem;
  line-height: 1.375;
  font-style: normal;
  font-weight: 400;
  color: var(--wp--preset--color--txt-white);
  line-height: 1.5;
}
.s-mesh-pages-page__desc p:last-child {
  margin-bottom: 0;
}
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .s-mesh-pages-page:hover {
    border-radius: 12px;
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page-bg__thumb {
    transform: scale(1.1);
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page-bg__overlay--color {
    transform: translateY(0);
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page__top {
    transform: rotate(90deg);
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page__main {
    bottom: 4.375rem;
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page__ttl {
    color: #000;
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page__desc {
    opacity: 1;
    color: #000;
  }
  .s-mesh-pages-page:hover .s-mesh-pages-page__desc p {
    color: #000;
  }
}
@media screen and (max-width: 1024px) {
  .s-mesh-pages-page, .s-mesh-pages-page:first-child, .s-mesh-pages-page:nth-child(2) {
    flex: 1 1 calc(50% - 0.625rem);
  }
}
@media screen and (max-width: 991px) {
  .s-mesh-pages .l-container {
    row-gap: 2rem;
  }
  .s-mesh-pages__ttl {
    font-size: 2.5rem;
    grid-column: 1/3;
  }
  .s-mesh-pages__btn-wrap {
    grid-row: auto;
    grid-column: 1/3;
  }
  .s-mesh-pages-page {
    height: auto;
    min-height: 13.75rem;
    border-radius: 12px;
    transition: none;
  }
  .s-mesh-pages-page__content {
    padding-right: 60px;
  }
  .s-mesh-pages-page-bg__overlay--color {
    transform: translateY(0);
    opacity: 0.82;
    transition: none;
  }
  .s-mesh-pages-page-bg__thumb {
    transform: scale(1.05);
    transition: none;
  }
  .s-mesh-pages-page__top {
    transform: rotate(90deg);
    transition: none;
  }
  .s-mesh-pages-page__main {
    position: relative;
    bottom: 0;
    transition: none;
  }
  .s-mesh-pages-page__ttl {
    color: #000;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    transition: none;
  }
  .s-mesh-pages-page__desc {
    opacity: 1;
    position: relative;
    top: auto;
    color: #000;
    transition: none;
  }
  .s-mesh-pages-page__desc p {
    color: #000;
  }
}
@media screen and (max-width: 580px) {
  .s-mesh-pages .l-container {
    row-gap: 1.5rem;
  }
  .s-mesh-pages__ttl {
    font-size: 2rem;
  }
  .s-mesh-pages__grid {
    gap: 0.75rem;
  }
  .s-mesh-pages-page {
    min-height: 11.875rem;
    padding: 1.25rem;
  }
  .s-mesh-pages-page, .s-mesh-pages-page:first-child, .s-mesh-pages-page:nth-child(2) {
    flex: 1 1 100%;
  }
  .s-mesh-pages-page__ttl {
    font-size: 1.375rem;
  }
  .s-mesh-pages-page__icon {
    width: 2.75rem;
    height: 2.75rem;
  }
  .s-mesh-pages-page__icon svg {
    height: 0.9375rem;
  }
}