/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026.8.3.3
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2026
BlankSlate is distributed under the terms of the GNU GPL
*/

/* --------------------------------------------------------------------------
   AGIMAS SaaS — токены Editin (референс agimas/editin.css)
   -------------------------------------------------------------------------- */

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-ext-400.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-400.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: 'Space Grotesk';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-ext-500.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-500.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: 'Space Grotesk';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-ext-600.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-600.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: 'Space Grotesk';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-ext-700.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/space-grotesk-latin-700.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;
}

:root {
	--ag-font: 'Space Grotesk', system-ui, sans-serif;
	--ag-max: 1360px;

	--ag-primary: #1a97fa;
	--ag-primary-md: #5bb5fc;
	--ag-primary-lt: #e8f5ff;
	--ag-primary-dk: #0d6fb8;
	--ag-primary-xdk: #074a7a;

	--ag-secondary: #3ebf9d;
	--ag-secondary-md: #62dcbc;
	--ag-secondary-lt: #c8fff1;
	--ag-secondary-dk: #1f9475;

	--ag-accent: #ffbf6e;

	--ag-text: #1a2129;
	--ag-text-2: #434d56;
	--ag-text-3: #5e6b74;

	--ag-gray-10: #f6f6f6;
	--ag-gray-20: #d9dee2;
	--ag-gray-30: #bfc6cc;
	--ag-white: #fff;
	--ag-border: #ddeffe;
	--ag-border-soft: rgba(151, 154, 161, 0.24);

	--ag-radius: 4px;
	--ag-radius-sm: 3px;
	--ag-radius-lg: 5px;

	--ag-shadow-sm: 0 8px 24px rgba(26, 151, 250, 0.08);
	--ag-shadow-md: 0 12px 32px rgba(26, 151, 250, 0.12);
	--ag-shadow-lg: 14px 17px 55px rgba(26, 151, 250, 0.19);
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ag-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ag-text);
	background: var(--ag-white);
	-webkit-font-smoothing: antialiased;
}

body.error404 {
	background: #fff;
}

#wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#container {
	flex: 1 0 auto;
	width: 100%;
	max-width: none;
	float: none;
}

#content {
	width: 100%;
	max-width: none;
	float: none;
	margin: 0;
	padding: 0;
}

.accent {
	color: var(--ag-primary);
}

/* Лого из кастомайзера */
.ag-logo .custom-logo {
	display: block;
	height: 2.25rem;
	width: auto;
}

@media (min-width: 640px) {
	.ag-logo .custom-logo {
		height: 2.25rem;
	}
}

.ag-logo .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.screen-reader-text,
.sr-only {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f7f7f7;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #007acc;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Layout wrap + Editin footer (1:1) + 404
   -------------------------------------------------------------------------- */
.ed-wrap {
	width: min(100% - 32px, var(--ag-max));
	margin-inline: auto;
}

@media (min-width: 768px) {
	.ed-wrap {
		width: min(100% - 64px, var(--ag-max));
	}
}

.ed-icon {
	width: 1.25em;
	height: 1.25em;
	fill: currentColor;
	flex-shrink: 0;
}

.ed-sub {
	margin: 14px 0 0;
	color: var(--ag-text-2);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

.ed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: var(--ag-radius);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.ed-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.55s ease;
	pointer-events: none;
	z-index: -1;
}

.ed-btn:hover {
	transform: translateY(-3px);
}

.ed-btn:hover::after {
	transform: translateX(120%);
}

.ed-btn:active {
	transform: translateY(-1px);
}

.ed-btn:focus-visible {
	outline: 2px solid var(--ag-primary);
	outline-offset: 3px;
}

.ed-btn--sm {
	min-height: 40px;
	padding: 0 18px;
	font-size: 13px;
}

.ed-btn--lg {
	min-height: 56px;
	padding: 0 28px;
	font-size: 15px;
}

.ed-btn--primary {
	background: var(--ag-primary);
	color: #fff !important;
	box-shadow: var(--ag-shadow-sm);
}

.ed-btn--primary::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(7, 74, 122, 0.28);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
	z-index: 0;
}

