/* Beula V6.2 - ONLY legacy About, Contact and Book landing pages.
   Font/spacing parity with [beula_homepage] and [beula_programs]. */

/* Replace Astra / old Elementor typography without changing the header/logo,
   checkout, WooCommerce product cards or Tutor LMS pages. */
body.bd-v62-legacy-page .site-content :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,small,strong,em,span,label,input,textarea,select,button,a),
body.bd-v62-legacy-page .site-content .elementor-heading-title,
body.bd-v62-legacy-page .site-content .wp-block-heading {
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.bd-v62-legacy-page .site-content :is(h1,h2,h3,h4),
body.bd-v62-legacy-page .site-content .elementor-heading-title {
  font-weight:800!important;
  letter-spacing:-.035em;
}
body.bd-v62-legacy-page .site-content :is(p,li) {
  line-height:1.75;
}
body.bd-v62-legacy-page .site-content :is(button,.elementor-button,.wp-block-button__link) {
  font-weight:700;
}

/* WP Astra puts a pale line above old Elementor blocks because content
   shells retain their spacing and background, not because of a visible border. */
body.bd-v62-legacy-page .site-header,
body.bd-v62-legacy-page .ast-primary-header-bar,
body.bd-v62-legacy-page .main-header-bar {
  margin-bottom:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
body.bd-v62-legacy-page #content,
body.bd-v62-legacy-page .site-content {
  margin-top:0!important;
  padding-top:0!important;
  border-top:0!important;
}
body.bd-v62-legacy-page .site-content > .ast-container,
body.bd-v62-legacy-page #content > .ast-container {
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
}
body.bd-v62-legacy-page #primary,
body.bd-v62-legacy-page .site-content .content-area,
body.bd-v62-legacy-page .site-content .site-main,
body.bd-v62-legacy-page .site-content article,
body.bd-v62-legacy-page .site-content article > .entry-content {
  width:100%!important;
  max-width:none!important;
  padding-top:0!important;
  margin-top:0!important;
  border-top:0!important;
}
body.bd-v62-legacy-page .site-content article > .entry-content {
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body.bd-v62-legacy-page .site-content .entry-header:empty,
body.bd-v62-legacy-page .site-content :is(.entry-content > p:empty,.entry-content > div:empty,.wp-block-spacer,.elementor-widget-spacer) {
  display:none!important;
}
body.bd-v62-legacy-page .site-content .entry-content > :first-child { margin-top:0!important; }
body.bd-v62-legacy-page .site-content .entry-content > :last-child { margin-bottom:0!important; }

/* Mask leftover gaps with each page's intended canvas, not a generic white strip.
   Preserve any intentional cream sections and white cards inside content. */
body.bd-v62-about-us,body.bd-v62-book,body.bd-v62-books,
body.bd-v62-about-us #page,body.bd-v62-book #page,body.bd-v62-books #page,
body.bd-v62-about-us #content,body.bd-v62-book #content,body.bd-v62-books #content,
body.bd-v62-about-us .site-content,body.bd-v62-book .site-content,body.bd-v62-books .site-content,
body.bd-v62-about-us .site-main,body.bd-v62-book .site-main,body.bd-v62-books .site-main {
  background-color:#101010!important;
}
body.bd-v62-contact,body.bd-v62-contact-2,
body.bd-v62-contact #content,body.bd-v62-contact-2 #content,
body.bd-v62-contact .site-content,body.bd-v62-contact-2 .site-content {
  background-color:#f8f4e8!important;
}
/* Do not undo cards, WooCommerce product detail or the black/gold section colors. */
body.bd-v62-legacy-page :is(.elementor-widget-wrap,.e-con,.wp-block-group) > .wp-block-spacer { display:none!important; }

@media(max-width:767px) {
 body.bd-v62-legacy-page .site-content > .ast-container,
 body.bd-v62-legacy-page #content > .ast-container {padding:0!important}
 body.bd-v62-legacy-page .site-content :is(h1,h2,h3,h4) {overflow-wrap:break-word}
}
