/*
 * Focused visual polish for the MD Codes article.
 */

body.postid-4118.single-post{
	--jt-md-ink:oklch(18% 0.006 286);
	--jt-md-soft:oklch(34% 0.009 286);
	--jt-md-muted:oklch(48% 0.012 70);
	--jt-md-paper:oklch(95.5% 0.012 67);
	--jt-md-surface:oklch(98.5% 0.006 70);
	--jt-md-line:oklch(78% 0.014 70);
	--jt-md-teal:oklch(40% 0.085 179);
}

body.postid-4118.single-post .entry-content .bk1.bg-grey{
	box-sizing:border-box;
	width:min(1120px, calc(100vw - 44px));
	max-width:1120px;
	margin:clamp(46px, 6vw, 78px) auto;
	padding:clamp(46px, 5vw, 68px) clamp(28px, 5vw, 64px) clamp(50px, 5.4vw, 76px)!important;
	border-color:var(--jt-md-line);
	background:var(--jt-md-surface);
	overflow:hidden;
}

body.postid-4118.single-post .entry-content .bk1.bg-grey > h2,
body.postid-4118.single-post .entry-content .bk1.bg-grey > h3{
	margin-top:0!important;
	margin-bottom:clamp(24px, 3vw, 36px)!important;
	text-wrap:balance;
}

body.postid-4118.single-post .entry-content .bk1.bg-grey > p,
body.postid-4118.single-post .entry-content .bk1.bg-grey > ul,
body.postid-4118.single-post .entry-content .bk1.bg-grey > ol{
	max-width:72ch;
	margin-right:auto;
	margin-left:auto;
}

