/* Treatment category archive modernization, scoped to taxonomy pages. */
body.tax-treatment_categories{
	--tax-ink:oklch(0.19 0.012 72);
	--tax-ink-soft:oklch(0.31 0.012 72);
	--tax-muted:oklch(0.48 0.014 72);
	--tax-paper:oklch(0.93 0.018 70);
	--tax-surface:oklch(0.975 0.01 70);
	--tax-surface-strong:oklch(0.885 0.022 74);
	--tax-line:oklch(0.74 0.018 70);
	--tax-dark:oklch(0.17 0.014 285);
	--tax-dark-soft:oklch(0.25 0.012 285);
	--tax-light:oklch(0.94 0.011 70);
	--tax-accent:oklch(0.38 0.067 172);
	background:var(--tax-paper);
	color:var(--tax-ink);
}

body.tax-treatment_categories .site-container,
body.tax-treatment_categories .p6-out{
	background:var(--tax-paper);
}

body.tax-treatment_categories .genesis-nav-menu .menu-r a{
	min-height:48px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border:1px solid var(--tax-light);
	border-radius:0;
	background:var(--tax-light);
	box-shadow:none;
	color:var(--tax-dark)!important;
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:13px;
	font-weight:800;
	line-height:1;
	text-transform:uppercase;
}

body.tax-treatment_categories .genesis-nav-menu .menu-r,
body.tax-treatment_categories .genesis-nav-menu .menu-r:hover{
	padding:0;
	border:0;
	border-radius:0;
	background:transparent;
	box-shadow:none;
	transform:none;
}

body.tax-treatment_categories .genesis-nav-menu .menu-r a:hover,
body.tax-treatment_categories .genesis-nav-menu .menu-r a:focus{
	background:var(--tax-accent);
	border-color:var(--tax-accent);
	color:var(--tax-light)!important;
}

body.tax-treatment_categories.p6 .p6-h{
	min-height:clamp(620px,84vh,860px);
	isolation:isolate;
	overflow:hidden;
	background-position:center;
}

body.tax-treatment_categories.p6 .p6-h::before{
	content:"";
	position:absolute;
	inset:0;
	z-index:0;
	background:
		linear-gradient(90deg, oklch(0.11 0.01 285 / 0.92) 0%, oklch(0.16 0.014 285 / 0.84) 43%, oklch(0.44 0.02 70 / 0.22) 100%),
		linear-gradient(0deg, oklch(0.1 0.01 285 / 0.52), oklch(0.1 0.01 285 / 0.12));
}

body.tax-treatment_categories.p6 .p6-h::after{
	content:"";
	position:absolute;
	left:5vw;
	right:5vw;
	bottom:42px;
	z-index:1;
	height:1px;
	background:oklch(0.94 0.011 70 / 0.45);
}

body.tax-treatment_categories.p6 .p6-ov{
	position:relative;
	z-index:2;
	display:grid;
	grid-template-columns:repeat(12,minmax(0,1fr));
	gap:22px 32px;
	align-content:end;
	width:100%;
	max-width:1480px;
	min-height:inherit;
	padding:clamp(150px,20vh,240px) 5vw clamp(78px,12vh,132px);
}

body.tax-treatment_categories.p6 .p6-tag-t{
	grid-column:1 / 4;
	margin:0;
	color:var(--tax-light);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:13px;
	font-weight:700;
	line-height:1.15;
	letter-spacing:0;
	text-transform:uppercase;
}

body.tax-treatment_categories.p6 .p6-tit{
	grid-column:1 / 10;
	max-width:13ch;
	margin:0;
	color:var(--tax-light);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:clamp(60px,7.9vw,116px);
	font-weight:800;
	line-height:0.88;
	letter-spacing:0;
	text-wrap:balance;
}

body.tax-treatment_categories.p6 .p6-tag-b{
	grid-column:9 / 13;
	align-self:end;
	max-width:34ch;
	margin:0;
	padding-top:22px;
	border-top:1px solid oklch(0.94 0.011 70 / 0.48);
	color:oklch(0.9 0.012 70);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:17px;
	font-weight:300;
	line-height:1.55;
}

body.tax-treatment_categories.p6 .p6-tag-b p{
	margin:0;
	color:inherit;
	font-size:inherit;
	line-height:inherit;
}

body.tax-treatment_categories.p6 .p6-hero-proof{
	grid-column:1 / 9;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-top:12px;
}

body.tax-treatment_categories.p6 .p6-hero-proof span{
	min-height:40px;
	display:inline-flex;
	align-items:center;
	padding:10px 13px;
	border:1px solid oklch(0.94 0.011 70 / 0.34);
	color:var(--tax-light);
	background:oklch(0.12 0.012 285 / 0.34);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:12px;
	font-weight:700;
	line-height:1.2;
	text-transform:uppercase;
}

