/* =========================================================
   Содержание статьи
   ========================================================= */

[id^="m40-section-"] {
	scroll-margin-top: calc(var(--m40-anchor-offset, 90px) + env(safe-area-inset-top, 0px));
}

#m40-toc-wrapper {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #dfe4ea;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(31, 53, 66, 0.05);
	overflow: hidden;
}

.m40-toc-slot {
	width: 100%;
	min-width: 0;
}

#m40-toc-wrapper summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
	padding: 16px 20px;
	box-sizing: border-box;
	color: #252a30;
	background: #f7f9fa;
	cursor: pointer;
	list-style: none;
}

#m40-toc-wrapper summary::-webkit-details-marker {
	display: none;
}

#m40-toc-wrapper summary:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ast-global-color-0, #1f6f7a) 28%, transparent);
	outline-offset: -3px;
}

.m40-toc-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.m40-toc-control {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	color: var(--ast-global-color-0, #1f6f7a);
	font-size: 14px;
	font-weight: 600;
	text-align: right;
}

.m40-toc-chevron {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

#m40-toc-wrapper[open] .m40-toc-chevron {
	transform: rotate(225deg);
}

#m40-toc-wrapper ol {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px 18px;
	width: 100%;
	margin: 0;
	padding: 18px 20px 20px;
	box-sizing: border-box;
	list-style: none;
	counter-reset: none;
}

#m40-toc-wrapper li {
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 0;
}

.m40-toc-item--h2 {
	grid-column: 1 / -1;
}

#m40-toc-wrapper .m40-toc-link--h2 {
	min-height: 46px;
	color: #252a30;
	background: #f7f9fa;
	border-color: #dfe4ea;
	font-size: 16px;
	font-weight: 600;
}

#m40-toc-wrapper .m40-toc-link--h4 {
	border-left: 3px solid #c6dadd;
	border-left: 3px solid color-mix(in srgb, var(--ast-global-color-0, #1f6f7a) 24%, transparent);
	font-size: 14px;
}

#m40-toc-wrapper ol ol {
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1fr);
	padding: 8px 0 0 20px;
}

#m40-toc-wrapper li li a {
	min-height: 38px;
	font-size: 14px;
}

#m40-toc-wrapper a {
	display: flex;
	align-items: center;
	gap: 11px;

	width: 100%;
	min-height: 42px;
	padding: 8px 13px;

	box-sizing: border-box;

	color: inherit;
	background: transparent;

	border: 1px solid rgba(60, 60, 60, 0.07);
	border-radius: 8px;

	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.025);

	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;

	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

/* Небольшой пустой кружок вместо цифры */

#m40-toc-wrapper a::before {
	content: "";

	display: block;
	flex: 0 0 auto;

	width: 8px;
	height: 8px;

	border: 1px solid rgba(60, 60, 60, 0.24);
	border-radius: 50%;

	background: transparent;
}

/* Наведение */

#m40-toc-wrapper a:hover {
	color: inherit;
	background: rgba(80, 80, 80, 0.055);
	border-color: rgba(60, 60, 60, 0.11);
	text-decoration: none;
}

/* Нажатая кнопка остаётся светло-серой */

#m40-toc-wrapper a.m40-toc-active {
	color: inherit;
	background: rgba(80, 80, 80, 0.09);
	border-color: rgba(60, 60, 60, 0.13);
	box-shadow: 0 1px 7px rgba(0, 0, 0, 0.035);
}

#m40-toc-wrapper a.m40-toc-active::before {
	background: rgba(70, 70, 70, 0.28);
	border-color: rgba(70, 70, 70, 0.28);
}

@media (min-width: 900px) {
	#m40-toc-wrapper > ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* =========================================================
   Кнопка возврата наверх
   ========================================================= */

#m40-scroll-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9999;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 58px;
	height: 44px;
	padding: 0;

	color: rgba(55, 55, 55, 0.68);
	background: rgba(255, 255, 255, 0.08);

	border: 1px solid rgba(60, 60, 60, 0.11);
	border-radius: 10px;

	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.025);
	backdrop-filter: blur(3px);

	font-size: 21px;
	line-height: 1;

	cursor: pointer;

	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease,
		border-color 0.2s ease;
}

