/*
 * WIZARDAUTO theme (task 002). Our own CSS; the values (sizes, colours, spacing, breakpoints) are those measured
 * on the old site (The7 4.1.0 with the studio's settings), see docs/upgrade.md.
 * Breakpoints: header switches to the mobile bar at <= 1150px; side paddings 50 -> 20 at <= 768px;
 * builder columns side by side from 768px; sidebar under the content at <= 970px.
 */

/* ---------- Fonts (local, OFL: fonts/OFL.txt) ---------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/open-sans-cyrillic-ext-400-normal.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: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/open-sans-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/open-sans-latin-ext-400-normal.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: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/open-sans-latin-400-normal.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: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/open-sans-cyrillic-ext-600-normal.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: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/open-sans-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/open-sans-latin-ext-600-normal.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: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/open-sans-latin-600-normal.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; }

/* ---------- Tokens ---------- */
:root {
	--font: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	--text: #c1c1c1;
	--headings: #618acc;
	--accent: #61b8e8;
	--accent-2: #617ee8;
	--accent-gradient: linear-gradient(30deg, #61b8e8 0%, #617ee8 100%);
	--page-bg: rgba(10, 13, 30, .77);
	--header-bg: #00000c;
	--line: rgba(255, 255, 255, .3);
	--side: 50px;
}
@media (max-width: 768px) { :root { --side: 20px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 14px/19px var(--font);
	color: var(--text);
	background-color: #000;
	background-repeat: repeat;
	background-position: 50% 0;
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 10px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; color: var(--headings); font-weight: 600; }
h1 { font-size: 32px; line-height: 32px; }
h2 { font-size: 31px; line-height: 32px; }
h3 { font-size: 24px; line-height: 25px; }
h4 { font-size: 18px; line-height: 20px; }
h5 { font-size: 12px; line-height: 14px; }
h6 { font-size: 12px; line-height: 16px; }
strong, b { font-weight: 600; }
ul, ol { margin: 0 0 10px; }
#content ul, #content ol { margin: 0 0 10px 20px; padding: 0; }
#content li ul, #content li ol { margin: 0 0 0 20px; list-style-type: disc; }
figure { margin: 0; }
pre { margin: 0; font-family: "courier new", monospace; white-space: pre-wrap; overflow-wrap: break-word; }
iframe { max-width: 100%; border: 0; }
button { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 5px; left: 5px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 15px; background: #fff; color: #000; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }

/* ---------- Page box ---------- */
#page {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	overflow: hidden;
	background: var(--page-bg);
	box-shadow: 0 0 12px rgba(0, 0, 0, .15);
}
.wrap { max-width: 1250px; margin: 0 auto; padding: 0 var(--side); }

/* ---------- Header: desktop ---------- */
.masthead { position: relative; z-index: 102; padding: 0 var(--side); background: var(--header-bg); }
.header-bar { max-width: 1150px; margin: 0 auto; padding-top: 10px; }
.branding { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.branding img { width: 419px; }
.branding__contacts { padding-top: 7px; }
.mini-contacts { position: relative; display: inline-block; padding-left: 18px; font-size: 14px; line-height: 15px; color: #75abce; }
.mini-contacts svg { position: absolute; left: 0; top: 0; width: 16px; height: 16px; color: #75abce; }
.mini-contacts a { color: var(--accent); text-decoration: underline; }
.header-bar .navigation { position: relative; display: flex; align-items: center; }
.header-bar .navigation::before { content: ""; position: absolute; top: 0; left: -1000px; right: -1000px; height: 1px; background: rgba(166, 166, 166, .25); }
.main-nav { display: flex; flex: 1 1 auto; justify-content: space-between; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.main-nav > li { position: relative; display: flex; flex: 1 1 auto; justify-content: center; }
.main-nav > li > a {
	display: flex; align-items: center; justify-content: center;
	margin: 10px 0; padding: 4px 0;
	color: #ccc; text-decoration: none;
}
.main-nav .menu-text { position: relative; font-size: 11px; font-weight: 600; line-height: 15px; text-transform: uppercase; }
.main-nav > li > a .menu-text::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
	background: var(--accent-gradient); transform: scaleX(0); transition: transform .25s ease;
}
.main-nav > li:hover > a .menu-text,
.main-nav > li.current-menu-item > a .menu-text,
.main-nav > li.current-menu-ancestor > a .menu-text,
.main-nav > li.current-menu-parent > a .menu-text {
	background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-nav > li:hover > a .menu-text::after,
.main-nav > li.current-menu-item > a .menu-text::after,
.main-nav > li.current-menu-ancestor > a .menu-text::after,
.main-nav > li.current-menu-parent > a .menu-text::after { transform: scaleX(1); }
.main-nav .not-clickable-item { cursor: default; }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 200;
	width: 250px; margin: 0; padding: 10px; list-style: none;
	background: rgba(0, 0, 15, .86); box-shadow: 0 0 4px rgba(0, 0, 0, .2);
	visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s;
}
.main-nav > li:hover > .sub-menu,
.main-nav > li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.main-nav .sub-menu a { display: flex; align-items: center; padding: 9px 8px; color: #ccc; text-decoration: none; }
.main-nav .sub-menu .menu-text { font-weight: 400; }
.main-nav .sub-menu a:hover .menu-text,
.main-nav .sub-menu .current-menu-item > a .menu-text { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.navigation__widgets { display: flex; align-items: center; justify-content: flex-end; padding: 18px 0 20px; }
.soc-ico { display: flex; }
.soc-ico a { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 2px; border-radius: 50%; color: var(--accent); }
.soc-ico a::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.soc-ico a:hover::before { border-color: #000; }
.soc-ico svg { width: 16px; height: 16px; }

/* ---------- Header: mobile ---------- */
.mobile-header-bar { display: none; align-items: center; justify-content: space-between; }
.mobile-branding { display: block; padding: 5px 10px; line-height: 0; }
.menu-toggle {
	display: flex; flex-direction: column; justify-content: space-between;
	width: 22px; height: 16px; margin: 0 0 0 10px; padding: 0; border: 0; background: none; cursor: pointer;
}
.menu-toggle i { display: block; height: 2px; border-radius: 1px; background: var(--accent-gradient); }
@media (max-width: 1150px) {
	.header-bar { display: none; }
	.mobile-header-bar { display: flex; }
}

.mobile-menu {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 9602;
	display: flex; flex-direction: column;
	width: 340px; max-width: 100%; padding: 30px 30px 0; overflow-y: auto;
	background: #0c0c0c;
	transform: translateX(100%); transition: transform .3s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { transform: none; }
.mobile-menu-overlay { position: fixed; inset: 0; z-index: 9601; background: rgba(0, 0, 0, .5); }
.mobile-menu-overlay[hidden] { display: none; }
.mobile-menu__close {
	position: fixed; top: 0; right: 0; z-index: 9603; width: 30px; height: 30px; padding: 0; border: 0;
	background: var(--accent-gradient); cursor: pointer;
}
.mobile-menu__close::before, .mobile-menu__close::after {
	content: ""; position: absolute; top: 14px; left: 6px; width: 18px; height: 2px; background: #fff; transform: rotate(45deg);
}
.mobile-menu__close::after { transform: rotate(-45deg); }
.mobile-menu__nav { flex: 1 0 auto; padding-bottom: 30px; }
.mobile-main-nav, .mobile-main-nav .sub-menu { margin: 0; padding: 0; list-style: none; }
.mobile-main-nav > li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-main-nav > li:last-child { border-bottom: 0; }
.mobile-main-nav a { display: block; padding: 13px 30px 13px 0; color: #fff; line-height: 15px; text-decoration: none; }
.mobile-main-nav .menu-text { font-size: 11px; font-weight: 600; line-height: 15px; }
.mobile-main-nav a:hover .menu-text, .mobile-main-nav .is-open > a .menu-text, .mobile-main-nav .current-menu-item > a .menu-text { color: var(--accent); }
.mobile-main-nav .sub-menu { display: none; padding: 0 0 16px 20px; }
.mobile-main-nav .is-open > .sub-menu { display: block; }
.mobile-main-nav .sub-menu a { padding: 5.5px 30px 5.5px 0; }
.mobile-main-nav .sub-menu .menu-text { font-weight: 400; }
.submenu-toggle { position: absolute; top: 6px; right: 0; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.submenu-toggle::before, .submenu-toggle::after { content: ""; position: absolute; top: 14px; left: 8px; width: 14px; height: 2px; background: #3a3a3a; transition: transform .2s; }
.submenu-toggle::after { transform: rotate(90deg); }
.is-open > .submenu-toggle::before { transform: rotate(45deg); }
.is-open > .submenu-toggle::after { transform: rotate(135deg); }
.mobile-menu__widgets { padding-bottom: 30px; }
.mobile-menu__widgets .mini-contacts { margin: 5px 20px 5px 0; color: #fff; }
.mobile-menu__widgets .soc-ico { margin-top: 5px; }
body.menu-open { overflow: hidden; }

/* ---------- Home slider ---------- */
.hero { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1240 / 650; }
.hero__img {
	position: absolute; inset: 0; margin: auto;
	width: min(1180px, 95.1613%); height: auto; aspect-ratio: 1180 / 650; object-fit: cover;
	opacity: 0; transition: opacity .3s linear;
}
.hero__img.is-active { opacity: 1; }

/* ---------- Title bar ---------- */
.page-title__inner { display: flex; align-items: center; min-height: 41px; border-bottom: 1px solid var(--line); }
.page-title h1 { margin: 5px 0; font-size: 18px; line-height: 20px; color: #fff; }
@media (max-width: 1150px) {
	.page-title { padding: 20px 0; }
	.page-title__inner { justify-content: center; text-align: center; }
}

/* ---------- Main ---------- */
#main { padding: 50px 0; }
.container { display: flow-root; margin: 0 -25px; }
#content { padding: 0 25px; }
.sidebar-right #content { float: left; width: 75%; padding: 0 50px 0 25px; }
.sidebar { position: relative; float: right; width: 25%; padding: 0 25px 0 50px; color: #969696; }
.sidebar::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--line); }
@media (max-width: 970px) {
	.sidebar-right #content, .sidebar { float: none; width: auto; padding: 0 25px; }
	.sidebar { margin-top: 50px; }
	.sidebar::before { display: none; }
}
@media (max-width: 768px) {
	.container { margin: 0 -10px; }
	#content, .sidebar-right #content, .sidebar { padding: 0 10px; }
}
.content--center { text-align: center; }

/* ---------- Page-builder content (shortcodes of wizardauto-shortcodes.php) ---------- */
.vc_row { margin: 0 -7.5px; }
.vc_row::after { content: ""; display: table; clear: both; }
.wpb_column { position: relative; min-height: 1px; }
.vc_column-inner { padding: 0 7.5px; }
.vc_column-inner::after { content: ""; display: table; clear: both; }
@media (min-width: 768px) {
	.vc_col-sm-1, .vc_col-sm-2, .vc_col-sm-3, .vc_col-sm-4, .vc_col-sm-5, .vc_col-sm-6, .vc_col-sm-7, .vc_col-sm-8, .vc_col-sm-9, .vc_col-sm-10, .vc_col-sm-11, .vc_col-sm-12 { float: left; }
	.vc_col-sm-12 { width: 100%; } .vc_col-sm-11 { width: 91.66666667%; } .vc_col-sm-10 { width: 83.33333333%; }
	.vc_col-sm-9 { width: 75%; } .vc_col-sm-8 { width: 66.66666667%; } .vc_col-sm-7 { width: 58.33333333%; }
	.vc_col-sm-6 { width: 50%; } .vc_col-sm-5 { width: 41.66666667%; } .vc_col-sm-4 { width: 33.33333333%; }
	.vc_col-sm-3 { width: 25%; } .vc_col-sm-2 { width: 16.66666667%; } .vc_col-sm-1 { width: 8.33333333%; }
}
.wpb_content_element { margin-bottom: 35px; }
.wpb_text_column > .wpb_wrapper > :last-child { margin-bottom: 0; }
.wpb_single_image.vc_align_center { text-align: center; }
.wpb_single_image.vc_align_right { text-align: right; }
.wpb_single_image .vc_figure { display: inline-block; max-width: 100%; vertical-align: top; }
.wpb_single_image .vc_single_image-wrapper { display: inline-block; max-width: 100%; vertical-align: top; }
.wpb_single_image img { max-width: 100%; height: auto; }
.zoom-img { position: absolute; top: 0; left: 0; width: auto !important; max-width: none !important; height: auto !important; opacity: 0; transition: opacity .2s; pointer-events: none; }
.wpb_gmaps_widget .wpb_wrapper { padding: 5px; background: #000; }
.wpb_gmaps_widget iframe { display: block; width: 100%; height: 450px; }

/* ---------- Blocks of the WordPress 5.0 editor in the content (legacy markup: #content ul.wp-block-gallery, figure.wp-block-image) ---------- */
.wp-block-image { max-width: 100%; margin: 0 0 1em; }
#content .wp-block-image img { max-width: 100%; height: auto; vertical-align: baseline; }
#content .wp-block-image a { display: inline; }
.wp-block-image .aligncenter, .wp-block-image.aligncenter { display: table; margin-left: auto; margin-right: auto; }
.wp-block-image figcaption { margin: 8px 0; font-size: 13px; text-align: center; }
#content ul.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 0; padding: 0; list-style: none; }
#content ul.wp-block-gallery .blocks-gallery-item { position: relative; display: flex; flex-direction: column; flex-grow: 1; justify-content: center; width: calc((100% - 16px) / 2); margin: 0 16px 16px 0; }
#content ul.wp-block-gallery .blocks-gallery-item:nth-of-type(2n) { margin-right: 0; }
#content ul.wp-block-gallery .blocks-gallery-item figure { display: flex; align-items: flex-end; height: 100%; margin: 0; }
#content ul.wp-block-gallery .blocks-gallery-item img { display: block; max-width: 100%; height: auto; }
#content ul.wp-block-gallery.is-cropped .blocks-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) {
	#content ul.wp-block-gallery.columns-3 .blocks-gallery-item { width: calc((100% - 32px) / 3); margin-right: 16px; }
	#content ul.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n) { margin-right: 0; }
}
#content ul.wp-block-gallery .blocks-gallery-item:last-child { margin-right: 0; }

/* ---------- Posts, archives, sidebar, comments ---------- */
.post-grid { column-count: 3; column-gap: 20px; }
@media (max-width: 970px) { .post-grid { column-count: 2; } }
@media (max-width: 600px) { .post-grid { column-count: 1; } }
.post-card { display: inline-block; width: 100%; margin-bottom: 20px; background: rgba(79, 79, 79, .28); break-inside: avoid; }
.post-card__body { padding: 0 25px 25px; }
.post-card .entry-title { padding-top: 10px; font-size: 18px; line-height: 20px; }
.post-card .entry-title a { color: var(--headings); }
.entry-meta { margin-bottom: 10px; font-size: 12px; line-height: 16px; color: #8a8a8a; }
.details-link { font-size: 12px; font-weight: 600; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-nav__label { display: block; font-size: 12px; color: #8a8a8a; }
.section-title { position: relative; margin: 50px 0 35px; padding-bottom: 10px; text-align: center; }
.section-title::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 60px; height: 3px; margin-left: -30px; background: var(--accent-gradient); }
.entry-content::after { content: ""; display: table; clear: both; }
.related-posts, .comments-area { clear: both; }
.related-posts { margin-top: 50px; padding-top: 1px; border-top: 1px solid var(--line); }
.comments-area { margin-top: 50px; border-top: 1px solid var(--line); }
.related-posts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 40px; }
@media (max-width: 600px) { .related-posts__list { grid-template-columns: 1fr; } }
.related-post { display: flex; gap: 17px; }
.related-post__thumb { flex: 0 0 95px; height: 69px; border: 1px solid var(--line); }
.related-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-post time { display: block; font-size: 12px; color: #c1c1c1; }
.widget { padding: 44px 0; border-top: 1px solid var(--line); }
.widget:first-child { padding-top: 0; border-top: 0; }
.widget-title { margin: 0 0 15px; font-size: 12px; font-weight: 600; line-height: 14px; color: #75a6ce; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 3px 0; }
.widget a { color: #c1c1c1; }
.searchform { position: relative; }
.searchform__field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 6px 14px; border: 1px solid #e0e0e0; border-radius: 3px; background: #fdfdfd; color: #8b8d94; font: 13px/19px var(--font);
}
.searchform__field { height: 32px; padding-right: 36px; }
.searchform__submit { position: absolute; top: 0; right: 0; width: 36px; height: 32px; border: 0; background: none; cursor: pointer; }
.searchform__submit::before { content: ""; position: absolute; top: 9px; left: 11px; width: 10px; height: 10px; border: 1.5px solid #9a9a9a; border-radius: 50%; }
.searchform__submit::after { content: ""; position: absolute; top: 20px; left: 21px; width: 5px; height: 1.5px; background: #9a9a9a; transform: rotate(45deg); }
.content--center { min-height: 500px; }
.not-found .searchform { margin-top: 10px; }
.comment-form { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.comment-form > p { margin: 0; flex: 1 1 100%; }
.comment-form label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.comment-form ::placeholder { color: #8b8d94; }
.comment-form .comment-form-author, .comment-form .comment-form-email, .comment-form .comment-form-url { flex: 1 1 30%; }
.comment-form textarea { min-height: 145px; }
.comment-notes { text-align: center; }
.button, .comment-form .submit {
	display: inline-block; padding: 0 12px; border: 0; border-radius: 3px; background: var(--accent-gradient);
	color: #fff; font: 600 14px/40px var(--font); cursor: pointer;
}
.comment-list { padding: 0; list-style: none; }

/* ---------- Footer ---------- */
#bottom-bar { position: relative; z-index: 9; font-size: 12px; line-height: 12px; color: #848484; }
#bottom-bar a { color: #848484; }
/* A table, as before: the browser shares the width between copyright and text by their content. */
.bottom-bar__inner { display: table; width: 100%; height: 61px; border-top: 1px solid rgba(255, 255, 255, .15); }
.bottom-bar__inner > div { display: table-cell; vertical-align: middle; }
.bottom-bar__logo { width: 1px; padding: 10px 10px 7px 0; line-height: 0; }
.bottom-bar__logo img { max-width: none; }
.bottom-bar__text { text-align: right; }
.bottom-bar__text p { margin: 0; line-height: 12px; }

/* ---------- Back to top ---------- */
.scroll-top {
	position: fixed; right: 10px; bottom: 10px; z-index: 101; width: 44px; height: 44px; border-radius: 3px;
	background: rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.scroll-top::before { content: ""; position: absolute; top: 19px; left: 16px; width: 10px; height: 10px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(45deg); }
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: rgba(0, 0, 0, .4); }

/* ---------- Lightbox (zoomable content images) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: #0c0c0c; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: calc(100vw - 60px); max-height: calc(100vh - 60px); width: auto; height: auto; }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; top: 19px; left: 8px; width: 24px; height: 2px; background: #fff; transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }

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