body.tax-treatment_categories.p6 .p6-hero-actions{
	grid-column:9 / 13;
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	align-self:start;
}

body.tax-treatment_categories.p6 .p6-hero-cta{
	min-height:46px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:13px 18px;
	border:1px solid oklch(0.94 0.011 70 / 0.56);
	color:var(--tax-light);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:12px;
	font-weight:800;
	line-height:1;
	text-transform:uppercase;
	text-decoration:none;
	transition:background-color .22s ease, color .22s ease, border-color .22s ease;
}

body.tax-treatment_categories.p6 .p6-hero-cta-primary{
	background:var(--tax-light);
	border-color:var(--tax-light);
	color:var(--tax-dark);
}

body.tax-treatment_categories.p6 .p6-hero-cta:hover,
body.tax-treatment_categories.p6 .p6-hero-cta:focus{
	background:var(--tax-accent);
	border-color:var(--tax-accent);
	color:var(--tax-light);
}

body.tax-treatment_categories.p6 .downs{
	display:none;
}

body.tax-treatment_categories.p6 .p6-in{
	max-width:1480px;
	margin:0 auto;
	padding:clamp(46px,7vw,90px) 5vw clamp(70px,8vw,110px);
}

body.tax-treatment_categories .tax-archive-guide{
	display:grid;
	grid-template-columns:minmax(150px,1.25fr) minmax(0,5fr) minmax(230px,1.8fr);
	gap:0;
	margin:0 0 clamp(28px,4vw,54px);
	border:1px solid var(--tax-line);
	background:var(--tax-surface);
}

body.tax-treatment_categories .tax-guide-kicker,
body.tax-treatment_categories .tax-guide-main,
body.tax-treatment_categories .tax-guide-side{
	padding:clamp(22px,3vw,38px);
}

body.tax-treatment_categories .tax-guide-kicker{
	border-right:1px solid var(--tax-line);
	color:var(--tax-muted);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:12px;
	font-weight:800;
	line-height:1.2;
	text-transform:uppercase;
}

body.tax-treatment_categories .tax-guide-main h2{
	max-width:18ch;
	margin:0 0 14px;
	color:var(--tax-ink);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:clamp(32px,3.4vw,58px);
	font-weight:800;
	line-height:0.98;
	letter-spacing:0;
	text-wrap:balance;
}

body.tax-treatment_categories .tax-guide-main p{
	max-width:64ch;
	margin:0;
	color:var(--tax-ink-soft);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:17px;
	font-weight:300;
	line-height:1.62;
}

body.tax-treatment_categories .tax-guide-side{
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	gap:24px;
	background:var(--tax-dark);
	color:var(--tax-light);
}

body.tax-treatment_categories .tax-guide-count strong{
	display:block;
	color:var(--tax-light);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:clamp(44px,4.6vw,76px);
	font-weight:800;
	line-height:0.85;
}

body.tax-treatment_categories .tax-guide-count span{
	display:block;
	margin-top:10px;
	color:oklch(0.82 0.012 70);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:13px;
	font-weight:700;
	line-height:1.2;
	text-transform:uppercase;
}

body.tax-treatment_categories .tax-guide-cta{
	min-height:46px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	align-self:flex-start;
	padding:14px 18px;
	border:1px solid oklch(0.94 0.011 70 / 0.72);
	color:var(--tax-light);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:12px;
	font-weight:800;
	line-height:1;
	text-transform:uppercase;
	text-decoration:none;
	transition:background-color .22s ease, border-color .22s ease, color .22s ease;
}

body.tax-treatment_categories .tax-guide-cta:hover,
body.tax-treatment_categories .tax-guide-cta:focus{
	background:var(--tax-light);
	border-color:var(--tax-light);
	color:var(--tax-dark);
}

body.tax-treatment_categories .tax-all{
	counter-reset:treatment-card;
	display:grid;
	grid-template-columns:repeat(12,minmax(0,1fr));
	gap:1px;
	border:1px solid var(--tax-line);
	background:var(--tax-line);
}

body.tax-treatment_categories .tax-item,
body.tax-treatment_categories .tax-item:nth-of-type(n),
body.tax-treatment_categories .tax-item:nth-of-type(2n),
body.tax-treatment_categories .tax-item:nth-of-type(3n){
	counter-increment:treatment-card;
	width:auto;
	margin:0;
	display:grid;
	grid-template-rows:auto minmax(0,1fr);
	grid-column:span 4;
	min-height:520px;
	overflow:hidden;
	background:var(--tax-surface);
}

