/* =========================================================
   Блу Системс – корпоративна визия за темата Alchem
   Палитра: #0066FF  #0A1428  #64748B  #E5E7EB  #FFFFFF
   Шрифт:   Exo 2 (Bold / SemiBold / Regular)
   ========================================================= */

/* ---------- Шрифт Exo 2 (локално) ---------- */
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 400; font-display: swap;
	src: url(fonts/exo-2-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: "Exo 2"; font-style: normal; font-weight: 400; font-display: swap;
	src: url(fonts/exo-2-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+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 500; font-display: swap;
	src: url(fonts/exo-2-cyrillic-500-normal.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: 500; font-display: swap;
	src: url(fonts/exo-2-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 600; font-display: swap;
	src: url(fonts/exo-2-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: "Exo 2"; font-style: normal; font-weight: 600; font-display: swap;
	src: url(fonts/exo-2-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+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 700; font-display: swap;
	src: url(fonts/exo-2-cyrillic-700-normal.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: 700; font-display: swap;
	src: url(fonts/exo-2-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
	--bs-blue: #0066FF;
	--bs-blue-dark: #0052CC;
	--bs-navy: #0A1428;
	--bs-navy-2: #0F1D38;
	--bs-slate: #64748B;
	--bs-light: #E5E7EB;
	--bs-bg: #F5F6F8;
	--bs-white: #FFFFFF;
	--bs-ink: #0A1428;
	--bs-text: #334155;
	--bs-radius: 6px;
	--bs-font: "Exo 2", "Segoe UI", Arial, sans-serif;
	--bs-pixels: url(pixels.svg);
	--bs-pixels-light: url(pixels-light.svg);
}

/* ---------- Типография ---------- */
body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.site-nav, .site-nav a, .magee-btn-normal, .entry-title, .top-bar {
	font-family: var(--bs-font) !important;
}
body {
	font-size: 16px;
	line-height: 1.7;
	color: var(--bs-text);
	background: var(--bs-white);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--bs-ink); font-weight: 700; letter-spacing: 0; }
a { color: var(--bs-blue); }
a:hover, a:focus { color: var(--bs-blue-dark); }
::selection { background: var(--bs-blue); color: #fff; }

/* ---------- Горна лента ---------- */
.top-bar {
	background: #060D1B;
	border: 0;
	font-size: 13px;
	line-height: 1.4;
	padding: 8px 0;
	letter-spacing: .02em;
}
.top-bar, .top-bar a, .top-bar span { color: rgba(255,255,255,.72); }
.top-bar a:hover { color: #fff; }
.top-bar-info a, .top-bar-info span { display: inline-block; margin-right: 28px; }
.top-bar-info i { color: var(--bs-blue); margin-right: 6px; }
.top-bar-info a { font-weight: 600; color: #fff; }

/* ---------- Хедър (тъмен, както в макета „Дигитално присъствие“) ---------- */
.main-header, .fxd-header {
	background: var(--bs-navy) !important;
	border-bottom: 1px solid rgba(255,255,255,.06);
	box-shadow: none;
}
.main-header { padding: 12px 0; }
.logo-box .site-logo { height: 58px; width: auto; max-height: none; }
.fxd-header .site-logo { height: 44px; }
.logo-box .name-box { display: none; }

@media (min-width: 920px) {
	.site-nav > ul > li + li { margin-left: 30px; }
	.site-nav .main-nav > li > a {
		font-size: 13px;
		font-weight: 600;
		color: rgba(255,255,255,.88) !important;
		text-transform: uppercase;
		letter-spacing: .08em;
		border-bottom: 2px solid transparent;
	}
	.site-nav .main-nav > li:hover > a,
	.site-nav .main-nav > li.current-menu-item > a { color: #fff !important; border-color: var(--bs-blue) !important; }
	.site-nav .main-nav > li.bsd-cta > a,
	.site-nav .main-nav > li.bsd-cta:hover > a { border-color: transparent !important; }
	.site-nav .main-nav > li.bsd-cta > a .menu-item-label {
		background: var(--bs-blue);
		color: #fff;
		border-radius: 4px;
		padding: 10px 20px;
		transition: background .2s;
	}
	.site-nav .main-nav > li.bsd-cta > a:hover .menu-item-label { background: var(--bs-blue-dark); }
	.main-header .fa-search, .fxd-header .fa-search { color: rgba(255,255,255,.8); }
}
.site-nav-toggle, .site-nav-toggle i { color: #fff !important; }

/* ---------- Слайдер ---------- */
.section-banner { position: relative; background-size: cover !important; background-position: center !important; }
.section-banner::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 80% 30%, rgba(0,102,255,.28), transparent 55%),
		linear-gradient(90deg, rgba(10,20,40,.96) 0%, rgba(10,20,40,.86) 45%, rgba(10,20,40,.55) 100%);
	pointer-events: none;
}
.section-banner::after {
	content: "";
	position: absolute; right: 0; bottom: 0;
	width: 308px; height: 220px;
	background: var(--bs-pixels) no-repeat right bottom / contain;
	opacity: .9;
	pointer-events: none;
}
.section-banner .section-content { position: relative; z-index: 1; }
.section-banner .magee-heading {
	font-weight: 700;
	font-size: 54px;
	line-height: 1.12;
	text-align: left !important;
	max-width: 760px;
	margin: 0;
	text-shadow: none;
}
.section-banner .magee-heading { max-width: 900px; }
.section-banner .magee-heading,
.section-banner .magee-heading span { color: #fff !important; font-weight: 700 !important; font-family: var(--bs-font) !important; }
.section-banner .magee-heading .bsd-hl { color: var(--bs-blue) !important; }
.section-banner p[class*="sub_title"] {
	color: rgba(255,255,255,.80) !important;
	font-size: 19px;
	text-align: left !important;
	margin: 18px 0 30px;
}
.section-banner div[class*="btn_text"] { text-align: left !important; }

/* ---------- Бутони ---------- */
.magee-btn-normal, .wpcf7 input[type="submit"] {
	border-radius: 4px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 13px !important;
	padding: 14px 28px !important;
	transition: background .2s, color .2s, border-color .2s;
}
.section-banner .magee-btn-normal,
#section-11 .magee-btn-normal {
	background: var(--bs-blue) !important;
	border: 0 !important;
	color: #fff !important;
}
.section-banner .magee-btn-normal:hover,
#section-11 .magee-btn-normal:hover { background: var(--bs-blue-dark) !important; color: #fff !important; }
#section-4 .magee-btn-normal {
	border: 1.5px solid var(--bs-navy) !important;
	color: var(--bs-navy) !important;
	background: transparent !important;
}
#section-4 .magee-btn-normal:hover { background: var(--bs-navy) !important; color: #fff !important; }

/* ---------- Заглавия на секциите ---------- */
.magee-section .section-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 0;
	color: var(--bs-ink);
}
.magee-section .section-title strong { color: var(--bs-blue); font-weight: 700; }
.magee-section .divider-inner.primary,
.magee-section .divider-inner.light { border-color: var(--bs-blue) !important; }
.magee-section .divider.center { margin-top: 18px !important; margin-bottom: 16px !important; width: 48px !important; }
.magee-section .section-subtitle {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: var(--bs-slate);
}
.magee-section .section-subtitle + div[style*="height"] { height: 44px !important; }

/* ---------- Услуги ---------- */
#section-3 .row { display: flex; flex-wrap: wrap; }
#section-3 .row > [class*="col-"] { display: flex; margin-bottom: 30px; }
#section-3 .row > [class*="col-"] > .alchem-animated { display: flex; width: 100%; }
#section-3 .magee-feature-box.style1 {
	background: #fff;
	border: 1px solid var(--bs-light);
	border-radius: var(--bs-radius);
	padding: 32px 28px 28px;
	width: 100%;
	text-align: left;
	position: relative;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
#section-3 .magee-feature-box.style1::before {
	content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
	background: var(--bs-blue); border-radius: var(--bs-radius) var(--bs-radius) 0 0;
	transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
#section-3 .magee-feature-box.style1:hover { box-shadow: 0 16px 40px rgba(10,20,40,.10); transform: translateY(-3px); }
#section-3 .magee-feature-box.style1:hover::before { transform: scaleX(1); }
#section-3 .icon-box {
	width: 60px; height: 60px;
	margin: 0 0 20px;
	border-radius: 4px;
	background: rgba(0,102,255,.08);
	display: flex; align-items: center; justify-content: center;
}
#section-3 .icon-box img.feature-box-icon { width: 34px; height: 34px; object-fit: contain; max-width: none; }
#section-3 h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; text-align: left; }
#section-3 .feature-content p { font-size: 15px; line-height: 1.65; color: var(--bs-slate); margin: 0; text-align: left; }
#section-3 .feature-link:empty { display: none; }

/* ---------- Реализирани проекти ---------- */
#section-4 { background: var(--bs-bg) !important; }
#section-4 .row { display: flex; flex-wrap: wrap; }
#section-4 .row > [class*="col-"] { margin-bottom: 30px; }
#section-4 .img-frame, #section-4 .img-box { border-radius: var(--bs-radius); overflow: hidden; }
#section-4 .img-box img.feature-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
#section-4 .img-box:hover img.feature-img { transform: scale(1.04); }
#section-4 .img-overlay.dark { background: rgba(10,20,40,.55) !important; }
#section-4 .img-box a[href="#"] { cursor: default; }

/* ---------- Защо да изберете ---------- */
#section-5 { position: relative; }
#section-5 .col-md-2_5 { display: none; }
#section-5 .col-md-3_5 {
	width: 100%;
	float: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding-top: 24px;
}
#section-5 .magee-feature-box.style2 {
	padding: 30px 28px 28px !important;
	background: #fff;
	border: 1px solid var(--bs-light);
	border-radius: var(--bs-radius);
	height: 100%;
	margin: 0;
}
#section-5 .magee-feature-box.style2 .icon-box {
	position: static;
	background: var(--bs-navy) !important;
	border-radius: 4px !important;
	width: 48px; height: 48px; line-height: 48px;
	margin-bottom: 18px;
}
#section-5 .magee-feature-box.style2 .icon-box i { color: #fff; }
#section-5 .magee-feature-box.style2:hover .icon-box { background: var(--bs-blue) !important; }
#section-5 h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
#section-5 .feature-content p { font-size: 15px; color: var(--bs-slate); margin: 0; }
#section-5 .feature-link:empty { display: none; }

/* ---------- За нас (тъмна секция) ---------- */
#section-6 { position: relative; background: var(--bs-navy) !important; overflow: hidden; }
#section-6::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 15% 0%, rgba(0,102,255,.22), transparent 55%);
}
#section-6::after {
	content: ""; position: absolute; right: 0; bottom: 0;
	width: 308px; height: 220px;
	background: var(--bs-pixels) no-repeat right bottom / contain;
	opacity: .55;
}
#section-6 .section-content { position: relative; z-index: 1; }
#section-6 h2 { font-size: 36px; font-weight: 700; }
#section-6 h3 { font-weight: 700; font-size: 18px !important; }
#section-6 .divider-inner { border-color: var(--bs-blue) !important; }
#section-6 .icon-box { background-color: var(--bs-blue) !important; border-radius: 4px !important; }
#section-6 .feature-link:empty { display: none; }
#section-6 .feature-content p span { color: rgba(255,255,255,.72) !important; }

/* ---------- Новини ---------- */
#section-9 .row { display: flex; flex-wrap: wrap; }
#section-9 .row > [class*="col-"] { display: flex; margin-bottom: 30px; }
#section-9 .entry-box-wrap { width: 100%; }
#section-9 .entry-box {
	background: #fff;
	border: 1px solid var(--bs-light);
	border-radius: var(--bs-radius);
	padding: 26px 26px 22px;
	height: 100%;
	transition: box-shadow .2s;
}
#section-9 .entry-box:hover { box-shadow: 0 16px 40px rgba(10,20,40,.10); }
#section-9 .entry-title { font-size: 19px !important; line-height: 1.35; font-weight: 700; color: var(--bs-ink); }
#section-9 .entry-header a:hover .entry-title { color: var(--bs-blue); }
#section-9 .entry-meta, #section-9 .entry-meta a { font-size: 13px; color: var(--bs-slate); }
#section-9 .entry-meta i { color: var(--bs-blue); }
#section-9 .entry-summary, #section-9 .entry-content { font-size: 15px; color: var(--bs-slate); }