#m40-scroll-top.m40-scroll-top-visible {
	opacity: 0.75;
	visibility: visible;
	transform: translateY(0);
}

/* При наведении и нажатии остаётся прозрачной */

#m40-scroll-top:hover,
#m40-scroll-top:focus,
#m40-scroll-top:active {
	color: rgba(55, 55, 55, 0.82);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(60, 60, 60, 0.17);
	outline: none;
}


/* =========================================================
   Мобильная версия
   ========================================================= */

@media (max-width: 767px) {

	#m40-toc-wrapper {
		max-width: none;
		margin-bottom: 30px;
		border-radius: 12px;
	}

	#m40-toc-wrapper summary {
		align-items: flex-start;
		min-height: 58px;
		padding: 14px;
	}

	.m40-toc-title {
		font-size: 22px;
	}

	.m40-toc-state {
		max-width: 110px;
	}

	#m40-toc-wrapper ol {
		padding: 14px;
	}

	#m40-toc-wrapper a {
		min-height: 40px;
		padding: 8px 11px;
		font-size: 14px;
	}

	#m40-scroll-top {
		right: 14px;
		bottom: 16px;

		width: 54px;
		height: 42px;

		border-radius: 9px;
		font-size: 19px;
	}

}

#m40-toc-wrapper a:focus,
#m40-toc-wrapper a:focus-visible,
#m40-toc-wrapper a:active {
	text-decoration: none;
}

#m40-toc-wrapper a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ast-global-color-0, #1f6f7a) 28%, transparent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.m40-toc-chevron {
		transition: none;
	}
}

