/* Exact repair scope: the 14 owner-listed inner pages only. */

/* The outer Elementor page wrapper is the one page border. Do not draw another border on the inner page section. */
body.pt-precision-inner-fix .pt-article .entry-content > .elementor > .pt-elementor-page {
  border:0!important;
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:0!important;
  box-shadow:none!important;
  background:transparent!important;
  background-color:transparent!important;
}

/* Excerpt belongs to the page: same background/text treatment, no second card border. */
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-facial-excerpt-card,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-lymph-excerpt-card {
  border:0!important;
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  background-color:transparent!important;
  color:inherit!important;
}
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card > p,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card > .elementor-widget-text-editor,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card > .elementor-widget-text-editor p,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-facial-excerpt-card > p,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-facial-excerpt-card > .elementor-widget-text-editor,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-facial-excerpt-card > .elementor-widget-text-editor p,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-lymph-excerpt-card > p,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-lymph-excerpt-card > .elementor-widget-text-editor,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-lymph-excerpt-card > .elementor-widget-text-editor p,
body.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-mexico-control {
  background:transparent!important;
  background-color:transparent!important;
  color:inherit!important;
  border:0!important;
  box-shadow:none!important;
}

/* When Read More collapses the article, wrappers containing only hidden content must not leave a floating bordered rectangle. */
body.pt-precision-inner-fix .pt-precision-empty-shell {
  display:none!important;
  border:0!important;
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  min-height:0!important;
}

/* One bottom CTA row, inside the existing page border. */
body.pt-precision-inner-fix .entry-content .pt-precision-cta-widget {
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:16px!important;
  width:100%!important;
  max-width:780px!important;
  margin:36px auto 0!important;
  padding:0 20px 28px!important;
  border:0!important;
  border-top:0!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta > a {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  flex:0 0 auto!important;
  min-height:48px!important;
  margin:0!important;
  padding:14px 25px!important;
  border:1px solid #e1c986!important;
  border-radius:999px!important;
  background:linear-gradient(110deg,#72562b 0%,#d2b16a 25%,#f3e2ae 47%,#b38b46 70%,#e1c986 100%)!important;
  background-color:#d2b16a!important;
  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)!important;
  font-size:.76rem!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
  body.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta{
    gap:10px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta > a{
    width:auto!important;
    padding:12px 11px!important;
    font-size:.62rem!important;
    letter-spacing:.07em!important;
  }
}

/* Restore the excerpt-card border on the five Bodywork, Explained pages only. */
body.page-id-1598.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card,
body.page-id-1600.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card,
body.page-id-1602.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card,
body.page-id-1604.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card,
body.page-id-1606.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-generic-excerpt-card {
  border:1px solid #BDB6AB!important;
  border-radius:18px!important;
}

/* Facial Lymphatic only: restore the excerpt-card border while preserving its existing layout. */
body.page-id-30.pt-facial-lymphatic.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-facial-excerpt-card {
  border:1px solid #BDB6AB!important;
  border-radius:18px!important;
}
@media(max-width:640px){
  body.page-id-30.pt-facial-lymphatic.pt-precision-inner-fix.pt-mexico-excerpt-page .pt-facial-excerpt-card {
    border-radius:14px!important;
  }
}

/* Post-op page only: keep both bottom CTA buttons solid metallic gold. */
body.page-id-27.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta > a,
body.page-id-27.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta > a:hover,
body.page-id-27.pt-precision-inner-fix .entry-content .pt-precision-bottom-cta > a:focus {
  background:#d2b16a!important;
  background-image:none!important;
  border-color:#e1c986!important;
  color:#17130c!important;
}
