/*
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.1
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 {


	--text-light: #6b7280;
	--border-color: #e5e7eb;
	--bg-light: #f9fafb;


	--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 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;
}

html,
body {
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
	position: relative;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

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;
}

.vesta-container-fluid {
	width: 100%;
	padding: 0;
	margin: 0;
}

.archive-header,
.vesta-page-header {
	text-align: center;
	padding: 100px 0 80px;
	border-bottom: 1px solid var(--border-color);
	background-color: var(--bg-light);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	/* Base background handling */
}

.page-header-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.vesta-page-header .vesta-container {
	position: relative;
	z-index: 2;
}

.vesta-page-header .page-title,
.archive-header h1 {
	font-size: 3.5rem;
	margin-bottom: 16px;
	color: var(--page-header-text-color, var(--text-dark));
	letter-spacing: -0.02em;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vesta-page-header .page-subtitle,
.archive-header p {
	font-size: 1.25rem;
	color: var(--page-header-text-color, var(--text-light));
	opacity: 0.9;
	max-width: 600px;
	margin: 0 auto;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.property-grid {
	display: grid;
	gap: 40px;
	margin: 60px 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.properties-main-content .property-grid {
	margin-top: 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);
}

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

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


@media (max-width: 1200px) {
	.properties-main-content .property-grid[data-columns="3"] {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {

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

@media (max-width: 768px) {

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

	.vesta-container {
		padding: 0 15px;
	}

	.vesta-container-fluid .elementor-section {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.vesta-container-fluid .elementor-widget-property_grid {
		padding: 0 10px;
	}
}

.property-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);

	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);
}

.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;
}

.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);
}

.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;
}

.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;

}

.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";
	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;
}

.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);
}

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

.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 {
	display: grid;
	grid-template-columns: 1fr 2.2fr;

	gap: 40px;
	margin: 60px 0;
	align-items: start;

}

.single-property-sidebar {
	position: sticky;
	top: 100px;

	display: flex;
	flex-direction: column;
	gap: 24px;
}

.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);

}

.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 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);

	gap: 15px;
	margin-top: 15px;
}

.feature-card {
	display: flex;
	align-items: center;
	padding: 12px;
	background: #f9fafb;

	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);

	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";
	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);
}

.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;
}

.property-details-table table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.property-details-table th, 
.property-details-table td {
	padding: 12px 15px;
	border-bottom: 1px solid var(--border-color);
	text-align: left;
}

.property-details-table th {
	font-weight: 600;
	color: var(--text-dark);
	width: 40%;
}

.property-details-table td {
	color: var(--text-light);
}

.virtual-tour-box iframe {
	max-width: 100%;
	border-radius: 8px;
	border: none;
}

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

.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);
}

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

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

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

@media (max-width: 992px) {
	.single-property-wrapper {
		grid-template-columns: 1fr;
		margin: 40px 0;
	}

	.single-property-sidebar {
		position: static;

		order: -1;

	}
}

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

@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;
	}
}

/* =========================================
   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;
}

.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;

	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";
	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);
}

@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;
	}
}

/* ---- 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);

	padding-bottom: 50px;
}

.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;
}

.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;
}

.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;
}

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

.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;
}

.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 {
	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);
}

@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 {
	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;

}

body.dark-mode .property-card,
body.dark-mode .property-search-form {
	background-color: #1f2937;

	border-color: #374151;

}

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;
}

body.dark-mode.header-sticky-active #masthead {
	background-color: var(--header-sticky-bg, #111827);

}

/* =========================================
   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);

	width: 100%;

	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-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 {
	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);
	}
}

.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;

}

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)
   ========================================= */

.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;
}

.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;

	z-index: 3;
}

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

.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;
}

.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;

}

.reading-optimized ul li::before {
	content: "\f058";

	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);
}

.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);
}

.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;
}

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

.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 {
	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 {
	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-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;
}

.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 {
	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;
}

.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;
	}
}

.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;
	}
}

