/* Display audit, September 2026. Scoped refinements; editorial content is unchanged.
   Loaded after the page bundles so rebuilding a bundle preserves these fixes. */

/* Keep the longer English booking label inside the desktop navigation. */
@media (min-width: 1281px) {
  .family-holidays-page .nav-inner {
    gap: clamp(12px, 1.4vw, 24px);
  }

  .family-holidays-page .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    margin-inline: 0;
    gap: clamp(12px, 1.2vw, 20px);
    justify-content: center;
  }

  .family-holidays-page .nav-links a {
    font-size: clamp(.75rem, .9vw, .85rem);
    letter-spacing: .08em;
  }

  .family-holidays-page .nav-cta {
    flex: 0 0 auto;
    min-width: 0;
    margin-inline: 0;
    padding-inline: 18px;
    letter-spacing: .1em;
    /* A magnetic displacement must not push the last navigation item off screen. */
    transform: none !important;
  }
}

/* Private rental: restore the missing layouts without changing their content. */
.luxury-rental-page .lp-concierge-promise {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(104, 79, 46, .22);
}

.luxury-rental-page .lp-concierge-promise > span {
  color: #806540;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.luxury-rental-page .lp-concierge-promise > strong {
  color: #43372b;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.luxury-rental-page :is(.lp-chef-layout, .lp-arrival-layout) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.luxury-rental-page :is(.lp-chef-title, .lp-chef-copy, .lp-arrival-copy, .lp-arrival-steps) {
  min-width: 0;
}

.luxury-rental-page :is(.lp-chef, .lp-arrival) h2 {
  max-width: 16ch;
  margin-bottom: 24px;
  text-wrap: balance;
}

.luxury-rental-page .lp-chef-copy p + p {
  margin-top: 20px;
}

.luxury-rental-page .lp-chef-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(104, 79, 46, .22);
}

.luxury-rental-page .lp-chef-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(104, 79, 46, .22);
  background: rgba(255, 252, 246, .65);
  color: #594a36;
  font-size: .8125rem;
  line-height: 1.45;
}

.luxury-rental-page .lp-arrival-copy > .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding-block: 10px;
  color: #665038;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.luxury-rental-page .lp-arrival-copy > .text-link:focus-visible {
  outline: 2px solid #8a7550;
  outline-offset: 5px;
}

.luxury-rental-page .lp-arrival-steps {
  border-top: 1px solid rgba(104, 79, 46, .25);
}

.luxury-rental-page .lp-arrival-steps article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(104, 79, 46, .25);
}

.luxury-rental-page .lp-arrival-steps article > span {
  padding-top: 3px;
  color: #806540;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

.luxury-rental-page .lp-arrival-steps h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.2;
}

.luxury-rental-page .lp-arrival-steps p {
  margin: 0;
  color: #6b6257;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .luxury-rental-page :is(.lp-chef-layout, .lp-arrival-layout) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .luxury-rental-page .lp-arrival-steps article {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 16px;
    padding-block: 22px;
  }
}

/* A single wrapping text column keeps consent links beside their sentence. */
body[data-display-page="home"] .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body[data-display-page="home"] .checkbox-label > input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

body[data-display-page="home"] .checkbox-label > .consent-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: .875rem;
  line-height: 1.65;
}

/* The error message has its own container; the shared footer uses the full page. */
body[data-display-page="error"] {
  display: block;
  margin: 0;
  padding: 0;
}

body[data-display-page="error"] .error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70svh;
  padding: clamp(48px, 8vw, 100px) 24px;
  text-align: center;
}

body[data-display-page="error"] > .site-footer {
  width: 100%;
  align-self: stretch;
}

/* Warm, readable secondary text on the existing light surfaces. */
body[data-display-page] .sejour-details-section :is(.split-subtitle, .accordion-content p),
body[data-display-page="providers"] .vendors-section .section-header > p,
body[data-display-page="providers"] .path-card:not(.vendor-card-dark) .path-content p,
body[data-display-page="hosts"] .spirit-manifesto-copy > p {
  color: #6b6257;
}

