/* ── Flexible page builder styles ────────────────────────────── */
/*
   All rules are prefixed with .flexible-page (the wrapper in page-flexible.php).
   This raises specificity by 0,1,0 — enough to outrank Elementor kit styles
   like .elementor-kit-5 * (0,1,0) and .elementor-kit-5 a (0,1,1).
*/


@font-face {
  src: url("../fonts/Biro_Script_reduced.ttf") format("truetype");
  font-family: "Biro Script reduced";
  font-weight: 400;
}


/* ═══════════════════════════════════════════════════════════════
   COLLECTIONS CAROUSEL  (powered by Swiper)
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-carousel {
  background: #fbf8f4;
  padding: 61px 0 45px;
}

.flexible-page .fp-carousel__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #39323b;
  text-align: center;
  margin: 0 0 35px;
  line-height: 1.2;

  @media only screen and (max-width: 500px) {
    max-width: 290px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ── Outer: arrow positioning context ───────────────────────── */
.flexible-page .fp-carousel__outer {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 90px;
}

/* ── Swiper overrides ────────────────────────────────────────── */
.flexible-page .fp-carousel__swiper {
  overflow: hidden;
}

/* ── Card ────────────────────────────────────────────────────── */
.flexible-page .fp-carousel__card {
  display: block;
  height: 360px;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.flexible-page .fp-carousel__card-img {
  position: absolute;
  inset: 0;
}

.flexible-page .fp-carousel__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.flexible-page .fp-carousel__card:hover .fp-carousel__card-img img {
  transform: scale(1.08);
}

.flexible-page .fp-carousel__card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(217, 217, 217, 0) 65%,
    rgba(0, 0, 0, 0.5) 93%
  );
}

.flexible-page .fp-carousel__card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.flexible-page .fp-carousel__card:hover .fp-carousel__card-img::before {
  background: rgba(0, 0, 0, 0.2);
}

.flexible-page .fp-carousel__card-label {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fbf8f4;
  line-height: 1.2;
  letter-spacing: 0.48px;
  z-index: 2;
  padding: 0 12px;
  max-width: 260px;
  margin: 0 auto;
}

/* ── Navigation arrows ───────────────────────────────────────── */
.flexible-page .fp-carousel__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #39323b;
  padding: 0;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
  background-color: transparent !important;
  border: none !important;
}

.flexible-page .fp-carousel__arrow:hover {
  background: #39323b !important;
  color: #fff;
  svg path {
    stroke: #fff;
  }
}

/* Swiper sets aria-disabled on nav buttons when at boundary */
.flexible-page .fp-carousel__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.flexible-page .fp-carousel__arrow--prev { left: 38px; }
.flexible-page .fp-carousel__arrow--next { right: 38px; }

/* ── Pagination dots ─────────────────────────────────────────── */
.flexible-page .fp-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 29px;
}

