/* Custom theme styles (Tailwind-friendly) */

:root {
	/* Header Height Variables (устанавливаются динамически через header-height.js) */
	--header-height: 64px; /* Значение по умолчанию, будет обновлено JS */
	--vh-without-header: calc(100vh - var(--header-height)); /* Высота viewport без хедера */
	
	/* Theme Colors */
	--color-primary: #2563eb;
	--color-surface: #ffffff;
	--color-text: #0f172a;
	--color-muted: #475569;
	--shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
	--container-max-width: 1280px;
}

/* Universal Container Class */
.container {
	width: 100%;
	max-width: var(--container-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem; /* 16px */
	padding-right: 1rem; /* 16px */
}

/* Responsive container padding */
@media (min-width: 640px) {
	.container {
		padding-left: 1.5rem; /* 24px */
		padding-right: 1.5rem; /* 24px */
	}
}

@media (min-width: 768px) {
	.container {
		padding-left: 2rem; /* 32px */
		padding-right: 2rem; /* 32px */
	}
}

@media (min-width: 1024px) {
	.container {
		padding-left: 2.5rem; /* 40px */
		padding-right: 2.5rem; /* 40px */
	}
}

@media (min-width: 1280px) {
	.container {
		padding-left: 3rem; /* 48px */
		padding-right: 3rem; /* 48px */
	}
}

/* Utility Classes - Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0.75rem;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	font-size: 1rem;
	line-height: 1.5;
}

.btn-primary {
	background-color: var(--color-primary);
	color: #ffffff;
}

.btn-primary:hover {
	background-color: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
	background-color: #ffffff;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
	background-color: var(--color-primary);
	color: #ffffff;
	transform: translateY(-1px);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-text);
	border: 1px solid #e5e7eb;
}

.btn-outline:hover {
	background-color: #f8fafc;
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1.125rem;
}

/* Utility Classes - Cards */
.card {
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.card:hover {
	box-shadow: var(--shadow-soft);
	transform: translateY(-2px);
}

.card-body {
	padding: 1.5rem;
}

.card-header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 600;
	font-size: 1.125rem;
}

.card-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid #e5e7eb;
	background-color: #f8fafc;
	border-radius: 0 0 1rem 1rem;
}

/* Utility Classes - Sections */
.section {
	padding: 4rem 0;
}

.section-sm {
	padding: 2rem 0;
}

.section-lg {
	padding: 6rem 0;
}

.section-xl {
	padding: 8rem 0;
}

@media (max-width: 768px) {
	.section {
		padding: 2.5rem 0;
	}
	.section-lg {
		padding: 4rem 0;
	}
	.section-xl {
		padding: 5rem 0;
	}
}

/* Utility Classes - Grid Layouts */
.grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

/* Utility Classes - Badges */
.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 0.5rem;
	background-color: #e0f2fe;
	color: #0369a1;
}

.badge-success {
	background-color: #dcfce7;
	color: #15803d;
}

.badge-warning {
	background-color: #fef3c7;
	color: #b45309;
}

.badge-danger {
	background-color: #fee2e2;
	color: #b91c1c;
}

/* Utility Classes - Typography */
.heading-1 {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text);
}

.heading-2 {
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text);
}

.heading-3 {
	font-size: 1.875rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

.text-lead {
	font-size: 1.25rem;
	line-height: 1.75;
	color: var(--color-muted);
}

@media (max-width: 768px) {
	.heading-1 {
		font-size: 2rem;
	}
	.heading-2 {
		font-size: 1.75rem;
	}
	.heading-3 {
		font-size: 1.5rem;
	}
	.text-lead {
		font-size: 1.125rem;
	}
}

body {
	background-color: #f8fafc;
	background-image: url('../images/body-bg.webp');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	color: var(--color-text);
}

[x-cloak] {
	display: none !important;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	background: #111827;
	color: #ffffff;
	font-weight: 600;
	z-index: 100;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	overflow: visible;
}

/* Navigation - Legacy ID selectors removed, using .header__primary-menu classes instead */

.custom-logo {
	max-height: 48px;
	width: auto;
	height: auto;
}

/* Typography for post content */
.entry-content {
	color: var(--color-text);
	line-height: 1.75;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: #0f172a;
	font-weight: 700;
	line-height: 1.2;
	margin: 1.5rem 0 0.75rem;
}

.entry-content p {
	margin: 1rem 0;
	color: #0f172a;
}

.entry-content a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.entry-content a:hover {
	text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
	margin: 1rem 0 1rem 1.25rem;
	padding: 0;
	color: #0f172a;
}

.entry-content li + li {
	margin-top: 0.35rem;
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--color-primary);
	background: #eff6ff;
	border-radius: 0.75rem;
	color: #0f172a;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem;
	border: 1px solid #e5e7eb;
}

