/**
 * ECH 2026 Theme Styles - Premium Design
 *
 * @package ECH2026
 * @since 1.0.0
 */

/* ==========================================================================
   Base Styles & CSS Variables
   ========================================================================== */

:root {
	--color-primary: #0f172a;
	--color-primary-light: #1e293b;
	--color-secondary: #1e40af;
	--color-secondary-light: #3b82f6;
	--color-accent: #dc2626;
	--color-accent-light: #ef4444;
	--color-accent-gold: #f59e0b;
	--color-background: #ffffff;
	--color-background-alt: #f8fafc;
	--color-background-dark: #0f172a;
	--color-text: #1e293b;
	--color-text-light: #64748b;
	--color-text-lighter: #94a3b8;
	--color-border: #e2e8f0;
	--color-border-light: #f1f5f9;
	
	--spacing-unit: 1rem;
	--container-width: 1280px;
	--border-radius: 12px;
	--border-radius-lg: 16px;
	--border-radius-xl: 24px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-fast: all 0.15s ease;
	--transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	--shadow-colored: 0 10px 30px -5px rgba(220, 38, 38, 0.3);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--color-text);
	line-height: 1.7;
	background-color: var(--color-background);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

ul {
	list-style-position: inside;
}

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

/* ==========================================================================
   Header & Navigation - Premium Design
   ========================================================================== */

.site-header {
	background: var(--color-primary);
	color: #ffffff;
	padding: .5rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(20px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: visible;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle gradient overlay for depth */
.site-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 1) 100%);
	pointer-events: none;
	z-index: 0;
}

/* Subtle texture overlay */
.site-header::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.015) 2px, rgba(255, 255, 255, 0.015) 4px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.5;
}

/* Make header content sit above overlays */
.site-header-inner {
	position: relative;
	z-index: 1;
}

/* Transparent header on front page when at top */
.front-page .site-header:not(.scrolled) {
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(20px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.front-page .site-header:not(.scrolled)::before {
	opacity: 0.8;
}

.front-page .site-header:not(.scrolled)::after {
	opacity: 0.4;
}

.site-header.scrolled {
	padding: 0.4rem 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
	background: var(--color-primary);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled::before {
	opacity: 1;
}

.front-page .site-header.scrolled {
	background: var(--color-primary);
}

.site-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 2rem;
	gap: 3rem;
	position: relative;
	z-index: 1;
}

.site-branding-wrapper {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.custom-logo-wrapper {
	display: flex;
	align-items: center;
}

.custom-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: var(--transition);
	flex-shrink: 0;
	line-height: 0;
	position: relative;
}

.custom-logo-link::after {
	content: '';
	position: absolute;
	inset: -8px;
	border-radius: var(--border-radius);
	background: rgba(255, 255, 255, 0.1);
	opacity: 0;
	transition: var(--transition);
}

.custom-logo-link:hover::after,
.custom-logo-link:focus::after {
	opacity: 1;
}

.custom-logo-link:hover,
.custom-logo-link:focus {
	transform: scale(1.05);
}

.custom-logo {
	max-height: 65px;
	max-width: 220px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
	transition: var(--transition);
	position: relative;
	z-index: 1;
}

/* Enhanced logo visibility on transparent header */
.front-page .site-header:not(.scrolled) .custom-logo {
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.site-branding .site-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.site-branding .site-title a {
	color: #ffffff;
	text-decoration: none;
	transition: var(--transition);
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	z-index: 1;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.site-branding .site-description {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.85;
	line-height: 1.5;
	font-weight: 400;
}

.main-navigation {
	position: relative;
	z-index: 1;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

/* Top-level menu only: horizontal row (sub-menus must not be flex row) */
#site-navigation.main-navigation > ul,
.main-navigation > #primary-menu {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

/* Parent items: position for dropdown */
.main-navigation .menu-item-has-children {
	position: relative;
}

/* Sub-menu dropdown (desktop) – high specificity so it overrides other styles */
#site-navigation.main-navigation .sub-menu,
.main-navigation #primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	min-width: 240px;
	margin: 0;
	padding: 0.5rem 0;
	background: var(--color-primary);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
	border-radius: var(--border-radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
	gap: 0;
	z-index: 100;
}

.main-navigation .sub-menu a {
	padding: 0.5rem 1.25rem;
	white-space: nowrap;
	border-radius: 0;
}

.main-navigation .sub-menu a:hover {
	transform: none;
}

/* Show dropdown on hover and focus (keyboard accessible) */
#site-navigation.main-navigation .menu-item-has-children:hover > .sub-menu,
#site-navigation.main-navigation .menu-item-has-children:focus-within > .sub-menu,
.main-navigation #primary-menu .menu-item-has-children:hover > .sub-menu,
.main-navigation #primary-menu .menu-item-has-children:focus-within > .sub-menu {
	display: flex;
}

/* Optional: chevron indicator for items with children */
.main-navigation .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	margin-left: 0.5em;
	width: 0.4em;
	height: 0.4em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	vertical-align: 0.15em;
	transition: transform 0.2s ease;
}

.main-navigation .menu-item-has-children:hover > a::after,
.main-navigation .menu-item-has-children:focus-within > a::after {
	transform: rotate(45deg) translateY(2px);
}

.main-navigation a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	padding: 0.625rem 1.25rem;
	display: block;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: var(--border-radius);
	font-weight: 500;
	font-size: 0.9375rem;
	position: relative;
	overflow: hidden;
}

.main-navigation a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.1);
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: var(--border-radius);
}

