:root {
	--wpclan-bg: #090d14;
	--wpclan-panel: #121824;
	--wpclan-panel-soft: #182131;
	--wpclan-border: rgba(170, 184, 204, 0.18);
	--wpclan-text: #eef3fb;
	--wpclan-muted: #9ba9ba;
	--wpclan-primary: #4aa3ff;
	--wpclan-primary-strong: #2f7ed8;
	--wpclan-gold: #d8ad4f;
	--wpclan-danger: #e80f46;
}

html {
	min-height: 100%;
}

body {
	min-height: 100vh;
	background:
		radial-gradient(circle at 18% 0%, rgba(74, 163, 255, 0.16), transparent 34rem),
		linear-gradient(180deg, #0d1320 0%, var(--wpclan-bg) 36rem);
	color: var(--wpclan-text);
	display: flex;
	flex-direction: column;
}

a {
	color: #7bbdff;
}

a:hover,
a:focus {
	color: #a8d3ff;
}

@media (min-width: 1400px) {
	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl,
	.container-xxl {
		max-width: 1400px;
	}
}

.site-header {
	backdrop-filter: blur(12px);
	background-color: rgba(9, 13, 20, 0.88);
}

.navbar {
	--bs-navbar-color: var(--wpclan-muted);
	--bs-navbar-hover-color: var(--wpclan-text);
	--bs-navbar-active-color: var(--wpclan-primary);
}

.navbar .dropdown-menu {
	--bs-dropdown-bg: var(--wpclan-panel);
	--bs-dropdown-border-color: var(--wpclan-border);
	--bs-dropdown-link-color: var(--wpclan-text);
	--bs-dropdown-link-hover-bg: var(--wpclan-panel-soft);
	--bs-dropdown-link-hover-color: var(--wpclan-primary);
	--bs-dropdown-link-active-bg: var(--wpclan-primary-strong);
	--bs-dropdown-link-active-color: #fff;
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

.navbar .dropdown-item {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	min-width: 13rem;
}

.navbar .dropdown-submenu {
	position: relative;
}

.navbar .dropdown-submenu > .dropdown-menu {
	left: 100%;
	margin-left: 0.15rem;
	top: 0;
}

.navbar .dropdown-submenu > .dropdown-toggle::after {
	border-bottom: 0.3em solid transparent;
	border-left: 0.3em solid;
	border-top: 0.3em solid transparent;
	margin-left: auto;
	vertical-align: 0;
}

.brand-mark {
	align-items: center;
	background: linear-gradient(135deg, var(--wpclan-primary), var(--wpclan-gold));
	border-radius: 0.35rem;
	color: #07101c;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	height: 2rem;
	justify-content: center;
	letter-spacing: 0;
	width: 2rem;
}

.custom-logo {
	max-height: 3rem;
	width: auto;
}

.hero-section {
	background:
		linear-gradient(135deg, rgba(74, 163, 255, 0.1), rgba(216, 173, 79, 0.05)),
		rgba(18, 24, 36, 0.55);
}

.homepage-hero-widgets {
	display: grid;
	gap: 1rem;
}

.homepage-hero-widgets-1 {
	grid-template-columns: 1fr;
}

.homepage-hero-widgets-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-hero-widgets-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-hero-widget {
	height: 100%;
}

.homepage-hero-widget ul,
.homepage-hero-widget ol {
	margin-bottom: 0;
	padding-left: 1.15rem;
}

.homepage-hero-widget p:last-child {
	margin-bottom: 0;
}

.py-lg-6 {
	padding-bottom: 5rem;
	padding-top: 5rem;
}

.roster-panel,
.post-card,
.bg-panel {
	background: linear-gradient(180deg, rgba(24, 33, 49, 0.95), rgba(18, 24, 36, 0.95));
	border: 1px solid var(--wpclan-border);
	border-radius: 0.5rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.24);
}

.post-card {
	overflow: hidden;
}

.blog-list-post + .blog-list-post {
	margin-top: 2rem;
}

.blog-list-image,
.single-post-hero {
	background-color: #7f8791;
	border-radius: 0.35rem;
	overflow: hidden;
	position: relative;
}

.blog-list-image-link {
	display: block;
	height: 100%;
}

.blog-list-image img,
.single-post-hero img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.blog-list-image-featured {
	aspect-ratio: 1920 / 459;
	margin-bottom: 1.25rem;
}

.blog-list-image-compact {
	aspect-ratio: 600 / 510;
}

.single-post-hero {
	aspect-ratio: 1920 / 459;
}

.post-category-badge {
	left: 0;
	position: absolute;
	top: 1rem;
	z-index: 2;
}

.post-category-badge a {
	background-color: var(--wpclan-danger);
	border-radius: 0 0.25rem 0.25rem 0;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	line-height: 1;
	padding: 0.65rem 1.15rem;
	text-decoration: none;
}

.post-category-badge a:hover,
.post-category-badge a:focus {
	background-color: #ff245a;
	color: #fff;
}

.blog-list-post .entry-title,
.single-post-article .entry-title {
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.blog-list-post .entry-title {
	font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.55rem);
}

.blog-list-post .entry-title a {
	color: #fff;
}

.blog-list-text {
	color: var(--wpclan-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.blog-list-text p:last-child {
	margin-bottom: 0;
}

.post-meta {
	align-items: center;
	color: var(--wpclan-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 0.55rem 1rem;
	margin-top: 0.6rem;
}

.post-meta a {
	color: var(--wpclan-muted);
	text-decoration: none;
}

.post-meta a:hover,
.post-meta a:focus {
	color: var(--wpclan-primary);
}

.post-meta-item {
	align-items: center;
	display: inline-flex;
	gap: 0.4rem;
}

.post-meta-item::before {
	background-color: #8f9cac;
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	height: 0.95rem;
	width: 0.95rem;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.post-meta-date::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 9H4v9h16v-9ZM4 9h16V7H4v2Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v3h6V2h2v3h3a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3V2Zm13 9H4v9h16v-9ZM4 9h16V7H4v2Z'/%3E%3C/svg%3E");
}

.post-meta-author::before {
	border-radius: 50%;
	height: 0.25rem;
	width: 0.25rem;
}

.post-meta-comments::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9.2L4 21v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 2v9h2v1.92L8.52 15H20V6H4Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9.2L4 21v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 2v9h2v1.92L8.52 15H20V6H4Z'/%3E%3C/svg%3E");
}

.entry-title a {
	color: var(--wpclan-text);
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	color: var(--wpclan-primary);
}

.entry-content img {
	height: auto;
	max-width: 100%;
}

.entry-content table {
	--bs-table-bg: transparent;
	--bs-table-border-color: var(--wpclan-border);
	color: var(--wpclan-text);
}

.wp-block-quote,
blockquote {
	border-left: 0.25rem solid var(--wpclan-primary);
	color: var(--wpclan-muted);
	padding-left: 1rem;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li + li {
	border-top: 1px solid var(--wpclan-border);
	margin-top: 0.75rem;
	padding-top: 0.75rem;
}

.form-control,
.form-select {
	background-color: #0d1420;
	border-color: var(--wpclan-border);
	color: var(--wpclan-text);
}

.form-control:focus,
.form-select:focus {
	background-color: #0d1420;
	border-color: var(--wpclan-primary);
	box-shadow: 0 0 0 0.25rem rgba(74, 163, 255, 0.18);
	color: var(--wpclan-text);
}

.btn-primary {
	--bs-btn-bg: var(--wpclan-primary-strong);
	--bs-btn-border-color: var(--wpclan-primary-strong);
	--bs-btn-hover-bg: #3d91ed;
	--bs-btn-hover-border-color: #3d91ed;
	--bs-btn-focus-shadow-rgb: 74, 163, 255;
}

.page-numbers,
.post-navigation a {
	background-color: var(--wpclan-panel);
	border: 1px solid var(--wpclan-border);
	border-radius: 0.35rem;
	display: inline-block;
	margin: 0 0.15rem 0.4rem 0;
	padding: 0.5rem 0.75rem;
	text-decoration: none;
}

.page-numbers.current {
	background-color: var(--wpclan-primary-strong);
	color: #fff;
}

.search-wrap {
	max-width: 34rem;
}

.site-footer {
	background-color: rgba(9, 13, 20, 0.92);
}

@media (max-width: 991.98px) {
	.navbar-nav {
		padding-top: 1rem;
	}

	.navbar .dropdown-menu {
		background-color: transparent;
		border: 0;
		box-shadow: none;
		margin-left: 1rem;
		padding-bottom: 0;
		padding-top: 0;
	}

	.navbar .dropdown-item {
		min-width: 0;
		padding-left: 0;
	}

	.navbar .dropdown-submenu > .dropdown-menu {
		margin-left: 1rem;
	}

	.navbar .dropdown-submenu > .dropdown-toggle::after {
		border-left: 0.3em solid transparent;
		border-right: 0.3em solid transparent;
		border-top: 0.3em solid;
	}

	.py-lg-6 {
		padding-bottom: 3rem;
		padding-top: 3rem;
	}

	.homepage-hero-widgets-2,
	.homepage-hero-widgets-3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	.blog-list-image-featured,
	.single-post-hero {
		aspect-ratio: 16 / 9;
	}

	.blog-list-image-compact {
		aspect-ratio: 16 / 9;
		margin-bottom: 0.25rem;
	}
}

@media (min-width: 992px) {
	.navbar .dropdown:hover > .dropdown-menu,
	.navbar .dropdown:focus-within > .dropdown-menu {
		display: block;
	}

	.navbar .dropdown-toggle:hover + .dropdown-menu,
	.navbar .dropdown-toggle:focus + .dropdown-menu {
		display: block;
	}
}
