/* «Що ми лікуємо» — сторінка-хаб /treat/ (template-treat.php). Стиль узгоджено з новими сторінками */
.npc-th {
	--npc-green: #007a53;
	--npc-green-dark: #00653f;
	--npc-ink: #2b2b2b;
	--npc-muted: #6b6b6b;
	--npc-line: #e3e3e3;
	--npc-tint: #f4f8f6;
	background: #f2f2f2;
	padding: 24px 0 72px;
	font-family: 'Open Sans', sans-serif;
	color: var(--npc-ink);
}
.npc-th *, .npc-th *::before, .npc-th *::after { box-sizing: border-box; }
.npc-th ul { list-style: none; margin: 0; padding: 0; }
.npc-th li { margin: 0; padding: 0; }
.npc-th li::before { display: none; content: none; }

.npc-th__intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin: 8px 0 36px;
}
.npc-th__title {
	margin: 0 0 12px;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 44px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
	text-align: left;
	color: var(--npc-ink);
}
.npc-th__lead { max-width: 720px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--npc-muted); }
.npc-th .npc-th__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 14px 26px;
	border-radius: 999px;
	background: var(--npc-green);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s ease;
}
.npc-th .npc-th__btn:hover { background: var(--npc-green-dark); color: #fff; text-decoration: none; }

.npc-th__group { margin: 0 0 40px; }
.npc-th__gtitle {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0 0 14px;
	border-bottom: 2px solid var(--npc-line);
	font-family: 'Open Sans', sans-serif;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: none;
	text-align: left;
	color: var(--npc-ink);
}
.npc-th__gtitle span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	background: #e8f3ee;
	color: var(--npc-green);
	font-size: 14px;
	font-weight: 700;
}

.npc-th__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.npc-th__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--npc-line);
	border-radius: 20px;
	color: var(--npc-ink);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.npc-th__card:hover,
.npc-th__card:focus-visible {
	border-color: var(--npc-green);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	transform: translateY(-2px);
	color: var(--npc-ink);
	text-decoration: none;
}
.npc-th__card:focus-visible { outline: 2px solid var(--npc-green); outline-offset: 2px; }
.npc-th__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--npc-tint);
	color: var(--npc-green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease;
}
.npc-th__card:hover .npc-th__icon { background: var(--npc-green); color: #fff; }
.npc-th__name { font-size: 18px; line-height: 1.35; font-weight: 700; }
.npc-th__desc { font-size: 14px; line-height: 1.6; color: var(--npc-muted); }
.npc-th__more {
	margin-top: auto;
	padding-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--npc-green);
}

.npc-th__cases {
	padding: 28px 32px;
	background: #fff;
	border: 1px solid var(--npc-line);
	border-radius: 20px;
}
.npc-th__cases-head p { margin: -6px 0 16px; font-size: 15px; color: var(--npc-muted); }
.npc-th__case-list { display: grid; gap: 8px; margin-bottom: 16px !important; }
.npc-th__case-list a {
	display: block;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--npc-tint);
	color: var(--npc-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
}
.npc-th__case-list a:hover { color: var(--npc-green); text-decoration: none; }
.npc-th .npc-th__link { font-size: 15px; font-weight: 600; color: var(--npc-green); }

@media (max-width: 991px) {
	.npc-th__intro { flex-direction: column; align-items: flex-start; }
	.npc-th__title { font-size: 34px; }
	.npc-th__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.npc-th { padding: 16px 0 48px; }
	.npc-th__title { font-size: 28px; }
	.npc-th__lead { font-size: 16px; }
	.npc-th .npc-th__btn { width: 100%; justify-content: center; }
	.npc-th__gtitle { font-size: 20px; }
	.npc-th__grid { grid-template-columns: 1fr; gap: 12px; }
	.npc-th__card { padding: 18px; border-radius: 16px; }
	.npc-th__cases { padding: 20px; }
}