.main-navigation a:hover::before,
.main-navigation a:focus::before {
	opacity: 1;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: #ffffff;
	transform: translateY(-1px);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
	display: none;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	padding: 0.625rem 1rem;
	cursor: pointer;
	border-radius: var(--border-radius);
	font-weight: 600;
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.25);
	transform: scale(1.05);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Hero Section - Stunning Design
   ========================================================================== */

.hero-section {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary-light) 100%);
	color: #ffffff;
	padding: 6rem 0 4rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: center;
	margin-top: 0;
}

/* Ensure hero connects seamlessly with header on front page */
.front-page .hero-section {
	margin-top: 0;
	padding-top: 7rem;
}

/* Hero background image layer - positioned between gradient and overlay */
.hero-section.has-hero-image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: var(--hero-bg-image, none);
	background-position: var(--hero-bg-position, center center);
	background-size: var(--hero-bg-size, cover);
	background-repeat: no-repeat;
	opacity: var(--hero-bg-opacity, 0.4);
	mix-blend-mode: var(--hero-bg-blend, overlay);
	z-index: 0;
	pointer-events: none;
}

/* Radial gradient overlay and texture pattern */
.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
	opacity: 1;
	animation: heroGradient 15s ease infinite;
	z-index: 1;
	pointer-events: none;
}

/* Texture pattern - only when no hero image */
.hero-section:not(.has-hero-image)::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
	pointer-events: none;
	z-index: 2;
}

/* When hero image is present, combine texture with radial gradients in ::before */
.hero-section.has-hero-image::before {
	background-image: 
		repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
		radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
	z-index: 2;
}

@keyframes heroGradient {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.8; }
}

.hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hero-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 2rem;
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	margin: 0 0 1.5rem;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.8) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	margin: 0 0 0.75rem;
	opacity: 0.95;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.hero-date {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	margin: 0 0 3rem;
	opacity: 0.9;
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: rgba(255, 255, 255, 0.1);
	/* border-radius: 50px; */
	border-radius: var(--border-radius);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta {
	display: flex;
	gap: 1.25rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

/* ==========================================================================
   Buttons - Premium Styling
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2.5rem;
	/* border-radius: 50px; */
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: var(--transition);
	border: 2px solid transparent;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	letter-spacing: 0.01em;
	box-shadow: var(--shadow);
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
	width: 300px;
	height: 300px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	color: #ffffff;
	box-shadow: var(--shadow-colored);
}

.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px -5px rgba(220, 38, 38, 0.4);
	background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
	padding: 4rem 0;
	position: relative;
}

.section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 4rem;
	text-align: center;
	color: var(--color-primary);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	position: relative;
	display: inline-block;
	width: 100%;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	border-radius: 2px;
}

/* ==========================================================================
   Event Highlights - Premium Cards
   ========================================================================== */

.event-highlights {
	background: linear-gradient(to bottom, var(--color-background) 0%, var(--color-background-alt) 100%);
	position: relative;
	padding: 4rem 0;
}

.event-highlights::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--color-border) 50%, transparent 100%);
}

.event-highlights .section-title {
	margin-bottom: 2.5rem;
}

.highlights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.highlight-card {
	background: #ffffff;
	padding: 2rem 1.75rem;
	border-radius: var(--border-radius-lg);
	text-align: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--color-border-light);
	display: flex;
	flex-direction: column;
	align-items: center;
	animation: fadeInUp 0.6s ease-out backwards;
}

.highlight-card:nth-child(1) {
	animation-delay: 0.1s;
}

.highlight-card:nth-child(2) {
	animation-delay: 0.2s;
}

.highlight-card:nth-child(3) {
	animation-delay: 0.3s;
}

.highlight-card:nth-child(4) {
	animation-delay: 0.4s;
}

.highlight-card:nth-child(5) {
	animation-delay: 0.5s;
}

.highlight-card:nth-child(6) {
	animation-delay: 0.6s;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.highlight-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 50%, var(--color-accent-gold) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
}

.highlight-card::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(220, 38, 38, 0.03) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.highlight-card:hover::before {
	transform: scaleX(1);
}

.highlight-card:hover::after {
	opacity: 1;
}

.highlight-card:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(220, 38, 38, 0.08);
	border-color: rgba(220, 38, 38, 0.2);
}

.highlight-icon-wrapper {
	position: relative;
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.highlight-icon {
	width: 70px;
	height: 70px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 2;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	border-radius: 50%;
	box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2), 0 2px 8px rgba(220, 38, 38, 0.15);
}

.highlight-icon .dashicons {
	font-size: 2.5rem;
	width: auto;
	height: auto;
	line-height: 1;
	display: block;
}

.highlight-icon::before {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent-gold) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
	filter: blur(16px);
}

.highlight-card:hover .highlight-icon {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3), 0 3px 10px rgba(220, 38, 38, 0.2);
}

.highlight-card:hover .highlight-icon::before {
	opacity: 0.7;
}

.highlight-card h3 {
	margin: 0 0 0.75rem;
	color: var(--color-primary);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.4;
	position: relative;
	z-index: 1;
}

.highlight-card p {
	margin: 0;
	color: var(--color-text-light);
	font-size: 0.9375rem;
	line-height: 1.6;
	position: relative;
	z-index: 1;
	font-weight: 400;
}

/* ==========================================================================
   News Section - Modern Cards
   ========================================================================== */

.latest-news {
	background: var(--color-background);
}

.latest-news .section-title {
	margin-bottom: 2.5rem;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.news-card {
	background: #ffffff;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-border-light);
}

.news-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--color-border);
}

.news-thumbnail {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	position: relative;
	background: var(--color-background-alt);
}

.news-thumbnail::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
	opacity: 0;
	transition: var(--transition);
}

.news-card:hover .news-thumbnail::after {
	opacity: 1;
}

.news-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-slow);
}

