/* page-legacy-bk-polish.css — page bundle 62ff5a7789c9c9a1 (71/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 .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 .bk20 {
  padding: clamp(58px, 7vw, 92px) 0 clamp(56px, 7vw, 86px);
}
body .bk20 .b20-in {
  max-width: min(1240px, calc(100vw - 40px));
}
body .bk20 .b20-statement {
  grid-template-columns: minmax(260px, 0.43fr) minmax(0, 0.57fr);
}
body .bk20 .b20-statement-major {
  min-height: clamp(300px, 31vw, 410px);
  padding: clamp(34px, 4.6vw, 58px);
  align-items: center;
}
body .bk20 .b20-statement-major h3 {
  max-width: 12.5em;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.04;
}
body .bk20 .b20-statement-points {
  background: #fbf8f4;
  font-size: 15.5px;
  line-height: 1.58;
}
body .bk20 .b20-statement-points > * {
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.8vw, 34px);
}
body .bk20 .b20-statement-points p {
  margin: 0 0 0.8em;
}
body .bk20 .b20-statement-points p:last-child {
  margin-bottom: 0;
}
body.page-id-4510 .bk20 .b20-statement {
  grid-template-columns: minmax(420px, 0.52fr) minmax(0, 0.48fr);
}
body.page-id-4510 .bk20 .b20-statement-major {
  min-height: 0;
  padding: clamp(34px, 4vw, 52px);
}
body.page-id-4510 .bk20 .b20-statement-major h3 {
  max-width: 12.8em;
  font-size: clamp(30px, 2.7vw, 38px);
  line-height: 1.08;
}
@media only screen and (max-width: 980px){
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-statement {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-left,
  body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-right {
    width: auto;
    margin-right: 0;
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-statement-major {
    min-height: 0;
    padding: clamp(30px, 5vw, 48px);
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-statement-points {
    border-left: 0;
    border-top: 1px solid #1f1f21;
  }
}
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-7862, .page-id-9427) .entry-content > .bk56 {
  min-height: 0;
  margin-top: clamp(22px, 3.2vw, 42px) !important;
}
body:is(.page-id-4507, .page-id-11183, .page-id-4721) .bk20 .b20-statement {
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
}
body:is(.page-id-4507, .page-id-11183, .page-id-4721) .bk20 .b20-statement-major {
  min-height: clamp(280px, 27vw, 380px);
  align-items: center;
}
body:is(.page-id-4507, .page-id-11183, .page-id-4721) .bk20 .b20-statement-major h3 {
  max-width: 760px;
  font-size: clamp(29px, 2.55vw, 40px);
  line-height: 1.08;
  overflow-wrap: normal;
  text-wrap: balance;
}
body.page-id-4510 .jt-eeat-resource .jt-eeat-shell {
  width: min(1240px, calc(100vw - 48px));
  max-width: min(1240px, calc(100vw - 48px));
}
@media only screen and (min-width: 1100px){
body.page-id-4510 .jt-eeat-resource .jt-eeat-care-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
    gap: 10px 34px;
    padding: 28px 34px;
  }
body.page-id-4510 .jt-eeat-resource .jt-eeat-care-card > strong {
    grid-row: 1 / span 4;
    align-self: start;
    max-width: 240px;
  }
body.page-id-4510 .jt-eeat-resource .jt-eeat-care-card > :not(strong) {
    grid-column: 2;
  }
body.page-id-4510 .jt-eeat-resource .jt-eeat-care-card p,
  body.page-id-4510 .jt-eeat-resource .jt-eeat-care-card li {
    max-width: 72ch;
    font-size: 15px;
    line-height: 1.56;
  }
}
@media only screen and (max-width: 767px){
body:is(.page-id-4507, .page-id-4510, .page-id-4721) .bk20 .b20-statement-major {
    min-height: 0;
    padding: 24px 18px;
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721) .bk20 .b20-statement-major h3 {
    font-size: clamp(20px, 5.65vw, 23px);
    line-height: 1.14;
    text-wrap: balance;
  }
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;
  }
body:is(.page-id-7862, .page-id-9427, .page-id-11183) .entry-content > .bk43 .b43-right {
    padding: 24px 18px 26px;
  }
body:is(.page-id-7862, .page-id-9427, .page-id-11183) .entry-content > .bk43 .b43-right-in {
    max-width: none;
  }
body:is(.page-id-7862, .page-id-9427, .page-id-11183) .entry-content > .bk43 p {
    max-width: none;
    font-size: 15px;
    line-height: 1.56;
  }
}
/* 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;
  }
body .bk20 {
    padding: 46px 0 54px;
  }
body .bk20 .b20-in {
    max-width: calc(100vw - 24px);
  }
body .bk20 .b20-statement {
    grid-template-columns: 1fr;
  }
body.page-id-11183 .bk20 .b20-statement,
  body.page-id-4510 .bk20 .b20-statement {
    grid-template-columns: 1fr;
  }
body .bk20 .b20-statement-major {
    min-height: 0;
    padding: 26px 22px 28px;
  }
body.page-id-11183 .bk20 .b20-statement-major,
  body.page-id-4510 .bk20 .b20-statement-major {
    min-height: 0;
    padding: 22px 20px 24px;
  }
body .bk20 .b20-statement-major h3 {
    max-width: none;
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.07;
  }
body .bk20 .b20-statement-points {
    border-left: 0;
    border-top: 1px solid #1f1f21;
    font-size: 15px;
    line-height: 1.55;
  }
body .bk20 .b20-statement-points > * {
    padding: 18px 18px;
  }
body.page-id-4510 .bk20 .b20-statement-major h3 {
    font-size: clamp(25px, 7.1vw, 30px);
    line-height: 1.08;
  }
}
@media only screen and (min-width: 641px) and (max-width: 980px){
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-statement {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-left,
  body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-right {
    width: auto;
    margin-right: 0;
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-statement-major {
    min-height: 0;
    padding: clamp(30px, 5vw, 48px);
  }
body:is(.page-id-4507, .page-id-4510, .page-id-4721, .page-id-11183) .bk20 .b20-statement-points {
    border-left: 0;
    border-top: 1px solid #1f1f21;
  }
}
/* 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;
	}
}
