/* ==========================================================================
   SMT Dark Theme Stylesheet
   ========================================================================== */

/* Header Action Buttons (Theme Toggle & Accessibility) */
.theme-toggle-btn,
.bvi-header-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	color: #24292f;
	border: 1px solid #c8d1dc;
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: all 0.25s ease;
	outline: none;
	user-select: none;
	text-decoration: none !important;
}

.theme-toggle-btn:hover,
.bvi-header-btn:hover {
	background: #f6f8fa;
	border-color: #0b4f8a;
	color: #0b4f8a !important;
	box-shadow: 0 2px 6px rgba(11, 79, 138, 0.2);
	text-decoration: none !important;
}

.theme-toggle-btn:active,
.bvi-header-btn:active {
	transform: scale(0.97);
}

.bvi-header-icon {
	font-size: 14px;
	line-height: 1;
}

@media (max-width: 767px) {
	.header-search.pull-right {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: flex-end !important;
		gap: 6px !important;
		margin-top: 10px !important;
	}
	.theme-toggle-btn,
	.bvi-header-btn {
		padding: 5px 10px !important;
		font-size: 12px !important;
	}
}

/* ==========================================================================
   Dark Theme Rules (applied when html.dark-theme is active)
   ========================================================================== */

html.dark-theme,
html.dark-theme body.site {
	background-color: #0d1117 !important;
	color: #c9d1d9 !important;
}

/* Header buttons in Dark Theme */
html.dark-theme .theme-toggle-btn,
html.dark-theme .bvi-header-btn {
	background: #21262d;
	color: #f0f6fc !important;
	border-color: #38444d;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

html.dark-theme .theme-toggle-btn:hover,
html.dark-theme .bvi-header-btn:hover {
	background: #30363d;
	border-color: #58a6ff;
	color: #58a6ff !important;
	box-shadow: 0 2px 8px rgba(88, 166, 255, 0.25);
}

/* Remove top border line across entire site */
body.site,
html.dark-theme body.site,
.body,
html.dark-theme .body {
	border-top: none !important;
	border-top-width: 0 !important;
	border-top-style: none !important;
	border-top-color: transparent !important;
}

/* Body & Main container */
html.dark-theme .body {
	background-color: #161b22 !important;
	border-top: none !important;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.6) !important;
}

html.dark-theme .container {
	background-color: transparent !important;
}

/* Headings */
html.dark-theme h1,
html.dark-theme h2,
html.dark-theme h3,
html.dark-theme h4,
html.dark-theme h5,
html.dark-theme h6,
html.dark-theme .page-header h1 {
	color: #f0f6fc !important;
}

html.dark-theme .item-title,
html.dark-theme .item-title a {
	color: #58a6ff !important;
}

html.dark-theme .item-title a:hover {
	color: #79c0ff !important;
	text-decoration: underline;
}

/* Paragraphs & General text */
html.dark-theme p,
html.dark-theme span,
html.dark-theme li,
html.dark-theme dd,
html.dark-theme dt {
	color: inherit;
}

html.dark-theme a {
	color: #58a6ff;
}

html.dark-theme a:hover,
html.dark-theme a:focus {
	color: #79c0ff;
}

/* ==========================================================================
   Inline Styles Fix for Dark Theme (Overrides hardcoded colors from Word/TinyMCE)
   ========================================================================== */

/* Dark Blue inline styles -> Bright Sky Blue */
html.dark-theme [style*="color: #0000ff" i],
html.dark-theme [style*="color:#0000ff" i],
html.dark-theme [style*="color: #0000FF" i],
html.dark-theme [style*="color:#0000FF" i],
html.dark-theme [style*="color: blue" i],
html.dark-theme [style*="color:blue" i],
html.dark-theme [style*="color: rgb(0, 0, 255)" i],
html.dark-theme [style*="color:rgb(0,0,255)" i],
html.dark-theme [style*="color: #00f" i],
html.dark-theme [style*="color:#00f" i],
html.dark-theme [style*="color: #0b4f8a" i],
html.dark-theme [style*="color:#0b4f8a" i] {
	color: #79c0ff !important;
}

/* Dark Red inline styles -> Bright Coral/Salmon Red */
html.dark-theme [style*="color: #ff0000" i],
html.dark-theme [style*="color:#ff0000" i],
html.dark-theme [style*="color: #FF0000" i],
html.dark-theme [style*="color:#FF0000" i],
html.dark-theme [style*="color: red" i],
html.dark-theme [style*="color:red" i],
html.dark-theme [style*="color: rgb(255, 0, 0)" i],
html.dark-theme [style*="color:rgb(255,0,0)" i],
html.dark-theme [style*="color: #f00" i],
html.dark-theme [style*="color:#f00" i],
html.dark-theme [style*="color: #cc0000" i],
html.dark-theme [style*="color:#cc0000" i] {
	color: #ff7b72 !important;
}

/* Black / Dark Gray inline styles -> Crisp Light Text */
html.dark-theme [style*="color: #000000" i],
html.dark-theme [style*="color:#000000" i],
html.dark-theme [style*="color: #000" i],
html.dark-theme [style*="color:#000" i],
html.dark-theme [style*="color: black" i],
html.dark-theme [style*="color:black" i],
html.dark-theme [style*="color: rgb(0, 0, 0)" i],
html.dark-theme [style*="color:rgb(0,0,0)" i],
html.dark-theme [style*="color: #111" i],
html.dark-theme [style*="color: #222" i],
html.dark-theme [style*="color: #333" i] {
	color: #e6edf3 !important;
}