body.postid-4118.single-post .entry-content .bk1.bg-grey > :last-child{
	margin-bottom:0!important;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118{
	width:min(1060px, calc(100vw - 44px));
	max-width:1060px;
	margin:clamp(52px, 6vw, 82px) auto clamp(58px, 6vw, 88px);
	border-color:var(--jt-md-line);
	background:var(--jt-md-paper);
	overflow:hidden;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__copy{
	display:grid;
	grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
	gap:clamp(24px, 4vw, 58px);
	align-items:end;
	padding:clamp(28px, 4vw, 46px);
	background:var(--jt-md-surface);
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__kicker{
	margin:0 0 14px;
	color:var(--jt-md-teal);
	font-size:12px;
	font-weight:800;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 h2{
	max-width:13em;
	font-size:clamp(28px, 3.1vw, 44px);
	font-weight:700;
	line-height:1.04;
	text-wrap:balance;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 p{
	max-width:38ch;
	margin:0;
	color:var(--jt-md-soft);
	font-size:clamp(17px, 1.7vw, 24px);
	font-weight:300;
	line-height:1.48;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid,
body.postid-4118.single-post .entry-content .jt-owned-media-4118.jt-owned-authority-media--post.jt-owned-authority-media--count-3 .jt-owned-authority-media__grid,
body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid:has(> figure:nth-child(3):last-child){
	height:clamp(430px, 39vw, 540px)!important;
	min-height:0;
	display:grid;
	grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr);
	grid-template-rows:repeat(2, minmax(0, 1fr));
	gap:1px;
	background:var(--jt-md-line);
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure{
	width:auto!important;
	max-width:none!important;
	min-height:0;
	margin:0!important;
	padding:0!important;
	overflow:hidden!important;
	background:var(--jt-md-ink);
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure--lead,
body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid:has(> figure:nth-child(3):last-child) > figure:first-child{
	grid-row:1 / span 2;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure img,
body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid > figure > img{
	display:block!important;
	width:100%!important;
	max-width:100%!important;
	height:100%!important;
	max-height:none!important;
	margin:0!important;
	min-height:0;
	aspect-ratio:auto;
	object-fit:cover!important;
	filter:saturate(.98) contrast(1.03);
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure--lead img{
	object-position:center 42%;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure:nth-child(2) img{
	object-position:center 44%;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure:nth-child(3) img{
	object-position:center 52%;
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 figcaption{
	padding:13px 16px;
	background:oklch(17% 0.006 286 / .78);
	color:oklch(96% 0.006 70);
	font-size:12px;
	font-weight:800;
	line-height:1.18;
	letter-spacing:0;
	backdrop-filter:blur(8px);
}

body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure--lead figcaption{
	background:oklch(36% 0.082 179 / .9);
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"]{
	position:relative;
	left:50%;
	width:min(1120px, calc(100vw - 44px));
	max-width:1120px;
	margin:clamp(58px, 7vw, 94px) 0 clamp(54px, 7vw, 88px);
	transform:translateX(-50%);
	border:1px solid var(--jt-md-line);
	background:var(--jt-md-ink)!important;
	color:oklch(95% 0.008 70)!important;
	overflow:hidden;
	isolation:isolate;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"]::before{
	content:"";
	position:absolute;
	inset:0 0 0 auto;
	z-index:-1;
	width:min(46%, 460px);
	background:
		linear-gradient(90deg, oklch(18% 0.006 286), oklch(18% 0.006 286 / .68)),
		url("/wp-content/uploads/2022/08/CLINICA-AL-JAU-695-JULIANA-TOMA-860x1024.jpg") center 42% / cover no-repeat;
	opacity:.62;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-group__inner-container{
	max-width:720px;
	margin:0;
	padding:clamp(46px, 5vw, 66px) clamp(28px, 6vw, 74px) clamp(50px, 5.5vw, 72px);
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-spacer{
	display:none;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] p,
body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] h2{
	max-width:640px;
	margin-left:0!important;
	margin-right:0!important;
	text-align:left!important;
	color:inherit!important;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] p:first-of-type{
	margin:0 0 14px;
	color:oklch(86% 0.035 24)!important;
	font-family:Roobert,"Helvetica Neue",Arial,sans-serif;
	font-size:12px!important;
	font-weight:800;
	line-height:1.2!important;
	text-transform:uppercase;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] h2{
	max-width:10.8em;
	margin:0 0 clamp(22px, 2.5vw, 30px)!important;
	font-size:clamp(38px, 4.2vw, 58px)!important;
	font-weight:700;
	line-height:.98!important;
	text-wrap:balance;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] p:nth-of-type(2){
	max-width:31em;
	margin-bottom:16px!important;
	color:oklch(95% 0.006 70)!important;
	font-family:Roobert,"Helvetica Neue",Arial,sans-serif;
	font-size:clamp(17px, 1.55vw, 22px)!important;
	font-weight:700;
	line-height:1.32!important;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] p:not(:first-of-type):not(:nth-of-type(2)){
	color:oklch(88% 0.012 70)!important;
	font-size:clamp(15px, 1.22vw, 18px)!important;
	line-height:1.62!important;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-buttons{
	justify-content:flex-start!important;
	margin-top:clamp(26px, 3vw, 34px);
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-button{
	width:auto!important;
	flex-basis:auto!important;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-button__link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:min(100%, 310px);
	min-height:52px;
	padding:16px 28px!important;
	border:1px solid oklch(87% 0.038 24);
	border-radius:999px!important;
	background:oklch(93% 0.012 70)!important;
	color:var(--jt-md-ink)!important;
	font-family:Roobert,"Helvetica Neue",Arial,sans-serif;
	font-size:12.5px!important;
	font-weight:900;
	line-height:1.1;
	letter-spacing:0;
	text-transform:uppercase;
	text-decoration:none;
	box-shadow:0 18px 34px oklch(10% 0.004 286 / .26);
	transition:transform .18s ease, background-color .18s ease, border-color .18s ease;
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-button__link::after{
	content:"";
	width:7px;
	height:7px;
	margin-left:12px;
	border-top:2px solid currentColor;
	border-right:2px solid currentColor;
	transform:rotate(45deg);
}

body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-button__link:hover{
	border-color:oklch(95% 0.006 70);
	background:oklch(98% 0.004 70)!important;
	transform:translateY(-1px);
}

@media (max-width: 900px){
	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__copy{
		grid-template-columns:1fr;
		align-items:start;
		gap:18px;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid,
	body.postid-4118.single-post .entry-content .jt-owned-media-4118.jt-owned-authority-media--post.jt-owned-authority-media--count-3 .jt-owned-authority-media__grid,
	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid:has(> figure:nth-child(3):last-child){
		height:auto!important;
		grid-template-columns:1fr 1fr;
		grid-template-rows:auto;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure--lead,
	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid:has(> figure:nth-child(3):last-child) > figure:first-child{
		grid-column:1 / -1;
		grid-row:auto;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure img,
	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid > figure > img{
		aspect-ratio:4 / 3;
		height:auto;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__figure--lead img{
		aspect-ratio:16 / 11;
	}
}

@media (max-width: 720px){
	body.postid-4118.single-post .entry-content .jt-owned-media-4118{
		width:100%;
		margin:44px 0 58px;
		border-left:0;
		border-right:0;
	}

	body.postid-4118.single-post .entry-content .bk1.bg-grey{
		width:100%;
		margin:42px 0 54px;
		padding:34px 22px 42px!important;
		border-right:0;
		border-left:0;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__copy{
		padding:30px 22px;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 h2{
		font-size:30px;
	}

	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid,
	body.postid-4118.single-post .entry-content .jt-owned-media-4118.jt-owned-authority-media--post.jt-owned-authority-media--count-3 .jt-owned-authority-media__grid,
	body.postid-4118.single-post .entry-content .jt-owned-media-4118 .jt-owned-authority-media__grid:has(> figure:nth-child(3):last-child){
		grid-template-columns:1fr;
	}

	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"]{
		width:100%;
		margin:48px 0 62px;
		border-right:0;
		border-left:0;
	}

	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"]::before{
		inset:auto 0 0;
		width:100%;
		height:160px;
		background:
			linear-gradient(180deg, oklch(18% 0.006 286 / 0), oklch(18% 0.006 286)),
			url("/wp-content/uploads/2022/08/CLINICA-AL-JAU-695-JULIANA-TOMA-860x1024.jpg") center 38% / cover no-repeat;
		opacity:.42;
	}

	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-group__inner-container{
		padding:40px 22px 180px;
	}

	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] h2{
		max-width:9.5em;
		font-size:38px!important;
	}

	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-buttons{
		display:grid;
		grid-template-columns:1fr;
		width:100%;
		max-width:340px;
	}

	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-button,
	body.postid-4118.single-post .entry-content > .wp-block-group.alignfull[style*="background-color:#abb7c224"] .wp-block-button__link{
		width:100%!important;
	}
}