body[data-display-page="providers"] .path-card .category-badge {
  max-width: calc(100% - 32px);
  padding: 7px 12px;
  background: #e3cfac !important;
  color: #43321f !important;
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .07em;
  text-align: center;
  white-space: normal;
}

/* The Contact title remains readable over the night-time photograph. */
body[data-display-page="contact"] .hero-overlay {
  background: linear-gradient(180deg, rgba(18, 13, 10, .48), rgba(18, 13, 10, .6) 45%, rgba(18, 13, 10, .55));
}

body[data-display-page="contact"] .hero-content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

body[data-display-page="contact"] .hero-subtitle {
  color: #fff9ee;
}

/* Keep the English home title elegant without crowding the estate photograph. */
.home-en .hero-home .hero-title-part1,
.home-en .hero-home .hero-title-part3 {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: .16em;
  line-height: 1.4;
}

.home-en .hero-home .hero-title-part2 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.15;
  margin-block: .18em;
}

.home-en .hero-home .hero-subtitle {
  max-width: 56ch;
  margin-inline: auto;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Tighter mobile rhythm, without removing, hiding or reordering sections. */
@media (max-width: 640px) {
  body[data-display-page="home"] :is(.home-privileges-section, .destination-editorial-section, .art-de-vivre-section, .host-story-section),
  body[data-display-page="professional"] .executive-geo,
  body[data-display-page="hosts"] :is(.spirit-manifesto-section, .spirit-philosophy-section, .spirit-closing-section),
  body[data-display-page="acquisition"] .lp-section,
  body[data-display-page="celebrations"] .lp-section {
    padding-block: 56px;
  }

  body[data-display-page="professional"] .executive-geo h2,
  body[data-display-page="hosts"] :is(.spirit-manifesto-section, .spirit-philosophy-section, .spirit-closing-section) h2,
  body[data-display-page="home"] :is(.home-privileges-section, .destination-editorial-section, .art-de-vivre-section, .host-story-section) h2,
  body[data-display-page="acquisition"] .lp-section h2,
  body[data-display-page="celebrations"] .lp-section h2 {
    font-size: clamp(1.875rem, 8.3vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
  }

  body[data-display-page="hosts"] .spirit-manifesto-copy .text-lead {
    font-size: 1.25rem;
    line-height: 1.65;
  }

  .home-en .hero-home .hero-title-part1,
  .home-en .hero-home .hero-title-part3 {
    font-size: clamp(.95rem, 4vw, 1.15rem);
    letter-spacing: .12em;
  }

  .home-en .hero-home .hero-title-part2 {
    font-size: clamp(2.3rem, 11vw, 3.1rem);
  }
}

/* The invitation and rules keep legible secondary information on small phones. */
body[data-display-page="experience"] .experience-language button {
  min-width: 44px;
  min-height: 44px;
  font-size: .75rem;
}

@media (max-width: 640px) {
  body[data-display-page="experience"] .experience-brand {
    align-self: center;
  }

  body[data-display-page="experience"] .experience-language {
    position: static;
    align-self: center;
    margin: 0 auto 10px;
  }
}

body[data-display-page="experience"] .experience-shell .eyebrow {
  font-size: .6875rem;
  line-height: 1.6;
  letter-spacing: .12em;
}

body[data-display-page="experience"] :is(.unavailable-panel, .result-panel) .eyebrow {
  color: #d7bf91;
}

body[data-display-page="experience"] .experience-footer {
  font-size: .75rem;
  line-height: 1.65;
}

body[data-display-page="experience"] .experience-footer :is(p, a, button) {
  color: #655a4c;
  font-size: .75rem;
  line-height: 1.65;
}

body[data-display-page="experience"] .experience-footer :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 6px;
}

body[data-display-page="experience-rules"] .rules .eyebrow {
  color: #806540;
  font-size: .6875rem;
  line-height: 1.6;
}

body[data-display-page="experience-rules"] .rules .back {
  min-height: 44px;
  font-size: .75rem;
  line-height: 1.5;
}