.news-card:hover .news-thumbnail img {
	transform: scale(1.1);
}

.news-content {
	padding: 2rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-title {
	margin: 0 0 0.75rem;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.news-title a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition);
	display: block;
}

.news-title a:hover {
	color: var(--color-accent);
}

.news-meta {
	font-size: 0.875rem;
	color: var(--color-text-light);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.news-excerpt {
	margin-bottom: 1.5rem;
	color: var(--color-text-light);
	flex-grow: 1;
	line-height: 1.7;
}

.news-link {
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
}

.news-link::after {
	content: '→';
	transition: var(--transition);
}

.news-link:hover {
	color: var(--color-accent-light);
	gap: 0.75rem;
}

.news-link:hover::after {
	transform: translateX(4px);
}

.news-archive-link {
	text-align: center;
}

.no-news {
	text-align: center;
	color: var(--color-text-light);
	font-size: 1.125rem;
	padding: 3rem 0;
}

/* ==========================================================================
   Quick Links - Premium Design
   ========================================================================== */

.quick-links {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	color: #ffffff;
	position: relative;
	overflow: hidden;
}

.quick-links::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 70% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.quick-links .section-title {
	color: #ffffff;
}

.quick-links .section-title::after {
	background: linear-gradient(90deg, var(--color-accent-light) 0%, var(--color-accent-gold) 100%);
}

.quick-links .section-title {
	margin-bottom: 2.5rem;
}

.links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	position: relative;
	z-index: 1;
}

.quick-link-card {
	background: rgba(255, 255, 255, 0.1);
	padding: 2.5rem 2rem;
	border-radius: var(--border-radius-lg);
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	box-shadow: var(--shadow-lg);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.quick-link-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
	opacity: 0;
	transition: var(--transition);
}

.quick-link-card:hover::before {
	opacity: 1;
}

.quick-link-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.15);
}

.quick-link-icon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 0;
}

.quick-link-card .dashicons {
	font-size: 3.5rem;
	color: var(--color-accent-light);
	transition: var(--transition);
	filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.3));
	display: block;
	width: auto;
	height: auto;
	line-height: 1;
	margin: 0 auto;
	text-align: center;
}

.quick-link-card:hover .dashicons {
	transform: scale(1.15) rotate(5deg);
	color: var(--color-accent-gold);
}

.quick-link-card h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Sponsors Section
   ========================================================================== */

.sponsors-section {
	padding: 4rem 0;
	background: var(--color-background);
	position: relative;
}

.sponsors-section-title {
	text-align: center;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.sponsors-section-subtitle {
	text-align: center;
	font-size: 1.125rem;
	color: var(--color-text-light);
	margin: 0 0 2.5rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.sponsors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.sponsor-card {
	background: #ffffff;
	border-radius: var(--border-radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--color-border-light);
	min-height: 180px;
	position: relative;
	overflow: hidden;
}

.sponsor-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
	opacity: 0;
	transition: var(--transition);
}

.sponsor-card:hover::before {
	opacity: 1;
}

.sponsor-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--color-border);
}

.sponsor-logo-wrapper {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.sponsor-logo {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	filter: grayscale(0%);
}

.sponsor-card:hover .sponsor-logo {
	transform: scale(1.1);
}

.sponsor-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text);
	text-align: center;
	margin-top: auto;
	position: relative;
	z-index: 1;
	line-height: 1.4;
}

.sponsor-card:hover .sponsor-title {
	color: var(--color-primary);
}

/* Responsive adjustments for sponsors */
@media (max-width: 1024px) {
	.sponsors-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.sponsors-section {
		padding: 2.5rem 0;
	}

	.sponsors-section-subtitle {
		margin-bottom: 2.5rem;
		font-size: 1rem;
	}

	.sponsors-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 1.25rem;
	}

	.sponsor-card {
		padding: 1.5rem;
		min-height: 160px;
	}

	.sponsor-logo-wrapper {
		height: 100px;
	}
}

@media (max-width: 480px) {
	.sponsors-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.sponsor-card {
		padding: 1.25rem;
		min-height: 140px;
	}

	.sponsor-logo-wrapper {
		height: 80px;
		margin-bottom: 0.75rem;
	}

	.sponsor-title {
		font-size: 0.875rem;
	}
}

/* ==========================================================================
   Archive & Single Pages
   ========================================================================== */

.archive-header,
.page-header {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	color: #ffffff;
	padding: 5rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.archive-header::before,
.page-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.archive-title,
.page-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}

.archive-description {
	margin-top: 1.5rem;
	opacity: 0.9;
	font-size: 1.125rem;
	position: relative;
	z-index: 1;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2.5rem;
	margin: 4rem 0;
}

.single-main .container {
	margin-top: 2rem;
}

.entry-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-border-light);
}

.entry-header.entry-header-small {
	margin-bottom: 1rem;
	padding-bottom: 0;
	border-bottom: 1px solid var(--color-border-light);
}

.entry-title {
	font-size: clamp(1.875rem, 4vw, 2.5rem);
	margin: 0 0 1rem;
	color: var(--color-primary);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

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

.entry-title a:hover {
	color: var(--color-accent);
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--color-text-light);
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.entry-thumbnail {
	margin-bottom: 2.5rem;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	margin-left: auto;
	margin-right: auto;
	transition: var(--transition);
	max-height: 400px;
}

.entry-thumbnail:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.entry-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.entry-content {
	margin-bottom: 2.5rem;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--color-text);
	margin-left: auto;
	margin-right: auto;
}

.entry-content p {
	margin-bottom: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: var(--color-primary);
	font-weight: 700;
}