.ed-btn--primary:hover {
	background: var(--ag-primary-xdk);
	color: #fff !important;
	box-shadow: 0 14px 32px rgba(26, 151, 250, 0.38);
}

.ed-btn--primary:hover::before {
	opacity: 1;
}

.ed-btn--soft {
	background: var(--ag-primary-lt);
	color: var(--ag-primary);
	border-color: transparent;
	box-shadow: none;
}

.ed-btn--soft:hover {
	background: var(--ag-primary-xdk);
	border-color: var(--ag-primary-xdk);
	color: #fff !important;
	box-shadow: 0 14px 32px rgba(26, 151, 250, 0.38);
}

.ed-btn--block {
	width: 100%;
}

.ed-btn--ghost {
	background: transparent;
	border-color: rgba(26, 151, 250, 0.35);
	color: var(--ag-primary);
}

.ed-btn--ghost:hover {
	background: var(--ag-primary-xdk);
	border-color: var(--ag-primary-xdk);
	color: #fff !important;
	box-shadow: 0 14px 32px rgba(26, 151, 250, 0.38);
}

.ed-btn__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-left: 5px;
	line-height: 0;
	color: inherit;
	position: relative;
	z-index: 1;
}

.ed-btn__ico .ed-icon {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
	color: inherit;
}

.ed-btn__ico .ed-icon [fill='none'] {
	fill: none;
}

.ed-btn__ico .ed-icon [stroke] {
	stroke: currentColor;
}

.ed-kicker {
	margin: 0 0 14px;
	color: var(--ag-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ed-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ag-primary);
}

.ed-eyebrow__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	line-height: 0;
}

.ed-eyebrow__icon .ed-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ed-eyebrow__text {
	line-height: 1;
}

/* --------------------------------------------------------------------------
   Nav — sticky pill, hover как на /editin/
   -------------------------------------------------------------------------- */
.ed-nav {
	--ed-nav-h: 64px;
	--ed-primary: var(--ag-primary);
	--ed-primary-lt: var(--ag-primary-lt);
	--ed-text: var(--ag-text);
	--ed-text-2: var(--ag-text-2);
	--ed-radius-control: var(--ag-radius);

	position: sticky;
	top: 0;
	z-index: 100;
	padding: 14px 0;
	background: #fff;
	border: 0;
	pointer-events: none;
	transition:
		padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ed-nav.is-scrolled {
	padding: 8px 0;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 8px 32px rgba(13, 111, 184, 0.08);
}

.ed-nav__pill {
	position: relative;
	pointer-events: auto;
	background: #fff;
	border-radius: var(--ag-radius);
	box-shadow: 0 10px 40px rgba(13, 111, 184, 0.12), 0 2px 8px rgba(13, 111, 184, 0.06);
	transition:
		box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ed-nav.is-scrolled .ed-nav__pill {
	box-shadow: 0 18px 48px rgba(13, 111, 184, 0.18), 0 4px 14px rgba(13, 111, 184, 0.08);
	transform: translateY(0);
}

.ed-nav.is-open .ed-nav__pill {
	border-radius: var(--ag-radius);
	overflow: visible;
}

.ed-nav__row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: var(--ed-nav-h);
	padding: 8px 12px 8px 16px;
}

.ed-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
	z-index: 1;
}

.ed-logo img,
.ed-logo .custom-logo {
	height: 36px;
	width: auto;
	max-width: min(210px, 42vw);
	object-fit: contain;
}

.ed-logo__text {
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--ag-text);
	line-height: 1.2;
}

.ed-nav__links {
	display: none;
	align-items: center;
	gap: 28px;
	font-size: 16px;
	font-weight: 500;
	color: #6b7280;
}

.ed-nav__links a {
	position: relative;
	display: inline-block;
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ed-nav__links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: var(--ag-primary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
	pointer-events: none;
}

.ed-nav__links a:hover,
.ed-nav__links a:focus-visible {
	color: var(--ag-primary);
}

.ed-nav__links a:hover::after,
.ed-nav__links a:focus-visible::after,
.ed-nav__links a.is-active::after,
.ed-nav__links a[aria-current='page']::after {
	transform: scaleX(1);
}

.ed-nav__links a.is-active,
.ed-nav__links a[aria-current='page'] {
	color: var(--ag-primary);
	font-weight: 600;
}

.ed-nav__cta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	z-index: 1;
}

