/* Lydia — Elementor/Astra bridge (tokens live in lsc-client-styles.css :root) */
:root {
  --lsc-paper: #faf9f6;
  --lsc-paper-alt: #f5ede3;
  --lsc-ink: #2c2523;
  --lsc-ink-soft: #7a6f6f;
  --lsc-brand: #a30915;
  --lsc-brand-deep: #78060f;
  --lsc-line: #e6dcd4;
  --lsc-radius: 1.75rem;
  --lsc-shadow: 12px 12px 32px rgba(215, 205, 195, 0.45);
}

body,
button,
input,
select,
textarea {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--lsc-ink);
}

body.lsc-site {
  background: var(--lsc-paper);
}

body.lsc-site.single-post .entry-header,
body.lsc-site.single-post .ast-single-entry-banner,
body.lsc-site.single-post .post-navigation {
  display: none !important;
}

body.lsc-site.single-post .site-content > .ast-container {
    padding-top: 0;
}

body.lsc-site.ast-page-builder-template .entry-header,
body.lsc-site.elementor-page .entry-header,
body.lsc-site .site-content .ast-article-single > .entry-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body.lsc-site.ast-page-builder-template .site-content > .ast-container,
body.lsc-site.elementor-page .site-content > .ast-container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.lsc-site.ast-theme-transparent-header #content,
body.lsc-site.ast-theme-transparent-header .site-content-primary,
body.lsc-site.ast-hfb-header #content,
body.lsc-site .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Custom masthead (sticky). Astra 4 adds ~68px margin-top on #primary for the default
   header — we hide Astra’s header, so keep content flush under .lsc-header-footer on all pages. */
body.lsc-site #content.site-content,
body.lsc-site .site-content > .ast-container,
body.lsc-site #primary.content-area,
body.lsc-site main.site-main.lsc-main,
body.lsc-site .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.lsc-site #page {
  background: var(--paper, #faf9f6);
}

body.lsc-site .elementor-section-wrap,
body.lsc-site .elementor-element,
body.lsc-site .elementor-widget-wrap,
body.lsc-site .elementor-widget-container {
  margin-bottom: 0;
}

body.lsc-site .elementor-section {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Elementor 3.x: container > column (no .elementor-row). Default column pad was leaking section bg as a red strip under nav. */
body.lsc-site .elementor-section .elementor-column > .elementor-element-populated,
body.lsc-site .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
body.lsc-site .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.lsc-site .elementor-section.elementor-top-section > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

body.lsc-site .lsc-page .page-head h1 em {
  font-style: italic;
  color: var(--brand);
}

body.lsc-site .elementor-widget-html .lsc-page .page-head .detail__head h1 {
  font-weight: 400 !important;
}

body.lsc-site .elementor-widget-html .lsc-page .page-head .crumbs a {
  color: var(--ink-faint, #7a5e5a) !important;
}

@media (max-width: 921px) {
  body.lsc-site main#main.site-main:is(
      [data-about-page],
      [data-faq-page],
      [data-contact-page],
      [data-blog-page],
      [data-treatments-index],
      [data-concerns-index]
    ),
  body.lsc-site main.lsc-main:is(
      [data-about-page],
      [data-faq-page],
      [data-contact-page],
      [data-blog-page],
      [data-treatments-index],
      [data-concerns-index]
    ) {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}

body.lsc-site .elementor-widget-html .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.lsc-site .lsc-page .hero {
    width: 100%;
  max-width: none;
}

body.lsc-site .entry-content a:not(.btn):not(.tp-btn):not(.tp-concern):not(.tp-card):not(.cp-btn):not(.cp-card):not(.booker__opt):not(.booker__loc):not(.tcard):not(.concern):not(.nav__link):not(.textlink):not(.chip):not(.filter):not(.blog-feature):not(.blog-pagination__link):not(.blog-pagination__next):not(.ap-story):not(.cta-btn):not(.lc-btn):not(.rv-more):not(.cp-crumbs a):not(.bl-crumbs a):not(.fm-btn):not(.fm-loc):not(.bl-btn):not(.ct-q):not(.ct-b):not(.ct-soc) {
  color: var(--brand, #a30915);
}

/* Elementor sections: drop default grey bands when mockup blocks sit inside */
.lsc-site .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100%;
}

.site-content .ast-container {
  max-width: 100%;
  padding-left: 0;
    padding-right: 0;
}

.elementor-widget-html,
.elementor-widget-text-editor {
  color: var(--lsc-ink);
}

/* Bare headings only — mockup utility classes (.ab-tt, .ap-title, …) own typography in lsc-revised.css */
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) :is(h1, h2, h3):where(:not([class])) {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--lsc-ink);
}
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .cp-cta :is(h1, h2, h3):where(:not([class])),
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .bl-cta :is(h1, h2, h3):where(:not([class])),
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .bl-cta #bl-cta-title {
  color: #fbf9f6;
}