.entry-footer {
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
	color: var(--color-text-light);
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page-hero {
	position: relative;
	height: 450px;
	overflow: hidden;
}

.page-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

.page-hero-overlay .page-title {
	color: #ffffff;
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 900;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.event-details,
.event-schedule,
.event-categories,
.event-registration,
.venue-information,
.travel-information,
.accommodation {
	margin: 4rem 0;
}

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

.detail-item {
	background: var(--color-background-alt);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	border: 1px solid var(--color-border-light);
	transition: var(--transition);
}

.detail-item:hover {
	background: #ffffff;
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.detail-item h3 {
	margin: 0 0 1rem;
	color: var(--color-primary);
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.detail-item .dashicons {
	color: var(--color-accent);
	font-size: 1.5rem;
}

.detail-item p {
	margin: 0;
	color: var(--color-text-light);
	line-height: 1.7;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-wrapper {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
}

.contact-form-section,
.contact-info-section {
	background: var(--color-background-alt);
	padding: 3rem;
	border-radius: var(--border-radius-lg);
	border: 1px solid var(--color-border-light);
	box-shadow: var(--shadow);
}

.contact-form-section h2,
.contact-info-section h2 {
	margin-top: 0;
	color: var(--color-primary);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.form-group {
	margin-bottom: 1.75rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.625rem;
	font-weight: 600;
	color: var(--color-text);
	font-size: 0.9375rem;
}

.form-group .required {
	color: var(--color-accent);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.875rem 1.25rem;
	border: 2px solid var(--color-border);
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	transition: var(--transition);
	background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-info .contact-item {
	margin-bottom: 2rem;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-border-light);
}

.contact-info .contact-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.contact-item .dashicons {
	color: var(--color-accent);
	margin-top: 0.25rem;
	font-size: 1.5rem;
}

.contact-item strong {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--color-primary);
	font-weight: 700;
}

.contact-item a {
	color: var(--color-text);
	text-decoration: none;
	transition: var(--transition);
}

.contact-item a:hover {
	color: var(--color-accent);
}

.contact-message {
	padding: 1.25rem 1.5rem;
	border-radius: var(--border-radius);
	margin-bottom: 2rem;
	font-weight: 500;
}

.contact-success {
	background-color: #d1fae5;
	color: #065f46;
	border: 2px solid #6ee7b7;
}

.contact-error {
	background-color: #fee2e2;
	color: #991b1b;
	border: 2px solid #fca5a5;
}

/* ==========================================================================
   Contact Form 7 - Premium Styling
   ========================================================================== */

/* Contact Form 7 Form Container */
.wpcf7 {
	font-family: inherit;
}

.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: .1rem;
}

/* Form Fields Wrapper */
.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	position: relative;
}

/* Labels */
.wpcf7 label {
	display: block;
	margin-bottom: 0.625rem;
	font-weight: 600;
	color: var(--color-text);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.wpcf7 label .wpcf7-form-control-wrap {
	margin-top: 0.625rem;
}

/* Required Field Indicator */
.wpcf7-required {
	color: var(--color-accent);
	margin-left: 0.25rem;
}

/* Text Inputs, Email, URL, Tel, Number */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"] {
	width: 100%;
	padding: 0.4rem .5rem;
	border: 2px solid var(--color-border);
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.5;
	color: var(--color-text);
	background-color: #ffffff;
	transition: var(--transition);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="time"]:focus,
.wpcf7 input[type="datetime-local"]:focus,
.wpcf7 input[type="month"]:focus,
.wpcf7 input[type="week"]:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="url"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 input[type="number"]:hover {
	border-color: var(--color-text-light);
}

/* Textarea */
.wpcf7 textarea {
	width: 100%;
	padding: 0.4rem .5rem;
	border: 2px solid var(--color-border);
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.7;
	color: var(--color-text);
	background-color: #ffffff;
	transition: var(--transition);
	resize: vertical;
	min-height: 150px;
}

.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.wpcf7 textarea:hover {
	border-color: var(--color-text-light);
}

/* Select Dropdown */
.wpcf7 select {
	width: 100%;
	padding: 0.4rem .5rem;
	border: 2px solid var(--color-border);
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.5;
	color: var(--color-text);
	background-color: #ffffff;
	transition: var(--transition);
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e293b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 12px;
	padding-right: 2.5rem;
}

.wpcf7 select:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.wpcf7 select:hover {
	border-color: var(--color-text-light);
}

/* Checkbox and Radio Buttons */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	width: 1.25rem;
	height: 1.25rem;
	margin-right: 0.625rem;
	cursor: pointer;
	accent-color: var(--color-accent);
	flex-shrink: 0;
}

.wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.75rem;
}

.wpcf7-list-item label {
	margin-bottom: 0;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.wpcf7-list-item .wpcf7-list-item-label {
	margin-left: 0;
}

/* File Upload */
.wpcf7 input[type="file"] {
	width: 100%;
	padding: 0.875rem 1.25rem;
	border: 2px dashed var(--color-border);
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	color: var(--color-text);
	background-color: var(--color-background-alt);
	transition: var(--transition);
	cursor: pointer;
}

.wpcf7 input[type="file"]:hover {
	border-color: var(--color-accent);
	background-color: #ffffff;
}

.wpcf7 input[type="file"]:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Submit Button */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	color: #ffffff;
	border: none;
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: var(--shadow);
	text-transform: none;
	letter-spacing: 0;
	align-self: flex-start;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
	background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 button[type="submit"]:active {
	transform: translateY(0);
	box-shadow: var(--shadow);
}

.wpcf7 input[type="submit"]:focus,
.wpcf7 button[type="submit"]:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3), var(--shadow-md);
}

/* Validation Messages */
.wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1.25rem 1.5rem;
	border-radius: var(--border-radius);
	font-weight: 500;
	line-height: 1.6;
	border: 2px solid;
}

