/**
Theme Name: Astra Child ПРМК
Template: astra
Description: Дочерняя тема сайта ПРМК: сниппеты и стили поверх Astra.
Version: 1.0.0
Text Domain: astra-child
*/

/* Шрифты сайта отдаются с нашего сервера (Google Fonts в Astra отключён в functions.php).
   Подмножества те же, что отдавал Google: cyrillic-ext, cyrillic, latin-ext, latin. */
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/manrope-400-cyrillic-ext.woff2) format('woff2');
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/manrope-400-cyrillic.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/manrope-400-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/manrope-400-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/unbounded-500-cyrillic-ext.woff2) format('woff2');
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/unbounded-500-cyrillic.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/unbounded-500-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Unbounded';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/unbounded-500-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Лента последних новостей [prmk_latest_news] */
.prmk-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.prmk-news__item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
}

.prmk-news__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.prmk-news__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
}

.prmk-news__date {
	font-size: 14px;
	opacity: .7;
}

.prmk-news__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.prmk-news__title a {
	color: inherit;
	text-decoration: none;
}

.prmk-news__excerpt {
	margin: 0;
	font-size: 15px;
}

@media (max-width: 921px) {
	.prmk-news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 544px) {
	.prmk-news {
		grid-template-columns: 1fr;
	}
}

/* Карточки разделов (Query Loop): без отступа списка Astra */
.wp-block-post-template {
	margin-left: 0;
	padding-left: 0;
}

.wp-block-post-template .wp-block-post-title {
	margin: 12px 0 8px;
	font-size: 22px;
}

.wp-block-post-template .wp-block-post-title a {
	text-decoration: none;
}

/* Формы Contact Form 7 */
.wpcf7-form p {
	margin-bottom: 16px;
}

.wpcf7-form label {
	display: block;
	width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
	width: 100%;
	margin-top: 4px;
}

.wpcf7-form textarea {
	height: 140px;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .wpcf7-acceptance label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
}

.wpcf7-form .wpcf7-acceptance input {
	margin-top: 4px;
}

.wpcf7-form .prmk-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

@media (max-width: 544px) {
	.wpcf7-form .prmk-form-row {
		grid-template-columns: 1fr;
	}
}

.wpcf7-form .prmk-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wpcf7-form .prmk-form-hint {
	font-size: 13px;
	color: var(--prmk-text);
}

/* Главная, «Продукция и услуги»: изделия в одинаковых светлых плашках */
.prmk-card .elementor-widget.prmk-plate {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 20px;
	padding: 0 !important;
	background: #f1f3f6;
	border-radius: 16px;
	overflow: hidden;
}

.prmk-card .prmk-plate > .elementor-widget-container,
.prmk-card .prmk-plate a {
	display: flex !important;
	width: 100%;
	height: 100%;
	padding: 0 !important;
	align-items: center;
	justify-content: center;
}

.prmk-card .prmk-plate img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 76% !important;
	max-height: 76% !important;
	object-fit: contain;
	transition: transform .3s ease;
}

.prmk-card .prmk-plate.prmk-plate--photo img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover;
}

.prmk-card:hover .prmk-plate img {
	transform: scale(1.04);
}

.prmk-card .elementor-heading-title,
.prmk-card .elementor-widget-text-editor {
	text-align: center !important;
}

.prmk-card .elementor-widget-text-editor {
	padding-right: 0 !important;
}

@media (min-width: 768px) {
	.prmk-card .elementor-widget-heading {
		min-height: 2.8em;
	}
}

/* Футер: контакты компактнее */
.site-footer .textwidget p {
	margin-bottom: 12px;
}

/* Соцсети в футере: круглая иконка, значок — маской, цвет — currentColor; при наведении — фирменный цвет сети */
.site-footer .prmk-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.site-footer .prmk-social__link {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color 0.2s;
}

.site-footer .prmk-social__link::before {
	content: "";
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--prmk-icon) center / contain no-repeat;
	mask: var(--prmk-icon) center / contain no-repeat;
}

.site-footer .prmk-social__link:hover,
.site-footer .prmk-social__link:focus-visible {
	background: var(--prmk-accent);
	color: #fff !important;
}

.site-footer .prmk-social__link--vk:hover,
.site-footer .prmk-social__link--vk:focus-visible {
	background: #0077ff;
	color: #fff !important;
}

