@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('exo2-cyr.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('exo2-lat.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 {
	--bg-site: #161924;
	--bg-wrapper: #1d202b;
	--bg-container: #272a38;
	--border: #3c394a;
	--contrast: #fff;
	--gray: #8c8c8c;
	--yellow: #f2a100;
	--yellow-hover: #ffc926;
	--green: #94ca37;
	--red: #f24e4e;
	--rail: 88px;
	--r: 12px;
	--r-md: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-site); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg-site);
	color: var(--contrast);
	font: 300 14px/20px 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	padding: 61px 0 48px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ic { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.dm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dm-skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--yellow); color: #000; padding: 8px 12px; }
.dm-skip:focus { left: 8px; top: 8px; }
.dm-emoji { font-weight: 400; }

.dm-container { max-width: 1412px; margin: 0 auto; padding: 0 16px; }

.dm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--yellow); color: #000; border: 1px solid var(--yellow);
	border-radius: var(--r-md); padding: 7px 11px; font-size: 12px; font-weight: 700; line-height: 20px;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.dm-btn:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.dm-btn--outline { background: transparent; color: var(--yellow); }
.dm-btn--outline:hover { background: transparent; color: var(--yellow-hover); }
.dm-btn--md { font-size: 16px; line-height: 24px; padding: 9px 15px; }
.dm-btn--xl { font-size: 16px; line-height: 24px; padding: 11px 15px; }
.dm-btn .ic { width: 24px; height: 24px; }
.dm-round {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(0, 0, 0, .5); color: rgba(255, 255, 255, .5);
	transition: color .2s;
}
.dm-round:hover { color: #fff; }
.dm-round .ic { width: 20px; height: 20px; }

.dm-rail { display: none; }

.dm-hdr { position: fixed; z-index: 20; top: 0; left: 0; right: 0; background: var(--bg-site); border-bottom: 1px solid var(--border); }
.dm-hdr__in { display: flex; align-items: center; height: 60px; padding: 0 16px; }
.dm-burger { display: none; }
.dm-hdr__logo { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; text-decoration: none; }
.dm-hdr__circle { width: 36px; height: 36px; }
.dm-hdr__word { width: 76px; height: 30px; display: none; }
.dm-nav { display: none; }
.dm-hdr__r { margin-left: auto; display: flex; gap: 8px; }

.dm-main { padding: 16px 0 24px; }

.dm-hero { position: relative; margin-bottom: 24px; border-radius: var(--r-md); overflow: hidden; background: var(--bg-wrapper); }
.dm-hero__track { position: relative; aspect-ratio: 1.8725; }
.dm-hero__slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .6s ease, visibility 0s linear .6s; text-decoration: none; color: #fff;
}
.dm-hero__slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.dm-hero__slide picture, .dm-hero__slide img { width: 100%; height: 100%; }
.dm-hero__slide img { object-fit: cover; }
.dm-hero__cap {
	position: absolute; left: 16px; bottom: 16px; max-width: 62%;
	display: flex; flex-direction: column; gap: 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.dm-hero__t { font-size: 22px; line-height: 24px; font-weight: 800; text-transform: uppercase; }
.dm-hero__s { font-size: 13px; line-height: 18px; font-weight: 600; }
.dm-hero__nav {
	position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%);
	display: flex; justify-content: space-between; padding: 0 12px; pointer-events: none;
}
.dm-hero__nav button { pointer-events: auto; width: 32px; height: 32px; }
.dm-hero__dots { display: none; }

.dm-cats { display: grid; gap: 8px; margin-bottom: 24px; }
.dm-cat {
	position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-md);
	padding: 16px; background: rgba(31, 36, 52, .9);
	display: flex; flex-direction: column;
}
.dm-cat__bg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; transition: transform .3s; }
.dm-cat:hover .dm-cat__bg { transform: scale(1.1); }
.dm-cat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.dm-cat__t { display: block; font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: 4px; }
.dm-cat__n { display: flex; align-items: center; gap: 8px; }
.dm-cat__n .ic { width: 20px; height: 20px; color: var(--green); }
.dm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: auto; }
.dm-tile { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1.3514; background: var(--bg-container); }
.dm-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.dm-tile:hover img { transform: scale(1.05); }