.wpcf7-mail-sent-ok {
	background-color: #d1fae5;
	color: #065f46;
	border-color: #6ee7b7;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
	background-color: #fee2e2;
	color: #991b1b;
	border-color: #fca5a5;
}

.wpcf7-spam {
	background-color: #fef3c7;
	color: #92400e;
	border-color: #fcd34d;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
	background-color: #fee2e2;
	color: #991b1b;
	border-color: #fca5a5;
}

/* Field Validation States */
.wpcf7-not-valid-tip {
	color: var(--color-accent);
	font-size: 0.875rem;
	margin-top: 0.5rem;
	display: block;
	font-weight: 500;
}

.wpcf7-not-valid {
	border-color: var(--color-accent) !important;
	background-color: #fef2f2;
}

.wpcf7-not-valid:focus {
	border-color: var(--color-accent) !important;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

.wpcf7-validates-as-required {
	border-left: 3px solid var(--color-accent);
}

/* Loading/Ajax State */
.wpcf7 .ajax-loader {
	display: inline-block;
	margin-left: 0.75rem;
	vertical-align: middle;
}

.wpcf7-form.submitting input[type="submit"],
.wpcf7-form.submitting button[type="submit"] {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

/* Screen Reader Text */
.wpcf7-screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

/* ReCAPTCHA Styling */
.wpcf7 .g-recaptcha {
	margin: 1rem 0;
}

/* Date Picker Styling */
.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator,
.wpcf7 input[type="time"]::-webkit-calendar-picker-indicator,
.wpcf7 input[type="datetime-local"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.7;
	transition: var(--transition-fast);
}

.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator:hover,
.wpcf7 input[type="time"]::-webkit-calendar-picker-indicator:hover,
.wpcf7 input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

/* Number Input Spinner Styling */
.wpcf7 input[type="number"]::-webkit-inner-spin-button,
.wpcf7 input[type="number"]::-webkit-outer-spin-button {
	opacity: 0.7;
	cursor: pointer;
}

/* Placeholder Styling */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: var(--color-text-lighter);
	opacity: 1;
}

/* ==========================================================================
   Footer - Premium Design
   ========================================================================== */

.site-footer {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	color: #ffffff;
	padding: 4.5rem 0 1.5rem;
	margin-top: 6rem;
	position: relative;
	overflow: hidden;
}

.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.site-footer::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
	pointer-events: none;
	opacity: 0.6;
}

.site-footer-inner {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 2rem;
	position: relative;
	z-index: 1;
}

.footer-content {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 4rem;
	margin-bottom: 3rem;
	align-items: start;
}

/* Footer Left: Logo & Event Info */
.footer-left {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.75rem;
}

.footer-logo-wrapper {
	display: flex;
	align-items: center;
}

.footer-logo-link {
	display: inline-block;
	text-decoration: none;
	transition: var(--transition);
	line-height: 0;
}

.footer-logo-link:hover {
	transform: scale(1.03);
	opacity: 0.95;
}

.footer-logo {
	max-height: 150px;
	max-width: 280px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2)) brightness(1.1);
	transition: var(--transition);
}

.footer-logo-link:hover .footer-logo {
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) brightness(1.15);
}

.footer-site-info {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.footer-site-title {
	margin: 0;
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.footer-site-title a {
	color: #ffffff;
	text-decoration: none;
	transition: var(--transition);
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

.footer-site-title a:hover {
	opacity: 0.9;
	transform: translateX(2px);
}

/* Event Info */
.footer-event-info {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 0.5rem;
}

.footer-event-location,
.footer-event-dates {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.footer-event-icon {
	color: var(--color-accent-light);
	font-size: 1.125rem;
	width: auto;
	height: auto;
	line-height: 1;
	flex-shrink: 0;
	opacity: 0.9;
	transition: var(--transition);
}

.footer-event-text {
	font-weight: 400;
	letter-spacing: 0.01em;
}

/* Footer Contact */
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.footer-widget-title {
	margin: 0 0 1.25rem;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #ffffff;
	position: relative;
	padding-bottom: 0.875rem;
}

.footer-widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: linear-gradient(90deg, var(--color-accent-light) 0%, var(--color-accent-gold) 100%);
	border-radius: 2px;
}

.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	transition: var(--transition);
	padding: 0.25rem 0;
}

.footer-contact-item:hover {
	transform: translateX(3px);
}

.footer-contact-icon {
	color: var(--color-accent-light);
	font-size: 1.25rem;
	width: auto;
	height: auto;
	line-height: 1;
	flex-shrink: 0;
	transition: var(--transition);
	opacity: 0.9;
}

.footer-contact-item:hover .footer-contact-icon {
	color: var(--color-accent-gold);
	transform: scale(1.1);
	opacity: 1;
}

.footer-contact-link,
.footer-contact-text {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 0.9375rem;
	line-height: 1.5;
	transition: var(--transition);
	word-break: break-word;
	font-weight: 400;
}

.footer-contact-link:hover {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: var(--color-accent-light);
	text-underline-offset: 3px;
}

.footer-contact-text {
	color: rgba(255, 255, 255, 0.85);
}

/* Footer Bottom: Copyright Only */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 1.75rem;
	margin-top: 0;
}

.site-info {
	text-align: center;
	font-size: 0.8125rem;
	opacity: 0.75;
	line-height: 1.6;
}

.footer-copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 400;
	letter-spacing: 0.01em;
}

.site-info a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: var(--transition);
	font-weight: 500;
}

.site-info a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: var(--color-accent-light);
	text-underline-offset: 3px;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in-ready {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-ready.fade-in {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--color-primary);
	color: #ffffff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 10000;
	border-radius: 0 0 4px 0;
}