.prmk-social__link--vk {
	--prmk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.785 16.241s.288-.032.436-.194c.136-.148.132-.427.132-.427s-.02-1.304.576-1.496c.588-.19 1.341 1.26 2.14 1.818.605.422 1.064.33 1.064.33l2.137-.03s1.117-.071.587-.964c-.043-.073-.308-.661-1.588-1.87-1.34-1.264-1.16-1.059.453-3.246.983-1.332 1.376-2.145 1.253-2.493-.117-.332-.84-.244-.84-.244l-2.406.015s-.178-.025-.31.056c-.13.079-.212.262-.212.262s-.382 1.03-.89 1.907c-1.07 1.85-1.499 1.948-1.674 1.832-.407-.267-.305-1.075-.305-1.648 0-1.793.267-2.54-.521-2.733-.262-.065-.454-.107-1.123-.114-.858-.009-1.585.003-1.996.208-.274.136-.485.44-.356.457.159.022.519.099.71.363.246.341.237 1.107.237 1.107s.142 2.11-.33 2.371c-.325.18-.77-.187-1.725-1.865-.489-.859-.859-1.81-.859-1.81s-.07-.176-.198-.272c-.154-.115-.37-.151-.37-.151l-2.286.015s-.343.01-.469.161C3.94 7.721 4.043 8 4.043 8s1.79 4.258 3.817 6.403c1.858 1.967 3.968 1.838 3.968 1.838h.957z'/%3E%3C/svg%3E");
}

/* Заголовки виджетов футера выводятся <p>, а не <h2>: шрифт заголовков задаём сами */
.site-footer p.widget-title {
	font-family: Unbounded, sans-serif;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

/* =========================================================
   Стиль C «Металл и воздух»: общие элементы
   ========================================================= */
:root {
	--prmk-accent: #d94948;
	--prmk-accent-hover: #c03b3a;
	/* Мелкий текст акцентным цветом: на светлом фоне темнее, на тёмном светлее — контраст не ниже 4.5:1 */
	--prmk-accent-text: #c43c3b;
	--prmk-accent-on-dark: #f07573;
	--prmk-ink: #0f2233;
	--prmk-text: #5a6b7c;
	--prmk-bg: #fbfcfd;
	--prmk-bg-alt: #eef3f7;
	--prmk-plate: #e9eff4;
	--prmk-line: #dde5ec;
	--prmk-dark: #0f2233;
	--prmk-radius: 14px;
	--prmk-radius-lg: 28px;
}

h1, h2, h3, .entry-title, .elementor-heading-title {
	letter-spacing: -0.01em;
	text-wrap: balance;
}

/* Шапка: закреплена при прокрутке, тёмная полупрозрачная с размытием фона */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 99;
	background: rgba(1, 22, 39, 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header .ast-primary-header-bar {
	background: transparent;
	border-bottom: 0;
}

/* Главная: шапка поверх видео, вверху страницы полностью прозрачная */
.prmk-head-over .site-header {
	position: fixed;
	left: 0;
	right: 0;
}

.prmk-head-over.prmk-head-top .site-header {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-bottom-color: transparent;
}

.prmk-head-phone {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	text-align: right;
	white-space: nowrap;
}

.prmk-head-phone a {
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
}

.prmk-head-phone a,
.prmk-head-call {
	transition: color 0.2s;
}

.prmk-head-phone a:hover,
.prmk-head-call:hover {
	color: var(--prmk-accent-text) !important;
}

.prmk-head-phone span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.prmk-head-call {
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 420px) {
	.prmk-head-call {
		font-size: 13px;
	}
}

/* Кнопки в контенте Gutenberg */
.wp-block-button__link {
	border-radius: 999px;
	background: var(--prmk-accent);
	color: #fff;
	font-weight: 600;
	padding: 15px 28px;
}

.wp-block-button__link:hover {
	background: var(--prmk-accent-hover);
	color: #fff;
}

/* Формы Contact Form 7 в стиле C */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
	border: 1px solid var(--prmk-line);
	border-radius: var(--prmk-radius);
	background: #fff;
	padding: 13px 14px;
	font-size: 16px;
	color: var(--prmk-ink);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: 2px solid color-mix(in srgb, var(--prmk-accent) 55%, transparent);
	border-color: var(--prmk-accent);
}

.wpcf7-form .wpcf7-submit {
	border-radius: 999px;
	background: var(--prmk-accent);
	color: #fff;
	font-weight: 600;
	padding: 15px 32px;
	border: 0;
	cursor: pointer;
}

.wpcf7-form .wpcf7-submit:hover {
	background: var(--prmk-accent-hover);
}

.wpcf7-form .wpcf7-acceptance input {
	accent-color: var(--prmk-accent);
}

/* Мобильная панель «Позвонить / Рассчитать» */
.prmk-mbar {
	display: none;
}

@media (max-width: 768px) {
	.prmk-mbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 98;
		display: flex;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--prmk-line);
	}

	.prmk-mbar a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 46px;
		border-radius: 999px;
		font-weight: 600;
		font-size: 15px;
		text-decoration: none;
	}

	.prmk-mbar .prmk-mbar__call {
		border: 1px solid var(--prmk-ink);
		color: var(--prmk-ink);
	}

	.prmk-mbar .prmk-mbar__cta {
		background: var(--prmk-accent);
		color: #fff;
	}

	body {
		padding-bottom: 70px;
	}
}

