/* page-legacy-bk-polish.css — page bundle 2aabd6dfd703119a (61/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;
}
@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 */
}
body.single-post .entry-content .bk5.w {
  box-sizing: border-box;
  /* 2026-06-27: was 1120px -> centered 30px inside the rail (same family as bk7).
     Snap to the card-rail so bk5 lines up with the other content blocks. */
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px);
  background: #fbf8f4;
  border: 1px solid #d8cec6;
}
body.single-post .entry-content .bk5 .b5-tit {
  max-width: 880px;
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: #1f1a17;
  font-family: Roobert, Arial, Helvetica, sans-serif;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}
body.single-post .entry-content .bk5 .b5-w {
  display: block;
}
body.single-post .entry-content .bk5 .b5-w:has(.b5-side) {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
body.single-post .entry-content .bk5 .b5-left {
  min-width: 0;
}
body.single-post .entry-content .bk5 .b5-left p {
  max-width: 74ch;
  margin-bottom: 1.05em;
  color: #39332f;
  font-size: 16px;
  line-height: 1.76;
}
body.single-post .entry-content .bk5 .b5-left table {
  width: 100%;
  margin: clamp(22px, 3vw, 32px) 0 0;
  border: 1px solid #d8cec6;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}
body.single-post .entry-content .bk5 .b5-left th,
body.single-post .entry-content .bk5 .b5-left td {
  border: 1px solid #d8cec6;
  padding: 14px 16px;
  color: #332d28;
  font-size: 14.5px;
  line-height: 1.55;
  vertical-align: top;
}
body.single-post .entry-content .bk5 .b5-left th,
body.single-post .entry-content .bk5 .b5-left td:first-child {
  width: 150px;
  background: #f3eee8;
  color: #231e1a;
  font-family: Roobert, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
body.single-post .entry-content .bk5 .b5-side {
  width: auto;
  max-width: none;
  margin: 0;
  border: 1px solid #d8cec6;
  padding: clamp(18px, 2.3vw, 26px);
  background: #fff;
  color: #28221d !important;
  font-family: Roobert, Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.48;
}
body.single-post .entry-content .bk5 .b5-side.b5-sum{
	font-size:clamp(15px, 1.25vw, 17px);
	line-height:1.5;
}
body.single-post .entry-content .bk5 .b5-side p:last-child,
body.single-post .entry-content .bk5 .b5-side > *:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 980px){
body.single-post .entry-content .bk5 .b5-w:has(.b5-side) {
    grid-template-columns: minmax(0, 1fr);
  }
body.single-post .entry-content .bk5 .b5-side {
    margin-top: 24px;
  }
}
@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;
  }
body.single-post .entry-content .bk0.w,
  body .entry-content .bk7.w,
  body.single-post .entry-content .bk5.w {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }
body.single-post .entry-content .bk5.w {
    padding: 24px 18px;
  }
body.single-post .entry-content .bk5 .b5-left p {
    margin-bottom: 0.82em;
    font-size: 15px;
    line-height: 1.58;
  }
body.single-post .entry-content .bk5 .b5-left table {
    table-layout: auto;
  }
body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) {
    display: block;
    border: 0;
    background: transparent;
  }
body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) tbody,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) thead,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) tr,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) th,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) td {
    display: block;
    width: 100% !important;
  }
body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) tr {
    margin: 0 0 10px;
    border: 1px solid #d8cec6;
    background: #fff;
  }
body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) th,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) td {
    border: 0;
    padding: 12px 13px;
  }
body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) th:first-child,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) td:first-child {
    background: #f3eee8;
    font-size: 11px;
    line-height: 1.2;
  }
body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) th + th,
  body.single-post .entry-content .bk5 .b5-left table:not(.jt-auto-card-table) td + td {
    border-top: 1px solid #d8cec6;
  }
body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
  }
body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table tbody,
  body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table thead {
    display: table-row-group !important;
  }
body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table tr,
  body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table tr.jt-auto-card-header-row {
    display: table-row !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table th,
  body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table td {
    display: table-cell !important;
    width: auto !important;
  }
body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table th:first-child,
  body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table td:first-child {
    width: 48% !important;
    font-size: 12px !important;
    line-height: 1.25;
    text-transform: none;
  }
body.single-post .entry-content .bk5 .b5-left table.jt-auto-card-table td::before {
    content: none !important;
    display: none !important;
  }
body.single-post .entry-content .bk5 .b5-left th,
  body.single-post .entry-content .bk5 .b5-left td {
    padding: 10px 10px;
    font-size: 13px;
  }
body.single-post .entry-content .bk5 .b5-left th,
  body.single-post .entry-content .bk5 .b5-left td:first-child {
    width: 34%;
    font-size: 11px;
  }
body.single-post .entry-content .bk5 .b5-side {
    padding: 16px;
    font-size: 15.5px;
    line-height: 1.5;
  }
}
/* 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;
	}
}