.skip-link:focus {
	top: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
	.container {
		padding: 0 1.5rem;
	}
	
	.site-header-inner {
		padding: 0 1.5rem;
	}
	
	section {
		padding: 3rem 0;
	}

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

	.event-highlights {
		padding: 3.5rem 0;
	}

	.highlight-icon {
		width: 65px;
		height: 65px;
	}

	.highlight-icon .dashicons {
		font-size: 2.25rem;
	}
}

@media (max-width: 768px) {
	.site-header {
		padding: 1rem 0;
	}

	.site-header-inner {
		gap: 1.5rem;
		padding: 0 1rem;
	}

	.custom-logo {
		max-height: 50px;
	}

	.site-branding .site-title {
		font-size: 1.375rem;
	}

	.page-header, .archive-header {
		padding: 2rem 0;
	}

	.menu-toggle {
		display: block;
	}

	/* Keep header above overlay when menu is open */
	body.menu-open .site-header {
		position: relative;
		z-index: 99;
	}

	/*
	 * Mobile: hide the nav menu by default; show only when .toggled is added by JS.
	 *
	 * The desktop rule has two selectors that both set display:flex:
	 *   1. `#site-navigation.main-navigation > ul`  → specificity (0,1,1,1)
	 *   2. `.main-navigation > #primary-menu`        → specificity (0,1,1,0)
	 *
	 * Both apply on mobile and beat a plain `ul` (0,0,1,1) or even `.main-navigation > #primary-menu`
	 * (0,1,1,0). Using `#site-navigation.main-navigation > #primary-menu` gives specificity (0,2,1,0)
	 * which beats all of the above, ensuring display:none wins on mobile.
	 */
	#site-navigation.main-navigation > #primary-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		background: var(--color-primary);
		flex-direction: column;
		padding: 1rem 0.5rem;
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
		gap: 0.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(20px);
		min-width: 200px;
		align-items: stretch;
	}

	#site-navigation.main-navigation > #primary-menu.toggled {
		display: flex;
	}

	/* Mobile sub-menus: always visible when parent menu is open, indented */
	.main-navigation .sub-menu {
		display: flex;
		position: static;
		flex-direction: column;
		min-width: 0;
		padding: 0.25rem 0 0.25rem 1rem;
		box-shadow: none;
		border: none;
		border-left: 2px solid rgba(255, 255, 255, 0.2);
		margin-top: 0.25rem;
	}

	.main-navigation .menu-item-has-children:hover > .sub-menu,
	.main-navigation .menu-item-has-children:focus-within > .sub-menu {
		display: flex;
	}

	.hero-section {
		padding: 4rem 0 3rem;
		min-height: 450px;
	}

	.front-page .hero-section {
		padding-top: 5rem;
	}

	.hero-cta {
		flex-direction: column;
		width: 100%;
	}

	.hero-cta .btn {
		width: 100%;
	}

	.contact-wrapper {
		grid-template-columns: 1fr;
	}

	.highlights-grid,
	.news-grid,
	.links-grid,
	.posts-grid,
	.details-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.event-highlights {
		padding: 3rem 0;
	}

	.highlight-card {
		padding: 1.75rem 1.5rem;
	}

	.highlight-icon-wrapper {
		margin-bottom: 1rem;
	}

	.highlight-icon {
		width: 60px;
		height: 60px;
	}

	.highlight-icon .dashicons {
		font-size: 2rem;
	}

	.highlight-card h3 {
		font-size: 1.125rem;
	}

	section {
		padding: 3rem 0;
	}

	.section-title {
		font-size: 2rem;
		margin-bottom: 2.5rem;
	}
	
	.contact-form-section,
	.contact-info-section {
		padding: 2rem;
	}

	/* Footer Responsive */
	.site-footer {
		padding: 3rem 0 1.25rem;
		margin-top: 4rem;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		margin-bottom: 2.5rem;
	}

	.footer-left {
		gap: 1.5rem;
	}

	.footer-logo {
		max-height: 75px;
		max-width: 220px;
	}

	.footer-site-title {
		font-size: 1.375rem;
	}

	.footer-event-info {
		gap: 0.5rem;
	}

	.footer-event-location,
	.footer-event-dates {
		font-size: 0.875rem;
		gap: 0.625rem;
	}

	.footer-event-icon {
		font-size: 1rem;
	}

	.footer-widget-title {
		font-size: 1.125rem;
		margin-bottom: 1rem;
		padding-bottom: 0.75rem;
	}

	.footer-contact-list {
		gap: 0.625rem;
	}

	.footer-contact-icon {
		font-size: 1.125rem;
	}

	.footer-contact-link,
	.footer-contact-text {
		font-size: 0.875rem;
	}

	.footer-bottom {
		padding-top: 1.5rem;
	}

	.footer-copyright {
		font-size: 0.75rem;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}
	
	.site-header-inner {
		padding: 0 1rem;
	}
	
	.hero-section {
		padding: 4rem 0 3rem;
		min-height: 450px;
	}

	.front-page .hero-section {
		padding-top: 5rem;
	}
	
	.highlight-card {
		padding: 3rem 1.5rem 2.5rem;
	}

	.highlight-icon-wrapper {
		margin-bottom: 1.75rem;
	}

	.highlight-icon {
		width: 120px;
		height: 120px;
	}

	.highlight-icon .dashicons {
		font-size: 3.5rem;
	}

	.highlight-card h3 {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}

	.highlight-card p {
		font-size: 1rem;
	}

	.news-card,
	.quick-link-card {
		padding: 2rem 1.5rem;
	}

	.entry-thumbnail {
		max-width: 100%;
		margin-bottom: 2rem;
	}

	.entry-content,
	.entry-footer {
		max-width: 100%;
	}

	/* Footer Mobile */
	.site-footer {
		padding: 2.5rem 0 1rem;
		margin-top: 3rem;
	}

	.footer-content {
		gap: 2rem;
		margin-bottom: 2rem;
	}

	.footer-left {
		gap: 1.25rem;
	}

	.footer-logo {
		max-height: 65px;
		max-width: 200px;
	}

	.footer-site-title {
		font-size: 1.25rem;
	}

	.footer-event-info {
		gap: 0.5rem;
		margin-top: 0.375rem;
	}

	.footer-event-location,
	.footer-event-dates {
		font-size: 0.8125rem;
		gap: 0.5rem;
	}

	.footer-event-icon {
		font-size: 0.9375rem;
	}

	.footer-widget-title {
		font-size: 1rem;
		margin-bottom: 0.875rem;
		padding-bottom: 0.625rem;
	}

	.footer-widget-title::after {
		width: 40px;
		height: 2px;
	}

	.footer-contact-list {
		gap: 0.5rem;
	}

	.footer-contact-icon {
		font-size: 1rem;
	}

	.footer-contact-link,
	.footer-contact-text {
		font-size: 0.8125rem;
	}

	.footer-bottom {
		padding-top: 1.25rem;
	}

	.footer-copyright {
		font-size: 0.6875rem;
		line-height: 1.5;
	}
}