/* Шапка: отступы между меню, телефоном и кнопкой */
.site-header-primary-section-right {
	gap: 28px;
}

.main-header-menu .menu-link {
	font-weight: 500;
	color: var(--prmk-ink);
}

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link {
	color: var(--prmk-accent-text);
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link,
#ast-desktop-header .main-header-menu > .menu-item > .menu-link .ast-icon {
	color: #fff;
	fill: #fff;
}

#ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link,
#ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link,
#ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link .ast-icon,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link .ast-icon,
#ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link .ast-icon {
	color: var(--prmk-accent-text);
	fill: var(--prmk-accent);
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link {
	font-weight: 700;
}

.site-header .menu-toggle.ast-mobile-menu-trigger-fill {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	border-radius: 10px;
}

.site-header .menu-toggle.ast-mobile-menu-trigger-fill svg {
	fill: #fff !important;
}

.main-header-menu > .menu-item > .menu-link {
	padding-left: 0.7em;
	padding-right: 0.7em;
	font-size: 15px;
	white-space: nowrap;
}

.ast-header-button-1 .ast-custom-button {
	white-space: nowrap;
}

@media (max-width: 1240px) and (min-width: 922px) {
	.prmk-head-phone span {
		display: none;
	}
}

/* Шапка внутренних страниц: хлебные крошки, H1, подзаголовок. Одинаковая во всех шаблонах
   (товар/услуга, новости, документ) и на Elementor-страницах (.prmk-page-hero-el); эталон — страницы продукции */
.prmk-page-hero {
	padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px);
	background: var(--prmk-bg-alt);
}

.elementor .prmk-page-hero-el {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: var(--prmk-bg-alt);
}

.elementor .prmk-page-hero-el > .e-con-inner {
	padding-top: clamp(28px, 4vw, 48px) !important;
	padding-bottom: clamp(40px, 5vw, 64px) !important;
}

.prmk-crumbs,
.elementor .prmk-crumbs-el {
	margin: 0 0 clamp(20px, 3vw, 36px) !important;
	font-size: 14px;
	line-height: 2;
	color: var(--prmk-text);
}

.prmk-crumbs a,
.prmk-crumbs-el a {
	color: var(--prmk-text);
	text-decoration: none;
}

.prmk-crumbs a:hover,
.prmk-crumbs-el a:hover {
	color: var(--prmk-accent-text);
}

.prmk-eyebrow-text {
	margin: 0 0 12px;
	font: 600 12px/1.4 Manrope, sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--prmk-accent-text);
}

.prmk-page-hero__title,
.prmk-page-title .elementor-heading-title {
	max-width: none;
	margin: 0;
	font-size: clamp(28px, 3.6vw, 46px);
	line-height: 1.08;
	color: var(--prmk-ink);
}

.prmk-page-hero__lead,
.elementor .prmk-page-hero-el .prmk-lead {
	max-width: 62ch !important;
	margin: 16px 0 0 !important;
	font-size: 18px;
	line-height: 1.6;
	color: var(--prmk-text);
}

.prmk-page-hero-el .prmk-lead p {
	margin: 0;
}

@media (max-width: 767px) {
	.prmk-page-hero__lead,
	.elementor .prmk-page-hero-el .prmk-lead {
		font-size: 16px;
	}
}

