.fp-editable-page {
  min-height: 45vh;
  background: #f4f1eb;
  color: #111;
}

.fp-editable-page__content {
  width: 100%;
}

/* Personal Shopper only: keep service-page styling isolated from V44 and other pages. */
.fp-editable-page--personal-shopper {
  --fp-ps-ivory: #F4F1EB;
  --fp-ps-gold: #D6B44C;
  --fp-ps-title: #A47E1A;
  --fp-ps-copy: #626E79;
  --fp-ps-serif: "Cormorant Garamond", Georgia, serif;
  padding-top: clamp(32px, 4.5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 88px);
  background-color: var(--fp-ps-ivory);
}

.fp-editable-page--personal-shopper .fp-editable-page__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.fp-editable-page--personal-shopper .elementor {
  width: 100%;
  max-width: 100%;
}

.fp-editable-page--personal-shopper .elementor .elementor-element h2 {
  box-sizing: border-box;
  width: min(calc(100% + 120px), calc(100vw - 40px));
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  text-wrap: balance;
  font-family: var(--fp-ps-serif);
  font-size: 32px;
  color: var(--fp-ps-title);
}

.fp-editable-page--personal-shopper .elementor .elementor-element.elementor-widget-text-editor {
  color: var(--fp-ps-copy);
  font-family: var(--fp-ps-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .fp-editable-page--personal-shopper .elementor .elementor-element h2 {
    width: 100%;
    left: auto;
    transform: none;
  }
}

/* Reusable Gutenberg service-page blocks for the English service translations. */
.fp-editable-page .fp-service-hero,
.fp-editable-page .fp-service-section,
.fp-editable-page .fp-service-cta {
  box-sizing: border-box;
  width: min(100%, 1080px);
  margin-inline: auto;
  padding-inline: clamp(22px, 5vw, 64px);
  color: #26313a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
}

.fp-editable-page .fp-service-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 7vw, 84px);
  text-align: center;
  border-bottom: 1px solid rgba(164, 126, 26, .38);
}

.fp-editable-page .fp-service-kicker {
  margin-bottom: 16px;
  color: #9a761c;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.fp-editable-page .fp-service-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  color: #8f6e1a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}

.fp-editable-page .fp-service-lead {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #4d5963;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
}

.fp-editable-page .fp-service-hero > p:not(.fp-service-kicker):not(.fp-service-lead),
.fp-editable-page .fp-service-section > p,
.fp-editable-page .fp-service-cta > p {
  max-width: 780px;
  margin-inline: auto;
  text-align: justify;
}

.fp-editable-page .fp-service-section {
  padding-top: clamp(42px, 6vw, 68px);
  padding-bottom: clamp(42px, 6vw, 68px);
}

.fp-editable-page .fp-service-section--soft {
  max-width: 100%;
  padding-inline: max(clamp(22px, 5vw, 64px), calc((100% - 952px) / 2));
  background: rgba(255, 255, 255, .42);
}

.fp-editable-page .fp-service-section h2,
.fp-editable-page .fp-service-cta h2 {
  margin: 0 auto 24px;
  color: #8f6e1a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

.fp-editable-page .fp-service-section h3 {
  max-width: 780px;
  margin: 34px auto 10px;
  color: #26313a;
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.fp-editable-page .fp-service-section > p,
.fp-editable-page .fp-service-section ul {
  max-width: 780px;
  margin-inline: auto;
}

.fp-editable-page .fp-service-section li {
  margin-bottom: 7px;
  padding-left: 2px;
}

.fp-editable-page .fp-service-cta {
  margin-top: 24px;
  margin-bottom: clamp(52px, 8vw, 92px);
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(164, 126, 26, .38);
  text-align: center;
}

.fp-editable-page .fp-service-actions,
.fp-editable-page .fp-service-cta .wp-block-buttons {
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.fp-editable-page .fp-service-actions .wp-block-button__link,
.fp-editable-page .fp-service-cta .wp-block-button__link {
  border: 1px solid #a47e1a;
  border-radius: 0;
  padding: 13px 22px;
  background: #a47e1a;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.fp-editable-page .fp-service-actions .is-style-outline .wp-block-button__link,
.fp-editable-page .fp-service-cta .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #8f6e1a;
}

@media (max-width: 767px) {
  .fp-editable-page .fp-service-hero,
  .fp-editable-page .fp-service-section,
  .fp-editable-page .fp-service-cta {
    padding-inline: 22px;
    font-size: 18px;
  }

  .fp-editable-page .fp-service-section--soft {
    padding-inline: 22px;
  }

  .fp-editable-page .fp-service-actions,
  .fp-editable-page .fp-service-cta .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .fp-editable-page .fp-service-actions .wp-block-button,
  .fp-editable-page .fp-service-cta .wp-block-button {
    width: 100%;
  }

  .fp-editable-page .fp-service-actions .wp-block-button__link,
  .fp-editable-page .fp-service-cta .wp-block-button__link {
    display: block;
    text-align: center;
  }
}

/* English Consultations service cards; scoped to this localized page. */
.fp-editable-page--consultations .fp-service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 34px auto 0;
}

.fp-editable-page--consultations .fp-service-card {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  color: #f4f1eb;
  background: #151412;
  border: 1px solid rgba(214, 180, 76, .5);
  border-top: 3px solid #D6B44C;
}

.fp-editable-page--consultations .fp-service-card h3 {
  margin: 0 0 12px;
  color: #f4f1eb;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.12;
}

.fp-editable-page--consultations .fp-service-card p {
  margin: 0 0 20px;
  color: #e9e4d9;
  font-size: 15px;
  line-height: 1.65;
}

.fp-editable-page--consultations .fp-service-card a {
  margin-top: auto;
  color: #D6B44C;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .fp-editable-page--consultations .fp-service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fp-editable-page--consultations .fp-service-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
