/*
Theme Name: Vesta
Theme URI: https://yourdomain.com/vesta
Author: Digital Hamza
Author URI: https://yourdomain.com/
Description: A premium, ultra-modern luxury real estate WordPress theme. Features include custom property listings, advanced search filters, dark mode, agent/agency directories, and a stunning glassmorphism design. Built for real estate professionals and agencies.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vesta
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 8.0
*/

:root {
	/* Variables are now generated via Customizer (inc/customizer-colors.php) */
	/* Defaults for fallback */
	--text-light: #6b7280;
	--border-color: #e5e7eb;
	--bg-light: #f9fafb;

	/* Premium Additions */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

	--radius-sm: 0.375rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;

	--transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

	--font-heading: 'Outfit', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* Import Fonts if not handled by enqueue */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

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

body {
	font-family: var(--font-body);
	color: var(--text-dark);
	line-height: 1.6;
	background-color: var(--bg-body, #ffffff);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: 1.2;
}

.vesta-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.archive-header {
	text-align: center;
	padding: 80px 0 60px;
	border-bottom: 1px solid var(--border-color);
	background: linear-gradient(to bottom, #ffffff, var(--bg-light));
}

.archive-header h1 {
	font-size: 3rem;
	margin-bottom: 16px;
	color: var(--text-dark);
	letter-spacing: -0.02em;
}

.archive-header p {
	font-size: 1.125rem;
	color: var(--text-light);
	max-width: 600px;
	margin: 0 auto;
}

/* Property Grid */
.property-grid {
	display: grid;
	gap: 40px;
	margin: 60px 0;
}

.property-grid[data-columns="2"] {
	grid-template-columns: repeat(2, 1fr);
}

.property-grid[data-columns="3"] {
	grid-template-columns: repeat(3, 1fr);
}

.property-grid[data-columns="4"] {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {

	.property-grid[data-columns="3"],
	.property-grid[data-columns="4"] {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {

	.property-grid,
	.property-grid[data-columns] {
		grid-template-columns: 1fr !important;
	}
}

/* Premium Property Card Style */
.property-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	/* Subtle border */
	border-radius: var(--radius-xl);
	overflow: hidden;
	transition: var(--transition-base);
	box-shadow: var(--shadow-md);
	position: relative;
	display: flex;
	flex-direction: column;
}

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

.property-card-image-wrapper {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
	background-color: var(--bg-light);
}

.property-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-smooth);
}

.property-card:hover .property-card-image img {
	transform: scale(1.1);
}

/* Badges & Overlay */
.card-badges-container {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 10;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.property-badge {
	background-color: rgba(255, 255, 255, 0.95);
	color: var(--text-dark);
	padding: 6px 12px;
	border-radius: var(--radius-md);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow-sm);
}

.property-badge.status-featured {
	background-color: var(--secondary-color);
	color: white;
}

.property-badge.status-for-sale {
	background-color: var(--primary-color);
	color: white;
}

.property-image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
	pointer-events: none;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.property-card:hover .property-image-overlay {
	opacity: 1;
}

/* Price overlaid on image image for premium feel */
.property-price-overlay {
	position: absolute;
	bottom: 16px;
	right: 16px;
	z-index: 10;
}

.property-price-tag {
	background-color: rgba(255, 255, 255, 0.95);
	color: var(--primary-color);
	padding: 8px 16px;
	border-radius: var(--radius-lg);
	font-size: 1.125rem;
	font-weight: 800;
	box-shadow: var(--shadow-md);
	backdrop-filter: blur(4px);
}

/* Card Content */
.property-card-content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.property-title {
	font-size: 1.25rem;
	margin-bottom: 8px;
	font-weight: 700;
	line-height: 1.4;
}

.property-title a {
	color: var(--text-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

.property-location {
	color: var(--text-light);
	font-size: 0.9rem;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.location-icon {
	opacity: 0.7;
}

/* Features Grid */
.property-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	margin-top: auto;
	/* Push to bottom */
}

.feature-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 0.85rem;
	color: var(--text-dark);
	text-align: center;
}

.feature-icon {
	font-size: 1.25rem;
	margin-bottom: 2px;
	color: var(--secondary-color);
}

.feature-icon i,
.location-icon i {
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
	font-weight: 900 !important;
	display: inline-block !important;
}

.feature-label {
	font-size: 0.75rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Card Footer Actions */
.property-card-actions {
	margin-top: 20px;
	display: flex;
	gap: 10px;
	opacity: 0;
	transform: translateY(10px);
	transition: var(--transition-base);
	height: 0;
	overflow: hidden;
}

.property-card:hover .property-card-actions {
	opacity: 1;
	transform: translateY(0);
	height: auto;
	margin-top: 20px;
	overflow: visible;
}

.card-action-btn {
	flex: 1;
	text-align: center;
	padding: 10px;
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

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

.btn-primary:hover {
	background-color: var(--secondary-color);
}

.btn-outline {
	border: 1px solid var(--border-color);
	color: var(--text-dark);
}

.btn-outline:hover {
	border-color: var(--text-dark);
	background-color: var(--bg-light);
}

/* Search Form - Global */
.property-search-form {
	background-color: #ffffff;
	padding: 32px;
	border-radius: var(--radius-xl);
	margin: 40px 0;
	box-shadow: var(--shadow-lg);
}

/* Inputs */
.search-input,
.filter-input,
.filter-select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	font-size: 1rem;
	transition: box-shadow 0.2s, border-color 0.2s;
	background-color: #fcfcfc;
}

.search-input:focus,
.filter-input:focus,
.filter-select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
	background-color: #ffffff;
}

.search-button {
	background-color: var(--primary-color);
	color: white;
	padding: 14px 30px;
	border: none;
	border-radius: var(--radius-md);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, background-color 0.2s;
	width: 100%;
}

.search-button:hover {
	background-color: var(--secondary-color);
	transform: translateY(-2px);
}

/* Single Property Wrapper */
.single-property-wrapper {
	display: grid;
	grid-template-columns: 1fr 2.2fr;
	/* Swapped: Info left, Image right */
	gap: 40px;
	margin: 60px 0;
	align-items: start;
	/* Required for sticky */
}

/* Premium Sidebar (Left Column) */
.single-property-sidebar {
	position: sticky;
	top: 100px;
	/* Offset for sticky header */
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Premium Card Styles */
.property-main-content,
.agent-box,
.virtual-tour-box {
	background: #ffffff;
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.03);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-main-content:hover,
.agent-box:hover,
.virtual-tour-box:hover {
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
	/* Lift effect on hover */
}

/* Property Header Adjustments */
.property-header h1 {
	font-size: 2.2rem;
	font-weight: 800;
	margin-bottom: 10px;
	line-height: 1.2;
}

.property-price-large {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

/* Property Features Grid (Replaces old table) */
.property-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/* 2 columns */
	gap: 15px;
	margin-top: 15px;
}

.feature-card {
	display: flex;
	align-items: center;
	padding: 12px;
	background: #f9fafb;
	/* Light subtle gray */
	border-radius: 12px;
	border: 1px solid var(--border-color);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	background: #ffffff;
}

.feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(30, 64, 175, 0.1);
	/* Primary color transparent */
	color: var(--primary-color);
	border-radius: 50%;
	font-size: 1.1rem;
	margin-right: 15px;
}

.feature-icon i {
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
	font-weight: 900 !important;
}

.feature-info {
	display: flex;
	flex-direction: column;
}

.feature-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #6b7280;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.feature-value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-dark);
}

/* Right Column Refinements (Images) */
.property-featured-image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	object-fit: cover;
	max-height: 600px;
}

.property-gallery-slider {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 15px;
}

.gallery-item img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	border-radius: 8px;
	transition: opacity 0.3s ease, transform 0.3s ease;
	cursor: pointer;
}

.gallery-item img:hover {
	opacity: 0.8;
	transform: scale(1.02);
}

/* Description & Map inside right column */
.property-description h3,
.property-map h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border-color);
}