/* Квиз */
.prmk-quiz__progress {
	display: flex;
	gap: 6px;
	margin-bottom: 22px;
}

.prmk-quiz__progress i {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: var(--prmk-line);
}

.prmk-quiz__progress i.is-on {
	background: var(--prmk-accent);
}

.prmk-quiz .prmk-quiz-step[hidden] {
	display: none;
}

.prmk-quiz .prmk-quiz-q {
	margin: 0 0 18px;
	font: 500 20px/1.3 Unbounded, sans-serif;
	color: var(--prmk-ink);
}

.prmk-quiz .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.prmk-quiz .wpcf7-radio .wpcf7-list-item {
	margin: 0;
}

.prmk-quiz .wpcf7-radio .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid var(--prmk-line);
	border-radius: var(--prmk-radius);
	font-weight: 500;
	cursor: pointer;
}

.prmk-quiz .wpcf7-radio .wpcf7-list-item label:has(input:checked) {
	border-color: var(--prmk-accent);
	background: color-mix(in srgb, var(--prmk-accent) 7%, transparent);
}

.prmk-quiz .wpcf7-radio .wpcf7-list-item input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--prmk-accent);
}

.prmk-quiz__err {
	min-height: 18px;
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--prmk-accent-text);
}

.prmk-quiz__nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
}

.prmk-quiz__nav button {
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	font: 600 15px/1 Manrope, sans-serif;
	cursor: pointer;
}

.prmk-quiz__next {
	margin-left: auto;
	border: 0;
	background: var(--prmk-accent);
	color: #fff;
}

.prmk-quiz__next:hover {
	background: var(--prmk-accent-hover);
}

.prmk-quiz__back {
	border: 1px solid var(--prmk-line);
	background: transparent;
	color: var(--prmk-ink);
}

.prmk-quiz.is-done .prmk-quiz__nav,
.prmk-quiz.is-done .prmk-quiz-step {
	display: none;
}

body .prmk-quiz .prmk-quiz__back {
	border: 1px solid var(--prmk-line);
	background: transparent;
	color: var(--prmk-ink);
}

body .prmk-quiz .prmk-quiz__back:hover {
	background: var(--prmk-bg-alt);
	color: var(--prmk-ink);
}

body .prmk-quiz .prmk-quiz__next {
	background: var(--prmk-accent);
	color: #fff;
}

.prmk-quiz .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 16px 18px;
	border-radius: var(--prmk-radius);
}

.prmk-quiz.is-done .wpcf7-response-output {
	border-color: var(--prmk-accent);
	background: color-mix(in srgb, var(--prmk-accent) 6%, transparent);
	color: var(--prmk-ink);
	font-weight: 500;
}

@media (max-width: 767px) {
	.prmk-quiz .wpcf7-radio {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Окно с квизом на внутренних страницах (кнопка «Рассчитать стоимость») */
html:has(.prmk-modal[open]) {
	overflow: hidden;
}

.prmk-modal {
	width: min(680px, calc(100% - 32px));
	max-height: calc(100dvh - 48px);
	padding: 0;
	border: 0;
	border-radius: var(--prmk-radius-lg);
	background: #fff;
	color: var(--prmk-text);
	box-shadow: 0 30px 80px rgba(1, 22, 39, 0.35);
	overflow: auto;
	overscroll-behavior: contain;
}

.prmk-modal::backdrop {
	background: rgba(1, 22, 39, 0.6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.prmk-modal[open] {
	animation: prmk-modal-in 0.25s ease-out;
}

@keyframes prmk-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

.prmk-modal__inner {
	position: relative;
	padding: clamp(24px, 4vw, 40px);
}

.prmk-modal__title {
	margin: 0 48px 6px 0;
	font: 500 clamp(22px, 3vw, 28px)/1.2 Unbounded, sans-serif;
	color: var(--prmk-ink);
}

.prmk-modal__lead {
	margin: 0 0 24px;
	font-size: 15px;
}

.prmk-modal .prmk-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--prmk-bg-alt) !important;
	color: var(--prmk-ink) !important;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.prmk-modal .prmk-modal__close:hover {
	background: var(--prmk-line) !important;
}

@media (max-width: 600px) {
	.prmk-modal {
		width: 100%;
		max-width: none;
		height: 100dvh;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}
}