/* ==========================================================================
   Post Navigation - Premium Design
   ========================================================================== */

.post-navigation {
	margin: 3rem 0;
	padding: 2rem 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	position: relative;
}

.post-navigation::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 100%;
	background: var(--color-border);
}

.nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	position: relative;
}

.nav-previous,
.nav-next {
	position: relative;
}

.nav-previous {
	text-align: left;
	padding-right: 1.5rem;
}

.nav-next {
	text-align: right;
	padding-left: 1.5rem;
}

.nav-subtitle {
	display: block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	color: var(--color-text-lighter);
	margin-bottom: 0.5rem;
	transition: var(--transition);
}

.nav-title {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-primary);
	transition: var(--transition);
	text-decoration: none;
}

.nav-previous .nav-title,
.nav-next .nav-title {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0;
}

.nav-previous .nav-title::before {
	content: '←';
	margin-right: 0.375rem;
	opacity: 0.6;
	transition: var(--transition);
	font-size: 0.875rem;
}

.nav-next .nav-title::after {
	content: '→';
	margin-left: 0.375rem;
	opacity: 0.6;
	transition: var(--transition);
	font-size: 0.875rem;
}

.nav-previous a,
.nav-next a {
	display: block;
	text-decoration: none;
	padding: 1rem 1.25rem;
	border-radius: var(--border-radius);
	background: var(--color-background-alt);
	border: 1px solid var(--color-border-light);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.nav-previous a::before,
.nav-next a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-next a::before {
	transform-origin: right;
}

.nav-previous a:hover,
.nav-next a:hover {
	background: #ffffff;
	border-color: var(--color-accent);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.nav-previous a:hover::before,
.nav-next a:hover::before {
	transform: scaleX(1);
}

.nav-previous a:hover .nav-subtitle,
.nav-next a:hover .nav-subtitle {
	color: var(--color-accent);
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
	color: var(--color-accent);
}

.nav-previous a:hover .nav-title::before,
.nav-next a:hover .nav-title::after {
	opacity: 1;
	transform: translateX(-3px);
}

.nav-next a:hover .nav-title::after {
	transform: translateX(3px);
}

/* ==========================================================================
   Comments Section - Premium Design
   ========================================================================== */

.comments-area {
	margin-top: 5rem;
	padding-top: 4rem;
	border-top: 2px solid var(--color-border);
}

.comments-section-wrapper,
.comment-form-wrapper {
	background: var(--color-background-alt);
	padding: 3rem;
	border-radius: var(--border-radius-xl);
	border: 1px solid var(--color-border-light);
	box-shadow: var(--shadow);
	margin-bottom: 2rem;
	position: relative;
	overflow: hidden;
}

.comment-form-wrapper {
	background: linear-gradient(135deg, #ffffff 0%, var(--color-background-alt) 100%);
}

.comments-section-wrapper::before,
.comment-form-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 50%, var(--color-accent-gold) 100%);
}

.comments-title,
.comment-reply-title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0 0 2.5rem;
	color: var(--color-primary);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	position: relative;
	padding-bottom: 1.5rem;
}

.comments-title::after,
.comment-reply-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	border-radius: 2px;
}

.comments-title span {
	color: var(--color-accent);
}

/* Comment List */
.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--color-border-light);
	position: relative;
}

.comment-list .comment:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.comment-body {
	display: flex;
	gap: 1.5rem;
	position: relative;
}

.comment-author-avatar {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--color-border-light);
	transition: var(--transition);
}

