.pd-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 10000;
	overflow-y: auto;
	padding: 30px 15px;
}
.pd-modal-overlay.is-open { display: block; }

.pd-modal {
	max-width: 820px;
	margin: 30px auto;
	background: #fff;
	border-radius: 8px;
	padding: 30px 35px;
	position: relative;
	line-height: 1.55;
	color: #222;
	font-size: 14px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	animation: pdFadeIn .18s ease-out;
}
@keyframes pdFadeIn {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.pd-modal h2 { margin-bottom:16px; font-size: 24px; font-weight: 600; }
.pd-modal h3 { margin-bottom:12px; font-size: 18px; font-weight: 600; }
.pd-modal h4 { margin-bottom:12px; font-size: 16px; font-weight: 600; }
.pd-modal p { margin-bottom:12px; font-size: 14px; }
.pd-modal ul { padding-left: 20px; font-size: 14px; }

.pd-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: none;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}
.pd-modal__close:hover { color: #000; }

body.pd-modal-open { overflow: hidden; }

@media (max-width: 600px) {
	.pd-modal { padding: 22px 18px; }
}
/* дополнение к doc-modal.css */
.pd-modal__content { /* контейнер с содержимым документа */ }
.pd-modal__content > h2:first-child { margin-top: 0; }