.dm-content {
	background: var(--bg-wrapper); border-radius: var(--r-md); padding: 20px 16px;
	font-size: 16px; line-height: 24px; overflow-wrap: anywhere;
}
.dm-content > :first-child { margin-top: 0; }
.dm-content > :last-child { margin-bottom: 0; }
.dm-content h1 { font-size: 28px; line-height: 32px; font-weight: 700; margin: 0 0 20px; }
.dm-content h2 { font-size: 24px; line-height: 30px; font-weight: 800; margin: 32px 0 12px; }
.dm-content h3 { font-size: 20px; line-height: 26px; font-weight: 700; margin: 24px 0 10px; }
.dm-content h4, .dm-content h5, .dm-content h6 { font-size: 18px; line-height: 24px; font-weight: 700; margin: 20px 0 8px; }
.dm-content p { margin: 0 0 14px; }
.dm-content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.dm-content a:hover { color: var(--yellow-hover); }
.dm-content strong, .dm-content b { font-weight: 700; }
.dm-content ul, .dm-content ol { margin: 0 0 14px; padding-left: 22px; }
.dm-content li { margin-bottom: 6px; }
.dm-content ul li::marker { color: var(--yellow); }
.dm-content ol li::marker { color: var(--yellow); font-weight: 700; }
.dm-content img { border-radius: var(--r-md); margin: 16px auto; }
.dm-content blockquote {
	margin: 16px 0; padding: 14px 16px; border-left: 3px solid var(--yellow);
	background: var(--bg-container); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.dm-content blockquote p:last-child { margin-bottom: 0; }
.dm-content hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.dm-content code { background: var(--bg-container); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border-radius: var(--r-md); border: 1px solid var(--border); }
.dm-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 20px; min-width: 480px; }
.dm-content th, .dm-content td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.dm-content th { background: var(--bg-container); font-weight: 700; }
.dm-content tr:last-child td { border-bottom: 0; }
.dm-content details { background: var(--bg-container); border-radius: var(--r-md); padding: 12px 16px; margin: 0 0 8px; }
.dm-content summary { cursor: pointer; font-weight: 700; }

.dm-land { display: flex; justify-content: center; margin: 8px 0 24px; }
.dm-land .dm-btn { min-width: 280px; }

.dm-foot { padding: 0 0 24px; }
.dm-foot .dm-container > * { border-top: 1px solid var(--border); }
.dm-foot__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px 0; }
.dm-foot__links a { text-decoration: none; font-size: 14px; line-height: 21px; }
.dm-foot__links a:hover { color: var(--yellow); }
.dm-foot__row { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.dm-foot__row p { margin: 0; font-size: 11px; line-height: 16px; color: var(--gray); }
.dm-foot__row a { color: var(--gray); }
.dm-foot__row a:hover { color: var(--yellow); }
.dm-foot__age {
	flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--red);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.dm-foot__logo { width: 42px; height: 42px; flex-shrink: 0; }

.dm-tab {
	position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
	height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	background: var(--bg-site); border-top: 1px solid var(--border);
}
.dm-tab a, .dm-tab button {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none;
	color: var(--contrast); font-size: 10px; line-height: 12px; font-weight: 500;
}
.dm-tab .ic { width: 22px; height: 22px; }
.dm-tab a:hover, .dm-tab button:hover, .dm-tab [aria-current], .dm-tab [aria-expanded="true"] { color: var(--yellow); }
.dm-tab [aria-current] .ic { color: var(--yellow); }

.dm-drawer {
	position: fixed; z-index: 30; inset: 0 0 calc(48px + env(safe-area-inset-bottom)); overflow-y: auto;
	background: var(--bg-site); padding: 12px 16px 24px; display: flex; flex-direction: column;
}
.dm-drawer[hidden] { display: none; }
.dm-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dm-drawer__head img { width: 88px; height: 35px; }
.dm-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.dm-drawer nav a {
	display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-md);
	background: var(--bg-wrapper); text-decoration: none; font-size: 16px; font-weight: 600;
}
.dm-drawer nav a .ic { color: var(--gray); }
.dm-drawer nav a:hover, .dm-drawer nav a[aria-current] { color: var(--yellow); }
.dm-drawer nav a:hover .ic, .dm-drawer nav a[aria-current] .ic { color: var(--yellow); }
.dm-drawer__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.dm-drawer__cta .dm-btn { font-size: 16px; padding: 11px 15px; line-height: 24px; }
body.is-locked { overflow: hidden; }

