/* Scoped exclusively to eligible inner pages. Nothing is hidden without JS. */
body.pt-mexico-excerpt-page .pt-mexico-hidden {
  display: none !important;
}
body.pt-mexico-excerpt-page .pt-mexico-control {
  display: block;
  width: 100%;
  margin: 24px auto 0;
  text-align: center;
}
body.pt-mexico-excerpt-page button.pt-mexico-read-more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 1px solid #e1c986;
  border-radius: 999px;
  background: linear-gradient(110deg, #b38b46 0%, #d2b16a 25%, #f3e2ae 47%, #b38b46 70%, #e1c986 100%);
  color: #17130c !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(82,57,14,.4), 0 7px 18px rgba(0,0,0,.24);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  cursor: pointer;
}
body.pt-mexico-excerpt-page button.pt-mexico-read-more:hover {
  background: linear-gradient(110deg, #c69c50 0%, #e1c37b 25%, #fff0c6 47%, #c69c50 70%, #efdca1 100%);
}
body.pt-mexico-excerpt-page button.pt-mexico-read-more:focus-visible {
  outline: 2px solid #f3e2ae;
  outline-offset: 5px;
}

/* Requested inner-page line color. No type, spacing, surface, or button changes.
   Pricing never receives this class; Wellness Series keeps its original gold. */
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page {
  --pt-metallic: linear-gradient(#BDB6AB, #BDB6AB);
}
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-book,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .wp-block-button__link,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .elementor-button {
  --pt-metallic: linear-gradient(110deg, #72562b 0%, #d2b16a 25%, #f3e2ae 47%, #b38b46 70%, #e1c986 100%);
}
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .site-header,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .site-footer,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-footer-bottom,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .main-navigation,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page #site-navigation.main-navigation,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page #site-navigation .pt-menu > li,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page #site-navigation .pt-menu .sub-menu,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-menu .sub-menu:before,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-service-band,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-el-services,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-archive-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-requested-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-info-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-mini-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-treatment-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-contact-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-benefits-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-wellness-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-price-card,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-wellness-item,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-wellness-grid > .elementor-container > .elementor-column,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content > .gridContainer,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content > #content-2,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content > .wp-block-group,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content > .elementor,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content ul,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content ol,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article .entry-content blockquote,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .elementor-divider-separator,
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .entry-content hr {
  border-color: #BDB6AB !important;
}
body.pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-flourish {
  background: #BDB6AB !important;
  -webkit-mask: url('../images/pure-therapy-logo.png') no-repeat center -140px / 320px auto;
  mask: url('../images/pure-therapy-logo.png') no-repeat center -140px / 320px auto;
  filter: none;
}
/* Print the complete original text, including collapsed material. */
@media print {
  body.pt-mexico-excerpt-page .pt-mexico-hidden { display: revert !important; }
  body.pt-mexico-excerpt-page .pt-mexico-control,
  body.pt-mexico-excerpt-page .pt-mexico-ellipsis { display: none !important; }
}


/* OCEAN page-specific finishing changes. */
body.pt-ocean-wellness-series .pt-wellness-card,
body.pt-ocean-wellness-series .elementor-inner-section.pt-wellness-card {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
body.pt-ocean-book .pt-contact-card,
body.pt-ocean-book .elementor-inner-section.pt-contact-card {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
body.pt-ocean-book .pt-contact-card > p:last-child,
body.pt-ocean-book .pt-contact-card .elementor-widget-button,
body.pt-ocean-book .pt-contact-card .elementor-button-wrapper {
  text-align: center !important;
}
body.pt-ocean-book .pt-contact-card .pt-book {
  margin-left: auto !important;
  margin-right: auto !important;
}
body.pt-mexico-excerpt-page .pt-ocean-inside-excerpt-image {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* SIERRA: preserve HQ title underline on excerpt-based inner pages. */
body:not(.home).pt-mexico-excerpt-page .pt-article-header .pt-flourish,
body:not(.home).pt-mexico-neutral-lines.pt-mexico-excerpt-page .pt-article-header .pt-flourish {
  width: 216px !important;
  height: 24px !important;
  background: transparent url('../images/pure-therapy-inner-title-underline-hq.png') no-repeat center center / contain !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: none !important;
}


/* All About The Lymphatic System: excerpt image + excerpt text + Read More in one card. */
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 0 0 22px;
  overflow: hidden;
  background: #080808 !important;
  border: 1px solid #BDB6AB !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card .pt-source-featured-image,
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card figure,
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card .elementor-widget-image {
  margin: 0 0 20px !important;
  padding: 0 !important;
}
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border-radius: 0 !important;
}
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card > p:not(.pt-source-featured-image) {
  margin: 0 auto !important;
  padding: 0 24px;
  color: #eeeeee !important;
  line-height: 1.7 !important;
}
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card .pt-mexico-control {
  margin: 20px auto 0 !important;
  padding: 0 24px;
}
@media(max-width:640px){
  body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card { border-radius: 14px !important; }
  body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card > p:not(.pt-source-featured-image),
  body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card .pt-mexico-control { padding-left: 18px; padding-right: 18px; }
}


/* EXCERPT AUDIT FIX
   - Expanded content drops open directly below the excerpt card.
   - Empty card shells created by old Elementor wrappers do not reserve space. */
body.pt-mexico-excerpt-page.pt-lymphatic-system.pt-mexico-expanded .pt-lymph-excerpt-card {
  margin-bottom: 18px !important;
}
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-mexico-control {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto !important;
}
body.pt-mexico-excerpt-page.pt-lymphatic-system button.pt-mexico-read-more {
  position: relative !important;
  z-index: 4 !important;
  pointer-events: auto !important;
}
body.pt-mexico-excerpt-page .pt-info-card:empty,
body.pt-mexico-excerpt-page .pt-mini-card:empty,
body.pt-mexico-excerpt-page .pt-treatment-card:empty,
body.pt-mexico-excerpt-page .pt-requested-card:empty,
body.pt-mexico-excerpt-page .pt-benefits-card:empty,
body.pt-mexico-excerpt-page .pt-card:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}


/* Lymphatic excerpt card visual cleanup — remove black fill and let the page background show through. */
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card,
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card > p:not(.pt-source-featured-image),
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card .pt-mexico-control {
  background: transparent !important;
  background-color: transparent !important;
}


/* NINE-2: all remaining inner pages keep Read More inside their excerpt card. */
body.pt-mexico-excerpt-page .pt-generic-excerpt-card {
  max-width:980px;
  margin:0 auto 28px;
  padding:0 0 22px;
  overflow:hidden;
  background:transparent !important;
  border:1px solid #BDB6AB !important;
  border-radius:18px !important;
  box-shadow:none !important;
}
body.pt-mexico-excerpt-page .pt-generic-excerpt-card .pt-source-featured-image,
body.pt-mexico-excerpt-page .pt-generic-excerpt-card figure,
body.pt-mexico-excerpt-page .pt-generic-excerpt-card .elementor-widget-image {
  margin:0 0 20px !important;
  padding:0 !important;
}
body.pt-mexico-excerpt-page .pt-generic-excerpt-card img {
  display:block;
  width:100%;
  height:auto;
  margin:0 !important;
  border-radius:0 !important;
}
body.pt-mexico-excerpt-page .pt-generic-excerpt-card > p:not(.pt-source-featured-image),
body.pt-mexico-excerpt-page .pt-generic-excerpt-card > .elementor-widget-text-editor {
  margin:0 auto !important;
  padding:0 24px;
}
body.pt-mexico-excerpt-page .pt-generic-excerpt-card .pt-mexico-control {
  margin:20px auto 0 !important;
  padding:0 24px;
}
@media(max-width:640px){
  body.pt-mexico-excerpt-page .pt-generic-excerpt-card{border-radius:14px !important;}
  body.pt-mexico-excerpt-page .pt-generic-excerpt-card > p:not(.pt-source-featured-image),
  body.pt-mexico-excerpt-page .pt-generic-excerpt-card > .elementor-widget-text-editor,
  body.pt-mexico-excerpt-page .pt-generic-excerpt-card .pt-mexico-control{padding-left:18px;padding-right:18px;}
}

/* GOOD LUCK THERAPY — All About The Lymphatic System excerpt only.
   Match this opening excerpt copy to the site's normal muted body text. */
body.pt-mexico-excerpt-page.pt-lymphatic-system .pt-lymph-excerpt-card > p:not(.pt-source-featured-image) {
  color: var(--pt-muted) !important;
}