.entry-content th {
	background: #f8fafc;
	text-align: left;
}

.entry-content code {
	background: #0f172a;
	color: #e0f2fe;
	border-radius: 0.4rem;
	padding: 0.15rem 0.4rem;
	font-size: 0.9rem;
}

.entry-content pre {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 1rem;
	padding: 1rem;
	overflow: auto;
}

.entry-content img {
	border-radius: 1rem;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea,
select {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 0.75rem;
	padding: 0.65rem 0.9rem;
	background-color: #ffffff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
	outline: none;
}

button,
input[type="submit"],
input[type="button"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	background-color: var(--color-primary);
	color: #ffffff;
	padding: 0.65rem 1rem;
	border: none;
	border-radius: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background-color: #1d4ed8;
	box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
	transform: translateY(-1px);
}

button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* Widgets */
.widget {
	padding: 1.25rem;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.widget-title {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.4rem;
}

.widget a {
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
}

.widget a:hover {
	color: var(--color-primary);
}

/* Pagination / navigation */
.navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.navigation .nav-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
}

.navigation .nav-previous,
.navigation .nav-next {
	flex: 1;
}

.navigation a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.navigation a:hover {
	text-decoration: underline;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	color: #0f172a;
	font-weight: 600;
}

.navigation.pagination .page-numbers.current {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #ffffff;
}

.cat-links,
.tags-links,
.comments-link,
.edit-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.cat-links a,
.tags-links a,
.comments-link a,
.edit-link a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.cat-links a:hover,
.tags-links a:hover,
.comments-link a:hover,
.edit-link a:hover {
	text-decoration: underline;
}

/* Comments */
.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.comment-list .comment {
	padding: 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #ffffff;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.comment-metadata {
	font-size: 0.9rem;
	color: #64748b;
}

.comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-top: 0.5rem;
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: none;
}

.comment-reply-link:hover {
	text-decoration: underline;
}

/* ================================================
   ПРИМЕРЫ ИСПОЛЬЗОВАНИЯ CSS ПЕРЕМЕННЫХ --header-height
   ================================================ */

/* Hero секция на всю высоту экрана минус хедер */
.hero-fullscreen {
	height: var(--vh-without-header);
	min-height: var(--vh-without-header);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hero секция на 80% высоты экрана минус хедер */
.hero-large {
	height: calc(var(--vh-without-header) * 0.8);
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hero секция на 60% высоты экрана минус хедер */
.hero-medium {
	height: calc(var(--vh-without-header) * 0.6);
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Sticky элемент с учетом высоты хедера */
.sticky-below-header {
	position: sticky;
	top: var(--header-height);
	z-index: 40;
}

/* Отступ сверху равный высоте хедера */
.margin-top-header {
	margin-top: var(--header-height);
}

/* Padding сверху равный высоте хедера */
.padding-top-header {
	padding-top: var(--header-height);
}

/* Контент с учетом sticky хедера */
.content-with-fixed-header {
	padding-top: calc(var(--header-height) + 2rem);
}

/* Полноэкранный overlay с учетом хедера */
.fullscreen-overlay {
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 45;
}

/* Модальное окно с центрированием с учетом хедера */
.modal-centered {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, calc(-50% + var(--header-height) / 2));
	z-index: 50;
}

/* Пример использования в медиа-запросах */
@media (max-width: 768px) {
	.hero-fullscreen {
		min-height: calc(var(--vh-without-header) - 2rem);
	}
}

/* ==========================================================================
   Header Styles - Two-tier navigation header
   ========================================================================== */

/* Header Container */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Bar - Logo Section */
.header__top-bar {
	padding: 1rem 0;
	background-color: #ffffff;
}

.header__top-bar .container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.header__logo {
	display: block;
}

.header__logo img,
.header__logo .custom-logo {
	max-height: 70px;
	width: auto;
	height: auto;
}

/* Primary Navigation - Menu 1 */
.header__primary-nav {
	background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	position: relative;
}

.header__primary-nav::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #f5a623, #e8881d, #f5a623);
}

.header__primary-nav .container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
}