/* ---------- Свържете се с нас ---------- */
#section-11 { position: relative; background: var(--bs-navy) !important; overflow: hidden; }
#section-11::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 50% 120%, rgba(0,102,255,.35), transparent 60%);
}
#section-11::after {
	content: ""; position: absolute; left: 0; top: 0;
	width: 308px; height: 220px;
	background: var(--bs-pixels) no-repeat left top / contain;
	transform: rotate(180deg);
	opacity: .45;
}
#section-11 .section-content { position: relative; z-index: 1; }
#section-11 .section-title, #section-6 h2, #section-6 h3 { color: #fff !important; }
.bsd-contact-lines {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 14px 34px;
	margin: 0 0 32px;
	font-size: 16px;
}
.bsd-contact-lines, .bsd-contact-lines a { color: rgba(255,255,255,.85); }
.bsd-contact-lines a { font-weight: 700; font-size: 24px; color: #fff; }
.bsd-contact-lines i { margin-right: 8px; color: var(--bs-blue); }
.bsd-contact-lines span { align-self: center; }

/* ---------- Футър ---------- */
footer .footer-info-area {
	background: #060D1B;
	border-top: 3px solid var(--bs-blue);
	padding: 34px 0;
}
footer .footer-sns li a {
	background: rgba(255,255,255,.06);
	border-radius: 4px;
	width: 40px; height: 40px; line-height: 40px;
	display: inline-block; text-align: center;
	color: #fff;
}
footer .footer-sns li a:hover { background: var(--bs-blue); }
footer .site-info, footer .site-info a { color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: .02em; }
footer .site-info a:hover { color: #fff; }

/* ---------- Вътрешни страници ---------- */
.page-title-bar {
	position: relative;
	overflow: hidden;
	background: var(--bs-navy) !important;
	padding-top: 56px !important; padding-bottom: 56px !important;
	min-height: 0 !important; height: auto !important;
}
.page-title-bar::after {
	content: ""; position: absolute; right: 0; bottom: 0;
	width: 220px; height: 157px;
	background: var(--bs-pixels) no-repeat right bottom / contain;
	opacity: .7;
}
.page-title-bar .container { position: relative; z-index: 1; }
.page-title-bar h1 { color: #fff !important; font-weight: 700; }
.page-title-bar, .page-title-bar a, .page-title-bar .breadcrumb-nav { color: rgba(255,255,255,.65) !important; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	border: 1px solid var(--bs-light);
	border-radius: 4px;
	padding: 10px 14px;
	width: 100%;
	background: #fff;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--bs-blue); outline: 0; box-shadow: 0 0 0 3px rgba(0,102,255,.15); }
.wpcf7 input[type="submit"] { background: var(--bs-blue); color: #fff; border: 0; }
.wpcf7 input[type="submit"]:hover { background: var(--bs-blue-dark); }
iframe[src*="bgmaps"] { max-width: 100%; border: 0; border-radius: var(--bs-radius); }

/* ---------- Решения: 4 основни + 2 допълнителни ---------- */
@media (min-width: 992px) {
	/* темата слага картите в два реда по 3 – обединяваме ги в една мрежа 4 + 2 */
	#section-3 .alchem_section_2_model { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
	#section-3 .alchem_section_2_model > * { grid-column: 1 / -1; }
	#section-3 .alchem_section_2_model > .row { display: contents; }
	#section-3 .alchem_section_2_model::before, #section-3 .alchem_section_2_model::after,
	#section-3 .alchem_section_2_model > .row::before, #section-3 .alchem_section_2_model > .row::after { display: none; }
	#section-3 .alchem_section_2_model > .row > [class*="col-"] { width: auto; float: none; padding: 0; margin: 0 0 24px; grid-column: span 3; }
	#section-3 [class*="col-"]:has(.alchem_section_2_feature_image_4, .alchem_section_2_feature_image_5) { grid-column: span 6 !important; }
}
#section-3 [class*="col-"]:has(.alchem_section_2_feature_image_4, .alchem_section_2_feature_image_5) .magee-feature-box.style1 {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 18px;
	align-items: start;
	align-content: start;
	padding: 22px 24px;
	background: var(--bs-bg);
	border-color: transparent;
}
#section-3 [class*="col-"]:has(.alchem_section_2_feature_image_4, .alchem_section_2_feature_image_5) .icon-box { width: 52px; height: 52px; margin: 0; grid-row: span 2; background: #fff; }
#section-3 [class*="col-"]:has(.alchem_section_2_feature_image_4, .alchem_section_2_feature_image_5) .icon-box img.feature-box-icon { width: 28px; height: 28px; }
#section-3 [class*="col-"]:has(.alchem_section_2_feature_image_4, .alchem_section_2_feature_image_5) h3 { font-size: 16px; margin: 2px 0 4px; }
#section-3 [class*="col-"]:has(.alchem_section_2_feature_image_4, .alchem_section_2_feature_image_5) .feature-content p { font-size: 14px; }
#section-3 a h3 { color: var(--bs-ink); }
#section-3 a:hover h3 { color: var(--bs-blue); }
#section-3 a h3::after { content: " →"; color: var(--bs-blue); }

/* ---------- За нас: водещ текст ---------- */
.bsd-about-lead {
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.4;
	padding: 30px 30px 30px 0;
}
@media (max-width: 991px) { .bsd-about-lead { font-size: 21px; padding: 0 0 24px; } }

/* ---------- Бутон „Всички статии“ ---------- */
.bsd-all-posts { text-align: center; margin-top: 10px; clear: both; }
.bsd-all-posts .magee-btn-normal {
	display: inline-block;
	border: 1.5px solid var(--bs-navy) !important;
	color: var(--bs-navy) !important;
	background: transparent !important;
}
.bsd-all-posts .magee-btn-normal:hover { background: var(--bs-navy) !important; color: #fff !important; }

/* ---------- Страница „Блог“ и единична статия ---------- */
.blog-list-wrap .entry-box-wrap, .post-wrap .entry-box-wrap { margin-bottom: 30px; }
.blog-list-wrap .entry-box, body.page-template-template-blog .entry-box {
	background: #fff; border: 1px solid var(--bs-light); border-radius: var(--bs-radius); padding: 26px;
}
body.page-template-template-blog .entry-title, body.single-post .entry-title { font-weight: 700; color: var(--bs-ink); }
body.single-post .entry-content img { max-width: 100%; height: auto; border-radius: 4px; }
body.single-post .entry-content { font-size: 17px; line-height: 1.75; }

/* ---------- Блог: странична колона ---------- */
body.search .container-fullwidth { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 992px) {
	.bsd-has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; margin: 0; }
	.bsd-has-aside::before, .bsd-has-aside::after { display: none; }
	.bsd-has-aside > .col-main { order: 1; width: auto; float: none; padding: 0; max-width: none; }
	.bsd-has-aside > .bsd-aside { order: 2; position: sticky; top: 100px; align-self: start; }
}
@media (max-width: 991px) {
	.bsd-has-aside { display: flex; flex-direction: column; }
	.bsd-has-aside > .col-main { order: 1; }
	.bsd-has-aside > .bsd-aside { order: 2; margin-top: 30px; padding: 0 15px; }
}
.bsd-widget { margin-bottom: 34px; }
.bsd-widget h4 {
	font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
	color: var(--bs-slate); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--bs-light);
}
.bsd-search form { display: flex; border: 1px solid var(--bs-light); border-radius: 4px; overflow: hidden; }
.bsd-search input { flex: 1; border: 0; padding: 10px 12px; font-size: 15px; outline: 0; min-width: 0; }
.bsd-search button { border: 0; background: var(--bs-blue); color: #fff; width: 44px; }
.bsd-search form:focus-within { border-color: var(--bs-blue); box-shadow: 0 0 0 3px rgba(0,102,255,.15); }

.bsd-cats, .bsd-years, .bsd-years ul { list-style: none; margin: 0; padding: 0; }
.bsd-cats li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--bs-light); font-size: 15px; color: var(--bs-slate); }
.bsd-cats li a { color: var(--bs-ink); }
.bsd-cats li a:hover, .bsd-years a:hover { color: var(--bs-blue); }
.bsd-cats .children { display: none; }

.bsd-years > li { border-bottom: 1px dashed var(--bs-light); }
.bsd-years summary {
	display: flex; align-items: center; gap: 8px; padding: 8px 0; cursor: pointer; list-style: none;
	font-weight: 700; font-size: 16px;
}
.bsd-years summary::-webkit-details-marker { display: none; }
.bsd-years summary::before {
	content: ""; width: 8px; height: 8px; border-right: 2px solid var(--bs-blue); border-bottom: 2px solid var(--bs-blue);
	transform: rotate(-45deg); transition: transform .2s; margin-right: 4px;
}
.bsd-years details[open] summary::before { transform: rotate(45deg); }
.bsd-years summary a { color: var(--bs-ink); }
.bsd-years ul { padding: 0 0 8px 22px; }
.bsd-years ul li { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
.bsd-years ul a { color: var(--bs-text); }
.bsd-count, .bsd-cats li { font-variant-numeric: tabular-nums; }
.bsd-count { margin-left: auto; color: var(--bs-slate); font-size: 13px; font-weight: 500; }

.bsd-tags { line-height: 1.9; }
.bsd-tags a {
	display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px;
	background: var(--bs-bg); border-radius: 4px; color: var(--bs-ink) !important;
	text-decoration: none; transition: background .2s, color .2s;
}
.bsd-tags a:hover { background: var(--bs-blue); color: #fff !important; }

/* ---------- Мобилно меню ---------- */
@media (max-width: 919px) {
	.site-nav ul, .site-nav .main-nav { background: var(--bs-navy) !important; }
	.site-nav .main-nav > li > a, .site-nav li a {
		color: rgba(255,255,255,.9) !important;
		border-color: rgba(255,255,255,.08) !important;
		text-transform: uppercase;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: .08em;
		background: transparent !important;
	}
	.site-nav .main-nav > li.current-menu-item > a { color: var(--bs-blue) !important; }
	.site-nav .main-nav > li.bsd-cta > a { padding: 12px 15px !important; line-height: 1.4 !important; }
	.site-nav .main-nav > li.bsd-cta > a .menu-item-label {
		background: var(--bs-blue); color: #fff; border-radius: 4px; padding: 9px 18px; display: inline-block; line-height: 1.4;
	}
	.site-nav .search-form, .site-nav li.menu-item-search, .site-nav .fa-search { color: #fff; }
}

/* ---------- Таблет ---------- */
@media (max-width: 991px) {
	#section-5 .col-md-3_5 { grid-template-columns: 1fr; gap: 18px; }
	.section-banner .magee-heading { font-size: 42px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 767px) {
	body { font-size: 15px; }
	.top-bar { padding: 6px 0; }
	.top-bar-info span { display: none; }
	.top-bar-info a { margin: 0; }
	.top-bar .container > div { float: none; text-align: center; width: 100%; }
	.logo-box .site-logo { height: 46px; }

	.section-banner .magee-heading, .section-banner .magee-heading * { font-size: 31px; }
	.section-banner p[class*="sub_title"] { font-size: 16px; }
	.section-banner::before { background: linear-gradient(180deg, rgba(10,20,40,.80), rgba(10,20,40,.92)); }
	.section-banner::after, #section-6::after, #section-11::after { width: 180px; height: 129px; }

	.magee-section .section-title, #section-6 h2 { font-size: 27px; }
	.magee-section .section-subtitle + div[style*="height"] { height: 26px !important; }
	#section-3 .magee-feature-box.style1 { padding: 26px 22px 22px; }
	#section-3 .row > [class*="col-"] { margin-bottom: 16px; }
	.bsd-contact-lines { flex-direction: column; align-items: center; gap: 8px; }
}