.ed-nav__cta > .ed-btn {
	min-height: 44px;
	padding: 0 16px;
	font-size: 13px;
}

.ed-nav__toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--ag-radius);
	background: transparent;
	cursor: pointer;
	color: var(--ag-text);
}

.ed-nav__toggle-bar {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.ed-nav__toggle-bar:nth-child(1) {
	top: 14px;
}

.ed-nav__toggle-bar:nth-child(2) {
	top: 24px;
}

.ed-nav.is-open .ed-nav__toggle-bar:nth-child(1) {
	top: 19px;
	transform: rotate(45deg);
}

.ed-nav.is-open .ed-nav__toggle-bar:nth-child(2) {
	top: 19px;
	transform: rotate(-45deg);
}

.ed-nav__mobile {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - 2px);
	z-index: 120;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 4px 12px 14px;
	border-top: 1px solid rgba(46, 75, 196, 0.1);
	background: #fff;
	border-radius: 0 0 var(--ag-radius) var(--ag-radius);
	box-shadow: 0 16px 32px rgba(13, 111, 184, 0.12);
}

.ed-nav__mobile[hidden] {
	display: none !important;
}

.ed-nav__mobile a:not(.ed-btn) {
	padding: 8px 14px;
	font-weight: 600;
	font-size: 15px;
	color: var(--ag-text-2);
	border-radius: var(--ag-radius);
	text-decoration: none;
}

.ed-nav__mobile a:not(.ed-btn):hover {
	background: var(--ag-primary-lt);
	color: var(--ag-primary);
}

.ed-nav__mobile .ed-btn {
	margin-top: 8px;
	width: 100%;
}

.ed-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 95;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(26, 151, 250, 0.25);
	border-radius: var(--ag-radius);
	background: var(--ag-primary);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--ag-shadow-md);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ed-totop.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ed-totop:hover {
	background: var(--ag-primary-dk);
}

.ed-totop[hidden] {
	display: none !important;
}

@media (min-width: 1100px) {
	.ed-nav {
		padding: 18px 0;
	}

	.ed-nav.is-scrolled {
		padding: 10px 0;
	}

	.ed-nav__row {
		padding: 8px 14px 8px 22px;
	}

	.ed-logo img,
	.ed-logo .custom-logo {
		height: 40px;
		max-width: 220px;
	}

	.ed-nav__links {
		display: flex;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.ed-nav__cta > .ed-btn {
		min-height: 48px;
		padding: 0 20px;
		font-size: 14px;
	}

	.ed-nav__toggle,
	.ed-nav__mobile {
		display: none !important;
	}
}

@media (max-width: 1099px) {
	.ed-nav__cta > .ed-btn {
		display: none;
	}
}

/* Footer — тёмный Editin */
.ed-footer {
	position: relative;
	padding: 72px 0 40px;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.72);
	background:
		radial-gradient(circle at 12% 15%, rgba(26, 151, 250, 0.24), transparent 27%),
		linear-gradient(145deg, #074a7a, #102b68);
	border-top: 0;
}

.ed-footer::before {
	content: '';
	position: absolute;
	top: 28px;
	right: 6%;
	width: 220px;
	height: 90px;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1.5px, transparent 1.5px);
	background-size: 18px 18px;
}

.ed-footer__grid {
	display: grid;
	gap: 32px;
	position: relative;
	z-index: 1;
}

.ed-footer a {
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
	text-decoration: none;
}

.ed-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.ed-footer h3,
.ed-footer__title {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.ed-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ed-footer__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ed-footer__ico {
	display: inline-flex;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--ag-secondary-md);
}

.ed-footer__ico .ed-icon {
	width: 18px;
	height: 18px;
}

.ed-footer__logo {
	display: inline-block;
	margin-bottom: 0;
}

.ed-footer__logo img,
.ed-footer__logo .custom-logo {
	display: block;
	width: 300px;
	height: auto;
	max-width: 100%;
	filter: none;
}