/* Primary Menu */
.header__primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.header__primary-menu > li {
	margin: 0;
	position: relative;
}

.header__primary-menu > li > a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1.35rem;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.925rem;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: transparent;
	border-left: 1px solid rgba(255, 255, 255, 0.15);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.header__primary-menu > li:first-child > a {
	border-left: none;
}

/* Shine effect on hover */
.header__primary-menu > li > a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	transition: left 0.5s ease;
}

.header__primary-menu > li > a:hover::before {
	left: 100%;
}

/* Bottom highlight line on active/hover */
.header__primary-menu > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #f5a623, #e8881d);
	transition: all 0.3s ease;
	transform: translateX(-50%);
	border-radius: 3px 3px 0 0;
}

.header__primary-menu > li > a:hover::after,
.header__primary-menu > li > a:focus::after,
.header__primary-menu > li.current-menu-item > a::after,
.header__primary-menu > li.current_page_item > a::after {
	width: 80%;
}

.header__primary-menu > li > a:hover,
.header__primary-menu > li > a:focus {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	transform: translateY(-1px);
}

.header__primary-menu > li.current-menu-item > a,
.header__primary-menu > li.current_page_item > a {
	background: rgba(245, 166, 35, 0.15);
	color: #ffffff;
}

/* Dropdown Menu - Level 2 */
.header__primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	backdrop-filter: blur(10px);
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 100;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
	border-radius: 0 0 12px 12px;
	border-top: 3px solid #f5a623;
}

.header__primary-menu > li:hover > .sub-menu,
.header__primary-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header__primary-menu .sub-menu li {
	margin: 0;
	border-bottom: none;
}

.header__primary-menu .sub-menu li a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1.5rem;
	color: #334155;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	background: transparent;
	transition: all 0.25s ease;
	position: relative;
	margin: 0 0.5rem;
	border-radius: 8px;
}

.header__primary-menu .sub-menu li a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 0;
	background: linear-gradient(180deg, #f5a623, #e8881d);
	border-radius: 0 3px 3px 0;
	transition: height 0.25s ease;
}

.header__primary-menu .sub-menu li a:hover,
.header__primary-menu .sub-menu li a:focus {
	background: linear-gradient(90deg, rgba(245, 166, 35, 0.1), transparent);
	color: #1e3a5f;
	padding-left: 1.75rem;
}

.header__primary-menu .sub-menu li a:hover::before,
.header__primary-menu .sub-menu li a:focus::before {
	height: 60%;
}

/* Nested submenu (Level 3+) */
.header__primary-menu .sub-menu .sub-menu {
	top: -0.5rem;
	left: 100%;
	margin-top: 0;
	border-radius: 12px;
	border-top: none;
	border-left: 3px solid #f5a623;
}

/* Area Selection Section */
.header__areas-section {
	background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
	padding: 1rem 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
	max-height: 250px;
	border-top: 1px solid rgba(30, 58, 95, 0.1);
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header__areas-section.is-hidden {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}

.header__areas-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.header__areas-left {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	flex: 1;
	min-width: 0;
	flex-wrap: wrap;
}

.header__areas-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #333333;
	white-space: nowrap;
	margin: 0;
}

/* Areas Menu - Menu 2 */
.header__areas-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.header__areas-menu > li {
	margin: 0;
}

.header__areas-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.15rem;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Shine effect */
.header__areas-menu > li > a::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transform: rotate(45deg) translateX(-100%);
	transition: transform 0.6s ease;
}

.header__areas-menu > li > a:hover::before {
	transform: rotate(45deg) translateX(100%);
}