body.tax-treatment_categories .tax-item:nth-child(1),
body.tax-treatment_categories .tax-item:nth-child(2){
	grid-column:span 6;
	min-height:600px;
}

body.tax-treatment_categories .tax-item::before{
	content:counter(treatment-card, decimal-leading-zero);
	position:absolute;
	z-index:2;
	top:14px;
	left:14px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:48px;
	min-height:32px;
	padding:0 10px;
	background:var(--tax-light);
	color:var(--tax-dark);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:12px;
	font-weight:800;
	line-height:1;
}

body.tax-treatment_categories .tax-img{
	aspect-ratio:16 / 10;
	display:block;
	overflow:hidden;
	background:var(--tax-surface-strong);
}

body.tax-treatment_categories .tax-img img{
	width:100%;
	height:100%;
	display:block;
	object-fit:cover;
	filter:saturate(.9) contrast(1.03);
	transition:transform .7s cubic-bezier(.22,1,.36,1), filter .7s cubic-bezier(.22,1,.36,1);
}

body.tax-treatment_categories .tax-item:hover .tax-img img,
body.tax-treatment_categories .tax-item:focus-within .tax-img img{
	transform:scale(1.035);
	filter:saturate(1) contrast(1.08);
}

body.tax-treatment_categories .tax-box{
	display:grid;
	grid-template-rows:auto auto 1fr auto;
	gap:0;
	padding:clamp(24px,3vw,42px);
}

body.tax-treatment_categories .tax-tit,
body.tax-treatment_categories .tax-tit:hover,
body.tax-treatment_categories .tax-tit h3,
body.tax-treatment_categories .tax-tit:hover h3{
	color:var(--tax-ink);
	text-decoration:none;
}

body.tax-treatment_categories .tax-tit h3{
	max-width:15ch;
	margin:0 0 22px;
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:clamp(26px,2.35vw,42px);
	font-weight:800;
	line-height:1.02;
	letter-spacing:0;
	text-wrap:balance;
	overflow-wrap:break-word;
}

body.tax-treatment_categories .tax-item:nth-child(n+3) .tax-tit h3{
	font-size:clamp(24px,2vw,34px);
	line-height:1.04;
}

body.tax-treatment_categories .tax-box p{
	display:-webkit-box;
	-webkit-line-clamp:4;
	-webkit-box-orient:vertical;
	overflow:hidden;
	max-width:58ch;
	margin:0 0 28px;
	color:var(--tax-ink-soft);
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:15px;
	font-weight:300;
	line-height:1.58;
}

body.tax-treatment_categories .p6-butt{
	position:relative;
	bottom:auto;
	width:max-content;
	min-height:42px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin:auto 0 0;
	padding:12px 14px;
	border:1px solid var(--tax-ink);
	color:var(--tax-ink)!important;
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
	font-size:12px;
	font-weight:800;
	line-height:1;
	text-decoration:none;
	text-transform:uppercase;
	transition:background-color .22s ease, color .22s ease, border-color .22s ease;
}

body.tax-treatment_categories .p6-butt::after{
	content:"";
	position:static;
	width:28px;
	height:1px;
	margin-left:12px;
	background:currentColor;
	transform:none;
	transition:width .22s ease;
}

body.tax-treatment_categories .p6-butt:hover,
body.tax-treatment_categories .p6-butt:focus{
	background:var(--tax-dark);
	border-color:var(--tax-dark);
	color:var(--tax-light)!important;
}

body.tax-treatment_categories .p6-butt:hover::after,
body.tax-treatment_categories .p6-butt:focus::after{
	width:38px;
}

body.tax-treatment_categories .archive-pagination{
	margin:clamp(34px,5vw,68px) 0 0;
	font-family:Roobert, "Helvetica Neue", Arial, sans-serif;
}

body.tax-treatment_categories .archive-pagination ul{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	justify-content:center;
	margin:0;
	padding:0;
}

body.tax-treatment_categories .archive-pagination li{
	list-style:none;
	margin:0;
}

body.tax-treatment_categories .archive-pagination a{
	min-height:42px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:11px 14px;
	border:1px solid var(--tax-line);
	background:var(--tax-surface);
	color:var(--tax-ink);
	font-size:12px;
	font-weight:800;
	text-decoration:none;
	text-transform:uppercase;
}

body.tax-treatment_categories .archive-pagination .active a,
body.tax-treatment_categories .archive-pagination a:hover,
body.tax-treatment_categories .archive-pagination a:focus{
	background:var(--tax-dark);
	border-color:var(--tax-dark);
	color:var(--tax-light);
}