.ed-footer__brand {
	align-self: start;
	padding-right: 50px;
	box-sizing: border-box;
}

.ed-footer__brand .ed-sub {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 899px) {
	.ed-footer__brand {
		padding-right: 0;
	}
}

.ed-footer__copy {
	position: relative;
	z-index: 1;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.58);
	text-align: center;
}

@media (min-width: 900px) {
	.ed-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
		gap: 40px;
		align-items: start;
	}
}

/* 404 */
.ed-404 {
	padding: 24px 0 72px;
}

.ed-404__grid {
	display: grid;
	gap: 32px;
	align-items: start;
}

.ed-404__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: stretch;
	isolation: isolate;
}

.ed-404__deco {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}

.ed-404__blob {
	position: absolute;
	border-radius: 50%;
}

.ed-404__blob--a {
	left: -4%;
	top: 12%;
	width: 88px;
	height: 88px;
	background: var(--ag-primary-lt);
}

.ed-404__blob--b {
	right: 2%;
	top: 28%;
	width: 54px;
	height: 54px;
	background: var(--ag-secondary-lt);
}

.ed-404__blob--c {
	left: 18%;
	bottom: 8%;
	width: 36px;
	height: 36px;
	background: rgba(26, 151, 250, 0.2);
}

.ed-404__blob--d {
	right: 16%;
	bottom: 18%;
	width: 22px;
	height: 22px;
	background: rgba(62, 191, 157, 0.35);
}

.ed-404__ring {
	position: absolute;
	border-radius: 50%;
	border: 3px solid var(--ag-primary-md);
	opacity: 0.5;
	box-sizing: border-box;
}

.ed-404__ring--a {
	left: 6%;
	bottom: 22%;
	width: 64px;
	height: 64px;
}

.ed-404__ring--b {
	right: -2%;
	top: 8%;
	width: 42px;
	height: 42px;
	border-color: var(--ag-secondary);
	opacity: 0.45;
}

.ed-404__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--ag-radius);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	box-shadow: var(--ag-shadow-sm);
}

.ed-404__chip--q {
	left: 8%;
	top: 42%;
	background: var(--ag-secondary);
}

.ed-404__chip--i {
	right: 8%;
	top: 55%;
	background: var(--ag-primary);
	border-radius: 50%;
}

.ed-404__media {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 0;
	height: 100%;
	background: transparent;
}

.ed-404__media img {
	width: auto !important;
	height: clamp(240px, 52vw, 340px) !important;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	background: transparent;
}

.ed-404__content {
	max-width: 560px;
}

.ed-404__code {
	margin: 0 0 8px;
	font-size: clamp(4.5rem, 14vw, 120px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--ag-text);
}

.ed-404__title {
	margin: 0 0 16px;
	font-size: clamp(1.75rem, 4vw, 36px);
	line-height: 1.2;
	font-weight: 700;
	color: var(--ag-text);
}

.ed-404__lead,
.ed-404__hint {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ag-text-2);
}

.ed-404__causes-label {
	margin: 0 0 8px;
	font-size: 16px;
	color: var(--ag-text);
}

.ed-404__list {
	margin: 0 0 24px;
	padding-left: 20px;
	list-style: none;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ag-text-2);
}

.ed-404__list li {
	position: relative;
	padding-left: 0.55em;
}

.ed-404__list li::marker {
	content: '';
}

.ed-404__list li::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ag-primary);
}

.ed-404__list li + li {
	margin-top: 0.35em;
}

.ed-404__actions {
	margin: 28px 0 0;
}

@media (min-width: 900px) {
	.ed-404 {
		padding: 40px 0 96px;
		min-height: calc(100vh - 220px);
		display: flex;
		align-items: center;
	}

	.ed-404__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 48px 64px;
		align-items: center;
	}

	.ed-404__visual {
		justify-content: center;
		align-items: center;
		height: 520px;
	}

	.ed-404__media {
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 100%;
	}

	.ed-404__media img {
		height: 520px !important;
		width: auto !important;
		max-width: 100%;
		object-fit: contain;
		object-position: center center;
	}

	.ed-404__content {
		align-self: center;
	}
}