.flexible-page .fp-carousel__dot {
  height: 7px;
  width: 20px;
  border-radius: 4px;
  border: none;
  background: rgba(57, 50, 59, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

.flexible-page .fp-carousel__dot--active {
  width: 95px;
  background: #39323b;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .flexible-page .fp-carousel__outer { padding: 0 60px; }
  .flexible-page .fp-carousel__arrow--prev { left: 12px; }
  .flexible-page .fp-carousel__arrow--next { right: 12px; }
}

@media (max-width: 768px) {
  .flexible-page .fp-carousel__outer { padding: 0 44px; }
  .flexible-page .fp-carousel__card { height: 300px; }
}

@media (max-width: 480px) {
  /* Make section the positioning context so arrows can drop below the
     swiper and sit alongside the pagination dots. */
  .flexible-page .fp-carousel { position: relative; padding: 48px 0 45px; }
  .flexible-page .fp-carousel__heading { font-size: 24px; margin-bottom: 28px;padding-left: 20px;padding-right: 20px; }

  /* Pad left only — let the next-slide preview bleed off the right edge. */
  .flexible-page .fp-carousel__outer {
    position: static;
    padding: 0 0 0 16px;
  }

  /* Portrait card to match the Figma proportions (~0.71 W:H) */
  .flexible-page .fp-carousel__card { height: 285px; }
  .flexible-page .fp-carousel__card-label { font-size: 18px; }

  /* Drop arrows to the bottom row, aligned with the pagination dots */
  .flexible-page .fp-carousel__arrow {
    top: auto;
    bottom: 32px;
    translate: 0;
  }
  .flexible-page .fp-carousel__arrow--prev { left: 8px; }
  .flexible-page .fp-carousel__arrow--next { right: 8px; }

  /* Constrain the dots so they sit between the arrows and don't overflow */
  .flexible-page .fp-carousel__dots {
    gap: 3px;
    max-width: calc(100% - 96px); /* leave space for the arrows on each side */
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .flexible-page .fp-carousel__dot { width: 12px; }
  .flexible-page .fp-carousel__dot--active { width: 50px; }
}



/* ═══════════════════════════════════════════════════════════════
   IMAGE / TEXT / CTA
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-image-text {
  background: #582e40;
  overflow: visible;
  position: relative;
  z-index: 10;
}

.flexible-page .fp-image-text__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 31px 56px 31px 90px;
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 463px;
}
.flexible-page .fp-image-text--reduce-block-height .fp-image-text__inner {
  min-height: 412px;
  height: 412px;
  @media only screen and (max-width: 830px) {
    min-height: 463px;
    height: unset;
  }
}


/* Flip order when image is on the right */
.flexible-page .fp-image-text--right .fp-image-text__inner {
  flex-direction: row-reverse;
  padding: 31px 90px 31px 56px;
  gap: 40px !important;
  justify-content: center;
  @media only screen and (max-width: 500px) {
    gap: 20px !important;
  }
  .fp-image-text__content {
    max-width: 460px !important;
  }
}



/* ── Media column ────────────────────────────────────────────── */
.flexible-page .fp-image-text__media {
  flex: 0 0 490px;
  align-self: stretch;
  display: flex;
  align-items: center;
  position: relative;
}

.flexible-page .fp-image-text__img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
  max-height: 394px;
  object-fit: cover;
  display: block;
}

.flexible-page .fp-image-text__img--shadow {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.flexible-page .fp-image-text--reduce-block-height .fp-image-text__img {
  margin-top: -74px;
}

.flexible-page .fp-image-text__texture {
  position: absolute;
  max-width: 60%;
  bottom: -40px;
  left: -20px;
  @media only screen and (max-width: 1050px) {
    bottom: 40px;
  }
  @media only screen and (max-width: 768px) {
    bottom: -10px;
  }
}


/* ── Text column ─────────────────────────────────────────────── */
.flexible-page .fp-image-text__content {
  flex: 1;
  max-width: 538px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 23px 0;
  justify-content: center;
  @media only screen and (max-width: 500px) {
    text-align: center;
    gap: 14px;
  }
}

.flexible-page .fp-image-text__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fbf8f4;
  line-height: 1.2;
  margin: 0;
  @media only screen and (max-width: 500px) {
    br {
      display: none !important;
    }
  }
}

.flexible-page .fp-image-text__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.25px;
  color: #fbf8f4;
  margin: 0;
  max-width: 448px;
  @media only screen and (max-width: 500px) {
    font-size: 14px;
  }
}

.flexible-page .fp-image-text__body p {
  margin: 0 0 0.75em;
}

.flexible-page .fp-image-text__body p:last-child {
  margin-bottom: 0;
}

/* ── Ivory variant ──────────────────────────────────────────── */
.flexible-page .fp-image-text--ivory {
  background: #fbf8f4;
}

.flexible-page .fp-image-text--ivory .fp-image-text__heading,
.flexible-page .fp-image-text--ivory .fp-image-text__body {
  color: #39323b;
}

.flexible-page .fp-image-text--ivory .fp-image-text__btn {
  background: #39323b;
  color: #fbf8f4;
}

.flexible-page .fp-image-text--ivory .fp-image-text__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ── Pebble variant (warm sandy beige) ──────────────────────── */
.flexible-page .fp-image-text--pebble {
  background: #f5ede3;
  .fp-image-text__media, .fp-image-text__img {
    box-shadow: none !important;
  }
}

.flexible-page .fp-image-text--pebble .fp-image-text__heading,
.flexible-page .fp-image-text--pebble .fp-image-text__body {
  color: #39323b;
}

.flexible-page .fp-image-text--pebble .fp-image-text__btn {
  background: #39323b;
  color: #f5ede3;
}

.flexible-page .fp-image-text--pebble .fp-image-text__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ── Image overflow modifier (image breaks above + below bg) ── */
.flexible-page .fp-image-text--overflow {
  overflow: visible;
}

.flexible-page .fp-image-text--overflow .fp-image-text__inner {
  padding-top: 0;
  padding-bottom: 0;
  align-items: stretch;
}

.flexible-page .fp-image-text--overflow .fp-image-text__media {
  align-self: stretch;
  position: relative;
}

.flexible-page .fp-image-text--overflow .fp-image-text__img {
  position: absolute;
  top: -34px;
  bottom: -34px;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
}

.flexible-page .fp-image-text--overflow .fp-image-text__content {
  padding: 54px 0;
}


/* ── Badge / sticker ─────────────────────────────────────────── */
.flexible-page .fp-image-text__media {
  position: relative;
}

.flexible-page .fp-image-text__badge {
  position: absolute;
  top: -24px;
  right: -6px;
  width: 48px;
  height: auto;
  pointer-events: none;
  z-index: 11;
}

/* ── CTA button ─────────────────────────────────────────────── */
.flexible-page .fp-image-text__cta {
  margin-top: 8px;

}

.flexible-page .fp-image-text__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  height: 50px;
  background: #fbf8f4;
  color: #582e40;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.flexible-page .fp-image-text__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .flexible-page .fp-image-text__inner,
  .flexible-page .fp-image-text--right .fp-image-text__inner {
    gap: 48px;
    padding: 32px 40px;
  }

  .flexible-page .fp-image-text__media {
    flex: 0 0 340px;
  }
}

