/* page-legacy-bk-polish.css — page bundle edabe3467f233eb4 (29/326 rules, manifest bb108b1802769b86) */
/*
 * Legacy ACF block polish for old editorial blocks that still appear inside
 * posts and clinic pages. Scoped by template/body classes in functions.php.
 */
body .entry-content .bk3,
body .entry-content .bk8 {
  box-sizing: border-box;
  overflow: hidden;
}
/* The 1060px width is the POST editorial rail. /contato/ sets its own full-rail
   width in page-contato.css, so exclude it here — otherwise this !important forces
   a fight that page-contato has to answer with its own !important. */
body:not(.contato-modern-page) .entry-content .bk3,
body:not(.contato-modern-page) .entry-content .bk8 {
  width: min(1060px, calc(100vw - 40px)) !important;
  max-width: min(1060px, calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* 2026-06-27: bk8 aligned to the shared 1180px card-rail (was 1060px centered,
   ~60px inside the rail -> visually misaligned vs bk1/jt blocks on posts). bk3
   keeps its narrower 1060px editorial width. Width-only; structure unchanged. */
body .entry-content .bk3 {
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid #d8cec6;
  background: #fbf8f4;
  color: #332d28;
  font-family: Roobert, Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 300;
  line-height: 1.66;
  text-align: left;
}
body .entry-content .bk3-q::before {
  content: none !important;
  display: none !important;
}
body .entry-content .bk3 .b3-in {
  max-width: 72ch;
  margin: 0 auto;
}
body .entry-content .bk3 .b3-in::before {
  content: "Ponto de atenção";
  display: block;
  margin: 0 0 14px;
  color: #8f665d;
  font-family: Roobert, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
body .entry-content .bk3 p {
  margin: 0 0 0.9em;
}
body .entry-content .bk3 p:last-child,
body .entry-content .bk3 .b3-in > *:last-child {
  margin-bottom: 0;
}
body .entry-content .bk3 a {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #075e54 !important;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body .entry-content .bk3 a:hover {
  color: #064c43 !important;
}
body.single-post article.entry .entry-content .bk3 p > a[href*="wa.me"][style*="text-decoration"]:not([style*="background"]),
body.single-post article.entry .entry-content .bk3 p > a[href*="whatsapp"][style*="text-decoration"]:not([style*="background"]),
body.single-post .entry-content .bk3 p > a[href*="wa.me"][style*="text-decoration"]:not([style*="background"]),
body.single-post .entry-content .bk3 p > a[href*="whatsapp"][style*="text-decoration"]:not([style*="background"]),
body.single-post article.entry .entry-content .bk3 p a:not(:only-child),
body.single-post article.entry .entry-content .bk3 span a,
body.single-post .entry-content .bk3 p a:not(:only-child),
body.single-post .entry-content .bk3 span a {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #075e54 !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: inherit !important;
  text-align: inherit !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  text-transform: none !important;
}
body .entry-content .bk3 p > a[style*="background"]:only-child,
body .entry-content .bk3 .b3-in > a[style*="background"]:only-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  margin: 12px 8px 0 0;
  padding: 12px 18px;
  border: 1px solid #075e54;
  border-radius: 4px;
  background: #075e54 !important;
  color: #f7fbf8 !important;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
}
body .entry-content .bk3 p > a[style*="background"]:only-child:hover,
body .entry-content .bk3 .b3-in > a[style*="background"]:only-child:hover {
  background: #064c43 !important;
  color: #f7fbf8 !important;
}
/* 2026-09-21 grid fix F5: the one-column post variant only capped the row text at 78ch (x=161 inside the 958px row interior); title
   and description now take the text rail, centred in the symmetric interior (704 → x=288). The ::before numeral travels with the title. */
body:is(.page-id-4507, .page-id-11183, .page-id-4721, .page-id-7862, .page-id-9427) .entry-content > :is(.bk11, .bk22, .bk42, .bk43, .bk58, .bk64, .bk56) {
  box-sizing: border-box;
  width: min(1240px, calc(100vw - 48px)) !important;
  max-width: min(1240px, calc(100vw - 48px)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: hidden;
}
body:is(.page-id-4507, .page-id-11183, .page-id-4721, .page-id-7862, .page-id-9427) .entry-content > .bk11 {
  width: min(980px, calc(100vw - 48px)) !important;
  max-width: min(980px, calc(100vw - 48px)) !important;
}
@media only screen and (max-width: 767px){
body.page-id-4721 .bk20 .b20-statement-points h3,
  body.page-id-9427 .entry-content .bk1 h4,
  body:is(.page-id-7862, .page-id-9427) .entry-content .bk3 h4,
  body:is(.page-id-7862, .page-id-9427) .entry-content .bk43 h4,
  body.page-id-4510 .entry-content .bk3 h3 {
    font-size: clamp(20px, 5.55vw, 23px);
    line-height: 1.16;
    text-wrap: balance;
  }
}
/* 2026-10-20: stacked article sections share the surrounding prose rail.
   Media-break layouts retain their own grid. Narrow cards use their own width. */
@media only screen and (min-width: 1024px){
/* 2026-09-21 grid fix F6 (2-column grid only): the tile's clamp(22px,5vw,64px) side padding ate 22% of each 590px cell (text at
     115/705); 20px lateral = the .jt-up15__item inset on the same pages → 71/661. One-column bk7 (fewer than 5 rows) is untouched. */
/* 2026-09-18: an odd row count left an empty bordered cell in the last grid row — the last odd row spans both tracks */
}
@media only screen and (max-width: 640px){
body:not(.contato-modern-page) .entry-content .bk3,
  body:not(.contato-modern-page) .entry-content .bk8 {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }
body .entry-content .bk3 {
    padding: 22px 20px 24px;
    font-size: 15.5px;
    line-height: 1.58;
  }
body .entry-content .bk3 .b3-in::before {
    margin-bottom: 12px;
  }
body .entry-content .bk3 p > a[style*="background"]:only-child,
  body .entry-content .bk3 .b3-in > a[style*="background"]:only-child {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }
}
/* 2026-09-05 G3: bk3 was the last block on the retired 1060px ".w" editorial
   rail (bk5/bk7/bk8 left it on 2026-06-27). Rail it like the k6 readable card
   (760 text rail + 2×42px padding); its 72ch inner column already fits. */
@media (min-width:768px){
body:not(.contato-modern-page) .entry-content .bk3{
		width:min(844px, calc(100vw - 40px))!important;
		max-width:min(844px, calc(100vw - 40px))!important;
	}
}
