/* Client launch corrections, shared across all public React routes. */
html, body, button, input, select, textarea, .font-sans { font-family: 'DM Sans', sans-serif; }
h1,h2,h3,h4,h5,h6,.font-serif,.text-editorial { font-family: 'Playfair Display', Georgia, serif; }
h1,h2,h3 { text-wrap: balance; }
::selection { background: #d9b75f; color: #173e31; }
:focus-visible { outline: 3px solid #ad8130; outline-offset: 4px; }
.launch-hero-shade { background: linear-gradient(180deg,rgba(9,29,22,.12),rgba(9,29,22,.48) 58%,rgba(9,29,22,.64)); }
.launch-hero-tint { background: transparent; }
main section.cms-hero-packages,
main section.cms-hero-gallery { height: 56vh; min-height: 390px; }
section:has(img[alt="Safari landscape"]) h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
section:has(img[alt="Safari landscape"]) p { color: #fff; }
footer p[class], footer a[class] { color: #f1eee5; }
.launch-page-shade { background: rgba(23,62,49,.5); }
main section.cms-hero-packages .text-primary-foreground\/70,
main section.cms-hero-gallery .text-primary-foreground\/70 { color: #fff; }
.launch-welcome-image { position: relative; aspect-ratio: 5/4; border-radius: 16px; overflow: hidden; }
.launch-contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.launch-contact-links a { padding: 12px 20px; background: #184536; color: #fff; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.launch-contact-links a:hover { background: #285c49; }
.launch-package-card h3 { font-size: 1.2rem; }
.launch-package-card { box-shadow: 0 8px 28px rgba(20,50,35,.07); }
@media (max-width: 639px) {
  main section.cms-hero-packages,
  main section.cms-hero-gallery { height: auto; min-height: 380px; }
  .launch-package-card > div:last-child { padding: 20px; }
  section:has(img[alt="Safari landscape"]) h1 { font-size: clamp(2rem,8.2vw,3rem); }
  section:has(img[alt="Safari landscape"]) .container-editorial { padding-left: 48px; padding-right: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Non-home header imagery is owned by CMS Media Library selections. */
.cms-hero { background: #173e31; }
.cms-page-hero-background { position: absolute; inset: 0; overflow: hidden; }
.cms-page-hero-shade { position: absolute; inset: 0; background: rgba(23,62,49,.5); }
.cms-editorial-hero { position: relative; overflow: hidden; }
.cms-editorial-hero-content { position: relative; z-index: 1; }
.cms-editorial-hero p { color: #fff; }
.cms-gallery-status { padding: 1rem 1.5rem; color: #173e31; background: #edf3ee; text-align: center; }
.cms-gallery-status button { margin-left: 1rem; text-decoration: underline; font-weight: 600; }

/* One hero style everywhere: full-bleed landscape photo, even shade, centred text (matches About). */
.cms-editorial-hero { margin: 1rem 1rem 0; border-radius: 1.5rem; min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.cms-editorial-hero-content { display: flex; flex-direction: column; align-items: center; }
.cms-editorial-hero-content .flex { justify-content: center; }
.cms-editorial-hero-content h1, .cms-editorial-hero-content p { margin-left: auto; margin-right: auto; }
section:has(img[data-cms-hero="blog"]) > .relative { align-items: center; justify-content: center; text-align: center; }
section:has(img[data-cms-hero="blog"]) .container-editorial { padding-bottom: 0; }
@media (min-width: 768px) { .cms-editorial-hero { margin: 1rem 2rem 0; } }

/* Client review: headings carry the editorial face; prose uses the body face. */
.text-body, .text-body-lg, .prose, .client-prose {
  font-family: 'DM Sans', sans-serif;
}
.client-prose {
  width: 100%;
  max-width: 70ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.client-prose :where(p, span, div, li) {
  font-family: 'DM Sans', sans-serif !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
}
.client-prose p { margin: 0 0 1.25em; }
.client-prose h2 { font-size: 1.75rem; line-height: 1.25; margin: 2.25em 0 .75em; }
.client-prose h3 { font-size: 1.375rem; line-height: 1.35; margin: 1.75em 0 .65em; }
.client-prose :where(ul, ol) { padding-left: 1.5em; margin-bottom: 1.25em; }
.client-prose ul { list-style: disc; }
.client-prose ol { list-style: decimal; }
.client-prose li + li { margin-top: .5em; }
.client-terms-header { padding: 10rem 1.5rem 3.5rem; background: #173e31; color: #fff; }
.client-terms-header h1 { font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.12; }
.client-terms-header p { margin: 1.25rem 0; max-width: 65ch; line-height: 1.6; }
.client-terms-header a { display: inline-block; color: #fff; text-decoration: underline; text-underline-offset: .25em; padding: .5rem 0; }
.client-terms { margin: 0 auto; padding: 1.5rem 1.5rem 5rem; color: #25372e; }
.client-terms h2 { scroll-margin-top: 7rem; }
.performance-load-more { padding: .9rem 1.5rem; border-radius: .5rem; background: #173e31; color: #fff; font: 600 1rem 'DM Sans', sans-serif; cursor: pointer; }
.performance-load-more:hover { background: #285c49; }
@media (max-width: 639px) {
  .client-prose { font-size: 1rem; line-height: 1.75; }
  .client-terms-header { padding-top: 8rem; }
}