/* =========================================
   Sidebar Filter Styling for Properties
   ========================================= */
.sidebar-filter-wrapper {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-xl);
	padding: 30px;
	position: sticky;
	top: 100px;
	box-shadow: var(--shadow-md);
	transition: var(--transition-base);
}

.sidebar-filter-wrapper:hover {
	box-shadow: var(--shadow-lg);
}

.sidebar-filter-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 25px;
	color: var(--text-dark);
	border-bottom: 2px solid var(--bg-light);
	padding-bottom: 15px;
}

.sidebar-filter-fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sidebar-filter-box {
	display: flex;
	flex-direction: column;
}

.sidebar-filter-box label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--text-light);
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.sidebar-filter-box input[type="text"],
.sidebar-filter-box input[type="number"],
.sidebar-filter-box select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	font-size: 1rem;
	font-family: var(--font-body);
	color: var(--text-dark);
	background-color: var(--bg-light);
	transition: all 0.3s ease;
	outline: none;
}

.sidebar-filter-box select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 16px;
	padding-right: 40px;
}

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

.range-inputs-vertical {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.sidebar-filter-row-half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.sidebar-search-submit {
	margin-top: 30px;
}

.sidebar-search-btn {
	width: 100%;
	padding: 15px;
	background-color: var(--primary-color);
	color: #ffffff;
	border: none;
	border-radius: var(--radius-md);
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: var(--transition-base);
}

.sidebar-search-btn:hover {
	background-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

@media (max-width: 1400px) {
	.property-grid[data-columns="6"] {
		grid-template-columns: repeat(4, 1fr);
	}

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

@media (max-width: 640px) {
	.property-grid {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}
}

/* Property Card Style 2 (Modern) */
.property-card-style2 {
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #f1f5f9;
}

.property-card-style2:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.property-card-style2 .property-card-image-wrapper {
	aspect-ratio: 4/3;
	position: relative;
	overflow: hidden;
}

.property-card-style2 .property-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

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

.property-card-style2 .card-badges-container {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 2;
	display: flex;
	gap: 8px;
}

.property-card-style2 .property-badge {
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.property-card-style2 .property-price-tag {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: var(--primary-color);
	color: #fff;
	padding: 6px 14px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	z-index: 2;
}

.property-card-style2 .property-card-content {
	padding: 15px;
}

.property-card-style2 .property-title {
	font-size: 1.1rem;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.property-card-style2 .property-location {
	font-size: 0.85rem;
	color: #64748b;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.property-card-style2 .property-location i {
	color: var(--primary-color);
}

.property-card-style2 .property-features {
	display: flex;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
	gap: 10px;
}

.property-card-style2 .feature-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #475569;
	font-size: 0.85rem;
	font-weight: 600;
}

.property-card-style2 .feature-item i {
	color: #94a3b8;
	font-size: 0.9rem;
}

.property-card-style2 .property-image-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

body.dark-mode .property-card-style2 {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .property-card-style2 .property-title a {
	color: #f1f5f9;
}

body.dark-mode .property-card-style2 .property-location {
	color: #94a3b8;
}

body.dark-mode .property-card-style2 .property-features {
	border-color: #334155;
}

body.dark-mode .property-card-style2 .feature-item {
	color: #cbd5e1;
}

@media (max-width: 992px) {
	.properties-page-layout {
		grid-template-columns: 1fr !important;
	}

	.sidebar-filter-wrapper {
		position: static;
		top: auto;
		margin-bottom: 30px;
	}
}

/* =========================================
   Modern Agent Box & Inquiry Widget
   ========================================= */
.modern-agent-box {
	background: #fff;
	border: 1px solid var(--border-color, #e5e7eb);
	border-radius: var(--radius-lg, 12px);
	padding: 24px;
	box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
	transition: box-shadow 0.3s ease;
}

.modern-agent-box:hover {
	box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06));
}

.modern-agent-box .widget-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--text-dark, #111827);
	padding-bottom: 12px;
	border-bottom: 2px solid var(--primary-color, #2563eb);
	display: inline-block;
}

.agent-profile {
	display: flex;
	align-items: center;
	gap: 20px;
}

.agent-avatar {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #f3f4f6;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	background: #f9fafb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.agent-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.agent-avatar .default-avatar {
	font-size: 2.5rem;
	color: #9ca3af;
}

.agent-details {
	flex-grow: 1;
}

.agent-name {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text-dark, #111827);
	margin: 0 0 8px 0;
}

.agent-phone,
.agent-email {
	margin: 0 0 6px 0;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-light, #4b5563);
}

.agent-phone i,
.agent-email i {
	color: var(--primary-color, #2563eb);
	width: 14px;
	text-align: center;
}

.agent-phone a,
.agent-email a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.agent-phone a:hover,
.agent-email a:hover {
	color: var(--primary-color, #2563eb);
}

.inquiry-widget {
	background: #fff;
	border: 1px solid var(--border-color, #e5e7eb);
	border-radius: var(--radius-lg, 12px);
	padding: 24px;
	box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
}

body.dark-mode .modern-agent-box,
body.dark-mode .inquiry-widget {
	background-color: #1f2937;
	border-color: #374151;
}

body.dark-mode .modern-agent-box .widget-title,
body.dark-mode .agent-name {
	color: #f9fafb;
}

body.dark-mode .agent-phone,
body.dark-mode .agent-email {
	color: #d1d5db;
}


/* =========================================
   Modern Inquiry Form (Premium Styling)
   ========================================= */
.vesta-lead-form-wrapper {
	width: 100%;
}

.vesta-lead-form-wrapper .form-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark, #111827);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--primary-color, #2563eb);
	display: inline-block;
}

.vesta-lead-form .form-group {
	margin-bottom: 18px;
}

.vesta-lead-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-dark, #374151);
	margin-bottom: 8px;
}

.vesta-lead-form input[type="text"],
.vesta-lead-form input[type="email"],
.vesta-lead-form input[type="tel"],
.vesta-lead-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border-color, #d1d5db);
	border-radius: var(--radius-md, 8px);
	background-color: #f9fafb;
	color: var(--text-dark, #111827);
	font-family: inherit;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vesta-lead-form input[type="text"]:focus,
.vesta-lead-form input[type="email"]:focus,
.vesta-lead-form input[type="tel"]:focus,
.vesta-lead-form textarea:focus {
	outline: none;
	border-color: var(--primary-color, #2563eb);
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.vesta-lead-form input::placeholder,
.vesta-lead-form textarea::placeholder {
	color: #9ca3af;
}

.vesta-lead-form textarea {
	resize: vertical;
	min-height: 100px;
}

.vesta-lead-form .submit-btn {
	width: 100%;
	padding: 14px 24px;
	background: var(--primary-color, #2563eb);
	color: #ffffff;
	border: none;
	border-radius: var(--radius-md, 8px);
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.vesta-lead-form .submit-btn:hover {
	background: var(--secondary-color, #1d4ed8);
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.vesta-lead-form .submit-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.lead-success-message {
	background-color: #dcfce7;
	color: #166534;
	padding: 14px 20px;
	border-radius: var(--radius-md, 8px);
	margin-bottom: 20px;
	border: 1px solid #bbf7d0;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
}

.lead-success-message::before {
	content: '\f058';
	/* fa-check-circle */
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
	font-weight: 900;
	font-size: 1.2rem;
}

/* Dark Mode Support for Lead Form */
body.dark-mode .vesta-lead-form-wrapper .form-title,
body.dark-mode .vesta-lead-form label {
	color: #f9fafb;
}

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

body.dark-mode .vesta-lead-form input:focus,
body.dark-mode .vesta-lead-form textarea:focus {
	background-color: #1f2937;
	border-color: var(--primary-color, #3b82f6);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

body.dark-mode .lead-success-message {
	background-color: rgba(22, 101, 52, 0.2);
	border-color: rgba(22, 101, 52, 0.5);
	color: #4ade80;
}

/* =========================================
   Header: Submit Property Button & User Dropdown
   ========================================= */
.header-submit-property {
	display: flex;
	align-items: center;
	gap: 10px;
}

.btn-submit-property {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-color, #2563eb);
	color: #ffffff !important;
	padding: 9px 18px;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
	white-space: nowrap;
}

.btn-submit-property:hover {
	background: var(--secondary-color, #1d4ed8);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
	color: #ffffff !important;
}

.header-login-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-dark);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.header-login-link:hover {
	color: var(--primary-color);
}

.header-user-dropdown {
	position: relative;
}

.user-dropdown-trigger {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--border-color, #e5e7eb);
	border-radius: 50px;
	padding: 4px 10px 4px 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.user-dropdown-trigger:hover {
	background: var(--bg-light, #f9fafb);
}

.user-nav-avatar {
	width: 30px !important;
	height: 30px !important;
	border-radius: 50% !important;
}

.user-dropdown-trigger .fa-chevron-down {
	font-size: 0.7rem;
	color: var(--text-light, #6b7280);
}

.user-dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	background: #ffffff;
	border: 1px solid var(--border-color, #e5e7eb);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	min-width: 220px;
	list-style: none;
	padding: 8px 0;
	margin: 0;
	z-index: 9999;
}

.header-user-dropdown.open .user-dropdown-menu {
	display: block;
}

.user-dropdown-header {
	padding: 12px 16px;
	border-bottom: 1px solid var(--border-color, #e5e7eb);
	margin-bottom: 4px;
}

.user-dropdown-header strong {
	display: block;
	font-size: 0.95rem;
	color: var(--text-dark, #111827);
}

.user-dropdown-header small {
	font-size: 0.8rem;
	color: var(--text-light, #6b7280);
}

.user-dropdown-menu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	color: var(--text-dark, #374151);
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.user-dropdown-menu li a:hover {
	background: var(--bg-light, #f9fafb);
	color: var(--primary-color, #2563eb);
}

.user-dropdown-divider {
	border-top: 1px solid var(--border-color, #e5e7eb);
	margin: 4px 0;
}

.user-dropdown-logout {
	color: #ef4444 !important;
}

.user-dropdown-logout:hover {
	background: #fef2f2 !important;
	color: #dc2626 !important;
}

/* =========================================
   Frontend Auth Page (Login / Register)
   ========================================= */
.vesta-auth-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.auth-container {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
	padding: 40px;
	width: 100%;
	max-width: 480px;
}

.auth-brand {
	text-align: center;
	margin-bottom: 30px;
}

.auth-logo {
	max-height: 50px;
	width: auto;
	margin: 0 auto 10px;
}

.auth-site-name {
	display: block;
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary-color, #2563eb);
	margin-bottom: 8px;
}

.auth-tagline {
	font-size: 0.95rem;
	color: var(--text-light, #6b7280);
	margin: 0;
}

.auth-tabs {
	display: flex;
	background: #f3f4f6;
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 28px;
}

.auth-tab {
	flex: 1;
	text-align: center;
	padding: 10px;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-light, #6b7280);
	text-decoration: none;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.auth-tab.active,
.auth-tab:hover {
	background: #ffffff;
	color: var(--primary-color, #2563eb);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-form-panel {
	display: none;
}

.auth-form-panel.active {
	display: block;
}

.auth-alert {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	font-weight: 500;
}

.auth-alert-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.auth-alert-success {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.auth-field {
	margin-bottom: 18px;
}

.auth-field label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-dark, #374151);
	margin-bottom: 7px;
}

.input-icon-wrap {
	position: relative;
}

.input-icon-wrap i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	font-size: 0.9rem;
}

.input-icon-wrap input {
	width: 100%;
	padding: 11px 14px 11px 38px;
	border: 1px solid var(--border-color, #d1d5db);
	border-radius: 8px;
	font-size: 0.95rem;
	background: #f9fafb;
	color: var(--text-dark);
	transition: all 0.3s ease;
}

.input-icon-wrap input:focus {
	outline: none;
	border-color: var(--primary-color, #2563eb);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-remember {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
	font-size: 0.88rem;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--text-light, #6b7280);
	cursor: pointer;
}

.forgot-link {
	color: var(--primary-color, #2563eb);
	text-decoration: none;
	font-weight: 600;
}

.auth-submit-btn {
	width: 100%;
	padding: 13px;
	background: var(--primary-color, #2563eb);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.auth-submit-btn:hover {
	background: var(--secondary-color, #1d4ed8);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.auth-switch-msg {
	text-align: center;
	margin-top: 20px;
	font-size: 0.9rem;
	color: var(--text-light, #6b7280);
}

.auth-switch-msg a {
	color: var(--primary-color, #2563eb);
	font-weight: 600;
	text-decoration: none;
}

/* =========================================
   Frontend Dashboard Page
   ========================================= */
.vesta-dashboard-wrap {
	display: grid;
	grid-template-columns: 260px 1fr;
	min-height: calc(100vh - 150px);
}

.dash-sidebar {
	background: #1e293b;
	height: 100%;
}

.dash-sidebar-inner {
	padding: 30px 0;
	position: sticky;
	top: 0;
	height: auto;
	min-height: calc(100vh - 150px);
	overflow-y: auto;
}

.dash-user-card {
	text-align: center;
	padding: 0 20px 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 20px;
}

.dash-avatar {
	margin-bottom: 16px;
	position: relative;
	display: inline-block;
}

.dash-avatar::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.2);
	pointer-events: none;
	animation: pulseAvatar 2s infinite;
}

@keyframes pulseAvatar {
	0% { transform: scale(1); opacity: 1; }
	100% { transform: scale(1.15); opacity: 0; }
}

.rounded-avatar,
.dash-avatar img {
	border-radius: 50% !important;
	width: 80px !important;
	height: 80px !important;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	transition: var(--transition-base);
}

.dash-avatar:hover img {
	transform: scale(1.05);
	border-color: var(--primary-color);
}

.dash-display-name {
	font-size: 1.15rem;
	font-family: var(--font-heading);
	letter-spacing: -0.01em;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 4px;
}

.dash-email {
	font-size: 0.8rem;
	color: #94a3b8;
	margin: 0;
}

.dash-nav {
	padding: 0 12px;
}

.dash-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	color: #94a3b8;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 12px;
	margin-bottom: 6px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.dash-nav-item i {
	font-size: 1.1em;
	width: 20px;
	text-align: center;
	transition: transform 0.3s ease;
}

.dash-nav-item:hover i {
	transform: scale(1.15);
}

.dash-nav-item:hover,
.dash-nav-item.active {
	background: rgba(255, 255, 255, 0.05);
	color: #ffffff;
}

.dash-nav-item.active::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10%;
	height: 80%;
	width: 4px;
	background: var(--primary-color, #3b82f6);
	border-radius: 0 4px 4px 0;
	box-shadow: 0 0 10px var(--primary-color);
}

.dash-logout {
	color: #fca5a5 !important;
	margin-top: 10px;
}

.dash-logout:hover {
	background: rgba(239, 68, 68, 0.15) !important;
	color: #f87171 !important;
}

.dash-main {
	padding: 40px 60px;
	background: #f1f5f9;
	min-height: 100%;
}

.dash-alert {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px 24px;
	border-radius: var(--radius-lg);
	margin-bottom: 30px;
	font-weight: 500;
	box-shadow: var(--shadow-sm);
	border-left: 4px solid transparent;
}

.dash-alert-success {
	background: #ffffff;
	color: #166534;
	border-left-color: #22c55e;
}

.dash-alert-success i { color: #22c55e; font-size: 1.25rem; }

.dash-alert-info {
	background: #ffffff;
	color: #1e40af;
	border-left-color: #3b82f6;
}

.dash-alert-info i { color: #3b82f6; font-size: 1.25rem; }

.dash-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.dash-section-header h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	letter-spacing: -0.02em;
}

.dash-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-color, #2563eb);
	color: #ffffff !important;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

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

.dash-btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	color: var(--text-dark) !important;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--border-color, #e5e7eb);
	cursor: pointer;
	transition: all 0.2s ease;
}

.dash-btn-secondary:hover {
	background: #f9fafb;
	color: var(--text-dark) !important;
}

/* Property Grid Cards */
.dash-properties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.dash-property-card {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transition: var(--transition-base);
	display: flex;
	flex-direction: column;
}

.dash-property-card:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	transform: translateY(-5px);
	background: #ffffff;
}

.dpc-image {
	position: relative;
	height: 160px;
	background: #e5e7eb;
	overflow: hidden;
}

.dpc-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dpc-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 3rem;
	color: #d1d5db;
}

.dpc-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 50px;
}

.badge-success {
	background: #d1fae5;
	color: #065f46;
}

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

.badge-neutral {
	background: #f3f4f6;
	color: #6b7280;
}

.dpc-body {
	padding: 16px;
}

.dpc-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1e293b;
}

.dpc-title a {
	color: inherit;
	text-decoration: none;
}

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

.dpc-meta {
	font-size: 0.82rem;
	color: #6b7280;
	margin: 0 0 14px;
}

.dpc-actions {
	display: flex;
	gap: 10px;
}

.dpc-btn {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.dpc-edit {
	background: #eff6ff;
	color: #2563eb;
}

.dpc-edit:hover {
	background: #2563eb;
	color: #ffffff;
}

.dpc-delete {
	background: #fef2f2;
	color: #ef4444;
}

.dpc-delete:hover {
	background: #ef4444;
	color: #ffffff;
}

/* Empty State */
.dash-empty-state {
	text-align: center;
	padding: 80px 40px;
	background: #ffffff;
	border-radius: 12px;
	border: 2px dashed var(--border-color, #e5e7eb);
}

.dash-empty-state i {
	font-size: 4rem;
	color: #d1d5db;
	margin-bottom: 20px;
}

.dash-empty-state h3 {
	color: #6b7280;
	margin-bottom: 20px;
}

/* Dashboard Form */
.dash-form {
	max-width: 900px;
}

.dash-form-section {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	border-radius: var(--radius-xl);
	padding: 40px;
	margin-bottom: 30px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	transition: var(--transition-base);
}

.dash-form-section:hover {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
	background: #ffffff;
}

.dash-form-section-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border-color, #e5e7eb);
	display: flex;
	align-items: center;
	gap: 10px;
}

.dash-form-section-title i {
	color: var(--primary-color, #2563eb);
}

.dash-fields-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.dash-field {
	margin-bottom: 20px;
}

.dash-field label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.dash-field input[type="text"],
.dash-field input[type="number"],
.dash-field input[type="file"],
.dash-field textarea,
.dash-select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--border-color, #d1d5db);
	border-radius: 8px;
	font-size: 0.95rem;
	background: #f9fafb;
	color: var(--text-dark);
	transition: all 0.3s ease;
	font-family: inherit;
}

.dash-field input:focus,
.dash-field textarea:focus,
.dash-select:focus {
	outline: none;
	border-color: var(--primary-color, #2563eb);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dash-field textarea {
	resize: vertical;
}

.dash-current-image {
	margin-bottom: 15px;
}

.dash-current-image img {
	border-radius: 8px;
	max-width: 150px;
	display: block;
	margin-bottom: 6px;
}

.dash-current-image small {
	color: #6b7280;
	font-size: 0.82rem;
}

.dash-form-actions {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
	.vesta-dashboard-wrap {
		grid-template-columns: 1fr;
	}

	.dash-sidebar {
		position: static;
	}

	.dash-fields-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.auth-container {
		padding: 25px 20px;
	}

	.btn-submit-property span {
		display: none;
	}
}