/* HealMe · shared identity for existing interior pages.
 * Opt in with body.site-identity. Home ES remains in home-direction.css.
 * This layer changes presentation only: no content, destinations or form state.
 * Commercial guide layouts, covers and .launch-pages retain their geometry.
 */
body.site-identity {
  --sans: Strawford, Arial, sans-serif;
  --serif: Strawford, Arial, sans-serif;
  --teal: #0ec6c9;
  --teal-dark: #087d81;
  --ink: #25383d;
  --muted: #475958;
  --cream: #fcf3e8;
  --line: #e3d8c7;
  --pink: #F7CDCD;
  --orange: #F39A50;
  --page-width: 1280px;
  --page-gutter: 64px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fffefa;
}
body.site-identity :is(h1, h2, h3, h4, button, input, select, textarea) {
  font-family: var(--sans);
}
body.site-identity :is(h1, h2, h3, h4) { font-weight: 500; }
body.site-identity :is(.document-hero h1, .recommendation-hub h1, .care-detail-hero h1) {
  color: #08777b;
  line-height: 1.13;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
body.site-identity :is(.document-copy h2, .section-heading h2, .care-heading h2, .notice-body h2):not(.launch-interior *) {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}
body.site-identity :is(.editorial-section p, .editorial-section li, .resource-body, .resource-card p,
  .resource-author p, .care-text, .programme-copy > p, .reference-card p, .shop-card p) {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
body.site-identity .eyebrow {
  color: var(--teal-dark);
  font-size: .82rem;
  letter-spacing: .105em;
  line-height: 1.6;
}

/* The original logo stays untouched, on the same luminous field as Home. */
body.site-identity .header {
  --navigation-font: Strawford, Arial, sans-serif;
  background: #fffefa;
  border-bottom: 1px solid #e7ece6;
}
body.site-identity .header .logo {
  background: var(--teal);
  border-radius: 0 0 26px 26px;
  align-self: flex-start;
  padding: 10px 12px;
  flex-basis: 102px;
}
body.site-identity .header .logo img { width: 80px; height: 62px; }
body.site-identity .header #navigation { gap: 23px; }
body.site-identity .header :is(#navigation a, #language, .menu-toggle, .resource-languages a) {
  color: #25474b;
}
body.site-identity .header #navigation a {
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
body.site-identity .header :is(#language, .resource-languages a) { font-size: 14px; }
body.site-identity .header .menu-toggle { border-color: var(--teal-dark); }
body.site-identity .header .menu-toggle span { background: var(--teal-dark); }
body.site-identity .header .header-book {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  font-size: 14px;
  line-height: 1.4;
  border-radius: 4px;
}
body.site-identity .header .header-book:hover { background: #e4f6f1; }

/* Primary, secondary and text actions; keep existing disabled/hidden states. */
body.site-identity :is(.button, .registration-box button.primary, .snack-signup button.primary,
  .recommendation-other-button, .resource-video .embed-video-start) {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  padding: 15px 22px;
  border: 1px solid var(--teal);
  border-radius: 4px;
  background: var(--teal);
  color: #193e43;
  box-shadow: none;
}
body.site-identity :is(.resource-access, .resource-next, .cookware-access, .oils-access,
  .snack-signup, .registration-box, .payment-actions, .hero-actions) .button,
body.site-identity .hero-family .hero-actions .button.white {
  background: var(--teal);
  border-color: var(--teal);
  color: #193e43;
}
body.site-identity .recommendation-other-button { color: #193e43 !important; }
body.site-identity :is(.button.secondary, .button.launch-secondary) {
  background: transparent !important;
  border: 1px solid var(--teal-dark) !important;
  color: var(--teal-dark) !important;
}
body.site-identity :is(.button, .registration-box button.primary, .snack-signup button.primary,
  .recommendation-other-button):hover:not(:disabled) {
  background: #a9e9e4;
  border-color: var(--teal-dark);
  color: #193e43;
  transform: none;
}
body.site-identity .text-link {
  font-size: 1rem;
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
  border-bottom: 0;
}
body.site-identity :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #c98042;
  outline-offset: 4px;
}
body.site-identity .masterclass-player .video-start {
  background: var(--teal);
  color: #193e43;
  border: 1px solid var(--teal-dark);
  border-radius: 4px;
}

/* Preserve the approved nutrition-guide columns and page-preview spacing. */
body.site-identity :is(.resource-detail:has(.launch-detail-cover), .launch-interior, .launch-sample) {
  --page-width: 1200px;
  --page-gutter: clamp(20px, 4vw, 48px);
}

/* Interior reading rhythm. The guide's approved .launch-* layouts are excluded. */
body.site-identity :is(.document-hero, .resource-intro) {
  background: #fcf0e3;
  border-bottom: 0;
}
body.site-identity :is(.document-hero:not(.document-hero--programme-image), .resource-intro) {
  padding-top: 65px;
  padding-bottom: 65px;
}
body.site-identity .document-layout { padding-top: 64px; padding-bottom: 28px; }
body.site-identity :is(.section-heading, .direction-heading):not(.launch-interior *) { margin-bottom: 38px; }
body.site-identity .editorial-section { margin-bottom: 42px; }
body.site-identity :is(.booking-section, .home-care, .care-first, .care-panel, .service-process,
  .resource-next, .resource-terreno, .programme-enquiry) { background: #fcf3e8; }
body.site-identity :is(.home-reviews, .reviews-editorial, .testimonial-intro) { background: #fff0e3; }
body.site-identity :is(.home-about, .programmes, .about) { background: #fffefa; }
body.site-identity .programme-grid { gap: 48px; }
body.site-identity .programme-grid-two .programme-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.site-identity .programme-grid-two .programme-copy { padding: 24px 0 0; }
body.site-identity .programme-copy h3 { justify-content: flex-start; }
body.site-identity :is(.care-card, .booking-panel, .care-panel, .review-card) {
  border-radius: 4px;
  box-shadow: none;
  border-color: var(--line);
}
body.site-identity .care-card { background: transparent; }
body.site-identity :is(.document-portrait, .programme-detail-photo) { border-radius: 0; }

/* Resource/product grids keep their columns and all existing image dimensions. */
body.site-identity :is(.resource-grid, .reference-grid, .shop-grid) { gap: 36px; }
body.site-identity .resource-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.site-identity .resource-card > a > div:not(.product-showcase) { padding: 24px 0; }
body.site-identity .resource-card h2 { font-size: 1.7rem; line-height: 1.22; }
body.site-identity :is(.cookware-cover, .oils-cover) { background: var(--pink); }
body.site-identity :is(.recommendation-region, .recommendation-others, .shop-card, .reference-card,
  .recommendation-hub .card) {
  background: #fffefa;
  border: 0;
  border-top: 2px solid #e3d8c7;
  border-radius: 0;
  box-shadow: none;
}
body.site-identity .recommendation-region { background: #e4f6f1; border-color: var(--teal); }
body.site-identity .recommendation-region:nth-child(2) { background: #fbe1dc; border-color: var(--pink); }
body.site-identity .recommendation-country-links a {
  background: #fffefa;
  color: var(--teal-dark);
  border-color: #aaccc1;
  border-radius: 4px;
}
body.site-identity .recommendation-country-links a:hover { background: #e4f6f1; }
body.site-identity :is(.product-showcase, .product-visual) { border-radius: 4px; box-shadow: none; }
body.site-identity .resource-card[data-shopping-card] .shopping-resource-copy { background: #e4f6f1; padding: 24px; }
body.site-identity :is(.resource-fine, .resource-author p, .programme-price-note, .care-small,
  .oils-independent, .cookware-independent) { font-size: .9rem; line-height: 1.6; }

/* Same-document forms only; hosted MailerLite and player iframes stay untouched. */
body.site-identity :is(.resource-access, .oils-access, .cookware-access, .resource-followup) {
  background: #e4f6f1;
  border-color: #aaccc1;
  border-radius: 4px;
}
body.site-identity :is(.registration-box, .snack-signup, .cookware-access, .oils-access) label {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
body.site-identity :is(.registration-box, .snack-signup, .cookware-access, .oils-access)
  :is(input[type=email], input[type=text], select) {
  font: 1rem/1.5 var(--sans);
  color: var(--ink);
  background: white;
  border: 1px solid #adc9be;
  border-radius: 3px;
  padding: 14px;
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
}
body.site-identity :is(.signup-note, .cookware-privacy, .oils-privacy) {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--muted);
}
body.site-identity :is(.registration-box, .snack-signup, .cookware-access, .oils-access) .ml-error input {
  border-color: #a32328;
}
body.site-identity :is(.ml-field-error-message, .ml-server-error:not(:empty)) { color: #952020; }

body.site-identity footer#contact { background: #e5f5f3; }
body.site-identity .contact-base { background: #fffefa; }
body.site-identity .contact-inner { max-width: 1280px; padding-inline: var(--page-gutter); }

@media (max-width: 1280px) {
  body.site-identity .header #navigation { background: #fffefa; gap: 0; }
  body.site-identity .header #navigation a { font-size: 17px; border-bottom-color: #dce9e3; }
}
@media (max-width: 1050px) {
  body.site-identity { --page-gutter: 35px; }
  body.site-identity :is(.document-hero:not(.document-hero--programme-image), .resource-intro) {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  body.site-identity .programme-grid { gap: 32px; }
  body.site-identity :is(.resource-grid, .reference-grid, .shop-grid) { gap: 25px; }
}
@media (max-width: 700px) {
  body.site-identity { --page-gutter: 23px; font-size: 16px; }
  body.site-identity .header .logo { flex-basis: 82px; padding: 5px 9px; }
  body.site-identity .header .logo img { width: 64px; height: 52px; }
  body.site-identity .header :is(#language, .resource-languages a) { font-size: 14px; }
  body.site-identity .header .header-book { font-size: 12px; padding: 8px 10px; }
  body.site-identity :is(.document-hero:not(.document-hero--programme-image), .resource-intro) {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  body.site-identity .document-layout { padding-top: 42px; padding-bottom: 20px; }
  body.site-identity :is(.document-copy h2, .section-heading h2, .care-heading h2, .notice-body h2):not(.launch-interior *) {
    font-size: 2rem;
    overflow-wrap: break-word;
  }
  body.site-identity .programme-grid { gap: 36px; }
  body.site-identity :is(.resource-grid, .reference-grid, .shop-grid) { gap: 30px; }
  body.site-identity :is(.section-heading, .direction-heading):not(.launch-interior *) { margin-bottom: 28px; }
  body.site-identity .resource-card h2 { font-size: 1.55rem; }
}

/* The same photographic language across ES, FR and EN, with originals intact. */
body.site-identity img.identity-photo{filter:none;transform:none;object-fit:contain;object-position:center;height:auto;aspect-ratio:auto;max-width:100%;border-radius:0}
body.site-identity .programme-photo:has(.identity-photo){aspect-ratio:auto;background:transparent}
body.site-identity .programme-photo img.identity-photo{display:block;width:100%;height:auto}
body.site-identity .home-care img.identity-photo{display:block;width:100%;height:auto}
body.site-identity .resource-author img.identity-photo{width:100px;height:auto;max-height:none}
body.site-identity .home-about img.identity-photo{width:100%;height:auto;max-height:none}
body.site-identity .identity-community-hero{display:grid;grid-template-columns:.9fr 1.15fr;gap:48px;align-items:center;max-width:1280px;margin:auto;padding:62px 64px 72px;background:#fffaf4;color:#25383d;min-height:0;aspect-ratio:auto;text-align:left}
body.site-identity .identity-community-hero h1{font-size:clamp(3rem,4.5vw,4.5rem);line-height:1.12;letter-spacing:-.04em;color:#08777b;text-shadow:none;margin:12px 0 24px}
body.site-identity .identity-community-hero .hero-content{max-width:none;width:auto;padding:0;margin:0;background:transparent;order:0}
body.site-identity .identity-community-hero .hero-photo,body.site-identity .identity-community-photo{margin:0;min-height:0;position:static;order:1;box-shadow:16px 16px 0 #F7CDCD;width:auto;max-width:none;aspect-ratio:auto;border:0}
body.site-identity .identity-community-hero img.identity-photo{display:block;position:static;inset:auto;transform:none;width:100%;height:auto;aspect-ratio:auto;mask-image:none;object-fit:contain}
body.site-identity .identity-community-hero :is(.hero-description,.hero-audience,.hero-programme-meta,.hero-programme-meta a){color:#475958;text-shadow:none;max-width:none}
body.site-identity .identity-community-hero .eyebrow.light{color:#087d81}
body.site-identity .identity-community-hero .hero-shade{display:none}
body.site-identity .identity-community-hero .hero-actions{justify-content:flex-start}
body.site-identity .identity-community-hero .short-line{background:#F39A50;width:64px;height:5px;margin:22px 0}
body.site-identity .identity-guide-feature{display:grid;grid-template-columns:1.25fr .75fr;gap:64px;align-items:center;max-width:1280px;background:#fcf0e3;padding:76px 64px;margin:auto}
body.site-identity .identity-guide-feature .launch-product{margin:0;padding:0;border:0;max-width:none}
body.site-identity .identity-guide-feature .launch-cover{max-width:305px;justify-self:center;transform:none}
body.site-identity .identity-guide-feature h2{font-size:2.5rem;line-height:1.16;letter-spacing:-.025em}
body.site-identity .offer-map{background:#fcf3e8}
body.site-identity .offer-map :is(article,.offer-map-card){background:transparent;box-shadow:none;border-radius:0}
body.site-identity :is(.reviews-editorial blockquote,.home-reviews blockquote){color:#294b49;font-size:1.5rem;line-height:1.5}
body.site-identity .testimonial-voices{gap:44px}
body.site-identity .testimonial-voices figure{background:transparent;box-shadow:none;border-radius:0;border-top:1px solid #d7ab95;padding:30px 0}
@media(max-width:1050px){body.site-identity .identity-community-hero{gap:32px;padding-inline:35px}body.site-identity .identity-guide-feature{padding:55px 35px;gap:35px}}
@media(max-width:700px){body.site-identity .identity-community-hero{grid-template-columns:1fr;padding:38px 23px 48px;gap:30px}body.site-identity .identity-community-hero h1{font-size:3rem}body.site-identity .identity-community-hero .hero-photo,body.site-identity .identity-community-photo{margin-right:10px;box-shadow:10px 10px 0 #F7CDCD}body.site-identity .identity-guide-feature{grid-template-columns:1fr;padding:42px 23px;gap:28px}body.site-identity .identity-guide-feature h2{font-size:2.1rem}}

/* Keep the intrinsic width of covers and embedded forms inside the mobile grid. */
body.site-identity :is(.oils-detail,.cookware-detail)>*{min-width:0;max-width:100%}
body.site-identity :is(.oils-cover,.cookware-cover){box-sizing:border-box;width:100%;min-width:0;margin-inline:0}
body.site-identity :is(.oils-cover,.cookware-cover) img{max-width:100%;height:auto}
body.site-identity :is(.oils-detail,.cookware-detail) :is(.ml-form-embedWrapper,.ml-form-embedContainer){max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:700px){body.site-identity :is(.oils-detail,.cookware-detail){grid-template-columns:minmax(0,1fr)}body.site-identity :is(.oils-cover,.cookware-cover){max-width:340px;justify-self:center}}
body.site-identity .resource-detail>*{min-width:0;max-width:100%;box-sizing:border-box}
body.site-identity .resource-detail :is(.registration-box,.ml-form-embedWrapper){min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:700px){body.site-identity .resource-detail{grid-template-columns:minmax(0,1fr)}body.site-identity .resource-detail .resource-access{padding-inline:12px}}
body.site-identity .identity-community-hero .hero-photo,body.site-identity .identity-community-photo{border-radius:0}

/* Alignment with Home v170: retain all page content and images. */
body.site-identity .document-copy :is(p, li) {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #304c4a;
}
body.site-identity .document-copy p { margin-bottom: 24px; }
body.site-identity .contents-nav a { font-size: .95rem; line-height: 1.6; }
body.site-identity :is(.document-copy, .care-text, .resource-body) {
  overflow-wrap: break-word;
}
body.site-identity .testimonial-voices {
  gap: 24px;
  align-items: stretch;
}
body.site-identity .testimonial-voices figure,
body.site-identity .testimonial-voices figure:last-child {
  grid-column: auto;
  max-width: none;
  min-width: 0;
  background: #fffaf4;
  border: 1px solid #e9cbb8;
  border-top: 5px solid var(--pink);
  border-radius: 8px;
  padding: 34px 36px 30px;
  box-shadow: 0 8px 24px #7e553208;
}
body.site-identity .testimonial-voices .quote-mark { display: none; }
body.site-identity .testimonial-voices blockquote {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  line-height: 1.42;
  letter-spacing: -.015em;
  margin: 0 0 22px;
  color: #294b49;
}
body.site-identity .testimonial-voices figcaption {
  font-size: .875rem;
  line-height: 1.6;
  color: #766451;
  border-top: 1px solid #ead8c9;
  padding-top: 18px;
  width: 100%;
}
body.site-identity .testimonial-voices figcaption strong { font-size: 1rem; }
body.site-identity .testimonial-voices figcaption a {
  font-size: .875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
body.site-identity .review-collection .text-link { font-size: 1rem; }
body.site-identity .reviews-google small { font-size: .875rem; }
body.site-identity .header :is(.menu-toggle, #language) { min-height: 44px; }

@media (max-width: 1050px) {
  body.site-identity .testimonial-voices figure,
  body.site-identity .testimonial-voices figure:last-child { padding: 28px; }
}
@media (max-width: 700px) {
  body.site-identity .document-copy :is(p, li) { font-size: 1rem; line-height: 1.8; }
  body.site-identity .document-copy p { margin-bottom: 22px; }
  body.site-identity .testimonial-voices { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body.site-identity .testimonial-voices figure,
  body.site-identity .testimonial-voices figure:last-child { padding: 25px 24px; }
  body.site-identity .testimonial-voices blockquote { font-size: 1.5rem; }
  body.site-identity .header .header-book { font-size: .875rem; min-height: 44px; }
}

/* Compact header at narrow phone widths, including a 320px preview scrollbar. */
@media (max-width: 400px) {
  body.site-identity .header { padding-inline: 10px; gap: 6px; }
  body.site-identity .header .logo { flex-basis: 70px; padding: 5px 7px; }
  body.site-identity .header .logo img { width: 56px; height: 52px; }
  body.site-identity .header .header-actions { flex: 1 1 0; min-width: 0; gap: 6px; }
  body.site-identity .header .resource-languages { gap: 6px !important; flex-shrink: 0; }
  body.site-identity .header .header-book {
    flex: 1 1 0;
    min-width: 0;
    max-width: 122px;
    padding: 8px 6px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.site-identity .header .menu-toggle { flex: 0 0 44px; width: 44px; height: 44px; }
}

/* Long localized titles and compact language control at the smallest phone widths. */
body.site-identity main h1{overflow-wrap:anywhere;hyphens:auto}
@media(max-width:400px){body.site-identity .header #language{width:44px;min-width:44px;max-width:44px;flex:0 0 44px}}

@media(max-width:360px){body.site-identity main[data-recommendation-page]>h1{font-size:1.75rem;line-height:1.3}}

@media(max-width:360px){body.site-identity .header .logo{box-sizing:border-box;flex:0 0 64px;width:64px}body.site-identity .header .logo img{width:50px;height:52px;object-fit:contain}}

body.site-identity .header #language{margin:0}

/* Keep the complete verification control visible inside narrow signup forms. */
body.site-identity .registration-box .ml-form-recaptcha{container-type:inline-size;overflow:hidden;max-width:100%}
@container (max-width:303px){body.site-identity .registration-box .g-recaptcha{width:304px;transform:scale(.85);transform-origin:0 0}}
@container (max-width:258px){body.site-identity .registration-box .g-recaptcha{transform:scale(.7)}}
@container (max-width:212px){body.site-identity .registration-box .g-recaptcha{transform:scale(.6)}}

/* Closing QA: keep the snack heading readable on narrow screens. */
@media (max-width: 600px) {
  body.site-identity .resource-detail.snack-detail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "cover" "form";
    gap: 24px;
  }
  body.site-identity .snack-heading h1 { hyphens: none; overflow-wrap: normal; }
  body.site-identity .resource-detail.snack-detail .snack-cover {
    width: min(100%, 220px); justify-self: center;
  }
  body.site-identity .resource-detail.snack-detail .snack-cover img {
    max-width: 100%; min-width: 0;
  }
}
