/* Розділ «Що ми лікуємо»: стаття, фото, таблиці, FAQ, кнопка запису */
.npc-treat { padding: 24px 0 50px; } /* відступ після хлібних крихт */
@media (max-width: 767px) { .npc-treat { padding-top: 16px; } }
.npc-article {
	background: #fff;
	padding: 48px 64px 56px;
	margin: 0 -15px;
	color: #1c1c1c;
	font-family: 'Open Sans', sans-serif;
}
.npc-article__header,
.npc-article__content,
.npc-faq,
.npc-cta { max-width: 860px; margin-left: auto; margin-right: auto; }

/* Заголовки */
.npc-article__title {
	margin: 0 0 32px;
	font-family: 'Open Sans', sans-serif;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 700;
	color: #1c1c1c;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
	overflow-wrap: break-word;
	hyphens: auto;
}
.npc-article__content h2,
.npc-faq__title {
	margin: 44px 0 16px;
	font-family: 'Open Sans', sans-serif;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
	color: #1c1c1c;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
}
.npc-article__content h3 {
	margin: 32px 0 12px;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 700;
	color: #1c1c1c;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
}
.npc-article__content h4 {
	margin: 24px 0 10px;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;
	color: #1c1c1c;
}
.npc-article__content > :first-child { margin-top: 0; }

/* Текст */
.npc-article__content p,
.npc-article__content li {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #1c1c1c;
	font-weight: 400;
}
.npc-article__content p { margin: 0 0 16px; }
.npc-article__content strong,
.npc-article__content b { display: inline; margin: 0; font-weight: 700; }
.npc-article__content a { color: #007a53; text-decoration: underline; text-underline-offset: 2px; }
.npc-article__content a:hover { color: #00653f; }
.npc-article__content a.npc-zoom { text-decoration: none; }

/* Списки */
.npc-article__content ul,
.npc-article__content ol { margin: 0 0 20px; padding: 0 0 0 24px; }
.npc-article__content ul { list-style: none; padding-left: 0; }
.npc-article__content ul > li {
	position: relative;
	padding: 0 0 0 24px;
	margin: 0 0 8px;
}
.npc-article__content ul > li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 11px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #007a53;
}
.npc-article__content ol > li { margin: 0 0 8px; padding-left: 4px; }
.npc-article__content ol > li::before { content: none; }
.npc-article__content li > ul,
.npc-article__content li > ol { margin: 8px 0 0; }

/* Фото */
.npc-article__content img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 560px;
	margin: 0 auto;
	object-fit: contain;
	float: none;
}
.npc-article__content figure.npc-figure,
.npc-article__content p > a.npc-zoom:only-child,
.npc-article__content li img { margin: 24px 0; }
.npc-article__content figure.npc-figure { text-align: center; }
.npc-article__content a.npc-zoom { display: block; cursor: zoom-in; }
.npc-figure--multi { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.npc-figure--multi a.npc-zoom { margin: 0; }
.npc-article__content p.npc-lead { font-weight: 700; margin-top: 24px; }
.npc-caption {
	margin: -12px 0 20px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: #555 !important;
	font-style: italic;
	text-align: center;
}

/* Галерея: кілька фото поспіль */
.npc-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0;
}
.npc-gallery figure.npc-figure { margin: 0; }
.npc-gallery img { max-height: 340px; }

/* Таблиці */
.npc-table { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
.npc-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.npc-table th,
.npc-table td { border: 1px solid #e1e1e1; padding: 10px 14px; text-align: left; vertical-align: top; }
.npc-table th,
.npc-table tr:first-child td { background: #f4f8f6; font-weight: 700; }
.npc-table tr:nth-child(even) td { background: #fafafa; }

/* Відео */
.npc-embed { position: relative; padding-top: 56.25%; margin: 24px 0; background: #000; }
.npc-embed iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0; }

/* FAQ */
.npc-faq { margin-top: 48px; padding-top: 8px; border-top: 1px solid #e6e6e6; }
.npc-faq__item { border-bottom: 1px solid #e6e6e6; }
.npc-faq__q {
	position: relative;
	padding: 18px 40px 18px 0;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 700;
	color: #1c1c1c;
	cursor: pointer;
	list-style: none;
}
.npc-faq__q::-webkit-details-marker { display: none; }
.npc-faq__q::after {
	content: '+';
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	font-weight: 400;
	color: #007a53;
	line-height: 1;
}
.npc-faq__item[open] > .npc-faq__q::after { content: '\2212'; }
.npc-faq__q:focus-visible { outline: 2px solid #007a53; outline-offset: 2px; }
.npc-faq__a { padding: 0 0 18px; }
.npc-faq__a p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; color: #333; }

/* Кнопка запису */
.npc-cta { margin-top: 48px; padding: 32px 24px; background: #f4f8f6; text-align: center; }
.npc-cta__text { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: #1c1c1c; }
.npc-consult-btn {
	display: inline-block;
	padding: 15px 28px;
	background: #007a53;
	color: #fff !important;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 20px;
	transition: background 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.npc-consult-btn:hover,
.npc-consult-btn:focus { background: #00653f; color: #fff; outline: none; }
.npc-consult-btn:focus-visible { outline: 2px solid #1c1c1c; outline-offset: 3px; }

/* Планшет */
@media (max-width: 991px) {
	.npc-article { padding: 40px 32px 48px; }
}
/* Мобільний */
@media (max-width: 767px) {
	.npc-treat .container { padding-left: 0; padding-right: 0; }
	.npc-article { margin: 0; padding: 24px 16px 32px; }
	.npc-article__title { font-size: 24px; margin-bottom: 20px; }
	.npc-article__content h2,
	.npc-faq__title { font-size: 20px; margin-top: 32px; }
	.npc-article__content h3 { font-size: 17px; margin-top: 24px; }
	.npc-article__content p,
	.npc-article__content li { font-size: 15px; }
	.npc-article__content img { max-height: none; }
	.npc-gallery { grid-template-columns: 1fr; gap: 12px; }
	.npc-gallery img { max-height: none; }
	.npc-faq__q { font-size: 16px; }
	.npc-cta { padding: 24px 16px; }
	.npc-consult-btn { display: block; padding: 15px 16px; }
}

/* Текстові сторінки (page-npc-article.php): посилання на батьківський розділ */
.npc-textpage .npc-textpage__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #e8f3ee;
	color: #007a53;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.npc-textpage .npc-textpage__back:hover { background: #007a53; color: #fff; text-decoration: none; }

/* Вбудовані документи (Google Drive / PDF): висота під сторінку A4 */
.npc-article__content .npc-embed--doc {
	position: relative;
	height: auto;
	padding: 0;
	width: 100%;
	height: 85vh;
	max-height: 1100px;
	min-height: 480px;
	border: 1px solid #e3e3e3;
	border-radius: 14px;
	overflow: hidden;
	background: #f4f8f6;
}
.npc-article__content .npc-embed--doc iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.npc-article__content .npc-doc-open-wrap { margin: 12px 0 24px; }
.npc-article__content a.npc-doc-open {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #e8f3ee;
	color: #007a53;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.npc-article__content a.npc-doc-open:hover { background: #007a53; color: #fff; text-decoration: none; }

/* Заголовок без автопереносів на планшеті й десктопі (переноси лишаються лише на вузьких екранах) */
@media (min-width: 768px) {
	.npc-article__title { hyphens: manual; -webkit-hyphens: manual; }
}
