/**
 * Custom Classic Theme Styles
 * Styles for header, footer, alert bar, logo carousel, stats, etc.
 */

/* Alert Bar - Desktop Only */
.alert-bar {
	padding: 12px 24px;
	text-align: center;
	font-size: 14px;
	color: white;
	font-weight: 500;
	display: block;
	position: relative;
	z-index: 1000;
}

.alert-bar-content {
	max-width: var(--gs-container-width);
	margin: 0 auto;
	color: white;
}

/* Hide alert bar on tablets and mobile */
@media (max-width: 1024px) {
	.alert-bar {
		display: none;
	}
}

/* Header Styles */
.site-header {
	padding: 12px 32px;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1001;
	transition: box-shadow 0.2s;
	background-color: inherit;
}

.header-container {
	max-width: var(--gs-container-width);
	margin: 0 auto;
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: nowrap;
}

.site-branding {
	flex-shrink: 0;
}

.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding .custom-logo {
	height: 50px;
	width: auto;
	max-width: 200px;
	display: block;
}

.site-branding .site-title {
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
}

.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.primary-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
	align-items: center;
}

.primary-menu li a {
	text-decoration: none;
	font-weight: 500;
	color: inherit;
	transition: opacity 0.2s;
}

.primary-menu li a:hover {
	opacity: 0.7;
}

/* Header menu hover color will be applied via inline styles from customizer */

.header-buttons {
	display: flex;
	gap: 12px;
}

.btn {
	padding: 10px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s;
	display: inline-block;
}

.btn-outline-dark {
	border: 1px solid #0f172a;
	color: #0f172a;
	background: transparent;
}

.btn-outline-dark:hover {
	background: #0f172a;
	color: white;
}

.btn-primary {
	background: #2563eb;
	color: white;
	border: 1px solid #2563eb;
}

.btn-primary:hover {
	background: #0f172a;
	color: white;
	border-color: #0f172a;
}

/* Mobile Menu Toggle & Hamburger Icon */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	position: relative;
	width: 40px;
	height: 40px;
	z-index: 1003;
}

.menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 24px;
	height: 20px;
	position: relative;
}