.header__areas-menu > li > a:hover,
.header__areas-menu > li > a:focus {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Area Colors - Individual colors for each menu item with gradient */
.header__areas-menu > li:nth-child(1) > a {
	background: linear-gradient(145deg, #0066bf, #00529f); /* Birmingham - Blue */
}
.header__areas-menu > li:nth-child(2) > a {
	background: linear-gradient(145deg, #00a85e, #008a4c); /* Coventry - Green */
}
.header__areas-menu > li:nth-child(3) > a {
	background: linear-gradient(145deg, #721660, #5c0f4c); /* Dudley - Burgundy */
}
.header__areas-menu > li:nth-child(4) > a {
	background: linear-gradient(145deg, #c42038, #a31a2f); /* Sandwell - Red */
}
.header__areas-menu > li:nth-child(5) > a {
	background: linear-gradient(145deg, #721660, #5c0f4c); /* Solihull - Burgundy */
}
.header__areas-menu > li:nth-child(6) > a {
	background: linear-gradient(145deg, #0092a8, #007a8c); /* Walsall - Teal */
}
.header__areas-menu > li:nth-child(7) > a {
	background: linear-gradient(145deg, #a2b623, #8b9a1f); /* Wolverhampton - Olive */
}

/* Toggle Areas Section Bar */
.header__areas-toggle-bar {
	background: linear-gradient(180deg, #e8ecf1 0%, #d9dfe6 100%);
	padding: 0.5rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.header__areas-toggle-bar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__areas-toggle-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1e3a5f;
	margin: 0;
	letter-spacing: 0.3px;
}

/* Hide Areas Toggle Button */
.header__toggle-areas {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: linear-gradient(145deg, #1e3a5f, #2d5a87);
	border: none;
	border-radius: 8px;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
	box-shadow: 0 3px 10px rgba(30, 58, 95, 0.25);
}

.header__toggle-areas:hover {
	background: linear-gradient(145deg, #2d5a87, #3d6a97);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(30, 58, 95, 0.35);
}

.header__toggle-icon {
	width: 0.9rem;
	height: 0.9rem;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__toggle-areas[aria-expanded="false"] .header__toggle-icon {
	transform: rotate(180deg);
}

/* Mobile Menu Button */
.header__mobile-toggle {
	display: none;
	padding: 0.5rem;
	background: none;
	border: none;
	color: #333333;
	cursor: pointer;
}

.header__mobile-toggle svg {
	width: 1.5rem;
	height: 1.5rem;
}

/* Mobile Navigation */
.header__mobile-nav {
	display: none;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border-top: 3px solid #f5a623;
	padding: 1.25rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header__mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header__mobile-menu > li > a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	color: #1e3a5f;
	font-weight: 600;
	text-decoration: none;
	border-radius: 12px;
	transition: all 0.25s ease;
	position: relative;
}

.header__mobile-menu > li > a::before {
	content: '';
	width: 4px;
	height: 0;
	background: linear-gradient(180deg, #f5a623, #e8881d);
	border-radius: 4px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: height 0.25s ease;
}

.header__mobile-menu > li > a:hover,
.header__mobile-menu > li.current-menu-item > a {
	background: linear-gradient(90deg, rgba(245, 166, 35, 0.08), transparent);
	color: #1e3a5f;
	padding-left: 1.5rem;
}

.header__mobile-menu > li > a:hover::before,
.header__mobile-menu > li.current-menu-item > a::before {
	height: 60%;
}

.header__mobile-areas {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 2px solid #e2e8f0;
}

.header__mobile-areas-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1e3a5f;
	margin: 0 0 1rem 0;
	padding: 0 1rem;
	letter-spacing: 0.3px;
}

.header__mobile-areas-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
}

.header__mobile-areas-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.header__mobile-areas-menu > li > a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile Area Colors with gradients */
.header__mobile-areas-menu > li:nth-child(1) > a { background: linear-gradient(145deg, #0066bf, #00529f); }
.header__mobile-areas-menu > li:nth-child(2) > a { background: linear-gradient(145deg, #00a85e, #008a4c); }
.header__mobile-areas-menu > li:nth-child(3) > a { background: linear-gradient(145deg, #721660, #5c0f4c); }
.header__mobile-areas-menu > li:nth-child(4) > a { background: linear-gradient(145deg, #c42038, #a31a2f); }
.header__mobile-areas-menu > li:nth-child(5) > a { background: linear-gradient(145deg, #721660, #5c0f4c); }
.header__mobile-areas-menu > li:nth-child(6) > a { background: linear-gradient(145deg, #0092a8, #007a8c); }
.header__mobile-areas-menu > li:nth-child(7) > a { background: linear-gradient(145deg, #a2b623, #8b9a1f); }

/* Header Responsive Styles */
@media (max-width: 1024px) {
	.header__primary-menu > li > a {
		padding: 0.75rem 1rem;
		font-size: 0.85rem;
	}
	
	.header__areas-menu > li > a {
		padding: 0.5rem 0.85rem;
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	/* Hide desktop navigation */
	.header__primary-nav {
		display: none;
	}
	
	.header__areas-section,
	.header__areas-toggle-bar {
		display: none;
	}
	
	/* Show mobile toggle */
	.header__mobile-toggle {
		display: block;
	}
	
	/* Top bar layout for mobile */
	.header__top-bar .container {
		justify-content: space-between;
	}
	
	/* Mobile navigation display */
	.header__mobile-nav.is-open {
		display: block;
	}
	
	.header__logo img,
	.header__logo .custom-logo {
		max-height: 50px;
	}
}

@media (max-width: 480px) {
	.header__mobile-areas-menu {
		grid-template-columns: 1fr;
	}
	
	.header__top-bar {
		padding: 0.75rem 0;
	}
	
	.header__logo img,
	.header__logo .custom-logo {
		max-height: 40px;
	}
}

/* ==========================================================================
   Hero Swiper Slider Styles
   ========================================================================== */

.hero-slider {
	width: 100%;
	overflow: hidden;
	background-color: #1e3a5f;
}

.hero-slider__container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	position: relative;
}

/* Swiper Main Container */
.hero-swiper {
	width: 100%;
	height: 310px;
}

.hero-swiper .swiper-wrapper {
	height: 100%;
}

/* Individual Slide */
.hero-slide {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.hero-slide__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}

/* Dark overlay for better text readability */
.hero-slide__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, 
		rgba(30, 58, 95, 0.95) 0%, 
		rgba(30, 58, 95, 0.85) 50%,
		rgba(30, 58, 95, 0.4) 80%,
		transparent 100%
	);
	z-index: 1;
}

/* Content Container */
.hero-slide__content {
	position: absolute;
	top: 0;
	left: 0;
	width: 55%;
	height: 100%;
	padding: 2rem 2.5rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Title */
.hero-slide__title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 1.25rem 0;
	line-height: 1.1;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Description Box */
.hero-slide__description {
	background: linear-gradient(145deg, #0091d9, #0078b8);
	padding: 1.25rem 1.5rem;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	max-width: 95%;
}

.hero-slide__description p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #ffffff;
	font-weight: 500;
}

.hero-slide__link {
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	display: inline;
}

.hero-slide__link:hover {
	text-decoration: underline;
}

/* Navigation Arrow on Right Side */
.hero-slide__nav-arrow {
	position: absolute;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hero-slide__nav-arrow svg {
	width: 60px;
	height: 60px;
	color: rgba(255, 255, 255, 0.8);
	filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
	cursor: pointer;
	transition: all 0.3s ease;
}

.hero-slide__nav-arrow svg:hover {
	color: #ffffff;
	transform: translateX(5px);
}

/* Bottom Bar */
.hero-slider__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(145deg, #4a5568, #3d4652);
	padding: 0.75rem 1.5rem;
	border-top: 3px solid #1e3a5f;
}

.hero-slider__pathways-label {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
}

.hero-slider__pagination-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Custom Pagination */
.hero-pagination {
	display: flex !important;
	align-items: center;
	gap: 0.25rem;
	position: static !important;
	width: auto !important;
}

.hero-pagination .swiper-pagination-bullet {
	width: 24px;
	height: 24px;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	opacity: 1;
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet:hover {
	border-color: #ffffff;
	color: #ffffff;
}

.hero-pagination .swiper-pagination-bullet-active {
	background: linear-gradient(145deg, #0091d9, #0078b8);
	border-color: #0091d9;
	color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 145, 217, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.hero-swiper {
		height: 280px;
	}
	
	.hero-slide__content {
		width: 65%;
		padding: 1.5rem 2rem;
	}
	
	.hero-slide__title {
		font-size: 2rem;
	}
	
	.hero-slide__description {
		padding: 1rem 1.25rem;
	}
	
	.hero-slide__description p {
		font-size: 0.9rem;
	}
	
	.hero-slide__nav-arrow {
		right: 1rem;
	}
	
	.hero-slide__nav-arrow svg {
		width: 45px;
		height: 45px;
	}
}

@media (max-width: 768px) {
	.hero-swiper {
		height: 320px;
	}
	
	.hero-slide__overlay {
		width: 100%;
		background: linear-gradient(180deg, 
			rgba(30, 58, 95, 0.9) 0%, 
			rgba(30, 58, 95, 0.75) 60%,
			rgba(30, 58, 95, 0.6) 100%
		);
	}
	
	.hero-slide__content {
		width: 100%;
		padding: 1.25rem;
	}
	
	.hero-slide__title {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}
	
	.hero-slide__description {
		max-width: 100%;
	}
	
	.hero-slide__nav-arrow {
		display: none;
	}
	
	.hero-slider__bottom {
		flex-direction: column;
		gap: 0.75rem;
		padding: 0.75rem 1rem;
	}
	
	.hero-slider__pathways-label {
		font-size: 0.9rem;
	}
	
	.hero-pagination .swiper-pagination-bullet {
		width: 22px;
		height: 22px;
		font-size: 0.7rem;
	}
}

@media (max-width: 480px) {
	.hero-swiper {
		height: 350px;
	}
	
	.hero-slide__title {
		font-size: 1.35rem;
	}
	
	.hero-slide__description p {
		font-size: 0.85rem;
		line-height: 1.5;
	}
	
	.hero-pagination .swiper-pagination-bullet {
		width: 20px;
		height: 20px;
		font-size: 0.65rem;
	}
}

/* ==========================================================================
   Search Section Styles
   ========================================================================== */

.search-section {
	width: 100%;
	margin-top: 1.5rem;
}

.search-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: var(--container-max-width);
	margin: 0 auto;
}

/* Column Base Styles */
.search-section__column {
	position: relative;
	padding: 2rem 2.5rem;
	min-height: 260px;
	overflow: hidden;
}

.search-section__column--dark {
	background: linear-gradient(145deg, #3d4652, #2d343d);
}

.search-section__column--blue {
	background: linear-gradient(145deg, #0091d9, #0078b8);
}

/* Content Container */
.search-section__content {
	position: relative;
	z-index: 2;
	max-width: 320px;
}

/* Titles */
.search-section__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	font-style: italic;
	margin: 0 0 0.5rem 0;
	letter-spacing: 0.5px;
}

.search-section__subtitle {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 1.5rem 0;
	font-weight: 400;
}

/* Form Styles */
.search-section__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.search-section__field {
	width: 100%;
}

/* Select & Input Base Styles */
.search-section__select,
.search-section__input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	background-color: #ffffff;
	color: #374151;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-section__select:focus,
.search-section__input:focus {
	border-color: #0091d9;
	box-shadow: 0 0 0 3px rgba(0, 145, 217, 0.15);
}

/* Select Dropdown Arrow */
.search-section__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px;
	padding-right: 2.5rem;
	cursor: pointer;
}

/* Blue variant inputs */
.search-section__select--blue,
.search-section__input--blue {
	border-color: rgba(255, 255, 255, 0.3);
}

/* Search Button */
.search-section__button {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	align-self: flex-end;
	margin-top: 0.5rem;
}

.search-section__button:hover {
	transform: translateX(5px);
}

.search-section__button svg {
	width: 20px;
	height: 20px;
}

.search-section__button--dark {
	color: #1e3a5f;
}

/* Decorative Icons */
.search-section__icon {
	position: absolute;
	z-index: 1;
	opacity: 0.15;
}

.search-section__icon svg {
	stroke-width: 1;
}

.search-section__icon--magnify {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.search-section__icon--magnify svg {
	width: 160px;
	height: 160px;
	color: #ffffff;
}

.search-section__icon--compass {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.search-section__icon--compass svg {
	width: 180px;
	height: 180px;
	color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.search-section__column {
		padding: 1.75rem 2rem;
	}
	
	.search-section__icon--magnify svg {
		width: 120px;
		height: 120px;
	}
	
	.search-section__icon--compass svg {
		width: 140px;
		height: 140px;
	}
}

@media (max-width: 768px) {
	.search-section__grid {
		grid-template-columns: 1fr;
	}
	
	.search-section__column {
		padding: 2rem 1.5rem;
		min-height: auto;
	}
	
	.search-section__content {
		max-width: 100%;
	}
	
	.search-section__icon {
		display: none;
	}
	
	.search-section__button {
		align-self: center;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.search-section__column {
		padding: 1.5rem 1rem;
	}
	
	.search-section__title {
		font-size: 1.25rem;
	}
	
	.search-section__subtitle {
		font-size: 0.85rem;
	}
}

/* ==========================================================================
   News Section Styles
   ========================================================================== */

.news-section {
	width: 100%;
	background-color: #f5f5f5;
	margin-top: 1.5rem;
}

.news-section__container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	max-width: var(--container-max-width);
	margin: 0 auto;
}

/* Column Base Styles */
.news-section__column {
	padding: 1.5rem 2rem;
}

.news-section__column--news {
	background-color: #ffffff;
	border-right: 1px solid #e5e7eb;
}

.news-section__column--signup {
	background: linear-gradient(145deg, #0091d9, #0078b8);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem;
}

.news-section__column--latest {
	background-color: #d1d5db;
	padding: 1.5rem 2rem;
}

/* Section Titles */
.news-section__title {
	font-size: 1.25rem;
	font-weight: 400;
	color: #1e3a5f;
	text-transform: uppercase;
	font-style: italic;
	margin: 0 0 1rem 0;
}

.news-section__title span {
	font-weight: 700;
}

.news-section__title--white {
	color: #ffffff;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}

/* News Grid */
.news-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

/* News Card */
.news-card {
	display: flex;
	flex-direction: column;
}

.news-card__category {
	font-size: 1rem;
	font-weight: 400;
	color: #0091d9;
	margin: 0 0 0.75rem 0;
}

.news-card__meta {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.news-card__icon {
	width: 50px;
	height: 50px;
	object-fit: contain;
	flex-shrink: 0;
}

.news-card__date {
	font-size: 0.85rem;
	font-weight: 700;
	color: #374151;
}

.news-card__excerpt {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #4b5563;
	margin: 0;
}

.news-card__link {
	color: #0091d9;
	font-weight: 600;
	text-decoration: none;
}

.news-card__link:hover {
	text-decoration: underline;
}

/* Signup Column */
.news-section__desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #ffffff;
	margin: 0 0 1.5rem 0;
}

.news-section__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.news-section__cta:hover {
	transform: translateX(5px);
}

.news-section__cta svg {
	width: 18px;
	height: 18px;
}

/* Signup Card (Latest Signup) */
.signup-card {
	display: flex;
	flex-direction: column;
}

.signup-card__name {
	font-size: 1rem;
	font-weight: 700;
	color: #1e3a5f;
	margin: 0 0 0.5rem 0;
}

.signup-card__desc {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #4b5563;
	margin: 0;
}

.signup-card__link {
	color: #0091d9;
	font-weight: 700;
	text-decoration: none;
}

.signup-card__link:hover {
	text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.news-section__container {
		grid-template-columns: 1fr 1fr;
	}
	
	.news-section__column--news {
		grid-column: 1 / -1;
	}
	
	.news-section__column--signup,
	.news-section__column--latest {
		grid-column: span 1;
	}
}

@media (max-width: 768px) {
	.news-section__container {
		grid-template-columns: 1fr;
	}
	
	.news-section__column {
		padding: 1.5rem;
	}
	
	.news-section__column--news {
		border-right: none;
		border-bottom: 1px solid #e5e7eb;
	}
	
	.news-section__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
	
	.news-section__column--signup,
	.news-section__column--latest {
		grid-column: 1;
	}
}

@media (max-width: 480px) {
	.news-section__column {
		padding: 1.25rem 1rem;
	}
	
	.news-section__title {
		font-size: 1.1rem;
	}
	
	.news-section__title--white {
		font-size: 1.25rem;
	}
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
	width: 100%;
	background-color: #d1d5db;
	padding: 1.5rem 0;
	margin-top: 1.5rem;
}

.footer__container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	justify-content: flex-start;
}

.footer__link {
	color: #1e3a5f;
	font-size: 0.9rem;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer__link:hover {
	color: #0091d9;
	text-decoration: underline;
}

.footer__separator {
	color: #6b7280;
	font-size: 0.9rem;
	user-select: none;
}

.footer__copyright {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: #4b5563;
}

/* Responsive */
@media (max-width: 768px) {
	.footer__links {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 1.25rem 0;
	}
	
	.footer__container {
		padding: 0 1rem;
	}
	
	.footer__link,
	.footer__separator {
		font-size: 0.85rem;
	}
}

.header__primary-nav .container {
	padding: 0;
}