@media (max-width: 768px) {
  .flexible-page .fp-image-text__inner,
  .flexible-page .fp-image-text--right .fp-image-text__inner {
    flex-direction: column;
    padding: 40px 12px;
    gap: 32px;
    min-height: auto;
  }

  .flexible-page .fp-image-text__media {
    flex: none;
    width: 87%;
    max-width: 480px;
    align-self: center;
  }

  .flexible-page .fp-image-text__img {
    width: 100%;
    object-fit: cover;
  }

  .flexible-page .fp-image-text__content {
    max-width: 100%;
    padding: 0;
  }

  .flexible-page .fp-image-text__heading {
    font-size: 18px;
    max-width: 268px;
    margin-left: auto;
    margin-right: auto;
  }

  .flexible-page .fp-image-text__btn {
    width: 100%;
  }

  /* Reset overflow modifier on mobile — image flows back into stack */
  .flexible-page .fp-image-text--overflow {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 31px;
  }
  .flexible-page .fp-image-text--overflow .fp-image-text__media {
    position: static;
  }
  .flexible-page .fp-image-text--overflow .fp-image-text__img {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    height: auto;
    max-height: 280px;
  }
  .flexible-page .fp-image-text--overflow .fp-image-text__content {
    padding: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SUPPORT CARDS
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-support {
  background: #fbf8f4;
  padding: 31px 90px 87px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ── Header ──────────────────────────────────────────────────── */
.flexible-page .fp-support__header {
  text-align: center;
  margin-bottom: 32px;
}

.flexible-page .fp-support__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #39323b;
  line-height: 1.2;
  margin: 0 0 16px;
}

.flexible-page .fp-support__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.25px;
  color: #39323b;
  max-width: 539px;
  margin: 0 auto;
  @media only screen and (max-width: 500px) {
    font-size: 14px;
  }
}

/* ── Card row ────────────────────────────────────────────────── */
.flexible-page .fp-support__cards {
  display: flex;
  gap: 32px;
  justify-content: center;
}

/* ── Individual card ─────────────────────────────────────────── */
.flexible-page .fp-support__card {
  display: flex;
  flex-direction: column;
  width: 352px;
  height: 287px;
  flex-shrink: 0;
  background: #455146;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.4s ease;
}

.flexible-page .fp-support__card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* Image: top 68% */
.flexible-page .fp-support__card-img {
  position: relative;
  width: 100%;
  height: 195px;
  flex-shrink: 0;
  overflow: hidden;
}

.flexible-page .fp-support__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.flexible-page .fp-support__card-img::before {
  /** content: ''; */
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.flexible-page .fp-support__card:hover .fp-support__card-img img {
  transform: scale(1.08);
}

.flexible-page .fp-support__card:hover .fp-support__card-img::before {
  background: rgba(0, 0, 0, 0.2);
}

/* Label: fills remaining 92px, vertically centred */
.flexible-page .fp-support__card-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "new-spirit", serif;
  font-size: 25px;
  font-weight: 500;
  color: #fbf8f4;
  line-height: 1.2;
  padding: 0 25px;
  max-width: 324px;
  margin: 0 auto;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .flexible-page .fp-support {
    padding: 40px 40px 52px;
  }

  .flexible-page .fp-support__card {
    width: calc(33.333% - 22px);
    height: auto;
    min-height: 240px;
  }

  .flexible-page .fp-support__card-img {
    height: 160px;
  }

  .flexible-page .fp-support__card-label {
    min-height: 80px;
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  .flexible-page .fp-support {
    padding: 32px 20px 40px;
  }

  .flexible-page .fp-support__cards {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .flexible-page .fp-support__card {
    width: 100%;
    max-width: 352px;
    height: auto;
    min-height: 260px;
  }

  .flexible-page .fp-support__card-img {
    height: 180px;
  }

  .flexible-page .fp-support__heading {
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-hero {
  position: relative;
  height: 505px;
  background-color: #e6e6e6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Background ──────────────────────────────────────────────── */
.flexible-page .fp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flexible-page .fp-hero__bg-img,
.flexible-page .fp-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Vimeo background — iframe can't use object-fit, so we scale-to-cover via aspect-ratio + min constraints */
.flexible-page .fp-hero__bg-vimeo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.4;
}

.flexible-page .fp-hero__bg-vimeo {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 from viewport width */
  width: 100vw;
  height: 56.25vw;
  /* 16:9 from viewport height — kicks in on portrait/tall containers */
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: none;
}

/* Single-CTA variant uses slightly more muted bg */
.flexible-page .fp-hero--single_cta .fp-hero__bg-img,
.flexible-page .fp-hero--single_cta .fp-hero__bg-video {
  opacity: 0.2;
}

.flexible-page .fp-hero--single_cta .fp-hero__bg-vimeo-wrap {
  opacity: 0.4;
}

/* ── Diagonal X decoration ───────────────────────────────────── */
.flexible-page .fp-hero__lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.flexible-page .fp-hero__line {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1600px;
  height: 1px;
  background: rgba(57, 50, 59, 0.18);
  transform-origin: center center;
  translate: -50% -50%;
}

.flexible-page .fp-hero__line--fwd {
  rotate: 21.08deg;
}

.flexible-page .fp-hero__line--bck {
  rotate: -21.08deg;
}

/* ── Content ─────────────────────────────────────────────────── */
.flexible-page .fp-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 0 40px;
  max-width: 800px;
  width: 100%;
  @media only screen and (max-width: 500px) {
    padding: 0px !important;
  }
}

/* ── Heading ─────────────────────────────────────────────────── */
.flexible-page .fp-hero__heading {
  font-family: "new-spirit", serif;
  font-size: 50px;
  font-weight: 500;
  color: #39323b;
  line-height: 1.1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flexible-page .fp-hero--dual_cta {
  .fp-hero__content {
    gap: 69px;
    @media only screen and (max-width: 500px) {
      gap: 20px;
    }
  }
}

.flexible-page .fp-hero__heading-line1 {
  display: block;
}

/* Single CTA: line 2 is SemiBold Condensed Italic */
.flexible-page .fp-hero--single_cta .fp-hero__heading-line2 {
  display: block;
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
}

/* Dual CTA: line 2 matches line 1 */
.flexible-page .fp-hero--dual_cta .fp-hero__heading-line2 {
  display: block;
  line-height: 1.1;
}

/* ── Body copy (single CTA only) ─────────────────────────────── */
.flexible-page .fp-hero__body {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.25px;
  color: #39323b;
  margin: 0;
  max-width: 616px;
}

/* ── CTA buttons ─────────────────────────────────────────────── */
.flexible-page .fp-hero__ctas {
  display: flex;
  gap: 31px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.flexible-page .fp-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 255px;
  height: 50px;
  background: #39323b;
  color: #fff;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}

.flexible-page .fp-hero__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   AWARDS / COMMITMENT STRIP
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-awards {
  position: relative;
  background: #455146;
  overflow: hidden;
  padding: 52px 40px;
  min-height: 374px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexible-page .fp-awards__inner {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Heading ─────────────────────────────────────────────────── */
.flexible-page .fp-awards__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fbf8f4;
  text-align: center;
  margin: 0 0 48px;
  line-height: 1.2;
}

/* ── Three columns ───────────────────────────────────────────── */
.flexible-page .fp-awards__cols {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}

.flexible-page .fp-awards__col {
  flex: 0 0 226px;
  text-align: center;
}

.flexible-page .fp-awards__col-title {
  font-family: "new-spirit", serif;
  font-size: 24px;
  font-weight: 300;
  color: #fbf8f4;
  margin: 0 0 12px;
  line-height: 1.5;
}

.flexible-page .fp-awards__col-body {
  font-size: 16px;
  line-height: 1.5;
  color: #fbf8f4;
  margin: 0;
}

/* ── Decorative floating photos ──────────────────────────────── */
.flexible-page .fp-awards__deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.flexible-page .fp-awards__deco img {
  display: block;
  width: 128px;
  height: auto;
}

.flexible-page .fp-awards__deco--left {
  left: 69px;
  top: 50%;
  translate: 0 -50%;
  rotate: -5.25deg;
}

.flexible-page .fp-awards__deco--right {
  right: 120px;
  top: 50%;
  translate: 0 -50%;
  rotate: -0.6deg;
}

.flexible-page .fp-awards__deco--right img {
  width: 133px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .flexible-page .fp-awards {
    padding: 40px 24px;
  }

  .flexible-page .fp-awards__deco {
    display: none;
  }

  .flexible-page .fp-awards__cols {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .flexible-page .fp-awards__col {
    flex: unset;
    width: 100%;
    max-width: 340px;
  }

  .flexible-page .fp-awards__heading {
    font-size: 24px;
    margin-bottom: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE / TEXT ROWS
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-itr {
  background: #fbf8f4;
}

.flexible-page .fp-itr__row--first {
  border-top: none;
}

.flexible-page .fp-itr__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

/* Image on the right */
.flexible-page .fp-itr__row--flip .fp-itr__inner {
  flex-direction: row-reverse;
}

/* ── Media column ────────────────────────────────────────────── */
.flexible-page .fp-itr__media {
  flex: 0 0 433px;
  align-self: stretch;
  display: flex;
  align-items: center;
  position: relative;
}

.flexible-page .fp-itr__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transform: rotate(var(--itr-rot, 0deg));
}

.flexible-page .fp-itr__texture {
  position: absolute;
  top: -15px;
  right: -24px;
  max-width: 60%;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.flexible-page .fp-itr__clip {
  position: absolute;
  right: 7px;
  top: -18px;
  max-width: 120px;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.flexible-page {
  background-color: #fbf8f4 !important;
}

.flexible-page .fp-itr__thread {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  object-fit: contain;
  z-index: 0;
  mix-blend-mode: multiply;

  @media only screen and (max-width: 1050px) {
    display: none;
  }
}
.flexible-page .fp-itr__thread--bl { left: -22%; }
.flexible-page .fp-itr__thread--br { right: -18%; }
.flexible-page .fp-itr__thread--1 { width: 190px;  height: 240px;  left: -39%; bottom: -144px; }
.flexible-page .fp-itr__thread--2 { width: 115px; height: 93px; right: -18%; bottom: 30px; }
.flexible-page .fp-itr__thread--3 { width: 203px; height: 228px; left: -32%; bottom: -144px; }


/* ── Content column ──────────────────────────────────────────── */
.flexible-page .fp-itr__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 448px;
  z-index: 4;
}

.flexible-page .fp-itr__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #39323b;
  line-height: 1.2;
  margin: 0;
}

.flexible-page .fp-itr__body {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #39323b;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0;
}

.flexible-page .fp-itr__body p {
  margin: 0 0 0.75em;
}

.flexible-page .fp-itr__body p:last-child {
  margin-bottom: 0;
}

.flexible-page .fp-itr__cta {
  margin-top: 8px;
}

.flexible-page .fp-itr__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  height: 50px;
  background: #39323b;
  color: #fbf8f4;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.flexible-page .fp-itr__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .flexible-page .fp-itr__inner {
    gap: 40px;
    padding: 28px 40px;
  }

  .flexible-page .fp-itr__media {
    flex: 0 0 320px;
  }
}

@media (max-width: 768px) {
  .flexible-page .fp-itr__inner,
  .flexible-page .fp-itr__row--flip .fp-itr__inner {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
  }

  .flexible-page .fp-itr__media {
    flex: none;
    width: 100%;
    max-width: 100%;
    align-self: center;
  }

  .flexible-page .fp-itr__img {
    max-height: none;
    width: 100%;
  }

  .flexible-page .fp-itr__texture {
    top: -12px;
    right: -12px;
  }

  .flexible-page .fp-itr__content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    .fp-itr__cta {
      max-width: 80%;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
    }
  }

  .flexible-page .fp-itr__heading {
    font-size: 26px;
    max-width: 270px;
  }

  .flexible-page .fp-itr__btn {
    width: 100%;
    max-width: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════════ */

:is(.flexible-page, .pdp-mattress) .fp-reviews {
  position: relative;
  background-color: #8b3d39;
  background-image: url('../images/fabric-texture.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 76px 90px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: flex-start;
  min-height: 280px;
}

/* ── Left: heading ───────────────────────────────────────────── */
:is(.flexible-page, .pdp-mattress) .fp-reviews__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  @media only screen and (max-width: 600px) {
    align-items: center;
  text-align: center;
  }
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fbf8f4;
  line-height: 1.2;
  margin: 0;
  max-width: 280px;
}

/* ── Right: cards + CTA ──────────────────────────────────────── */
:is(.flexible-page, .pdp-mattress) .fp-reviews__right {
  display: flex;
  flex-direction: column;
  gap: 42px;
  align-items: flex-end;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__cards {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
}

/* ── Individual review card ──────────────────────────────────── */
:is(.flexible-page, .pdp-mattress) .fp-reviews__card {
  background: #f5ede3;
  padding: 24px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__text {
  font-family: "Biro Script reduced", cursive;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #39323b;
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__author {
  font-family: "new-spirit", serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #39323b;
  line-height: 1.5;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__stars {
  display: flex;
  gap: 0;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__star {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__star svg {
  width: 100%;
  height: 100%;
}

/* ── CTA button ──────────────────────────────────────────────── */
:is(.flexible-page, .pdp-mattress) .fp-reviews__cta {
  align-self: flex-end;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 46px;
  background: #fbf8f4;
  color: #39323b;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

:is(.flexible-page, .pdp-mattress) .fp-reviews__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :is(.flexible-page, .pdp-mattress) .fp-reviews__inner {
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 48px 40px;
  }
}

@media (max-width: 768px) {
  :is(.flexible-page, .pdp-mattress) .fp-reviews__inner {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 28px;
  }

  :is(.flexible-page, .pdp-mattress) .fp-reviews__heading {
    font-size: 26px;
  }

  :is(.flexible-page, .pdp-mattress) .fp-reviews__right {
    align-items: stretch;
  }

  :is(.flexible-page, .pdp-mattress) .fp-reviews__cta {
    align-self: stretch;
  }

  :is(.flexible-page, .pdp-mattress) .fp-reviews__btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TRUSTED PARTNERS
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-partners {
  background: #fbf8f4;
  padding: 52px 90px 60px;
}

.flexible-page .fp-partners__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #39323b;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 44px;
}

.flexible-page .fp-partners__description {
  max-width: 540px;
  margin: 0 auto 44px;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.25px;
  color: #39323b;
  text-align: center;
}

/* When the description follows the heading, tighten the gap to ~12px */
.flexible-page .fp-partners__heading + .fp-partners__description {
  margin-top: -32px;
}

.flexible-page .fp-partners__description p {
  margin: 0 0 1em;
}

.flexible-page .fp-partners__description p:last-child {
  margin-bottom: 0;
}

.flexible-page .fp-partners--grouped .fp-partners__groups {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.flexible-page .fp-partners--grouped .fp-partners__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.flexible-page .fp-partners__group-title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight:300;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #39323b;
  text-align: center;
  margin: 0;
}

.flexible-page .fp-partners--grouped .fp-partners__grid {
  width: 100%;
}

.flexible-page .fp-partners__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px 55px;
}

.flexible-page .fp-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  max-width: 140px;
  width: 100%;
}

.flexible-page .fp-partners__logo {
  display: block;
  max-height: 100px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.flexible-page .fp-partners__item:hover .fp-partners__logo {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .flexible-page .fp-partners {
    padding: 40px 32px 48px;
  }

  .flexible-page .fp-partners__grid {
    gap: 36px 48px;
  }

  .flexible-page .fp-partners__logo {
    max-height: 72px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .flexible-page .fp-partners {
    padding: 36px 24px 40px;
  }

  .flexible-page .fp-partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px 20px;
    justify-items: center;
    @media only screen and (max-width: 400px) {
       grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
  }

  /* Centre the last logo if it's alone on its row (odd total count) */
  .flexible-page .fp-partners__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TEXT WITH FLANKING IMAGES
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-text-images {
  overflow: hidden;
}

/* ── Colour variants ─────────────────────────────────────────── */
.flexible-page .fp-text-images--rose    { background: #8b3d39; }
.flexible-page .fp-text-images--heather { background: #582e40; }
.flexible-page .fp-text-images--ocean   { background: #39323b; }
.flexible-page .fp-text-images--ivory   { background: #fbf8f4; }

.flexible-page .fp-text-images--ivory .fp-text-images__heading,
.flexible-page .fp-text-images--ivory .fp-text-images__body,
.flexible-page .fp-text-images--ivory .fp-text-images__body p {
  color: #39323b;
}

/* ── Layout ──────────────────────────────────────────────────── */
.flexible-page .fp-text-images__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 52px 90px;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 280px;
}

/* ── Copy column ─────────────────────────────────────────────── */
.flexible-page .fp-text-images__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.flexible-page .fp-text-images__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fbf8f4;
  line-height: 1.2;
  margin: 0;
  @media only screen and (max-width: 500px) {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 350px !important;
    margin-left: auto;
    margin-right: auto;
  }
}

.flexible-page .fp-text-images__body {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #fbf8f4;
  line-height: 1.5;
  letter-spacing: 0.25px;
  max-width: 734px;
  margin: 0;
}

.flexible-page .fp-text-images__body p {
  color: #fbf8f4;
  margin: 0 0 0.75em;
}

.flexible-page .fp-text-images__body p:last-child {
  margin-bottom: 0;
}

/* ── Flanking photo columns ──────────────────────────────────── */
.flexible-page .fp-text-images__photo {
  align-self: center;
  max-width: 118px;
}

.flexible-page .fp-text-images__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.flexible-page .fp-text-images__photo--left {
  margin-left: -20px;
}
.flexible-page .fp-text-images__photo--right {
  margin-right: -20px;
}
.flexible-page .fp-text-images__photo--left img {
  transform: rotate(-2deg);
}

.flexible-page .fp-text-images__photo--right img {
  transform: rotate(2deg);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .flexible-page .fp-text-images__photo {
    flex: 0 0 100px;
  }

  .flexible-page .fp-text-images__inner {
    padding: 40px 32px;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .flexible-page .fp-text-images__photo {
    display: none;
  }

  .flexible-page .fp-text-images__inner {
    padding: 40px 24px;
  }

  .flexible-page .fp-text-images__heading {
    font-size: 26px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SPLIT CTA
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-split-cta {
  background: #fbf8f4;
  padding: 36px 12px;

 
}

.flexible-page .fp-split-cta--2-cols {
    .fp-split-cta__body {
      max-width: 432px !important;
    }
  }

.flexible-page .fp-split-cta__panel {
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  background: #39323b;
  min-height: 272px;
  padding-top: 27px;
  padding-bottom: 27px;
    position: relative;
    z-index: 3;
    isolation: isolate;
}

/* Vertical divider between columns */
.flexible-page .fp-split-cta__col + .fp-split-cta__col {
  border-left: 1px solid white;
}

.flexible-page .fp-split-cta__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 42px;
  text-align: center;
  gap: 0;
}

.flexible-page .fp-split-cta__title {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fbf8f4;
  margin: 0 0 18px;
  line-height: 1.2;
  letter-spacing: 0;
  @media only screen and (max-width: 500px) {
    margin-bottom: 0px !important;
    font-size: 24px !important;
  }
}

.flexible-page .fp-split-cta__body {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #fbf8f4;
  line-height: 1.4;
  letter-spacing: 0.25px;
  margin: 0 0 24px;
  max-width: 288px;
  @media only screen and (max-width: 500px) {
    font-size: 14px;
  }
}

.flexible-page .fp-split-cta__cta {
  margin-top: auto;
  @media only screen and (max-width: 600px) {
    width: 100%;
  }
}

.flexible-page .fp-split-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 255px;
  height: 50px;
  background: #fbf8f4;
  color: #39323b;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.flexible-page .fp-split-cta__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .flexible-page .fp-split-cta__panel {
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 24px;
  }

  .flexible-page .fp-split-cta__col {
    flex: 1 1 calc(50% - 25px);
    margin-left: 12px !important;
    margin-right: 12px !important;
    max-width: calc(100% - 24px);
    padding: 0px !important;
    padding-bottom: 35px !important;
    padding-top: 35px !important;
  }

  /* 2-col variant: restore horizontal padding so text doesn't touch the divider */
  .flexible-page .fp-split-cta--2-cols .fp-split-cta__col {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Reset the horizontal divider on row-wrap boundary */
  .flexible-page .fp-split-cta__col:nth-child(2n+1) {
    border-left: none;
  }

  .flexible-page .fp-split-cta__col:nth-child(n+3) {
    border-top: 1px solid rgba(251, 248, 244, 1);
    padding-top: 25px;
    margin-top: 25px;
  }
}

@media (max-width: 768px) {
  .flexible-page .fp-split-cta--2-cols .fp-split-cta__panel {
    flex-direction: column;
    margin: 0;
  }

  .flexible-page .fp-split-cta--2-cols .fp-split-cta__col {
    flex: none;
    width: 100%;
    border-left: none !important;
  }

  .flexible-page .fp-split-cta--2-cols .fp-split-cta__col + .fp-split-cta__col {
    border-top: 1px solid rgba(251, 248, 244, 0.20);
  }
}

@media (max-width: 560px) {
  .flexible-page .fp-split-cta__panel {
    flex-direction: column;
    margin: 0;
  }

  .flexible-page .fp-split-cta__col {
    flex: none;
    width: 100%;
    border-left: none !important;
  }

  .flexible-page .fp-split-cta__col + .fp-split-cta__col {
    border-left: none;
    border-top: 1px solid rgba(251, 248, 244, 0.20);
  }

  .flexible-page .fp-split-cta__btn {
    width: 100%;
    max-width: 255px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TEXT BANNER
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .fp-text-banner {
  position: relative;
  background: #fbf8f4;
  padding: 50px 355px 18px;
  padding-bottom: 100px;
  padding-top: 100px;
}

.flexible-page .fp-text-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 2600 / 600;
  background: url('../images/thread-texture.png');
  opacity: 1;
  pointer-events: none;
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  @media only screen and (min-width: 1500px) {
    inset: 0;
    background-position: bottom center;
    aspect-ratio: unset;
  }
}

.flexible-page .fp-text-banner__inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.flexible-page .fp-text-banner__heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #39323b;
  margin: 0;
  line-height: 1.2;
}

.flexible-page .fp-text-banner__body {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #39323b;
  max-width: 539px;
  line-height: 1.4;
  letter-spacing: 0.25px;
  margin: 0;
  @media only screen and (max-width: 600px) {
    font-size: 14px;
  }
}

.flexible-page .fp-text-banner__body p {
  margin: 0;
}

@media (max-width: 1100px) {
  .flexible-page .fp-text-banner {
    padding: 50px 80px 18px;
  }
}

@media (max-width: 600px) {
  .flexible-page .fp-text-banner {
    padding: 40px 12px 12px;
  }

  .flexible-page .fp-text-banner__heading {
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE (hero)
   ═══════════════════════════════════════════════════════════════ */

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .flexible-page .fp-hero {
    height: auto;
    min-height: 400px;
    padding: 60px 24px;
  }

  .flexible-page .fp-hero__heading {
    font-size: 36px;
  }

  .flexible-page .fp-hero__body {
    font-size: 15px;
  }

  .flexible-page .fp-hero__btn {
    width: 220px;
  }

  .flexible-page .fp-hero__ctas {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .flexible-page .fp-hero__heading {
    font-size: 28px;
  }

  .flexible-page .fp-hero__btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COMMITMENT STRIP (shared partial — also used on PDP)
   The PDP copy lives in pdp.css scoped under .pdp-mattress .pdp.
   This is the flexible-page equivalent so the partial works here too.
   ═══════════════════════════════════════════════════════════════ */

.flexible-page .pdp__commitment {
  background: #455146;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.flexible-page .pdp__commitment-inner {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.flexible-page .pdp__commitment-heading {
  font-family: "new-spirit", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fbf8f4;
  text-align: center;
  margin: 0 0 48px;
  line-height: 1.2;
  @media only screen and (max-width: 500px) {
    font-size: 18px !important;
  }
}

.flexible-page .pdp__commitment-cols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  @media only screen and (max-width: 500px) {
    margin-left: -25%;
  }
}

.flexible-page .pdp__commitment-item {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
  @media only screen and (max-width: 500px) {
    gap: 12px !important;
  }
}

.flexible-page .pdp__commitment-img {
  flex-shrink: 0;
  width: 120px;
}

.flexible-page .pdp__commitment-img img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(var(--rot, 0deg));
}

.flexible-page .pdp__commitment-text {
  width: 226px;
  text-align: center;
}

.flexible-page .pdp__commitment-text h3 {
  font-family: "new-spirit", serif;
  font-size: 24px;
  font-weight: 300;
  color: #fbf8f4;
  margin: 0 0 10px;
  line-height: 1.3;
  @media only screen and (max-width: 500px) {
    font-size: 20px;
  }
}

.flexible-page .pdp__commitment-text p {
  font-size: 16px;
  font-weight: 300;
  color: #fbf8f4;
  line-height: 1.5;
  margin: 0;
  @media only screen and (max-width: 500px) {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .flexible-page .pdp__commitment-cols { gap: 16px; }
  .flexible-page .pdp__commitment-text { width: 200px; }
}

@media (max-width: 1024px) {
  .flexible-page .pdp__commitment { padding: 40px 24px; min-height: auto; }
  .flexible-page .pdp__commitment-heading { font-size: 24px; margin-bottom: 32px; }
  .flexible-page .pdp__commitment-cols { flex-direction: column; gap: 32px; }
  .flexible-page .pdp__commitment-item { gap: 20px; }
  .flexible-page .pdp__commitment-text { width: auto; text-align: left; }
}

.flexible-page p {
  font-size: inherit !important;
  span {
    font-size: inherit !important;
  }
}

/* ============================================================
   WYSIWYG TEXT BLOCK layout
   Centred heading + left-aligned rich text, constrained column.
   ============================================================ */

.flexible-page .fp-wysiwyg-text {
  background: #fbf8f4;
  padding: 70px 91px;
}

.flexible-page .fp-wysiwyg-text__inner {
  max-width: 734px;
  margin: 0 auto;
}

.flexible-page .fp-wysiwyg-text__heading {
  font-family: "new-spirit", serif;
  font-size: 24px;
  font-weight: 600;
  color: #39323b;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 24px;
}

.flexible-page .fp-wysiwyg-text__body {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #39323b;
  line-height: 1.6;
  letter-spacing: 0.2px;

  p { margin: 0 0 16px; }
  p:last-child { margin-bottom: 0; }

  a { color: #39323b; text-underline-offset: 3px; }
  a:hover { opacity: 0.7; }

  strong, b { font-weight: 600; }
  em, i { font-style: italic; }

  ul, ol {
    padding-left: 20px;
    margin: 0 0 16px;
    li { margin-bottom: 6px; }
  }
}

@media (max-width: 1100px) {
  .flexible-page .fp-wysiwyg-text { padding: 60px 40px; }
}

@media (max-width: 600px) {
  .flexible-page .fp-wysiwyg-text { padding: 40px 20px; }

  .flexible-page .fp-wysiwyg-text__heading { font-size: 20px; }

  .flexible-page .fp-wysiwyg-text__body { font-size: 15px; }
}

/* ============================================================
   ACCORDION layout
   ============================================================ */

.flexible-page .fp-accordion {
  padding: 10px 0 30px;
  background: #FBF8F4;
}

.flexible-page .fp-accordion__heading {
  text-align: center;
  max-width: 988px;
  margin: 0 auto 8px;
  padding: 30px 24px 0;
  font-size: 28px;
  color: #39323B;
}

.flexible-page .fp-accordion .pdp__accordions-inner {
  max-width: 988px;
  margin: 0 auto;
  padding: 0 24px;
}

.flexible-page .fp-accordion .pdp__accordion {
  border-top: 1px solid #666666;

  &:last-child { border-bottom: 1px solid #666666; }
}

.flexible-page .fp-accordion .pdp__accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  appearance: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #414141;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;

  &:hover { color: #39323B; }

  &[aria-expanded="true"] .pdp__accordion-arrow { transform: rotate(180deg); }
}

.flexible-page .fp-accordion .pdp__accordion-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.flexible-page .fp-accordion .pdp__accordion-content {
  padding: 0 0 24px;

  &[hidden] { display: none; }
}

.flexible-page .fp-accordion .pdp__accordion-body {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.flexible-page .fp-accordion .pdp__feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 4px;
}

.flexible-page .fp-accordion .pdp__feature-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: #455146;
  min-height: 124px;
  flex: 1 1 calc(50% - 8px);
  min-width: 280px;
  overflow: hidden;
}

.flexible-page .fp-accordion .pdp__feature-card-icon {
  flex-shrink: 0;
  width: 94px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 59px;
    height: 59px;
    object-fit: contain;
    border-radius: 50%;
  }
}

.flexible-page .fp-accordion .pdp__feature-card-body {
  flex: 1;
  padding: 16px 16px 16px 0;
}

.flexible-page .fp-accordion .pdp__feature-card-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 4px;
}

.flexible-page .fp-accordion .pdp__feature-card-desc {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  opacity: 0.85;
}

.flexible-page .fp-accordion__cta {
  max-width: 988px;
  margin: 24px auto 0;
  padding: 0 24px 30px;
  display: flex;
  justify-content: center;
}

.flexible-page .fp-accordion__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  height: 50px;
  background: #39323b;
  color: #fbf8f4;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.flexible-page .fp-accordion__btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}