.menu-icon-bar {
	width: 100%;
	height: 3px;
	background-color: #0f172a;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

/* Animated Hamburger to X */
.mobile-menu-toggle.is-active .menu-icon-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .menu-icon-bar:nth-child(2) {
	opacity: 0;
	transform: translateX(-20px);
}

.mobile-menu-toggle.is-active .menu-icon-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.main-navigation.mobile-menu-active {
	display: flex !important;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #0a1628;
	z-index: 999;
	padding: 80px 32px 32px;
	overflow-y: auto;
	animation: slideIn 0.3s ease;
}

/* Keep header visible above mobile menu */
body:has(.mobile-menu-active) .site-header {
	position: fixed;
	z-index: 1001;
	width: 100%;
	top: 0;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-100%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.mobile-menu-active .primary-menu {
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.mobile-menu-active .primary-menu li {
	width: 100%;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-active .primary-menu li a {
	display: block;
	padding: 20px 16px;
	color: rgba(255,255,255,0.9);
	font-size: 18px;
	font-weight: 600;
	transition: all 0.2s;
}

.mobile-menu-active .primary-menu li a:hover {
	color: #fff;
	background: rgba(255,255,255,0.05);
	padding-left: 24px;
}

@media (max-width: 768px) {
	.main-navigation,
	.header-buttons {
		display: none;
	}
	
	.mobile-menu-toggle {
		display: block;
	}
	
	.site-header {
		padding: 12px 20px;
	}
	
	.header-content {
		gap: 16px;
	}
	
	.site-branding .custom-logo {
		height: 40px;
	}
	
	/* Keep logo and hamburger visible above mobile menu */
	.site-branding,
	.mobile-menu-toggle {
		position: relative;
		z-index: 1003;
	}
	
	/* Ensure header stays on top when mobile menu is active */
	.site-header {
		z-index: 1002;
	}
}

/* Scrolled Header Effect */
.site-header.scrolled {
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Hero Section */
.hero-section {
	padding: 100px 32px 80px;
	color: white;
}

.hero-container {
	max-width: var(--gs-container-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.hero-content {
	max-width: 600px;
}

.hero-badge {
	margin-bottom: 24px;
}

.hero-badge span {
	display: inline-block;
	padding: 8px 20px;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
}

.hero-title {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 20px;
	color: white;
}

.hero-description {
	font-size: 18px;
	line-height: 1.6;
	opacity: 0.9;
	margin-bottom: 32px;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.hero-features {
	font-size: 14px;
	opacity: 0.8;
}

.hero-image img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.btn-outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: white;
}

.btn-outline:hover {
	background: rgba(255,255,255,0.1);
	border-color: white;
}

/* CTA Section */
.cta-section {
	padding: 100px 32px;
	color: white;
	text-align: center;
}

.cta-container {
	max-width: 900px;
	margin: 0 auto;
}

.cta-title {
	font-size: 48px;
	font-weight: 800;
	margin-bottom: 20px;
	color: white;
}

.cta-description {
	font-size: 20px;
	line-height: 1.6;
	opacity: 0.9;
	margin-bottom: 36px;
}

.cta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.cta-features-small {
	font-size: 14px;
	opacity: 0.7;
}

.btn-accent {
	background: #2563eb;
	color: white;
	border: 1px solid #2563eb;
}

.btn-accent:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
}

.btn-outline-white {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: white;
}

.btn-outline-white:hover {
	background: rgba(255,255,255,0.1);
	border-color: white;
}

@media (max-width: 768px) {
	.hero-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.hero-title {
		font-size: 36px;
	}
	
	.cta-title {
		font-size: 32px;
	}
}

/* Logo Carousel Section */
.logos-section {
	padding: 80px 32px;
	background: #f8fafc;
}

.logos-container {
	max-width: var(--gs-container-width);
	margin: 0 auto;
}

.logos-badge {
	text-align: center;
	margin-bottom: 48px;
}

.logos-badge span {
	display: inline-block;
	padding: 10px 24px;
	background: rgba(37, 99, 235, 0.1);
	border: 1px solid rgba(37, 99, 235, 0.2);
	border-radius: 100px;
	font-size: 15px;
	font-weight: 700;
	color: #2563eb;
	letter-spacing: 0.5px;
}

.logos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

.city-logo-card {
	background: white;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	border: 1px solid #e2e8f0;
	transition: all 0.3s;
}

.city-logo-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
	border-color: #cbd5e1;
}

.city-logo-img {
	width: 120px;
	height: 120px;
	border-radius: 8px;
	object-fit: cover;
	margin: 0 auto 16px;
	display: block;
}

.city-name {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 4px;
}

.city-state {
	font-size: 13px;
	color: #64748b;
}

@media (max-width: 1200px) {
	.logos-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.logos-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.city-logo-img {
		width: 100px;
		height: 100px;
	}
}

/* Stats Section */
.stats-section {
	padding: 100px 32px;
	background: white;
}

.stats-container {
	max-width: var(--gs-container-width);
	margin: 0 auto;
}

.stats-label {
	text-align: center;
	color: #2563eb;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
}

.stats-title {
	text-align: center;
	font-size: 42px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 64px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

@media (max-width: 1200px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}
}

.stat-card {
	background: #f8fafc;
	border-radius: 16px;
	padding: 40px 32px;
	text-align: center;
	transition: all 0.3s;
	border: 1px solid #e2e8f0;
}

.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.stat-card-accent {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: white;
	border: none;
}

.stat-emoji {
	font-size: 48px;
	margin-bottom: 16px;
}

.stat-number {
	font-size: 48px;
	font-weight: 800;
	margin-bottom: 8px;
	color: inherit;
}

.stat-card-accent .stat-number {
	color: white;
}

.stat-label-small {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 12px;
	color: inherit;
}

.stat-card-accent .stat-label-small {
	color: rgba(255,255,255,0.95);
}

.stat-desc {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
}

.stat-card-accent .stat-desc {
	color: rgba(255,255,255,0.85);
}

/* Footer Styles */
.site-footer {
	padding: 60px 32px 32px;
	color: white;
}

.footer-container {
	max-width: var(--gs-container-width);
	margin: 0 auto;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.footer-col h5 {
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

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

.footer-col ul li {
	margin-bottom: 12px;
}

.footer-col a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: white;
}

.footer-desc {
	color: rgba(255,255,255,0.7);
	line-height: 1.6;
	font-size: 14px;
}

.footer-email {
	color: rgba(255,255,255,0.9);
	font-size: 14px;
	margin-top: 16px;
}

.certifications-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.certifications-list li {
	font-size: 14px;
	color: rgba(255,255,255,0.9);
	margin-bottom: 12px !important;
}

.footer-separator {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.15);
	margin: 48px 0 32px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: rgba(255,255,255,0.7);
}

.footer-bottom-nav {
	display: flex;
	gap: 24px;
}

.footer-bottom-nav a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-bottom-nav a:hover {
	color: white;
}

@media (max-width: 768px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}

/* ========================================================================== 
   BLOG STYLES - Modern & Clean
   ========================================================================== */

/* Blog Header */
.blog-header {
	padding: 80px 32px 60px;
	text-align: center;
	background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
	color: white;
	border-bottom: 3px solid #2563eb;
}

.blog-header-container {
	max-width: 800px;
	margin: 0 auto;
}

.blog-title {
	font-size: 48px;
	font-weight: 800;
	margin-bottom: 16px;
	color: white;
	letter-spacing: -0.02em;
}

.blog-description {
	font-size: 20px;
	color: rgba(255,255,255,0.85);
	line-height: 1.5;
}

/* Blog Posts Grid */
.blog-posts-section {
	padding: 80px 32px;
	background: #f8fafc;
	min-height: 60vh;
}

.blog-posts-container {
	max-width: 1200px;
	margin: 0 auto;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 32px;
	margin-bottom: 64px;
}

/* Blog Card */
.blog-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.blog-card-image {
	position: relative;
	overflow: hidden;
	background: #e2e8f0;
	aspect-ratio: 16 / 9;
}

.blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
	transform: scale(1.08);
}

.blog-card-content {
	padding: 32px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.blog-card-meta {
	margin-bottom: 16px;
}

.blog-date {
	font-size: 14px;
	color: #2563eb;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.blog-card-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.3;
}

.blog-card-title a {
	text-decoration: none;
	color: #0f172a;
	transition: color 0.2s;
}

.blog-card-title a:hover {
	color: #2563eb;
}

.blog-card-excerpt {
	font-size: 16px;
	line-height: 1.6;
	color: #64748b;
	margin-bottom: 24px;
	flex: 1;
}

.blog-read-more {
	font-size: 15px;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: all 0.2s;
}

.blog-read-more:hover {
	color: #1d4ed8;
	transform: translateX(4px);
}

.no-posts {
	text-align: center;
	padding: 60px 20px;
	font-size: 18px;
	color: #64748b;
}

/* Pagination */
.pagination {
	margin-top: 64px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-weight: 600;
	color: #0f172a;
	background: white;
	text-decoration: none;
	transition: all 0.2s;
	font-size: 15px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: #2563eb;
	color: white;
	border-color: #2563eb;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.pagination .page-numbers.dots {
	border: none;
	background: transparent;
	cursor: default;
}

.pagination .page-numbers.dots:hover {
	transform: none;
	box-shadow: none;
}

/* Single Post */
.post-hero {
	padding: 100px 32px 80px;
	color: white;
	background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
	text-align: center;
	border-bottom: 4px solid #2563eb;
}

.post-hero-container {
	max-width: 900px;
	margin: 0 auto;
}

.post-meta {
	margin-bottom: 24px;
}

.post-date {
	font-size: 15px;
	font-weight: 600;
	color: #60a5fa;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.post-title {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
	color: white;
	letter-spacing: -0.02em;
}

.post-content-section {
	padding: 80px 32px;
	background: white;
}

.post-content-container {
	max-width: 800px;
	margin: 0 auto;
}

.post-featured-image {
	margin-bottom: 48px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	font-size: 18px;
	line-height: 1.8;
	color: #1e293b;
}

.entry-content h2 {
	font-size: 36px;
	font-weight: 800;
	margin-top: 56px;
	margin-bottom: 24px;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.entry-content h3 {
	font-size: 28px;
	font-weight: 700;
	margin-top: 48px;
	margin-bottom: 20px;
	color: #0f172a;
}

.entry-content p {
	margin-bottom: 24px;
}

.entry-content a {
	color: #2563eb;
	text-decoration: underline;
	font-weight: 500;
}

.entry-content a:hover {
	color: #1d4ed8;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 24px;
	padding-left: 32px;
}

.entry-content li {
	margin-bottom: 12px;
}

.entry-content blockquote {
	border-left: 4px solid #2563eb;
	padding: 24px 32px;
	margin: 32px 0;
	background: #f8fafc;
	border-radius: 0 8px 8px 0;
	font-size: 20px;
	font-style: italic;
	color: #475569;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 32px 0;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.entry-content code {
	background: #f1f5f9;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 16px;
	color: #e11d48;
	font-family: 'Courier New', monospace;
}

.entry-content pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 24px;
	border-radius: 12px;
	overflow-x: auto;
	margin: 32px 0;
}

.entry-content pre code {
	background: none;
	color: inherit;
	padding: 0;
}

/* Responsive Blog Styles */
@media (max-width: 992px) {
	.blog-grid {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.blog-title {
		font-size: 36px;
	}
	
	.blog-description {
		font-size: 18px;
	}
	
	.blog-grid {
		grid-template-columns: 1fr;
	}
	
	.blog-card-content {
		padding: 24px;
	}
	
	.blog-card-title {
		font-size: 22px;
	}
	
	.post-title {
		font-size: 36px;
	}
	
	.entry-content {
		font-size: 17px;
	}
	
	.entry-content h2 {
		font-size: 28px;
	}
	
	.entry-content h3 {
		font-size: 24px;
	}
	
	.pagination .page-numbers {
		min-width: 40px;
		height: 40px;
		font-size: 14px;
	}
}
/* ==========================================================================
   WORDPRESS EDITOR ALIGNMENT OVERRIDES
   These rules ensure editor alignment settings take priority
   ========================================================================== */

/* Text Alignment */
.has-text-align-left {
	text-align: left !important;
}

.has-text-align-center {
	text-align: center !important;
}

.has-text-align-right {
	text-align: right !important;
}

.has-text-align-justify {
	text-align: justify !important;
}

/* Block Alignment */
.alignleft {
	float: left !important;
	margin-right: 1.5rem !important;
}

.alignright {
	float: right !important;
	margin-left: 1.5rem !important;
}

.aligncenter {
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
}

/* Ensure content inside aligned blocks respects alignment */
.has-text-align-left * {
	text-align: left !important;
}

.has-text-align-center * {
	text-align: center !important;
}

.has-text-align-right * {
	text-align: right !important;
}

.has-text-align-justify * {
	text-align: justify !important;
}