/* Hardcoded white background in text spans -> Transparent */
html.dark-theme [style*="background: #fff" i],
html.dark-theme [style*="background:#fff" i],
html.dark-theme [style*="background-color: #fff" i],
html.dark-theme [style*="background-color:#fff" i],
html.dark-theme [style*="background: white" i],
html.dark-theme [style*="background-color: white" i] {
	background: transparent !important;
	background-color: transparent !important;
}

/* ==========================================================================
   Article Body Contrast Overrides (Fixes hardcoded inline Word/TinyMCE colors)
   ========================================================================== */

/* Universal high-contrast text for article contents */
html.dark-theme div[itemprop="articleBody"],
html.dark-theme div[itemprop="articleBody"] p,
html.dark-theme div[itemprop="articleBody"] span,
html.dark-theme div[itemprop="articleBody"] strong,
html.dark-theme div[itemprop="articleBody"] em,
html.dark-theme div[itemprop="articleBody"] font,
html.dark-theme div[itemprop="articleBody"] li,
html.dark-theme .item-page,
html.dark-theme .item-page p,
html.dark-theme .item-page span,
html.dark-theme .item-page strong {
	color: #e6edf3 !important;
}

/* Bright Sky Blue for headings or blue accents */
html.dark-theme div[itemprop="articleBody"] [style*="color: #0000ff" i],
html.dark-theme div[itemprop="articleBody"] [style*="color:#0000ff" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: #0000FF" i],
html.dark-theme div[itemprop="articleBody"] [style*="color:#0000FF" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: blue" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: rgb(0, 0, 255)" i],
html.dark-theme div[itemprop="articleBody"] [style*="color:rgb(0,0,255)" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: #0b4f8a" i] {
	color: #79c0ff !important;
}

/* Bright Coral Red for links or red accents */
html.dark-theme div[itemprop="articleBody"] [style*="color: #ff0000" i],
html.dark-theme div[itemprop="articleBody"] [style*="color:#ff0000" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: #FF0000" i],
html.dark-theme div[itemprop="articleBody"] [style*="color:#FF0000" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: red" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: rgb(255, 0, 0)" i],
html.dark-theme div[itemprop="articleBody"] [style*="color: #cc0000" i] {
	color: #ff7b72 !important;
}

/* Links inside article body - prominent and clear */
html.dark-theme div[itemprop="articleBody"] a,
html.dark-theme div[itemprop="articleBody"] a span,
html.dark-theme div[itemprop="articleBody"] a strong,
html.dark-theme .item-page a,
html.dark-theme .item-page a span,
html.dark-theme .item-page a strong {
	color: #58a6ff !important;
	text-decoration: underline !important;
}

html.dark-theme div[itemprop="articleBody"] a:hover,
html.dark-theme div[itemprop="articleBody"] a:hover span,
html.dark-theme div[itemprop="articleBody"] a:hover strong,
html.dark-theme .item-page a:hover,
html.dark-theme .item-page a:hover span {
	color: #79c0ff !important;
}

/* When a link is specifically inside a red span (like "читать далее ->") */
html.dark-theme div[itemprop="articleBody"] [style*="color: #ff0000" i] a,
html.dark-theme div[itemprop="articleBody"] a[style*="color: #ff0000" i] {
	color: #ff7b72 !important;
}

html.dark-theme div[itemprop="articleBody"] [style*="color: #ff0000" i] a:hover,
html.dark-theme div[itemprop="articleBody"] a[style*="color: #ff0000" i]:hover {
	color: #ffa198 !important;
}

/* Muted & Small Text */
html.dark-theme .muted,
html.dark-theme .small,
html.dark-theme .article-info {
	color: #8b949e !important;
}

/* Header */
html.dark-theme header.header {
	border-bottom-color: #30363d;
}

html.dark-theme .brand img {
	filter: brightness(0.95);
	border-radius: 4px;
}

/* ==========================================================================
   Modern Container Width & Navigation Bar (Universal: Light & Dark)
   ========================================================================== */

/* Modern container widths on desktop screens */
@media (min-width: 980px) and (max-width: 1199px) {
	.container,
	.body .container {
		max-width: 1040px !important;
		width: 1040px !important;
	}
}

@media (min-width: 1200px) {
	.container,
	.body .container {
		max-width: 1180px !important;
		width: 1180px !important;
	}
}

/* Base navigation bar container (Light Theme default) */
.navigation {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 6px 10px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Desktop navigation layout */
@media (min-width: 980px) {
	.navigation .navbar.pull-left {
		display: none !important;
	}

	.navigation .nav-collapse {
		height: auto !important;
		overflow: visible !important;
	}

	.navigation .nav-pills {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		box-sizing: border-box !important;
	}

	.navigation .nav-pills > li {
		float: none !important;
		flex: 1 1 auto !important;
		text-align: center !important;
		margin: 0 2px !important;
		position: relative !important;
	}

	.navigation .nav-pills > li > a {
		display: block !important;
		padding: 8px 7px !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		white-space: nowrap !important;
		border-radius: 6px !important;
		text-decoration: none !important;
		transition: all 0.2s ease !important;
		color: #334155 !important;
		text-align: center !important;
	}
}

@media (min-width: 1200px) {
	.navigation .nav-pills > li {
		margin: 0 3px !important;
	}

	.navigation .nav-pills > li > a {
		padding: 8px 11px !important;
		font-size: 13.5px !important;
	}
}

/* Light Theme: Menu Links, Hover & Active States */
.navigation .nav-pills > li > a:hover,
.navigation .nav-pills > li > a:focus {
	background-color: #e2e8f0 !important;
	color: #0b4f8a !important;
}

.navigation .nav-pills > .active > a,
.navigation .nav-pills > .active > a:hover,
.navigation .nav-pills > .active > a:focus {
	background-color: #0b4f8a !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	box-shadow: 0 2px 4px rgba(11, 79, 138, 0.25) !important;
}

/* Dropdown Menus (Universal Layout & Light Theme Colors) */
.navigation .nav-child {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
	padding: 6px 0 !important;
	min-width: 240px !important;
	margin-top: 4px !important;
	z-index: 1050 !important;
}

.navigation .nav-child li {
	margin: 0 !important;
	padding: 0 !important;
}

.navigation .nav-child li > a {
	padding: 9px 18px !important;
	color: #334155 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	display: block !important;
	text-align: left !important;
	white-space: normal !important;
	line-height: 1.4 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	filter: none !important;
	border-radius: 0 !important;
	text-shadow: none !important;
	transition: background-color 0.15s ease, color 0.15s ease !important;
}

.navigation .nav-child > li:first-child > a {
	border-top-left-radius: 7px !important;
	border-top-right-radius: 7px !important;
}

.navigation .nav-child > li:last-child > a {
	border-bottom-left-radius: 7px !important;
	border-bottom-right-radius: 7px !important;
}

/* Light Theme Dropdown Hover & Active States */
.navigation .nav-child li > a:hover,
.navigation .nav-child li > a:focus,
.navigation .nav-child:hover > a,
.navigation .nav-child li:hover > a {
	background: #e8f0fe !important;
	background-color: #e8f0fe !important;
	background-image: none !important;
	filter: none !important;
	color: #0b4f8a !important;
	font-weight: 500 !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

.navigation .nav-child li.active > a,
.navigation .nav-child li.current > a {
	background: #0b4f8a !important;
	background-color: #0b4f8a !important;
	background-image: none !important;
	filter: none !important;
	color: #ffffff !important;
	font-weight: 600 !important;
}

.navigation .nav li li .nav-child {
	top: 0 !important;
	left: 100% !important;
	margin-top: -6px !important;
	margin-left: 2px !important;
}

/* ==========================================================================
   Navigation Bar in Dark Theme
   ========================================================================== */

html.dark-theme .navigation,
html.dark-theme .navbar,
html.dark-theme .navbar-inner {
	background: #1c2128 !important;
	border-color: #30363d !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .navbar .nav > li > a,
html.dark-theme .nav-pills > li > a {
	color: #c9d1d9 !important;
	background: transparent;
	text-shadow: none;
}

html.dark-theme .navbar .nav > li > a:hover,
html.dark-theme .navbar .nav > li > a:focus,
html.dark-theme .nav-pills > li > a:hover,
html.dark-theme .nav-pills > li > a:focus {
	background: #282e37 !important;
	color: #58a6ff !important;
}

html.dark-theme .navbar .nav > .active > a,
html.dark-theme .nav-pills > .active > a {
	background: #1f6feb !important;
	color: #ffffff !important;
	box-shadow: 0 2px 6px rgba(31, 111, 235, 0.4) !important;
}

/* Dark Theme Dropdowns */
html.dark-theme .dropdown-menu,
html.dark-theme .navigation .nav-child {
	background: #1c2128 !important;
	background-color: #1c2128 !important;
	border: 1px solid #30363d !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

html.dark-theme .dropdown-menu > li > a,
html.dark-theme .navigation .nav-child li > a {
	color: #c9d1d9 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	filter: none !important;
	text-shadow: none !important;
}

html.dark-theme .dropdown-menu > li > a:hover,
html.dark-theme .dropdown-menu > li > a:focus,
html.dark-theme .navigation .nav-child li > a:hover,
html.dark-theme .navigation .nav-child li > a:focus,
html.dark-theme .navigation .nav-child:hover > a,
html.dark-theme .navigation .nav-child li:hover > a {
	background: #282e37 !important;
	background-color: #282e37 !important;
	background-image: none !important;
	filter: none !important;
	color: #58a6ff !important;
	font-weight: 500 !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

html.dark-theme .navigation .nav-child li.active > a,
html.dark-theme .navigation .nav-child li.current > a {
	background: #1f6feb !important;
	background-color: #1f6feb !important;
	background-image: none !important;
	filter: none !important;
	color: #ffffff !important;
	font-weight: 600 !important;
}

/* Dark Theme Dropdown Arrow Colors */
html.dark-theme .navigation .nav > li > .nav-child:after {
	border-bottom-color: #1c2128 !important;
}
html.dark-theme .navigation .nav > li > .nav-child:before {
	border-bottom-color: #30363d !important;
}
html.dark-theme .navigation .nav li li .nav-child:after {
	border-right-color: #1c2128 !important;
}
html.dark-theme .navigation .nav li li .nav-child:before {
	border-right-color: #30363d !important;
}

/* News Cards & Wells */
html.dark-theme .well,
html.dark-theme .smt-news-item {
	background: #1c2128 !important;
	border-color: #30363d !important;
	color: #c9d1d9 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .smt-news-intro {
	color: #adbac7 !important;
}

/* ==========================================================================
   Sidebar Navigation & Nav-List (Light & Dark Theme)
   ========================================================================== */

/* Universal / Light Theme */
.sidebar-nav .nav-list > li > a,
.nav-list > li > a,
#sidebar .nav > li > a,
#aside .nav > li > a,
.well .nav > li > a {
	padding: 7px 12px !important;
	margin: 2px 0 !important;
	border-radius: 6px !important;
	color: #334155 !important;
	font-size: 13.5px !important;
	line-height: 1.4 !important;
	text-shadow: none !important;
	transition: background-color 0.15s ease, color 0.15s ease !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
}

.sidebar-nav .nav-list > li > a:hover,
.sidebar-nav .nav-list > li > a:focus,
.nav-list > li > a:hover,
.nav-list > li > a:focus,
#sidebar .nav > li > a:hover,
#sidebar .nav > li > a:focus,
#aside .nav > li > a:hover,
#aside .nav > li > a:focus,
.well .nav > li > a:hover,
.well .nav > li > a:focus {
	background-color: #e8f0fe !important;
	background-image: none !important;
	filter: none !important;
	color: #0b4f8a !important;
	text-decoration: none !important;
}

.sidebar-nav .nav-list > .active > a,
.sidebar-nav .nav-list > .active > a:hover,
.sidebar-nav .nav-list > .active > a:focus,
.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus,
#sidebar .nav > .active > a,
#sidebar .nav > .active > a:hover,
#aside .nav > .active > a,
#aside .nav > .active > a:hover,
.well .nav > .active > a,
.well .nav > .active > a:hover {
	background-color: #0b4f8a !important;
	background-image: none !important;
	filter: none !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	text-shadow: none !important;
	box-shadow: 0 2px 4px rgba(11, 79, 138, 0.25) !important;
}

/* Sidebar in Dark Theme */
html.dark-theme .nav > li > a:hover,
html.dark-theme .nav > li > a:focus {
	background-color: #282e37 !important;
	background-image: none !important;
	filter: none !important;
}

html.dark-theme .sidebar-nav .nav-list > li > a,
html.dark-theme .nav-list > li > a,
html.dark-theme #sidebar .nav > li > a,
html.dark-theme #aside .nav > li > a,
html.dark-theme .well .nav > li > a {
	color: #c9d1d9 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	filter: none !important;
	text-shadow: none !important;
}

html.dark-theme .sidebar-nav .nav-list > li > a:hover,
html.dark-theme .sidebar-nav .nav-list > li > a:focus,
html.dark-theme .nav-list > li > a:hover,
html.dark-theme .nav-list > li > a:focus,
html.dark-theme #sidebar .nav > li > a:hover,
html.dark-theme #sidebar .nav > li > a:focus,
html.dark-theme #aside .nav > li > a:hover,
html.dark-theme #aside .nav > li > a:focus,
html.dark-theme .well .nav > li > a:hover,
html.dark-theme .well .nav > li > a:focus {
	background-color: #282e37 !important;
	background-image: none !important;
	filter: none !important;
	color: #58a6ff !important;
	text-shadow: none !important;
	text-decoration: none !important;
}

html.dark-theme .sidebar-nav .nav-list > .active > a,
html.dark-theme .sidebar-nav .nav-list > .active > a:hover,
html.dark-theme .sidebar-nav .nav-list > .active > a:focus,
html.dark-theme .nav-list > .active > a,
html.dark-theme .nav-list > .active > a:hover,
html.dark-theme .nav-list > .active > a:focus,
html.dark-theme #sidebar .nav > .active > a,
html.dark-theme #sidebar .nav > .active > a:hover,
html.dark-theme #aside .nav > .active > a,
html.dark-theme #aside .nav > .active > a:hover,
html.dark-theme .well .nav > .active > a,
html.dark-theme .well .nav > .active > a:hover {
	background-color: #1f6feb !important;
	background-image: none !important;
	filter: none !important;
	color: #ffffff !important;
	text-shadow: none !important;
	box-shadow: 0 2px 6px rgba(31, 111, 235, 0.4) !important;
}

html.dark-theme .well .page-header {
	border-bottom-color: #30363d !important;
	color: #f0f6fc !important;
}

/* Buttons */
html.dark-theme .btn {
	background-color: #21262d;
	background-image: none;
	color: #c9d1d9;
	border-color: #30363d;
	text-shadow: none;
	box-shadow: none;
}

html.dark-theme .btn:hover,
html.dark-theme .btn:focus {
	background-color: #30363d;
	color: #f0f6fc;
	border-color: #8b949e;
}

html.dark-theme .btn-primary {
	background-color: #1f6feb !important;
	border-color: #388bfd !important;
	color: #ffffff !important;
}

html.dark-theme .btn-primary:hover,
html.dark-theme .btn-primary:focus {
	background-color: #388bfd !important;
	color: #ffffff !important;
}

html.dark-theme .btn-info {
	background-color: #0969da !important;
	border-color: #218bff !important;
	color: #ffffff !important;
}

/* Tables */
html.dark-theme table,
html.dark-theme .table {
	background-color: #161b22 !important;
	color: #c9d1d9 !important;
	border-color: #30363d !important;
}

html.dark-theme table th,
html.dark-theme .table th {
	background-color: #21262d !important;
	color: #f0f6fc !important;
	border-color: #30363d !important;
}

html.dark-theme table td,
html.dark-theme .table td {
	border-color: #30363d !important;
	background-color: transparent !important;
	color: #c9d1d9 !important;
}

html.dark-theme .table-striped tbody > tr:nth-child(odd) > td,
html.dark-theme .table-striped tbody > tr:nth-child(odd) > th {
	background-color: #1c2128 !important;
}

html.dark-theme .table-hover tbody tr:hover > td,
html.dark-theme .table-hover tbody tr:hover > th {
	background-color: #262c36 !important;
}

/* Forms & Inputs */
html.dark-theme input[type="text"],
html.dark-theme input[type="password"],
html.dark-theme input[type="email"],
html.dark-theme input[type="search"],
html.dark-theme textarea,
html.dark-theme select {
	background-color: #0d1117 !important;
	color: #f0f6fc !important;
	border: 1px solid #30363d !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme input:focus,
html.dark-theme textarea:focus,
html.dark-theme select:focus {
	border-color: #58a6ff !important;
	box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.25) !important;
}

/* Pagination */
html.dark-theme .pagination ul > li > a,
html.dark-theme .pagination ul > li > span {
	background-color: #21262d !important;
	border-color: #30363d !important;
	color: #c9d1d9 !important;
}

html.dark-theme .pagination ul > li > a:hover,
html.dark-theme .pagination ul > li > a:focus {
	background-color: #30363d !important;
	color: #58a6ff !important;
}

html.dark-theme .pagination ul > .active > a,
html.dark-theme .pagination ul > .active > span {
	background-color: #1f6feb !important;
	color: #ffffff !important;
	border-color: #1f6feb !important;
}

html.dark-theme .pagination ul > .disabled > span,
html.dark-theme .pagination ul > .disabled > a {
	background-color: #161b22 !important;
	color: #484f58 !important;
	border-color: #30363d !important;
}

/* Blockquotes & Dividers */
html.dark-theme hr {
	border-top-color: #30363d !important;
	border-bottom-color: #21262d !important;
}

html.dark-theme blockquote {
	border-left-color: #388bfd !important;
	color: #8b949e !important;
}

/* ==========================================================================
   Modern Footer (Universal: Light & Dark Theme)
   ========================================================================== */

footer.footer {
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	padding: 24px 0 28px;
	margin-top: 40px;
	color: #64748b;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.footer-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.footer-copy {
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

.footer-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

/* VK Button in Footer */
.footer-vk-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0077ff;
	color: #ffffff !important;
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(0, 119, 255, 0.25);
	transition: all 0.2s ease;
}

.footer-vk-btn:hover {
	background: #0066dd;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 119, 255, 0.35);
	text-decoration: none !important;
}

.footer-vk-btn:active {
	transform: translateY(0);
}

.footer-vk-btn svg {
	flex-shrink: 0;
}

/* Back to Top link */
.footer-back-top {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #64748b !important;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 6px;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.footer-back-top:hover {
	color: #0b4f8a !important;
	background: #f1f5f9;
	text-decoration: none !important;
}

@media (max-width: 767px) {
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.footer-actions {
		width: 100%;
		justify-content: space-between;
	}
}

/* Footer in Dark Theme */
html.dark-theme footer.footer {
	background: #11151c !important;
	border-top: 1px solid #21262d !important;
	color: #8b949e !important;
}

html.dark-theme .footer-title {
	color: #f0f6fc !important;
}

html.dark-theme .footer-copy {
	color: #8b949e !important;
}

html.dark-theme .footer-vk-btn {
	background: #0077ff !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 119, 255, 0.4);
}

html.dark-theme .footer-vk-btn:hover {
	background: #1a88ff !important;
	box-shadow: 0 4px 14px rgba(26, 136, 255, 0.5);
}

html.dark-theme .footer-back-top {
	color: #8b949e !important;
}

html.dark-theme .footer-back-top:hover {
	color: #58a6ff !important;
	background: #1c2128;
}

/* Accessibility module compatibility in dark theme */
html.dark-theme #bvi-open,
html.dark-theme .bvi-open {
	filter: brightness(0.9) contrast(1.1);
}

/* External Embedded Widgets (Yandex Forms, Maps) in Dark Theme */
html.dark-theme iframe[name^="ya-form"],
html.dark-theme iframe[src*="forms.yandex.ru"] {
	filter: invert(0.88) hue-rotate(180deg) contrast(1.05) !important;
	border-radius: 8px !important;
	transition: filter 0.3s ease !important;
}

/* ==========================================================================
   Responsive Tables, Media & Contrast Fixes
   ========================================================================== */

/* Universal Responsive Rules (prevent horizontal mobile overflow) */
table {
	max-width: 100% !important;
	border-collapse: collapse !important;
}

div[itemprop="articleBody"] table,
.item-page table {
	width: 100% !important;
	max-width: 100% !important;
	border-collapse: collapse !important;
	margin: 15px auto 20px auto !important;
	float: none !important;
	clear: both !important;
}

div[itemprop="articleBody"] table td,
div[itemprop="articleBody"] table th,
.item-page table td,
.item-page table th {
	padding: 9px 12px !important;
	line-height: 1.45 !important;
	font-size: 13.5px !important;
	vertical-align: middle !important;
}

iframe,
embed,
object {
	max-width: 100% !important;
}

.table-responsive {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch !important;
	margin-bottom: 20px !important;
	clear: both !important;
}

@media (max-width: 767px) {
	div[itemprop="articleBody"] {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
	div[itemprop="articleBody"] table,
	.item-page table {
		min-width: 480px;
	}
}

/* ==========================================================================
   Light Theme: Table Header High Contrast & Clean Borders
   ========================================================================== */
table {
	background-color: #ffffff;
	border: 1px solid #cbd5e1 !important;
}

table td {
	border: 1px solid #e2e8f0 !important;
	color: #1e293b !important;
}

table th,
table thead th,
table tr[style*="background-color: #87cefa" i],
table tr[style*="background-color:#87cefa" i],
table tr[style*="background-color: #74bcf7" i],
table tr[style*="background-color:#74bcf7" i],
table tr[style*="background-color: #0b4f8a" i],
table tr[style*="background-color:#0b4f8a" i],
table td[style*="background-color: #87cefa" i],
table td[style*="background-color:#87cefa" i],
table td[style*="background-color: #74bcf7" i],
table td[style*="background-color:#74bcf7" i],
table td[style*="background-color: #0b4f8a" i],
table td[style*="background-color:#0b4f8a" i] {
	background-color: #0b4f8a !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	border-color: #093f6e !important;
}

table th *,
table tr[style*="background-color: #87cefa" i] *,
table tr[style*="background-color:#87cefa" i] *,
table tr[style*="background-color: #74bcf7" i] *,
table tr[style*="background-color:#74bcf7" i] *,
table tr[style*="background-color: #0b4f8a" i] *,
table tr[style*="background-color:#0b4f8a" i] *,
table td[style*="background-color: #87cefa" i] *,
table td[style*="background-color:#87cefa" i] *,
table td[style*="background-color: #74bcf7" i] *,
table td[style*="background-color:#74bcf7" i] *,
table td[style*="background-color: #0b4f8a" i] *,
table td[style*="background-color:#0b4f8a" i] * {
	color: #ffffff !important;
}

table tbody tr:nth-child(even):not([style*="background-color"]) td:not([style*="background-color"]) {
	background-color: #f8fafc;
}

/* ==========================================================================
   Dark Theme: Table Styling & High Contrast
   ========================================================================== */
html.dark-theme table {
	border: 1px solid #30363d !important;
	border-color: #30363d !important;
	background-color: #161b22 !important;
}

html.dark-theme table td,
html.dark-theme table th {
	border: 1px solid #30363d !important;
	border-color: #30363d !important;
	color: #e6edf3 !important;
	background-color: #161b22;
}

/* Zebra striping in dark mode */
html.dark-theme table tbody tr:nth-child(even):not([style*="background-color"]) td:not([style*="background-color"]) {
	background-color: #1c2128 !important;
}

html.dark-theme table tbody tr:nth-child(odd):not([style*="background-color"]) td:not([style*="background-color"]) {
	background-color: #161b22 !important;
}

/* Headers in dark mode: rich accent blue (#1f6feb) with pure white text */
html.dark-theme table th,
html.dark-theme table thead th,
html.dark-theme table tr[style*="background-color: #87cefa" i],
html.dark-theme table tr[style*="background-color:#87cefa" i],
html.dark-theme table tr[style*="background-color: #74bcf7" i],
html.dark-theme table tr[style*="background-color:#74bcf7" i],
html.dark-theme table tr[style*="background-color: #0b4f8a" i],
html.dark-theme table tr[style*="background-color:#0b4f8a" i],
html.dark-theme table td[style*="background-color: #87cefa" i],
html.dark-theme table td[style*="background-color:#87cefa" i],
html.dark-theme table td[style*="background-color: #74bcf7" i],
html.dark-theme table td[style*="background-color:#74bcf7" i],
html.dark-theme table td[style*="background-color: #0b4f8a" i],
html.dark-theme table td[style*="background-color:#0b4f8a" i] {
	background-color: #1f6feb !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	border-color: #388bfd !important;
}

html.dark-theme table th *,
html.dark-theme table tr[style*="background-color: #87cefa" i] *,
html.dark-theme table tr[style*="background-color:#87cefa" i] *,
html.dark-theme table tr[style*="background-color: #74bcf7" i] *,
html.dark-theme table tr[style*="background-color:#74bcf7" i] *,
html.dark-theme table tr[style*="background-color: #0b4f8a" i] *,
html.dark-theme table tr[style*="background-color:#0b4f8a" i] *,
html.dark-theme table td[style*="background-color: #87cefa" i] *,
html.dark-theme table td[style*="background-color:#87cefa" i] *,
html.dark-theme table td[style*="background-color: #74bcf7" i] *,
html.dark-theme table td[style*="background-color:#74bcf7" i] *,
html.dark-theme table td[style*="background-color: #0b4f8a" i] *,
html.dark-theme table td[style*="background-color:#0b4f8a" i] * {
	color: #ffffff !important;
}

/* Links inside tables in dark mode */
html.dark-theme table a {
	color: #58a6ff !important;
	text-decoration: underline;
}

html.dark-theme table a:hover {
	color: #79c0ff !important;
}

/* ==========================================================================
   Notice Badges & Safety Overrides for Legacy Yellow Highlights
   ========================================================================== */
.badge-notice-header {
	display: inline-block !important;
	padding: 8px 22px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	background-color: #0b4f8a !important;
	color: #ffffff !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid #093f6e !important;
}

html.dark-theme .badge-notice-header {
	background-color: #1f6feb !important;
	color: #ffffff !important;
	border: 1px solid #388bfd !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Universal highlight badge (replaces legacy raw inline yellow text markers) */
.smt-highlight {
	background-color: #f1f5f9;
	color: #0b4f8a !important;
	border: 1px solid #cbd5e1;
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 600;
	display: inline-block;
}

html.dark-theme .smt-highlight {
	background-color: #21262d !important;
	color: #58a6ff !important;
	border: 1px solid #30363d !important;
	padding: 2px 8px !important;
	border-radius: 6px !important;
	display: inline-block !important;
}

html.dark-theme .smt-highlight * {
	background-color: transparent !important;
	color: inherit !important;
}

/* Universal dark mode override for legacy yellow backgrounds across any article */
html.dark-theme [style*="ffff00" i],
html.dark-theme [style*="FFFF00"],
html.dark-theme [style*="yellow" i],
html.dark-theme [style*="255, 255, 0"],
html.dark-theme [style*="255,255,0"],
html.dark-theme [style*="rgb(255, 255, 0)"],
html.dark-theme [style*="rgb(255,255,0)"],
html.dark-theme mark {
	background-color: #21262d !important;
	color: #f0f6fc !important;
	border-radius: 6px !important;
	padding: 2px 8px !important;
	border: 1px solid #30363d !important;
	display: inline-block !important;
}

html.dark-theme [style*="ffff00" i] *,
html.dark-theme [style*="FFFF00"] *,
html.dark-theme [style*="yellow" i] *,
html.dark-theme [style*="255, 255, 0"] *,
html.dark-theme [style*="255,255,0"] *,
html.dark-theme [style*="rgb(255, 255, 0)"] *,
html.dark-theme [style*="rgb(255,255,0)"] * {
	background-color: transparent !important;
	color: inherit !important;
}


/* ==========================================================================
   Pamphlet & Booklet Spread Viewer (Article 394 & multi-page brochures)
   ========================================================================== */
.pamphlet-booklet {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 22px !important;
	width: 100% !important;
	margin: 20px 0 35px 0 !important;
	box-sizing: border-box !important;
}

.pamphlet-page {
	background: #ffffff !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
	border: 1px solid #d0d7de !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	box-sizing: border-box !important;
}

.pamphlet-page:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18) !important;
}

.pamphlet-page img,
.pamphlet-page .pamphlet-img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Dark theme styling for pamphlet pages */
html.dark-theme .pamphlet-page {
	background: #1c2128 !important;
	border-color: #30363d !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5) !important;
}

html.dark-theme .pamphlet-page:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7) !important;
	border-color: #58a6ff !important;
}

/* Mobile & Tablet view: automatic 1-column layout */
@media (max-width: 767px) {
	.pamphlet-booklet {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
		margin: 15px 0 25px 0 !important;
	}
	
	.pamphlet-page {
		border-radius: 6px !important;
	}
}

/* ==========================================================================
   Sticky & Flush Footer Layout (Eliminate bottom gap, stick to window bottom)
   ========================================================================== */
html {
	min-height: 100% !important;
}

body.site {
	min-height: 100vh !important;
	display: flex !important;
	flex-direction: column !important;
	padding-top: 20px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
	box-sizing: border-box !important;
}

.body {
	flex: 1 0 auto !important;
}

footer.footer {
	flex-shrink: 0 !important;
	margin-top: 40px !important;
	margin-bottom: -20px !important; /* Cancels 20px body bottom padding to flush with window bottom */
	margin-left: -20px !important;
	margin-right: -20px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	padding-top: 24px !important;
	padding-bottom: 35px !important; /* Generous internal padding */
}

@media (max-width: 767px) {
	body.site {
		padding: 10px 10px 0 10px !important;
		padding-bottom: 0 !important;
	}
	footer.footer {
		margin-left: -10px !important;
		margin-right: -10px !important;
		margin-bottom: -10px !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		padding-bottom: 25px !important;
	}
}

/* ==========================================================================
   Modern Interactive Sitemap (Cards, Live Search, Theme Adaptive)
   ========================================================================== */
.smt-sitemap-container {
	margin: 10px 0 40px;
	width: 100%;
	box-sizing: border-box;
}

.smt-sitemap-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

html.dark-theme .smt-sitemap-header {
	border-bottom-color: #30363d;
}

.smt-sitemap-title {
	font-size: 26px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.2 !important;
}

html.dark-theme .smt-sitemap-title {
	color: #f0f6fc !important;
}

.smt-sitemap-subtitle {
	font-size: 14px;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
}

html.dark-theme .smt-sitemap-subtitle {
	color: #8b949e;
}

.smt-sitemap-counter {
	display: inline-block;
	padding: 6px 14px;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
}

html.dark-theme .smt-sitemap-counter {
	background: #21262d;
	color: #c9d1d9;
	border-color: #30363d;
}

/* Search Box */
.smt-sitemap-search-wrap {
	margin-bottom: 26px;
}

.smt-sitemap-search-box {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 600px;
	background: #ffffff;
	border: 2px solid #cbd5e1;
	border-radius: 10px;
	padding: 4px 12px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html.dark-theme .smt-sitemap-search-box {
	background: #161b22;
	border-color: #30363d;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.smt-sitemap-search-box:focus-within {
	border-color: #0077ff !important;
	box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.15) !important;
}

html.dark-theme .smt-sitemap-search-box:focus-within {
	border-color: #58a6ff !important;
	box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2) !important;
}

.smt-sitemap-search-icon {
	font-size: 18px;
	margin-left: 2px;
	margin-right: 0;
	opacity: 0.75;
	display: inline-flex;
	align-items: center;
	user-select: none;
	flex-shrink: 0;
}

/* Eliminate browser/Bootstrap input borders, inner backgrounds & add spacious text padding */
.smt-sitemap-search-box input.smt-sitemap-search-input,
html.dark-theme .smt-sitemap-search-box input.smt-sitemap-search-input,
html.dark-theme input[type="text"].smt-sitemap-search-input {
	flex: 1 !important;
	width: auto !important;
	min-width: 0 !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	color: #1e293b !important;
	margin: 0 !important;
	padding: 8px 12px !important;
	height: auto !important;
	box-sizing: border-box !important;
}

html.dark-theme .smt-sitemap-search-box input.smt-sitemap-search-input,
html.dark-theme input[type="text"].smt-sitemap-search-input {
	color: #e6edf3 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
}

.smt-sitemap-search-box input.smt-sitemap-search-input:focus,
html.dark-theme .smt-sitemap-search-box input.smt-sitemap-search-input:focus {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
}

.smt-sitemap-search-clear {
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 16px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
}

.smt-sitemap-search-clear:hover {
	color: #ef4444;
}

/* Grid Layout */
.smt-sitemap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 22px;
	width: 100%;
	box-sizing: border-box;
}

/* Cards */
.smt-sitemap-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.smt-sitemap-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

html.dark-theme .smt-sitemap-card {
	background: #161b22;
	border-color: #30363d;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html.dark-theme .smt-sitemap-card:hover {
	border-color: #58a6ff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.smt-sitemap-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

html.dark-theme .smt-sitemap-card-header {
	background: #1c2128;
	border-bottom-color: #30363d;
}

.smt-sitemap-card-icon {
	font-size: 24px;
	line-height: 1;
	flex-shrink: 0;
}

.smt-sitemap-card-headings {
	flex: 1;
}

.smt-sitemap-card-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 0 2px 0 !important;
	line-height: 1.3 !important;
}

html.dark-theme .smt-sitemap-card-title {
	color: #f0f6fc !important;
}

.smt-sitemap-card-badge {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}

html.dark-theme .smt-sitemap-card-badge {
	color: #8b949e;
}

/* Links List */
.smt-sitemap-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	flex: 1;
}

.smt-sitemap-item {
	margin: 0 0 4px 0 !important;
	padding: 0 !important;
}

.smt-sitemap-item.level-2 {
	padding-left: 12px !important;
}

.smt-sitemap-item.level-3 {
	padding-left: 22px !important;
}

.smt-sitemap-link {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 6px 10px !important;
	border-radius: 6px !important;
	color: #0b4f8a !important;
	font-size: 13.5px !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	transition: all 0.15s ease !important;
}

.smt-sitemap-link:hover {
	background: #f1f5f9 !important;
	color: #0077ff !important;
	transform: translateX(3px) !important;
	text-decoration: none !important;
}

html.dark-theme .smt-sitemap-link {
	color: #58a6ff !important;
}

html.dark-theme .smt-sitemap-link:hover {
	background: #21262d !important;
	color: #79c0ff !important;
}

.smt-sitemap-bullet {
	color: #94a3b8 !important;
	font-weight: 700;
	font-size: 14px;
	transition: transform 0.15s ease;
}

.smt-sitemap-link:hover .smt-sitemap-bullet {
	color: #0077ff !important;
	transform: translateX(2px);
}

html.dark-theme .smt-sitemap-link:hover .smt-sitemap-bullet {
	color: #58a6ff !important;
}

/* Empty State */
.smt-sitemap-empty {
	text-align: center;
	padding: 40px 20px;
	color: #64748b;
}

html.dark-theme .smt-sitemap-empty {
	color: #8b949e;
}

.smt-sitemap-empty-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 767px) {
	.smt-sitemap-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.smt-sitemap-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.smt-sitemap-search-box {
		max-width: 100%;
	}
}

/* Search Highlight Mark */
.smt-search-mark {
	background: #fef08a !important;
	color: #0f172a !important;
	padding: 0 3px !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

html.dark-theme .smt-search-mark {
	background: rgba(59, 130, 246, 0.35) !important;
	color: #93c5fd !important;
	border: 1px solid rgba(147, 197, 253, 0.4) !important;
	box-shadow: 0 0 6px rgba(59, 130, 246, 0.25) !important;
}