/* Animation Utilities */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive */
@media (max-width: 992px) {
	.single-property-wrapper {
		grid-template-columns: 1fr;
		/* Stack on tablet/mobile */
		margin: 40px 0;
	}

	.single-property-sidebar {
		position: static;
		/* Remove sticky on mobile */
		order: -1;
		/* Keep details first on mobile */
	}
}

@media (max-width: 480px) {
	.archive-header h1 {
		font-size: 2rem;
	}

	.property-card-actions {
		opacity: 1;
		transform: none;
		height: auto;
		overflow: visible;
	}

	.property-main-content,
	.agent-box,
	.virtual-tour-box {
		padding: 20px;
		/* Less padding on small screens */
	}
}

/* =========================================
   Dark Mode Switcher & Styles
   ========================================= */
.header-mode-switcher {
	display: flex;
	align-items: center;
}

.mode-toggle-btn {
	background: transparent;
	border: 1px solid var(--border-color, #e5e7eb);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1.2rem;
	color: var(--text-dark);
}

.mode-toggle-btn:hover {
	background-color: var(--bg-light);
	transform: scale(1.05);
}

/* =========================================
   Pre-Footer Call To Action
   ========================================= */
.pre-footer-cta {
	background: linear-gradient(135deg, var(--cta-bg-start, var(--primary-color)) 0%, var(--cta-bg-end, var(--secondary-color, #1d4ed8)) 100%);
	padding: 80px 0;
	margin-top: 60px;
	color: #ffffff;
	position: relative;
	overflow: hidden;
}

/* Subtle background pattern/glow for premium feel */
.pre-footer-cta::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 50%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
	transform: rotate(30deg);
	pointer-events: none;
}

.cta-inner-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	position: relative;
	z-index: 2;
}

.cta-text-area {
	flex: 1;
}

.cta-text-area h2 {
	font-size: 2.8rem;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 15px;
	line-height: 1.2;
}

.cta-text-area p {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	max-width: 600px;
	line-height: 1.6;
}

.cta-button-area {
	flex-shrink: 0;
}

.cta-massive-button {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	background-color: var(--cta-btn-color, #ffffff);
	color: var(--primary-color);
	font-size: 1.2rem;
	font-weight: 700;
	padding: 20px 45px;
	border-radius: 50px;
	/* Pill shape */
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.cta-massive-button i {
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
	font-weight: 900 !important;
	display: inline-block !important;
	transition: transform 0.3s ease;
}

.cta-massive-button:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
	background-color: #f8fafc;
	color: var(--secondary-color, #1d4ed8);
}

.cta-massive-button:hover i {
	transform: translateX(5px);
}

/* Responsive CTA */
@media (max-width: 992px) {
	.pre-footer-cta {
		padding: 60px 0;
	}

	.cta-inner-content {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}

	.cta-text-area p {
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.cta-text-area h2 {
		font-size: 2.2rem;
	}

	.cta-massive-button {
		font-size: 1.1rem;
		padding: 18px 35px;
	}
}

/* Footer*/

/* ---- Main Footer Wrapper ---- */
.site-footer {
	background-color: var(--footer-bg, #f9fafb);
	border-top: 1px solid var(--border-color, #e5e7eb);
	padding-top: 60px;
}

/* ---- Footer Widget Grid ---- */
.footer-widgets {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(4, 1fr);
	/* Default: 4 cols */
	padding-bottom: 50px;
}

/* Dynamically switch grid based on data-columns attribute */
.footer-widgets[data-columns="2"] {
	grid-template-columns: repeat(2, 1fr);
}

.footer-widgets[data-columns="3"] {
	grid-template-columns: repeat(3, 1fr);
}

/* ---- Individual Widget Area ---- */
.footer-widget-area .widget {
	margin-bottom: 0;
}

/* Widget Title */
.footer-widget-area .widget-title,
.footer-widget-area .widgettitle {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--footer-widget-title, #111827);
	margin-bottom: 20px;
	padding-bottom: 12px;
	position: relative;
}

/* Underline accent on widget title */
.footer-widget-area .widget-title::after,
.footer-widget-area .widgettitle::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--primary-color);
	border-radius: 2px;
	margin-top: 10px;
}

/* Widget Text & Paragraphs */
.footer-widget-area p {
	color: var(--footer-widget-text, #6b7280);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 12px;
}

/* Widget Lists (menus, recent posts, etc.) */
.footer-widget-area ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widget-area ul li {
	border-bottom: 1px solid var(--border-color, #e5e7eb);
	padding: 8px 0;
}

.footer-widget-area ul li:last-child {
	border-bottom: none;
}

/* Widget Links */
.footer-widget-area a {
	color: var(--footer-widget-link, #4b5563);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

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

/* Footer Navigation (footer menu) */
.footer-navigation {
	padding-bottom: 30px;
}

.footer-menu-items {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 10px 25px;
	justify-content: center;
}

.footer-menu-items li a {
	color: #6b7280;
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-menu-items li a:hover {
	color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
	.footer-widgets {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-widgets[data-columns="2"] {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {

	.footer-widgets,
	.footer-widgets[data-columns="3"],
	.footer-widgets[data-columns="4"] {
		grid-template-columns: 1fr;
	}
}


/* Footer Bottom Bar */
.footer-bottom {
	width: 100%;
	background-color: var(--footer-bottom-bg, #f9fafb);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	gap: 20px;
}

.footer-copyright p,
.footer-credits p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--footer-bottom-text, #6b7280);
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer-copyright a,
.footer-credits a {
	color: var(--footer-bottom-link, var(--primary-color));
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.footer-copyright a:hover,
.footer-credits a:hover {
	color: var(--footer-bottom-link-hover, #1d4ed8);
}

@media (max-width: 768px) {
	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
}

.mode-toggle-btn .icon-moon {
	display: block;
}

.mode-toggle-btn .icon-sun {
	display: none;
}

body.dark-mode .mode-toggle-btn .icon-moon {
	display: none;
}

body.dark-mode .mode-toggle-btn .icon-sun {
	display: block;
	color: #fbbf24;
	/* Sun color */
}

/* Dark Mode Overrides (fallback if variables aren't enough) */
body.dark-mode .property-card,
body.dark-mode .property-search-form {
	background-color: #1f2937;
	/* Gray-800 */
	border-color: #374151;
	/* Gray-700 */
}

body.dark-mode .search-input,
body.dark-mode .filter-input,
body.dark-mode .filter-select {
	background-color: #111827;
	border-color: #374151;
	color: #f9fafb;
}

body.dark-mode .mode-toggle-btn {
	border-color: #374151;
	color: white;
}

body.dark-mode .mode-toggle-btn:hover {
	background-color: #374151;
}

/* Sticky Header Dark Mode */
body.dark-mode.header-sticky-active #masthead {
	background-color: var(--header-sticky-bg, #111827);
	/* Use variable or fallback */
}

/* =========================================
   Page Title Customizer Styles 
   ========================================= */
body.page .page-header-custom {
	background-color: var(--page-title-bg-color, transparent);
	text-align: var(--page-title-text-align, left);
	padding-top: calc(var(--page-title-padding-y, 60) * 1px);
	padding-bottom: calc(var(--page-title-padding-y, 60) * 1px);
	margin-bottom: calc(var(--page-title-margin-b, 40) * 1px);
	/* Ensure full width */
	width: 100%;
	/* Optional: transition if someone changes it live in customizer */
	transition: background-color 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

body.page .page-header-custom .entry-title {
	margin: 0;
	color: var(--page-title-text-color, inherit);
}

/* =========================================
   Blog Page Styles (Featured + Grid)
   ========================================= */

/* Featured Post */
.featured-blog-post {
	margin-bottom: 60px;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: #ffffff;
	box-shadow: var(--shadow-lg);
	transition: var(--transition-base);
}

.featured-blog-post:hover {
	box-shadow: var(--shadow-xl);
	transform: translateY(-4px);
}

.featured-post-inner {
	display: flex;
	flex-direction: column;
}

@media (min-width: 992px) {
	.featured-post-inner {
		flex-direction: row;
		align-items: center;
	}
}

.featured-post-image {
	flex: 1;
	min-width: 50%;
}

.featured-post-image img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.featured-blog-post:hover .featured-post-image img {
	transform: scale(1.03);
}

.featured-post-content {
	flex: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 992px) {
	.featured-post-content {
		padding: 60px;
	}
}

.post-meta {
	font-size: 0.85rem;
	color: var(--text-light);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 15px;
}

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

.featured-post-content .entry-title {
	font-size: 2.5rem;
	margin-bottom: 20px;
	line-height: 1.2;
}

.featured-post-content .entry-title a {
	color: var(--text-dark);
	text-decoration: none;
	transition: color 0.2s;
}

.featured-post-content .entry-title a:hover {
	color: var(--primary-color);
}

.featured-post-content .entry-excerpt {
	font-size: 1.125rem;
	color: var(--text-light);
	margin-bottom: 30px;
	line-height: 1.7;
}

.btn-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-color);
	color: #ffffff;
	padding: 12px 24px;
	border-radius: var(--radius-md);
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
	align-self: flex-start;
}

.btn-read-more:hover {
	background: var(--secondary-color);
	transform: translateY(-2px);
	color: #ffffff;
}

/* Blog Grid */
.blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 60px;
}

@media (min-width: 768px) {
	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.blog-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Grid Cards */
.blog-grid-card {
	background: #ffffff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-color);
	transition: var(--transition-base);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.blog-grid-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-5px);
}

.blog-grid-card .card-image {
	position: relative;
	overflow: hidden;
}

.blog-grid-card .card-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

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

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

.blog-grid-card .entry-title {
	font-size: 1.25rem;
	margin-bottom: 15px;
	line-height: 1.4;
}

.blog-grid-card .entry-title a {
	color: var(--text-dark);
	text-decoration: none;
	transition: color 0.2s;
}

.blog-grid-card .entry-title a:hover {
	color: var(--primary-color);
}

.blog-grid-card .entry-excerpt {
	color: var(--text-light);
	font-size: 0.95rem;
	margin-top: auto;
	/* push down if titles vary in height */
}

/* Dark Mode Support for Blog */
body.dark-mode .featured-blog-post,
body.dark-mode .blog-grid-card {
	background-color: #1f2937;
	border-color: #374151;
}

body.dark-mode .featured-post-content .entry-title a,
body.dark-mode .blog-grid-card .entry-title a {
	color: #f9fafb;
}

body.dark-mode .featured-post-content .entry-title a:hover,
body.dark-mode .blog-grid-card .entry-title a:hover {
	color: var(--primary-color);
}

/* =========================================
   Single Blog Post (Premium Layout)
   ========================================= */

/* Hero Header */
.single-post-hero {
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 400px;
	max-height: 600px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	padding-bottom: 60px;
	margin-bottom: 60px;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
	z-index: 1;
}

.hero-content-container {
	position: relative;
	z-index: 2;
	color: #ffffff;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.post-meta-top {
	margin-bottom: 20px;
}

.post-meta-top .post-cat a {
	background-color: var(--primary-color);
	color: #ffffff;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	transition: background 0.3s;
}

.post-meta-top .post-cat a:hover {
	background-color: var(--secondary-color);
}

.hero-title {
	color: #ffffff;
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 25px;
	line-height: 1.2;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	text-align: center;
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 2.2rem;
	}
}

.post-meta-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

.author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.author-avatar {
	border-radius: 50%;
	border: 2px solid #ffffff;
}

.meta-separator {
	opacity: 0.5;
}

/* Optimized Reading Column */
.single-post-content-wrapper {
	max-width: 800px;
	margin: 0 auto;
	background: #ffffff;
	padding: 40px;
	border-radius: var(--radius-xl);
	box-shadow: 0 -30px 40px -20px rgba(0, 0, 0, 0.05);
	position: relative;
	top: -60px;
	/* Pull content up slightly over the hero */
	z-index: 3;
}

body.dark-mode .single-post-content-wrapper {
	background: #1f2937;
	box-shadow: none;
	border: 1px solid #374151;
}

/* Typography Enhancements */
.reading-optimized {
	font-size: 1.15rem;
	line-height: 1.8;
	color: #374151;
}

body.dark-mode .reading-optimized {
	color: #d1d5db;
}

.reading-optimized p {
	margin-bottom: 25px;
}

.reading-optimized h2,
.reading-optimized h3,
.reading-optimized h4 {
	margin-top: 40px;
	margin-bottom: 20px;
	color: var(--text-dark);
}

body.dark-mode .reading-optimized h2,
body.dark-mode .reading-optimized h3,
body.dark-mode .reading-optimized h4 {
	color: #f9fafb;
}

/* Beautiful Bullet & Numbered Lists */
.reading-optimized ul,
.reading-optimized ol {
	margin: 0 0 30px 20px;
	padding-left: 20px;
}

.reading-optimized ul li,
.reading-optimized ol li {
	margin-bottom: 12px;
	position: relative;
	line-height: 1.6;
}

.reading-optimized ul {
	list-style: none;
	/* Hide default bullets to use custom ones */
}

.reading-optimized ul li::before {
	content: "\f058";
	/* FontAwesome check-circle */
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
	font-weight: 900;
	position: absolute;
	left: -28px;
	top: 2px;
	color: var(--primary-color);
	font-size: 1.1rem;
}

.reading-optimized ol {
	counter-reset: custom-counter;
	list-style: none;
}

.reading-optimized ol li {
	counter-increment: custom-counter;
}

.reading-optimized ol li::before {
	content: counter(custom-counter) ".";
	position: absolute;
	left: -32px;
	top: 0;
	color: var(--primary-color);
	font-weight: 800;
	font-size: 1.1rem;
	font-family: var(--font-heading);
}

/* Dropcap for first paragraph */
.reading-optimized>p:first-of-type::first-letter {
	float: left;
	font-size: 4.5rem;
	line-height: 1;
	font-weight: 800;
	color: var(--primary-color);
	padding-right: 12px;
	padding-top: 4px;
	font-family: var(--font-heading);
}

/* Blockquotes */
.reading-optimized blockquote {
	margin: 40px 0;
	padding: 30px;
	background: #f8fafc;
	border-left: 5px solid var(--primary-color);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	font-size: 1.25rem;
	font-style: italic;
	color: #111827;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

body.dark-mode .reading-optimized blockquote {
	background: #111827;
	color: #f9fafb;
	box-shadow: inset 0 0 0 1px #374151;
}

.reading-optimized blockquote p:last-child {
	margin-bottom: 0;
}

/* Images in content */
.reading-optimized img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	margin: 30px 0;
}

/* Tags and Share */
.post-tags-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 30px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	margin: 40px 0;
}

.post-tags a.tag-link {
	display: inline-block;
	padding: 4px 12px;
	background: #f1f5f9;
	color: #475569;
	border-radius: 4px;
	font-size: 0.85rem;
	text-decoration: none;
	margin-right: 8px;
	transition: all 0.2s;
}

.post-tags a.tag-link:hover {
	background: var(--primary-color);
	color: white;
}

body.dark-mode .post-tags a.tag-link {
	background: #374151;
	color: #e2e8f0;
}

.post-share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: white;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.2s;
}

.share-btn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.share-btn.twitter {
	background: #1da1f2;
}

.share-btn.facebook {
	background: #1877f2;
}

.share-btn.linkedin {
	background: #0a66c2;
}

/* Author Bio Box */
.author-bio-box {
	display: flex;
	align-items: center;
	background: #f8fafc;
	padding: 40px;
	border-radius: var(--radius-lg);
	margin-bottom: 50px;
	border: 1px solid #e2e8f0;
}

body.dark-mode .author-bio-box {
	background: #111827;
	border-color: #374151;
}

@media (max-width: 640px) {
	.author-bio-box {
		flex-direction: column;
		text-align: center;
	}
}

.author-bio-avatar {
	flex-shrink: 0;
	margin-right: 30px;
}

@media (max-width: 640px) {
	.author-bio-avatar {
		margin-right: 0;
		margin-bottom: 20px;
	}
}

.author-bio-avatar img {
	border-radius: 50%;
	border: 3px solid white;
	box-shadow: var(--shadow-md);
}

.author-bio-name {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.author-bio-desc {
	color: var(--text-light);
	font-size: 1rem;
	margin-bottom: 15px;
}

.author-bio-link {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.author-bio-link:hover {
	color: var(--secondary-color);
}

/* Post Navigation */
.post-navigation {
	margin-bottom: 60px;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.nav-links>div {
	flex: 1;
}

.nav-links>div>a {
	display: block;
	padding: 20px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: all 0.2s;
}

.nav-links>div>a:hover {
	border-color: var(--primary-color);
	background: #f8fafc;
}

body.dark-mode .nav-links>div>a:hover {
	background: #1e293b;
}

.nav-subtitle {
	display: block;
	font-size: 0.85rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 5px;
}

.nav-title {
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text-dark);
}

body.dark-mode .nav-title {
	color: #f9fafb;
}

.nav-next a {
	text-align: right;
}

/* =========================================
   Agent & Agency Profile Styles
   ========================================= */

/* Agent Profile */
.agent-profile-wrapper {
	padding: 60px 0;
	background-color: var(--bg-body);
}

.single-agent-profile {
	background: #ffffff;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-xl);
	overflow: hidden;
	margin-bottom: 40px;
}

body.dark-mode .single-agent-profile {
	background: #1f2937;
	box-shadow: none;
	border: 1px solid #374151;
}

.agent-profile-header {
	display: flex;
	flex-direction: column;
}

@media (min-width: 992px) {
	.agent-profile-header {
		flex-direction: row;
	}
}

.agent-image-column {
	flex: 0 0 40%;
	position: relative;
	background: var(--agent-placeholder-bg, var(--primary-color));
}

.agent-photo {
	width: 100%;
	height: 100%;
	min-height: 400px;
}

.agent-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.agent-photo.no-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8rem;
	color: rgba(255, 255, 255, 0.5);
}

.agent-details-column {
	padding: 50px;
	flex: 1;
}

.agent-name {
	font-size: 3rem;
	margin-bottom: 5px;
	font-weight: 800;
	color: var(--agent-name-color, var(--text-dark));
}

body.dark-mode .agent-name {
	color: var(--agent-name-color, #ffffff);
}

.agent-designation {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 30px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.agent-contact-info {
	margin-bottom: 30px;
	background: #f8fafc;
	padding: 25px;
	border-radius: var(--radius-lg);
	border-left: 4px solid var(--agent-icon-color, var(--primary-color));
}

body.dark-mode .agent-contact-info {
	background: #111827;
}

.agent-contact-info .contact-item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 12px;
	font-size: 1.1rem;
}

.agent-contact-info .contact-item:last-child {
	margin-bottom: 0;
}

.agent-contact-info .contact-item i {
	color: var(--agent-icon-color, var(--primary-color));
	width: 20px;
	text-align: center;
	font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
	font-weight: 900;
}

.agent-contact-info .contact-item a {
	color: var(--agent-text-color, var(--text-dark));
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

body.dark-mode .agent-contact-info .contact-item a {
	color: var(--agent-text-color, #e2e8f0);
}

.agent-contact-info .contact-item a:hover {
	color: var(--agent-icon-color, var(--primary-color));
}

.agent-social-links {
	display: flex;
	gap: 10px;
	margin-bottom: 40px;
}

.agent-social-links .social-btn {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #ffffff;
	background: var(--agent-icon-color, var(--primary-color));
	font-size: 1.1rem;
	transition: transform 0.2s, background 0.2s;
	text-decoration: none;
}

.agent-social-links .social-btn:hover {
	transform: translateY(-3px);
	filter: brightness(1.1);
}

.agent-bio h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--text-dark);
}

body.dark-mode .agent-bio h3 {
	color: #ffffff;
}

.agent-bio .entry-content {
	color: var(--agent-text-color, var(--text-light));
	font-size: 1.05rem;
	line-height: 1.8;
}

/* Agency Profile */
.single-agency-profile {
	margin-bottom: 60px;
}

.agency-hero-banner {
	height: 50vh;
	min-height: 400px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.agency-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.agency-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
}

.agency-name {
	font-size: 4rem;
	color: #ffffff;
	font-weight: 800;
	margin-bottom: 10px;
	text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
	.agency-name {
		font-size: 2.5rem;
	}
}

.agency-tagline {
	font-size: 1.2rem;
	color: var(--primary-color);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.agency-main-content {
	margin-top: -60px;
	position: relative;
	z-index: 10;
}

.agency-details-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 992px) {
	.agency-details-grid {
		grid-template-columns: 2fr 1fr;
	}
}

.agency-bio-card,
.contact-widget-card {
	background: #ffffff;
	padding: 40px;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

body.dark-mode .agency-bio-card,
body.dark-mode .contact-widget-card {
	background: #1f2937;
	border: 1px solid #374151;
	box-shadow: none;
}

.agency-bio-card h3,
.contact-widget-card h3 {
	font-size: 1.75rem;
	margin-bottom: 25px;
	color: var(--text-dark);
}

body.dark-mode .agency-bio-card h3,
body.dark-mode .contact-widget-card h3 {
	color: #ffffff;
}

.agency-bio-card .entry-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-light);
}

.contact-widget-item {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
}

.contact-widget-item i {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-top: 5px;
}

.contact-widget-item strong {
	display: block;
	font-size: 1.1rem;
	color: var(--text-dark);
	margin-bottom: 5px;
}

body.dark-mode .contact-widget-item strong {
	color: #ffffff;
}

.contact-widget-item p,
.contact-widget-item a {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s;
}

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

.agency-social-links {
	display: flex;
	gap: 10px;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid var(--border-color);
}

.agency-social-links .social-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #ffffff;
	transition: transform 0.2s;
}

.agency-social-links .social-btn:hover {
	transform: translateY(-3px);
}

/* =========================================
   Awesome Comments Section
   ========================================= */
.comments-area {
	margin-top: 60px;
	padding-top: 60px;
	border-top: 2px solid var(--border-color);
}

.comments-title,
.comment-reply-title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--text-dark);
}

body.dark-mode .comments-title,
body.dark-mode .comment-reply-title {
	color: #f9fafb;
}

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

.comment-list .comment {
	margin-bottom: 30px;
}

.comment-body {
	background: #f8fafc;
	border-radius: var(--radius-lg);
	padding: 30px;
	border: 1px solid #e2e8f0;
	position: relative;
	transition: var(--transition-base);
}

body.dark-mode .comment-body {
	background: #111827;
	border-color: #374151;
}

.comment-body:hover {
	box-shadow: var(--shadow-md);
	border-color: #cbd5e1;
}

body.dark-mode .comment-body:hover {
	border-color: #4b5563;
}

.comment-meta {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.comment-author.vcard {
	display: flex;
	align-items: center;
}

.comment-author img.avatar {
	border-radius: 50%;
	margin-right: 15px;
	box-shadow: var(--shadow-sm);
}

.comment-author .fn {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text-dark);
	font-style: normal;
}

body.dark-mode .comment-author .fn {
	color: #f9fafb;
}

.comment-metadata {
	margin-left: auto;
	font-size: 0.85rem;
}

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

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

.comment-content {
	color: var(--text-light);
	font-size: 1.05rem;
	line-height: 1.6;
}

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

.reply {
	margin-top: 15px;
}

.comment-reply-link {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--primary-color);
	background: rgba(var(--primary-color-rgb), 0.1);
	padding: 6px 16px;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.2s;
}

.comment-reply-link:hover {
	background: var(--primary-color);
	color: #ffffff;
}

/* Nested Comments */
.comment-list .children {
	list-style: none;
	margin: 20px 0 0 0;
	padding-left: 20px;
	border-left: 2px solid var(--border-color);
}

@media (min-width: 768px) {
	.comment-list .children {
		padding-left: 40px;
		margin-left: 20px;
	}
}

/* Response Form */
.comment-respond {
	background: #ffffff;
	padding: 40px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	margin-top: 50px;
}

body.dark-mode .comment-respond {
	background: #1f2937;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-dark);
}

body.dark-mode .comment-form-comment label,
body.dark-mode .comment-form-author label,
body.dark-mode .comment-form-email label,
body.dark-mode .comment-form-url label {
	color: #e2e8f0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 15px;
	border: 2px solid var(--border-color);
	border-radius: var(--radius-md);
	background: #f8fafc;
	color: var(--text-dark);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: all 0.2s;
	margin-bottom: 20px;
}

body.dark-mode .comment-form input[type="text"],
body.dark-mode .comment-form input[type="email"],
body.dark-mode .comment-form input[type="url"],
body.dark-mode .comment-form textarea {
	background: #111827;
	border-color: #374151;
	color: #f9fafb;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.1);
}

body.dark-mode .comment-form input:focus,
body.dark-mode .comment-form textarea:focus {
	background: #1f2937;
}

.comment-form .submit {
	background: var(--primary-color);
	color: #ffffff;
	border: none;
	padding: 16px 32px;
	border-radius: var(--radius-md);
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
	width: auto;
}

.comment-form .submit:hover {
	background: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* =========================================
   Custom Lightbox Styles
   ========================================= */
.vesta-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
}

.vesta-lightbox.active {
	display: flex;
}

.vesta-lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
}

.vesta-lightbox-content {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vesta-lightbox-img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	user-select: none;
	-webkit-user-drag: none;
}

.vesta-lightbox-close {
	position: absolute;
	top: -40px;
	right: -40px;
	background: transparent;
	border: none;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	transition: transform 0.2s;
	padding: 10px;
}

.vesta-lightbox-close:hover {
	transform: scale(1.1);
}

.vesta-lightbox-prev,
.vesta-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 2rem;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vesta-lightbox-prev:hover,
.vesta-lightbox-next:hover {
	background: rgba(255, 255, 255, 0.3);
}

.vesta-lightbox-prev {
	left: -80px;
}

.vesta-lightbox-next {
	right: -80px;
}

@media (max-width: 768px) {
	.vesta-lightbox-close {
		top: -40px;
		right: 0;
	}

	.vesta-lightbox-prev {
		left: 10px;
	}

	.vesta-lightbox-next {
		right: 10px;
	}

	.vesta-lightbox-prev,
	.vesta-lightbox-next {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}
}

/* =========================================
   Gallery Thumb Grid - "View Gallery" hint
   ========================================= */
.gallery-thumb {
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.gallery-thumb .gallery-open-hint {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14px 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-thumb:hover .gallery-open-hint {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================
   Swiper Gallery Lightbox Overlay
   ========================================= */
.vesta-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}

.vesta-gallery-lightbox.active {
	display: flex;
}

.vgl-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(12px);
}

.vgl-inner {
	position: relative;
	width: 100%;
	max-width: 1100px;
	padding: 20px;
	z-index: 1;
}

.vgl-close {
	position: absolute;
	top: -10px;
	right: 20px;
	background: transparent;
	border: none;
	color: rgba(255,255,255,0.8);
	font-size: 1.8rem;
	cursor: pointer;
	transition: color 0.2s, transform 0.2s;
	z-index: 10;
}

.vgl-close:hover {
	color: #fff;
	transform: rotate(90deg);
}

.vgl-swiper {
	width: 100%;
	max-height: 80vh;
	border-radius: 12px;
	overflow: hidden;
}

.vgl-swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
}

.vgl-swiper .swiper-slide img {
	max-width: 100%;
	max-height: 78vh;
	object-fit: contain;
	border-radius: 8px;
	pointer-events: none;
	user-select: none;
}

.vgl-swiper .swiper-button-prev,
.vgl-swiper .swiper-button-next {
	color: #fff;
	background: rgba(255,255,255,0.15);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	transition: background 0.2s;
}

.vgl-swiper .swiper-button-prev:hover,
.vgl-swiper .swiper-button-next:hover {
	background: rgba(255,255,255,0.3);
}

.vgl-swiper .swiper-button-prev::after,
.vgl-swiper .swiper-button-next::after {
	font-size: 1rem;
	font-weight: 900;
}

.vgl-swiper .swiper-pagination-fraction {
	color: rgba(255,255,255,0.7);
	font-size: 0.9rem;
}

.vgl-counter {
	text-align: center;
	color: rgba(255,255,255,0.6);
	font-size: 0.85rem;
	margin-top: 12px;
}

@media (max-width: 768px) {
	.vgl-inner {
		padding: 60px 10px 20px;
	}
	.vgl-close {
		top: 14px;
		right: 14px;
	}
}