#m40-scroll-top:focus,
#m40-scroll-top:focus-visible,
#m40-scroll-top:active {
	outline: none;
}
/* Related materials */
.m40-related-materials { margin:48px 0 10px; padding-top:28px; border-top:1px solid #d9dde1; }
.m40-related-materials h2 { margin:0 0 18px; }
.m40-related-materials__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.m40-related-material { display:flex; flex-direction:column; gap:7px; padding:16px 18px; color:inherit; background:#f5f7f8; border:1px solid #d9dde1; border-radius:8px; text-decoration:none; }
.m40-related-material:hover { border-color:var(--m40-primary,#1f6f7a); }
.m40-related-material strong { color:var(--m40-primary,#1f6f7a); }
.m40-related-material span { color:#667078; font-size:.9em; }
@media (max-width:680px) { .m40-related-materials__grid { grid-template-columns:1fr; } }

/* Locked continuation */
.m40-locked-box {
	width: min(100%, 760px);
	box-sizing: border-box;
	padding: clamp(20px, 5vw, 38px);
	margin: 28px auto;
	overflow-wrap: anywhere;
	border: 1px solid #dfe4ea;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(31, 53, 66, .07);
}

.m40-locked-box h3 { margin: 0 0 14px; color: #252a30; line-height: 1.25; }
.m40-locked-box p { margin: 0 0 16px; color: #68717c; line-height: 1.6; }
.m40-locked-box ul { padding-left: 0; margin: 0 0 22px; list-style: none; }
.m40-locked-box li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: start; margin-bottom: 9px; overflow-wrap: anywhere; }
.m40-locked-box__check { color: var(--ast-global-color-0, #1f6f7a); font-weight: 700; }
.m40-locked-actions { display: grid; gap: 10px; }
.m40-locked-actions > a {
	width: 100%;
	box-sizing: border-box;
	letter-spacing: normal;
	white-space: normal;
	text-align: center;
	overflow-wrap: anywhere;
}
@media (min-width: 620px) {
	.m40-locked-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Единственное окно предложения для явно закрытых ссылок */
.m40-locked-modal[hidden] { display: none; }
.m40-locked-modal {
	position: fixed;
	top: var(--m40-visual-viewport-top, 0px);
	left: var(--m40-visual-viewport-left, 0px);
	z-index: 1000100;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--m40-visual-viewport-width, 100vw);
	height: var(--m40-visual-viewport-height, 100vh);
	height: var(--m40-visual-viewport-height, 100dvh);
	box-sizing: border-box;
	padding-top: max(12px, env(safe-area-inset-top));
	padding-right: max(12px, env(safe-area-inset-right));
	padding-bottom: max(12px, env(safe-area-inset-bottom));
	padding-left: max(12px, env(safe-area-inset-left));
	background: rgba(15, 23, 42, .58);
	overflow: hidden;
	animation: m40-modal-fade-in .18s ease-out;
}
.m40-locked-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(720px, calc(100vw - 24px));
	width: min(720px, calc(100vw - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right))));
	width: min(720px, calc(var(--m40-visual-viewport-width, 100vw) - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right))));
	height: auto;
	min-height: 0;
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
	max-height: calc(var(--m40-visual-viewport-height, 100dvh) - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #dfe4ea;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
	overflow: hidden;
	animation: m40-modal-rise-in .18s ease-out;
}
.m40-locked-modal__dialog:focus { outline: none; }
.m40-locked-modal__dialog:focus-visible { outline: 3px solid var(--ast-global-color-0, #1f6f7a); outline-offset: 3px; }
.m40-locked-modal__header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	box-sizing: border-box;
	padding: 8px 10px 8px 20px;
	background: #fff;
	border-bottom: 1px solid #e8edf2;
}
.m40-locked-modal__header h2 {
	margin: 0;
	color: #252a30;
	font-size: clamp(17px, 4.5vw, 21px);
	line-height: 1.3;
}
.m40-locked-modal__close {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	color: #334155;
	background: #f1f5f9;
	border: 1px solid #d8e0e8;
	border-radius: 50%;
	font: 30px/1 Arial, sans-serif;
	cursor: pointer;
}
.m40-locked-modal__close:hover,
.m40-locked-modal__close:focus-visible { color: #fff; background: var(--ast-global-color-0, #1f6f7a); border-color: var(--ast-global-color-0, #1f6f7a); }
.m40-locked-modal__close:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.m40-locked-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 8px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}
.m40-locked-modal__body .m40-locked-box { width: 100%; margin: 0; border: 0; box-shadow: none; }
.m40-locked-modal--compact .m40-locked-modal__header {
	min-height: 52px;
	padding: 4px 8px 4px 14px;
}
.m40-locked-modal--compact .m40-locked-modal__body { padding: 2px; }
.m40-locked-modal--compact .m40-locked-modal__body .m40-locked-box { padding: 12px 12px 14px; }
.m40-locked-modal--compact .m40-locked-box h3 {
	margin-bottom: 8px;
	font-size: clamp(18px, 5vw, 22px);
	line-height: 1.2;
}
.m40-locked-modal--compact .m40-locked-box p {
	margin-bottom: 8px;
	font-size: 15px;
	line-height: 1.4;
}
.m40-locked-modal--compact .m40-locked-box ul { margin-bottom: 10px; }
.m40-locked-modal--compact .m40-locked-box li {
	gap: 7px;
	margin-bottom: 4px;
	font-size: 14px;
	line-height: 1.35;
}
.m40-locked-modal--compact .m40-locked-actions { gap: 6px; }
.m40-locked-modal--compact .m40-locked-actions > a,
.m40-locked-modal--compact .m40-locked-actions .m40-payment-button {
	min-height: 40px;
	padding: 8px 12px;
	font-size: 14px;
}
@keyframes m40-modal-fade-in { from { opacity: 0; } }
@keyframes m40-modal-rise-in { from { opacity: 0; } }
@media (max-width: 620px) {
	.m40-locked-modal__dialog { border-radius: 16px; }
	.m40-locked-modal__header { padding-left: 16px; }
	.m40-locked-modal__body { padding: 4px; }
	.m40-locked-modal__body .m40-locked-box { padding: 18px 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.m40-locked-modal,
	.m40-locked-modal__dialog { animation: none; }
}
@media (max-width: 921px) {
	body.ast-header-break-point.ast-main-header-nav-open {
		overflow: hidden;
	}

	body.ast-header-break-point.ast-main-header-nav-open::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 10000;
		pointer-events: none;
		background: rgba(15, 23, 42, .42);
	}

	body.ast-header-break-point.ast-main-header-nav-open #masthead {
		z-index: 10001;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content {
		box-sizing: border-box;
		position: static;
		display: block;
		width: calc(100% - 24px);
		height: auto;
		min-height: 0;
		max-height: calc(100vh - 156px);
		max-height: calc(100dvh - 156px);
		margin: 10px 12px 14px;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		background: #fff;
		border: 1px solid #d8e1e7;
		border-radius: 14px;
		box-shadow: 0 14px 36px rgba(31, 53, 66, .12);
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .ast-mobile-header-content::before {
		content: "Навигация по сайту";
		display: block;
		padding: 14px 16px;
		color: #252a30;
		background: #f7f9fa;
		border-bottom: 1px solid #dfe4ea;
		font-size: 17px;
		font-weight: 600;
		line-height: 1.35;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .ast-builder-menu-1,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .ast-main-header-bar-alignment,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-bar-navigation,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #primary-site-navigation-mobile,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #primary-site-navigation-mobile > .main-navigation,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile {
		box-sizing: border-box;
		width: 100%;
		height: auto;
		min-height: 0;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #primary-site-navigation-mobile > .main-navigation {
		padding: 12px;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile {
		gap: 8px;
		background: transparent;
		list-style: none;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile > li {
		width: 100%;
		margin: 0;
		background: #fff;
		border: 1px solid #e2e8ec;
		border-radius: 9px;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile > li > .menu-link {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 11px 13px;
		color: #252a30;
		border-radius: 8px;
		line-height: 1.35;
		text-decoration: none;
		overflow-wrap: anywhere;
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile > .current-menu-item,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile > .current_page_item {
		background: #edf5f6;
		background: color-mix(in srgb, var(--ast-global-color-0, #1f6f7a) 9%, #fff);
		border-color: #b9d2d6;
		border-color: color-mix(in srgb, var(--ast-global-color-0, #1f6f7a) 28%, #d8e1e7);
	}

	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile > .current-menu-item > .menu-link,
	body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header #ast-hf-menu-1-mobile > .current_page_item > .menu-link {
		color: var(--ast-global-color-0, #1f6f7a);
		font-weight: 600;
	}

	body.ast-header-break-point #ast-mobile-header .menu-toggle.main-header-menu-toggle:focus:not(:focus-visible) {
		outline: none;
		box-shadow: none;
	}

	body.ast-header-break-point #ast-mobile-header .menu-toggle.main-header-menu-toggle:focus-visible {
		outline: 2px solid var(--ast-global-color-0, #1f6f7a);
		outline-offset: 3px;
		box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
	}
}

@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
	@media (max-width: 921px) {
		body.ast-header-break-point.ast-main-header-nav-open::before {
			-webkit-backdrop-filter: blur(2px);
			backdrop-filter: blur(2px);
		}
	}
}

.m40-cookie-notice {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	left: max(16px, env(safe-area-inset-left));
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 900px;
	box-sizing: border-box;
	padding: 12px 14px;
	margin: 0 auto;
	color: #25323a;
	background: #f4fafb;
	border: 1px solid color-mix(in srgb, var(--ast-global-color-0, #1f6f7a) 34%, #d8e1e7);
	border-radius: 12px;
	box-shadow: 0 5px 18px rgba(31, 53, 66, .12);
	transition: opacity .2s ease, transform .2s ease;
}

.m40-cookie-notice.is-closing { opacity: 0; transform: translateY(12px); pointer-events: none; }
.m40-cookie-notice p { margin: 0; font-size: 14px; line-height: 1.45; }
.m40-cookie-notice a { color: var(--ast-global-color-0, #1f6f7a); font-weight: 600; }
.m40-cookie-notice button {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 9px 18px;
	color: #fff;
	background: var(--ast-global-color-0, #1f6f7a);
	border: 0;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
}
.m40-cookie-notice button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

@media (max-width: 620px) {
	.m40-cookie-notice { align-items: stretch; flex-direction: column; gap: 10px; }
	.m40-cookie-notice button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.m40-cookie-notice { transition: none; }
}

/* Defensive fallback for legacy emoji markup that escaped normalization. */
img.emoji {
	display: inline-block !important;
	width: 1em !important;
	min-width: 0 !important;
	max-width: 1em !important;
	height: 1em !important;
	margin: 0 .07em !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: contain !important;
	vertical-align: -.1em !important;
}

.m40-youtube-click-to-load {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
}

.m40-youtube-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: var(--video-aspect-ratio, 16 / 9);
	padding: 0;
	border: 0;
	overflow: hidden;
	background: transparent;
}

.m40-youtube-media.m40-youtube-click-to-load--short {
	max-width: 420px;
	margin-inline: auto;
}

.elementor-widget-video .elementor-wrapper.m40-youtube-media.m40-youtube-click-to-load--short {
	/* Encoded YouTube canvases may contain baked-in padding; Shorts stay 9:16. */
	aspect-ratio: 9 / 16;
}

.m40-youtube-preview-layer {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

.m40-youtube-preview-layer[data-m40-youtube-preview] {
	cursor: pointer;
}

.m40-youtube-thumbnail,
.m40-youtube-iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: 0;
}

.m40-youtube-thumbnail {
	object-fit: cover;
}

.elementor-widget-video .m40-youtube-preview-layer button.m40-youtube-play {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 64px;
	min-width: 0;
	max-width: none;
	height: 64px;
	min-height: 0;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
	color: #fff;
	background: transparent;
	border: 0;
	box-shadow: none;
	box-sizing: border-box;
	font: inherit;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	touch-action: manipulation;
}

.m40-youtube-play-icon {
	display: block;
	width: 0;
	height: 0;
	margin: 0;
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	border-left: 30px solid currentColor;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .75));
}

.elementor-widget-video .m40-youtube-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.m40-youtube-disclosure {
	position: absolute;
	right: 10px;
	bottom: 9px;
	left: 10px;
	z-index: 2;
	display: block;
	width: max-content;
	max-width: calc(100% - 20px);
	margin: 0 auto;
	padding: 4px 8px;
	color: #fff;
	background: rgba(17, 25, 30, .68);
	border: 0;
	border-radius: 5px;
	box-shadow: none;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	pointer-events: none;
}

.m40-youtube-load-error {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	color: #fff;
	background: rgba(17, 25, 30, .88);
	border: 0;
	box-sizing: border-box;
	text-align: center;
}

.m40-youtube-load-error p {
	max-width: 34em;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.elementor-widget-video .m40-youtube-load-error button.m40-youtube-retry {
	width: auto;
	min-width: 0;
	max-width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 8px 16px;
	color: #172027;
	background: #fff;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	touch-action: manipulation;
}

.elementor-widget-video .m40-youtube-retry:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 620px) {
	.elementor-widget-video .m40-youtube-preview-layer button.m40-youtube-play { width: 56px; height: 56px; }
	.m40-youtube-play-icon { border-top-width: 15px; border-bottom-width: 15px; border-left-width: 25px; }
	.m40-youtube-disclosure { right: 7px; bottom: 7px; left: 7px; max-width: calc(100% - 14px); font-size: 11px; }
	.m40-youtube-load-error p { font-size: 13px; }
}