.comment-body:hover .comment-author-avatar {
	border-color: var(--color-accent);
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.comment-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.comment-content-wrapper {
	flex: 1;
	min-width: 0;
}

.comment-meta {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.comment-author {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
}

.comment-author a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

.comment-author a:hover {
	color: var(--color-accent);
}

.comment-metadata {
	font-size: 0.875rem;
	color: var(--color-text-light);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.comment-metadata a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

.comment-metadata a:hover {
	color: var(--color-accent);
}

.comment-content {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: 1rem;
}

.comment-content p {
	margin-bottom: 1rem;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius);
	background: rgba(220, 38, 38, 0.1);
	transition: var(--transition);
}

.comment-reply-link:hover {
	background: var(--color-accent);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.comment-reply-link::after {
	content: '→';
	transition: var(--transition);
}

.comment-reply-link:hover::after {
	transform: translateX(4px);
}

/* Comment Navigation */
.comments-navigation {
	margin: 2rem 0;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.comments-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	background: #ffffff;
	border: 2px solid var(--color-border);
	color: var(--color-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: var(--transition);
}

.comments-navigation a:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* Comment Form */
.comment-form {
	margin-top: 0;
}

.comment-form .comment-notes,
.comment-form .logged-in-as {
	font-size: 0.9375rem;
	color: var(--color-text-light);
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.comment-form .logged-in-as {
	background: rgba(220, 38, 38, 0.05);
	padding: 1rem 1.25rem;
	border-radius: var(--border-radius);
	border-left: 3px solid var(--color-accent);
	margin-bottom: 2rem;
}

.comment-form .logged-in-as a {
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
}

.comment-form .logged-in-as a:hover {
	color: var(--color-accent-light);
	text-decoration: underline;
}

.comment-form .required-field-message {
	font-size: 0.875rem;
	color: var(--color-text-lighter);
	margin-bottom: 1.5rem;
}

.comment-form-comment {
	margin-bottom: 1.5rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.625rem;
	font-weight: 600;
	color: var(--color-text);
	font-size: 0.9375rem;
}

.comment-form .required {
	color: var(--color-accent);
	margin-left: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 1rem 1.25rem;
	border: 2px solid var(--color-border);
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	transition: var(--transition);
	background: #ffffff;
	color: var(--color-text);
	line-height: 1.6;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
	background: #ffffff;
}

.comment-form textarea {
	min-height: 180px;
	resize: vertical;
	font-family: inherit;
}

.comment-form .form-submit {
	margin-top: 2rem;
	margin-bottom: 0;
}

.comment-form .comment-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2.5rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-colored);
	min-width: 180px;
}

.comment-form .comment-submit:hover,
.comment-form .comment-submit:focus {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px -5px rgba(220, 38, 38, 0.4);
}

.comment-form .comment-submit:active {
	transform: translateY(-1px);
}

.comment-form .cancel-comment-reply-link {
	display: inline-block;
	margin-left: 1rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	background: var(--color-background-alt);
	border: 2px solid var(--color-border);
	color: var(--color-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: var(--transition);
}

.comment-form .cancel-comment-reply-link:hover {
	background: var(--color-text-light);
	border-color: var(--color-text-light);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.comment-form .form-allowed-tags {
	font-size: 0.8125rem;
	color: var(--color-text-lighter);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border-light);
	line-height: 1.6;
}

.comment-form .form-allowed-tags code {
	background: var(--color-background-alt);
	padding: 0.125rem 0.375rem;
	border-radius: 4px;
	font-size: 0.875em;
}

.no-comments {
	text-align: center;
	padding: 2rem;
	color: var(--color-text-light);
	font-size: 1.125rem;
	background: rgba(220, 38, 38, 0.05);
	border-radius: var(--border-radius);
	border-left: 3px solid var(--color-accent);
}

/* Responsive adjustments for comments */
@media (max-width: 768px) {
	.post-navigation {
		margin: 2.5rem 0;
		padding: 1.5rem 0;
	}

	.post-navigation::before {
		display: none;
	}

	.nav-links {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.nav-previous,
	.nav-next {
		text-align: left;
		padding: 0;
	}

	.nav-previous a,
	.nav-next a {
		padding: 0.875rem 1rem;
	}

	.comments-section-wrapper,
	.comment-form-wrapper {
		padding: 1.5rem;
	}

	.comment-body {
		flex-direction: column;
		gap: 1rem;
	}

	.comment-author-avatar {
		width: 50px;
		height: 50px;
	}

	.comment-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.scroll-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-colored);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.8);
	transition: var(--transition);
	z-index: 999;
	padding: 0;
	margin: 0;
	overflow: hidden;
	line-height: 0;
}

.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.scroll-to-top:hover,
.scroll-to-top:focus {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 15px 35px -5px rgba(220, 38, 38, 0.5);
	background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
	outline: none;
}

.scroll-to-top:active {
	transform: translateY(-2px) scale(1.02);
}

.scroll-to-top:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.8);
	outline-offset: 2px;
}

.scroll-to-top-icon {
	font-size: 24px;
	line-height: 1;
	display: block;
	transition: transform 0.3s ease;
	margin: 0;
	padding: 0;
	width: 24px;
	height: 24px;
}

/* Ensure Dashicons are perfectly centered */
.scroll-to-top-icon.dashicons {
	width: 24px;
	height: 24px;
	line-height: 1;
	font-size: 24px;
}

/* Fix Dashicons vertical alignment - center the ::before pseudo-element */
.scroll-to-top-icon.dashicons::before {
	line-height: 1;
	display: block;
	width: 24px;
	height: 24px;
	text-align: center;
}

.scroll-to-top:hover .scroll-to-top-icon,
.scroll-to-top:focus .scroll-to-top-icon {
	transform: translateY(-2px);
}

.scroll-to-top[aria-hidden="true"] {
	pointer-events: none;
}

.scroll-to-top .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-width: 0;
}

/* Ripple effect on click */
.scroll-to-top::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.scroll-to-top:active::before {
	width: 200px;
	height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.scroll-to-top {
		bottom: 1.5rem;
		right: 1.5rem;
		width: 48px;
		height: 48px;
	}

	.scroll-to-top-icon {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.scroll-to-top {
		bottom: 1rem;
		right: 1rem;
		width: 44px;
		height: 44px;
	}

	.scroll-to-top-icon {
		font-size: 18px;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.scroll-to-top {
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	.scroll-to-top-icon {
		transition: none;
	}

	.scroll-to-top::before {
		transition: none;
	}
}