@media (min-width: 420px) {
	.dm-hdr__word { display: block; }
}

@media (min-width: 560px) {
	.dm-hero__track { aspect-ratio: 4.2675; }
	.dm-hero__cap { left: max(6%, 76px); bottom: auto; top: 50%; transform: translateY(-50%); max-width: 42%; }
	.dm-hero__t { font-size: clamp(22px, 3.4vw, 48px); line-height: 1.05; }
	.dm-hero__s { font-size: clamp(13px, 1.3vw, 18px); line-height: 1.3; }
	.dm-hero__nav { padding: 0 24px; }
	.dm-hero__dots {
		position: absolute; z-index: 2; left: 0; right: 0; bottom: 8px;
		display: flex; justify-content: center; gap: 8px;
	}
	.dm-hero__dots button { width: 56px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(0, 0, 0, .4); cursor: pointer; }
	.dm-hero__dots button.is-on { background: rgba(255, 255, 255, .5); }
	.dm-cats { grid-template-columns: 1fr 1fr; }
	.dm-cats--one { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
	body { padding: 0; }
	.dm-tab, .dm-drawer { display: none !important; }
	.dm-hdr { position: relative; }
	.dm-hdr__in { height: 88px; padding: 0 36px; position: relative; }
	.dm-burger {
		display: flex; flex-direction: column; gap: 6px; padding: 6px; margin-right: 8px;
		background: none; border: 0; cursor: pointer; color: var(--contrast);
	}
	.dm-burger i { display: block; width: 36px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
	.dm-burger:hover { color: var(--yellow); }
	.dm-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
	.dm-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
	.dm-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
	.dm-hdr__circle { display: none; }
	.dm-hdr__word { display: block; width: 104px; height: 41px; }
	.dm-nav {
		position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
		display: flex; justify-content: space-between; padding: 0 36px;
		background: var(--bg-site); border-bottom: 1px solid var(--border);
		height: 52px; visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .3s, transform .3s, visibility 0s linear .3s;
	}
	.dm-hdr.is-open .dm-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
	.dm-nav a {
		position: relative; display: flex; align-items: center; padding: 0 6px;
		color: var(--gray); font-size: 16px; font-weight: 600; text-decoration: none; transition: color .2s;
	}
	.dm-nav a::after {
		content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yellow);
		transform: scaleX(0); transition: transform .2s;
	}
	.dm-nav a:hover { color: var(--yellow); }
	.dm-nav a[aria-current] { color: var(--contrast); }
	.dm-nav a[aria-current]::after { transform: scaleX(1); }
	.dm-hdr__r { gap: 8px; }
	.dm-hdr__r .dm-btn { font-size: 16px; line-height: 24px; padding: 11px 15px; }
	.dm-container { padding: 0 36px; }
	.dm-main { padding: 36px 0 40px; }
	.dm-hero { border-radius: var(--r); margin-bottom: 40px; }
	.dm-cats { gap: 24px; margin-bottom: 40px; }
	.dm-cat { border-radius: var(--r); padding: 24px; min-height: 210px; }
	.dm-cat__t { font-weight: 700; }
	.dm-cat__n { font-size: 16px; line-height: 24px; }
	.dm-tile { border-radius: var(--r); }
	.dm-btn--md { padding: 11px 15px; }
	.dm-content { border-radius: var(--r); padding: 32px 36px; }
	.dm-content h1 { font-size: 44px; line-height: 56px; font-weight: 800; margin-bottom: 24px; }
	.dm-content h2 { font-size: 32px; line-height: 40px; }
	.dm-content h3 { font-size: 24px; line-height: 32px; }
	.dm-foot { padding-bottom: 32px; }
	.dm-foot__links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 20px 0; }
	.dm-foot__links a { font-size: 16px; line-height: 24px; }
	.dm-foot__row { padding: 20px 0; gap: 16px; }
	.dm-foot__row p { font-size: 12px; max-width: 560px; }
	.dm-foot__row + .dm-foot__row { border-top: 0; padding-top: 0; }
}