body.lsc-site .elementor-widget-heading .elementor-heading-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--lsc-ink);
}

/* Red hero band — mockup sets cream headline; widget ink must not win via inherit. */
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .hero h1,
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .hero h1 em {
  color: #fbf9f6 !important;
  font-weight: 500;
}

body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.elementor-widget-html .lsc-page h2.story-year {
  font-family: var(--display), "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

/* Mockup HTML widgets carry their own section colors (home-consult, bands, etc.). */
body.lsc-site .elementor-widget-html .lsc-page :where(h1, h2, h3, h4) {
  color: inherit;
}

/* home6 closing band — beat inherit + Elementor ink on cream-on-brand copy */
body.lsc-site .elementor-widget-html .lsc-page .home6-cta :where(h2, p, #cta-title) {
  color: #fbf9f6 !important;
}

/* Treatment P1 — red bands (.tp1 has no .lsc-page wrapper in Elementor). */
body.lsc-site .elementor-widget-html .tp1 .tp-cta :where(h2, p, #tp-cta-title) {
  color: #fbf9f6 !important;
}
body.lsc-site .elementor-widget-html .tp1 .tp-cta p {
  color: rgba(251, 249, 246, 0.9) !important;
}

/* Concern closing band — red .cp-cta (same ink override as .tp-cta / .home6-cta). */
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .cp-cta :where(h2, p, #cp-cta-title) {
  color: #fbf9f6 !important;
}
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .cp-cta p {
  color: rgba(251, 249, 246, 0.9) !important;
}

body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .fm-ask :where(h2, p, .fm-eb, .fm-lede, #fm-ask-title) {
  color: #fbf9f6 !important;
}
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .fm-ask .fm-eb {
  color: #ffdad6 !important;
}
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .fm-ask .fm-lede {
  color: rgba(251, 249, 246, 0.85) !important;
}

body.lsc-site .elementor-widget-html .fm-ask a.fm-btn--o,
body.lsc-site .elementor-widget-html .fm-ask a.fm-btn--o :where(span, svg) {
  color: #fbf9f6 !important;
  border-color: rgba(251, 249, 246, 0.55) !important;
}

body.lsc-site .elementor-widget-html .fm-ask a.fm-btn--w,
body.lsc-site .elementor-widget-html .fm-ask a.fm-btn--w :where(span, svg) {
  color: var(--brand) !important;
  background: #fbf9f6 !important;
}

body.lsc-site .elementor-widget-html .fm-ask a.fm-loc,
body.lsc-site .elementor-widget-html .fm-ask a.fm-loc b {
  color: #fbf9f6 !important;
}

body.lsc-site .elementor-widget-html .fm-ask a.fm-loc small {
  color: rgba(251, 249, 246, 0.75) !important;
}

body.lsc-site .elementor-widget-html .fm-ask a.fm-loc em {
  color: #ffdad6 !important;
}

/* Blog index closing band (.bl-cta) — red gradient, cream copy */
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .bl-cta :where(h2, p, #bl-cta-title) {
  color: #fbf9f6 !important;
}
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) .bl-cta p {
  color: rgba(251, 249, 246, 0.88) !important;
}
body.lsc-site .elementor-widget-html .bl-cta a.bl-btn--o,
body.lsc-site .elementor-widget-html .bl-cta a.bl-btn--o span {
  color: #fbf9f6 !important;
  border-color: rgba(251, 249, 246, 0.55) !important;
}
body.lsc-site .elementor-widget-html .bl-cta a.bl-btn--w,
body.lsc-site .elementor-widget-html .bl-cta a.bl-btn--w span {
  color: var(--brand) !important;
  background: #fbf9f6 !important;
}

