* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--site-bg);
}

body {
	min-width: 320px;
	min-height: 100%;
	margin: 0;
	background: var(--site-bg);
	color: var(--site-text);
	font-family: var(--site-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	display: block;
}

button,
input {
	font: inherit;
}

.app {
	min-height: 100vh;
	background: var(--site-bg);
}

.main {
	min-width: 0;
	min-height: 100vh;
}

.content {
	width: min(100% - 40px, 1328px);
	margin-right: auto;
	margin-left: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	min-height: 96px;
	border-bottom: 1px solid var(--site-header-border);
	background: var(--site-header-bg);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(100% - 72px, 1280px);
	min-height: 95px;
	margin: 0 auto;
}

.site-brand {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.site-brand img {
	width: clamp(210px, 14.2vw, 272px);
	max-height: 64px;
	object-fit: contain;
}

.site-nav {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	gap: clamp(24px, 2vw, 40px);
	overflow-x: auto;
	scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
	display: none;
}

.site-nav a {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 95px;
	color: var(--site-muted);
	font-size: clamp(17px, 1.04vw, 20px);
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active,
.site-nav a.selected,
.site-nav a.current-menu-item,
.site-nav a.current-menu-parent,
.site-nav a.current-menu-ancestor {
	color: var(--site-green);
}

.site-nav a:focus-visible,
.site-search button:focus-visible {
	outline: 2px solid var(--site-green);
	outline-offset: 4px;
}

.site-nav .css-qb1olh {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.site-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-left: auto;
	color: var(--site-muted);
}

.site-search {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 999px;
	transition: width 0.2s ease, background 0.2s ease;
}

.site-search:hover,
.site-search:focus-within {
	width: 240px;
	padding-left: 16px;
	border: 1px solid #262626;
	background: #0f0f0f;
}

.site-search input {
	width: 0;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--site-text);
	opacity: 0;
	transition: width 0.2s ease, opacity 0.2s ease;
}

.site-search:hover input,
.site-search:focus-within input {
	width: 100%;
	opacity: 1;
}

.site-search input::placeholder {
	color: #777;
}

.site-search button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: currentColor;
}

.site-search button {
	cursor: pointer;
}

.site-search svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ajax-loading {
	display: grid;
	gap: 10px;
	padding: 20px;
	border-radius: 16px;
	background: var(--site-content-bg);
}

.ajax-loading-grid {
	display: grid;
	grid-template-columns: 1fr 9fr 2fr;
	gap: 5px;
}

.ajax-loading-spacer {
	width: 100%;
	height: 20px;
}

.footer {
	margin-top: 36px;
	padding: 0 0 42px;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(5, 5, 5, 0.72) 100%);
}

.footer-inner {
	width: min(100% - 72px, 1280px);
	margin: 0 auto;
}

.footer-card {
	padding: 28px 30px;
	border: 1px solid #1f1f1f;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(10, 10, 10, 0.96));
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.footer-main,
.footer-bottom,
.footer-socials,
.footer-socials a {
	display: flex;
	align-items: center;
}

.footer-main {
	justify-content: space-between;
	gap: 28px;
}

.footer-brand {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: #f0f0f0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	transition: color 0.18s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
	color: var(--site-green);
}

.footer-desc {
	max-width: 760px;
	color: #9b9ba3;
	font-size: 14px;
	line-height: 1.8;
}

.footer-desc p {
	margin: 0;
}

.footer-desc p + p {
	margin-top: 8px;
}

.footer-bottom {
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.footer-bottom p {
	margin: 0;
	color: #8e8e95;
	font-size: 13px;
	line-height: 1.6;
}

.footer-socials {
	justify-content: center;
	width: 100%;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-socials a {
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #2a2a2a;
	border-radius: 999px;
	background: #151515;
	color: #f3f3f3;
	transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
	border-color: rgba(86, 197, 47, 0.58);
	background: rgba(86, 197, 47, 0.12);
	color: var(--site-green);
	transform: translateY(-1px);
}

.footer-socials i {
	font-size: 15px;
	line-height: 1;
}

.mobile-nav,
.more-popup {
	display: none;
}

.loading-line {
	height: 16px;
	overflow: hidden;
	border-radius: 999px;
	background: linear-gradient(90deg, #1b1b1b 0%, #262626 45%, #1b1b1b 100%);
	background-size: 220% 100%;
	animation: ajax-loading-shimmer 1.2s ease-in-out infinite;
}

.post-content {
	margin-top: 34px;
	color: #d9d9d9;
}

@keyframes ajax-loading-shimmer {
	0% {
		background-position: 120% 0;
	}

	100% {
		background-position: -120% 0;
	}
}