@media (min-width: 1201px) {
	body { padding-left: var(--rail); }
	.dm-rail {
		position: fixed; z-index: 21; left: 0; top: 0; bottom: 0; width: var(--rail);
		display: flex; flex-direction: column; align-items: center; background: var(--bg-wrapper);
	}
	.dm-rail__logo {
		display: flex; align-items: center; justify-content: center; width: 100%; height: 88px;
		border-bottom: 1px solid var(--border); flex-shrink: 0;
	}
	.dm-rail__logo img { width: 56px; height: 56px; }
	.dm-rail__top, .dm-rail__bot { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 20px 0; }
	.dm-rail__bot { margin-top: auto; }
	.dm-rail__a {
		display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
		color: var(--gray); border-radius: var(--r-md); transition: color .2s;
	}
	.dm-rail__a .ic { width: 28px; height: 28px; }
	.dm-rail__a:hover { color: var(--yellow); }
	.dm-rail__a--green { color: var(--green); }
}

@media (min-width: 1801px) {
	.dm-burger { display: none; }
	.dm-hdr__word { margin-right: 40px; }
	.dm-nav {
		position: static; visibility: visible; opacity: 1; transform: none; transition: none;
		height: 100%; border: 0; padding: 0; justify-content: flex-start; gap: 20px; background: none;
	}
	.dm-nav a::after { top: auto; bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* ---- modnyj-dom.com.ua site copy (_src/modnyj-dom/stage/site.css, appended) ---- */

/* language switcher: header (>=768) and the phone drawer */
.dm-lsw { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-md); background: var(--bg-wrapper); border: 1px solid var(--border); }
.dm-lsw__a { min-width: 36px; height: 34px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 14px; font-weight: 700; color: var(--gray); text-decoration: none; transition: color .2s; }
.dm-lsw__a:hover { color: var(--yellow); }
.dm-lsw__a[aria-current="true"] { background: var(--yellow); color: #000; }
.dm-hdr__r { align-items: center; }
.dm-lsw--hdr { display: none; }
.dm-lsw--menu { margin: 16px 0 0; align-self: flex-start; }
@media (min-width: 768px) { .dm-lsw--hdr { display: inline-flex; } }
.dm-foot__links a[aria-current] { color: var(--yellow); }

/* contents box */
.dm-content .dm-toc { margin: 0 0 24px; padding: 16px 20px 6px; border-radius: var(--r-md); background: var(--bg-container); border-left: 4px solid var(--yellow); }
.dm-content .dm-toc__t { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.dm-content .dm-toc ol { margin-bottom: 10px; }
.dm-content .dm-toc a { color: var(--contrast); text-decoration: none; }
.dm-content .dm-toc a:hover { color: var(--yellow); text-decoration: underline; }

/* call-to-action buttons in the article */
.dm-content .dm-cta { margin: 20px 0 24px; text-align: center; }
.dm-content .dm-cta a.dm-btn { color: #000; text-decoration: none; min-height: 48px; padding: 11px 32px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.dm-content .dm-cta a.dm-btn:hover { color: #000; }

/* screenshots: centred, never wider than the column or than their file */
.dm-content .dm-shot { margin: 8px 0 20px; }
.dm-content .dm-shot img { display: block; margin: 0 auto; max-width: 100%; height: auto; border: 1px solid var(--border); }

/* information-site box at the end of the first block */
.dm-content .dm-info { padding: 14px 18px; border-radius: var(--r-md); background: rgba(242, 161, 0, .08); border: 1px solid rgba(242, 161, 0, .35); font-size: 15px; }

/* tables size to their content and scroll inside their box */
.dm-content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px; }
.dm-content .table-scroll table { width: max-content; min-width: 100%; }
.dm-content .table-scroll th { white-space: nowrap; }
.dm-content .table-scroll td { max-width: 38ch; }