@media only screen and (max-width: 1180px){
	body.tax-treatment_categories.p6 .p6-tit{
		grid-column:1 / 10;
		font-size:clamp(54px,8vw,92px);
	}

	body.tax-treatment_categories.p6 .p6-tag-b,
	body.tax-treatment_categories.p6 .p6-hero-actions{
		grid-column:1 / 10;
		max-width:56ch;
	}

	body.tax-treatment_categories.p6 .p6-hero-proof{
		grid-column:1 / 13;
	}

	body.tax-treatment_categories .tax-archive-guide{
		grid-template-columns:1fr 2fr;
	}

	body.tax-treatment_categories .tax-guide-kicker{
		grid-column:1 / -1;
		border-right:0;
		border-bottom:1px solid var(--tax-line);
	}

	body.tax-treatment_categories .tax-item,
	body.tax-treatment_categories .tax-item:nth-of-type(n),
	body.tax-treatment_categories .tax-item:nth-of-type(2n),
	body.tax-treatment_categories .tax-item:nth-of-type(3n){
		grid-column:span 6;
	}
}

@media only screen and (min-width: 768px) and (max-width: 900px){
	body.tax-treatment_categories .tax-archive-guide{
		grid-template-columns:1fr;
	}

	body.tax-treatment_categories .tax-guide-kicker,
	body.tax-treatment_categories .tax-guide-main{
		border-right:0;
		border-bottom:1px solid var(--tax-line);
	}

	body.tax-treatment_categories .tax-guide-main h2{
		max-width:24ch;
		font-size:clamp(29px,4.6vw,36px);
		line-height:1.02;
	}
}

@media only screen and (max-width: 767px){
	body.tax-treatment_categories.p6 .p6-h{
		min-height:680px;
	}

	body.tax-treatment_categories.p6 .p6-h::after{
		left:5%;
		right:5%;
		bottom:28px;
	}

	body.tax-treatment_categories.p6 .p6-ov{
		display:block;
		padding:138px 5% 72px;
	}

	body.tax-treatment_categories.p6 .p6-tag-t{
		margin-bottom:26px;
		font-size:12px;
	}

	body.tax-treatment_categories.p6 .p6-tit{
		max-width:10ch;
		margin-bottom:28px;
		font-size:clamp(46px,14vw,64px);
		line-height:0.92;
	}

	body.tax-treatment_categories.p6 .p6-tag-b{
		max-width:100%;
		margin-bottom:22px;
		font-size:15px;
		line-height:1.5;
	}

	body.tax-treatment_categories.p6 .p6-hero-proof{
		margin-top:18px;
	}

	body.tax-treatment_categories.p6 .p6-hero-proof span{
		min-height:42px;
		font-size:12px;
	}

	body.tax-treatment_categories.p6 .p6-hero-actions{
		margin-top:16px;
	}

	body.tax-treatment_categories.p6 .p6-hero-cta{
		width:100%;
	}

	body.tax-treatment_categories.p6 .p6-in{
		padding:42px 5% 72px;
	}

	body.tax-treatment_categories .tax-archive-guide{
		grid-template-columns:1fr;
		margin-bottom:28px;
	}

	body.tax-treatment_categories .tax-guide-main,
	body.tax-treatment_categories .tax-guide-side{
		padding:26px 22px;
	}

	body.tax-treatment_categories .tax-guide-main h2{
		max-width:16ch;
		font-size:clamp(30px,9vw,42px);
		line-height:1;
	}

	body.tax-treatment_categories .tax-guide-main p{
		font-size:15px;
		line-height:1.58;
	}

	body.tax-treatment_categories .tax-guide-cta{
		width:100%;
	}

	body.tax-treatment_categories .tax-all{
		display:block;
		border-bottom:0;
	}

	body.tax-treatment_categories .tax-item,
	body.tax-treatment_categories .tax-item:nth-of-type(n),
	body.tax-treatment_categories .tax-item:nth-of-type(2n),
	body.tax-treatment_categories .tax-item:nth-of-type(3n),
	body.tax-treatment_categories .tax-item:nth-child(1),
	body.tax-treatment_categories .tax-item:nth-child(2){
		min-height:0;
		border-bottom:1px solid var(--tax-line);
	}

	body.tax-treatment_categories .tax-img{
		aspect-ratio:4 / 3;
	}

	body.tax-treatment_categories .tax-box{
		padding:24px 20px 28px;
	}

	body.tax-treatment_categories .tax-tit h3,
	body.tax-treatment_categories .tax-item:nth-child(n+3) .tax-tit h3{
		max-width:16ch;
		font-size:clamp(25px,8vw,34px);
	}

	body.tax-treatment_categories .tax-box p{
		-webkit-line-clamp:5;
		font-size:14px;
		line-height:1.55;
	}

	body.tax-treatment_categories .p6-butt{
		width:100%;
	}
}