body.lsc-site .elementor-widget-html .tp1 .tp-notice .tp-eb,
body.lsc-site .elementor-widget-html .tp1 .tp-notice #tp-notice-title {
  color: #ffdad6 !important;
}

.elementor-widget-html a:not([style*="background"]):not(.filter):not(.tcard):not(.blog-feature):not(.blog-pagination__link):not(.blog-pagination__next):not(.btn):not(.tp-btn):not(.tp-concern):not(.tp-card):not(.cp-btn):not(.booker__opt):not(.booker__loc):not(.ap-story):not(.cta-btn):not(.lc-btn):not(.rv-more):not(.fm-btn):not(.fm-loc):not(.bl-btn):not(.bl-crumbs a):not(.ct-q):not(.ct-b):not(.ct-soc) {
  color: var(--lsc-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.elementor-widget-html a:not([style*="background"]):not(.filter):not(.tcard):not(.btn):not(.tp-btn):not(.tp-concern):not(.tp-card):not(.cp-btn):not(.ap-story):not(.cta-btn):not(.lc-btn):not(.rv-more):hover {
  color: var(--lsc-brand-deep);
}

/* home6 pills — mockup sets fill + label colour; Elementor/Astra link ink must not win. */
body.lsc-site .elementor a:is(.ap-story, .rv-more, .lc-btn--book, .cta-btn--line),
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) a:is(.ap-story, .rv-more, .lc-btn--book, .cta-btn--line) {
  color: #fbf9f6 !important;
  text-decoration: none;
}

body.lsc-site .elementor a.cta-btn--solid,
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) a.cta-btn--solid {
  color: var(--brand, #a30915) !important;
  text-decoration: none;
}

body.lsc-site .elementor a.lc-btn--dir,
body.lsc-site .elementor-widget-html :is(.lsc-page, .lsc-mockup) a.lc-btn--dir {
  color: var(--ink, #2c2523) !important;
  text-decoration: none;
}

body.lsc-site .elementor-widget-html .lsc-page .crumbs a {
  color: var(--ink-faint, #8f706c);
  text-decoration: none;
}

body.lsc-site .elementor-widget-html .lsc-page .crumbs a:hover {
  color: var(--brand, #a30915);
}

/* Soften hard-coded grays in redesign HTML widgets */
.elementor-widget-html [style*="color:#71979c"],
.elementor-widget-html [style*="color: #71979c"] {
  color: var(--lsc-ink-soft) !important;
}

.elementor-widget-html [style*="background:#f2f3f5"],
.elementor-widget-html [style*="background: #f2f3f5"],
.elementor-section[data-settings*="f2f3f5"] {
  background-color: var(--lsc-paper-alt) !important;
}

.elementor-widget-html article[style*="background:#f2f3f5"],
.elementor-widget-html article[style*="background:#fff"],
.elementor-widget-html blockquote[style*="background:#fff"],
.elementor-widget-html details[style*="background:#f2f3f5"] {
  background: #fff !important;
  border: 1px solid var(--lsc-line) !important;
  border-radius: var(--lsc-radius) !important;
  box-shadow: var(--lsc-shadow);
}

.elementor-widget-html a[style*="background:#404e5c"],
.elementor-widget-html a[style*="background: #404e5c"] {
  background: var(--lsc-brand) !important;
  border-radius: 999px !important;
}

.elementor-widget-html a[style*="background:#404e5c"]:hover,
.elementor-widget-html a[style*="background: #404e5c"]:hover {
  background: var(--lsc-brand-deep) !important;
}

.elementor-widget-html img[style*="border-radius"] {
  border-radius: var(--lsc-radius) !important;
}

::selection {
  background: var(--lsc-brand);
  color: #fbf9f6;
}

.elementor-button,
.ast-button,
button[type="submit"],
input[type="submit"] {
  font-family: "Plus Jakarta Sans", sans-serif;
  border-radius: 999px !important;
}

.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg {
  background-color: var(--lsc-brand) !important;
  color: #fbf9f6 !important;
}

.elementor-button:hover {
  background-color: var(--lsc-brand-deep) !important;
}
