/* 
 * Main CSS for Preneurs Property Theme
 * Based on the provided prototype
 */

:root {
    --navy-blue: #0a2463;
    --light-orange: #ff9f1c;
    --light-orange-transparent: rgba(255, 159, 28, 0.1);
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    background-color: var(--light-gray);
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--white);
    color: var(--navy-blue);
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-left: 10px;
}

.site-title span {
    color: var(--light-orange);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-left: 2rem;
    position: relative;
}

.main-navigation a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.5rem 0;
    display: block;
}

.main-navigation a:hover {
    color: var(--light-orange);
}

.signin-btn {
    background-color: var(--light-orange) !important; /* Secondary color */
    color: var(--navy-blue) !important; /* Primary color for text */
    padding: 0.75rem 1.75rem !important; /* Increased padding for better spacing */
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    min-width: 100px; /* Ensure minimum width */
    margin-left: 0.5rem; /* Spacing from other menu items */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.signin-btn:hover {
    background-color: var(--light-orange) !important; /* Keep same background */
    color: var(--white) !important; /* Change text color to white on hover */
    transform: translateY(-2px); /* Add slight lift effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
}

.signin-btn:active {
    transform: translateY(0); /* Remove lift when clicked */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ensure proper spacing in navigation */
.main-navigation li.menu-item-highlight {
    margin-left: 1rem;
    margin-right: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Make sure the button aligns properly */
.main-navigation a.signin-btn {
    line-height: 1.5;
    height: auto;
    white-space: nowrap;
}

/* Add a subtle animation effect on hover */
.signin-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.signin-btn:hover::after {
    left: 100%;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .signin-btn {
        padding: 0.6rem 1.5rem !important;
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        min-width: auto;
    }
    
    .main-navigation li.menu-item-highlight {
        margin-left: 0;
        width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Desktop specific improvements */
@media (min-width: 769px) {
    .signin-btn {
        padding: 0.75rem 2rem !important; /* Even more padding for desktop */
    }
}

/* Hero Search Section */
.hero-search {
    background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.9)), url('<?php echo esc_url(get_option("preneurs_hero_background")); ?>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-type {
    min-width: 150px;
}

.search-type label {
    display: block;
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-type select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    color: var(--dark-gray);
    background-color: white;
}

.search-input {
    flex: 1;
    min-width: 300px;
}

.search-input label {
    display: block;
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-bar {
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--medium-gray);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-btn {
    background-color: var(--light-orange);
    color: var(--navy-blue);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #ff8c00;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    color: var(--navy-blue);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--light-orange);
    display: inline-block;
}

/* Featured Properties */
.filters {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.7rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    min-width: 150px;
    color: var(--dark-gray);
}

.filter-btn {
    background-color: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn:hover {
    background-color: #0d2d7a;
}

.reset-btn {
    background-color: transparent;
    color: var(--navy-blue);
    border: 1px solid var(--navy-blue);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.property-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: var(--light-orange);
    color: var(--navy-blue);
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.property-details {
    padding: 1.5rem;
}

.property-price {
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-address {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature i {
    color: var(--light-orange);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.property-btn {
    display: block;
    width: 100%;
    background-color: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
}

.property-btn:hover {
    background-color: #0d2d7a;
}

/* Featured Locations */
.featured-locations {
    margin: 4rem 0;
}

.locations-container {
    position: relative;
    overflow: hidden;
}

.locations-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--light-orange) var(--medium-gray);
}

.locations-scroll::-webkit-scrollbar {
    height: 8px;
}

.locations-scroll::-webkit-scrollbar-track {
    background: var(--medium-gray);
    border-radius: 4px;
}

.locations-scroll::-webkit-scrollbar-thumb {
    background-color: var(--light-orange);
    border-radius: 4px;
}

.location-card {
    flex: 0 0 auto;
    width: 280px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-image {
    height: 180px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.location-info {
    padding: 1.5rem;
}

.location-name {
    color: var(--navy-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.location-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.location-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-stat i {
    color: var(--light-orange);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

/* Recent Blogs - HOME PAGE VERSION */
.recent-blogs {
    margin: 4rem 0;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 180px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background-color: var(--light-orange-transparent);
    color: var(--light-orange);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.blog-title {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--dark-gray);
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    color: var(--light-orange);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--light-orange);
}

.footer-column p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--light-orange);
    color: var(--navy-blue);
}

.read-more-btn {
    display: inline-block;
    background-color: var(--light-orange);
    color: var(--navy-blue);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #ff8c00;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Single Property Page */
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    height: 400px;
}

.main-image {
    background-size: cover;
    background-position: center;
    border-radius: 8px 0 0 0;
}

.side-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

.side-image {
    background-size: cover;
    background-position: center;
    border-radius: 0 8px 0 0;
}

.property-info {
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.property-description h2 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-feature i {
    color: var(--light-orange);
}

.property-sidebar {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.property-price-large {
    color: var(--navy-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.agent-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.agent-info h3 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

/* Single Location Page */
.location-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 36, 99, 0.9));
    color: var(--white);
    padding: 2rem;
}

.location-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.location-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.location-stat-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.location-stat-value {
    color: var(--navy-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.location-stat-label {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* ============================================
   SINGLE BLOG POST PAGE - Specific Styles
   ============================================ */
.single-post .blog-detail-grid {
    display: grid;
    grid-template-columns: 72% 26%;
    gap: 2%;
    margin-top: 1.5rem;
    position: relative;
}

/* Single Post Card */
.single-post .blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.single-post .blog-title {
    color: var(--navy-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.single-post .blog-featured-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

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

/* Single Post Breadcrumbs */
.single-post .blog-breadcrumbs {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.single-post .blog-breadcrumbs a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
}

.single-post .blog-breadcrumbs a:hover {
    color: var(--light-orange);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--dark-gray);
}

/* Single Post Meta Information */
.single-post .blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.single-post .blog-meta-info > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-post .blog-meta-info i {
    color: var(--light-orange);
    font-size: 1rem;
}

.single-post .meta-category a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
}

.single-post .meta-category a:hover {
    color: var(--light-orange);
}

/* Single Post Content */
.single-post .entry-content {
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
}

.single-post .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post .entry-content h2 {
    color: var(--navy-blue);
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.single-post .entry-content h3 {
    color: var(--navy-blue);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

/* Single Post Tags */
.single-post .post-tags {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.single-post .post-tags h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.single-post .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.single-post .tag-item {
    background-color: var(--medium-gray);
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: background-color 0.3s;
}

.single-post .tag-item:hover {
    background-color: #d0d7e0;
    color: var(--navy-blue);
}

/* Single Post Social Sharing */
.single-post .post-share {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.single-post .post-share h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.single-post .social-share-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.single-post .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.single-post .share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.single-post .facebook { background: #3b5998; }
.single-post .twitter { background: #1da1f2; }
.single-post .instagram { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.single-post .whatsapp { background: #25d366; }
.single-post .link-copy { 
    background-color: var(--navy-blue);
    color: var(--white);
}

/* Similar Posts Section */
.single-post .similar-posts-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.single-post .section-title {
    color: var(--navy-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--light-orange);
    display: inline-block;
}

.single-post .similar-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.single-post .similar-post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border: 1px solid var(--medium-gray);
}

.single-post .similar-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.single-post .similar-post-image {
    display: block;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.single-post .similar-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.single-post .similar-post-card:hover .similar-post-thumb {
    transform: scale(1.05);
}

.single-post .similar-post-content {
    padding: 1.5rem;
}

.single-post .similar-post-content h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.single-post .similar-post-content h3 a {
    color: var(--navy-blue);
    text-decoration: none;
}

.single-post .similar-post-content h3 a:hover {
    color: var(--light-orange);
}

.single-post .similar-post-meta {
    display: flex;
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.single-post .similar-post-excerpt {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.single-post .read-more {
    display: inline-block;
    color: var(--navy-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.single-post .read-more:hover {
    color: var(--light-orange);
}

/* ============================================
   COMMENTS SECTION - COMPLETE STYLING
   ============================================ */

.comments-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
}

.comments-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 159, 28, 0.2);
}

.comments-title {
    color: var(--navy-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.comments-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.8;
}

/* Comments wrapper */
.comments-wrapper {
    margin-top: 2rem;
}

/* Comments list container */
.comments-list-container {
    margin-bottom: 3rem;
}

/* Individual comment item */
.comment-item {
    margin-bottom: 1.5rem;
    position: relative;
}

.comment-body {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 1.8rem;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    position: relative;
}

.comment-body:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 36, 99, 0.1);
    border-color: var(--light-orange);
}

/* Comment author info */
.comment-author-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.comment-author-avatar {
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.comment-author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--light-orange);
    object-fit: cover;
    background-color: var(--white);
}

.comment-author-details {
    flex: 1;
}

.comment-author-name {
    margin-bottom: 0.5rem;
}

.comment-author-name .fn {
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.2rem;
    font-style: normal;
    text-decoration: none;
    transition: color 0.3s;
}

.comment-author-name .fn:hover {
    color: var(--light-orange);
}

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

.comment-time {
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.comment-awaiting-moderation {
    background-color: rgba(255, 159, 28, 0.1);
    color: var(--light-orange);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 159, 28, 0.3);
}

/* Comment content */
.comment-content {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

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

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

/* Comment actions */
.comment-actions {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.comment-reply-link a,
.comment-edit-link a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    background-color: rgba(10, 36, 99, 0.05);
    transition: all 0.3s;
}

.comment-reply-link a:hover,
.comment-edit-link a:hover {
    background-color: var(--light-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.comment-reply-link a i,
.comment-edit-link a i {
    font-size: 0.9rem;
}

/* No comments message */
.no-comments-message {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.05) 0%, rgba(10, 36, 99, 0.05) 100%);
    border-radius: 10px;
    margin: 2rem 0 3rem 0;
    border: 2px dashed rgba(255, 159, 28, 0.3);
}

.no-comments-message p {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Comment form container */
.comment-form-container {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comment-form {
    margin-top: 0;
}

/* Comment form fields grid */
.comment-form-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

@media (max-width: 768px) {
    .comment-form-fields {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 0;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
    display: block;
    color: var(--navy-blue);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-gray);
    background-color: var(--white);
    transition: all 0.3s;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.15);
}

/* Comment textarea */
.comment-form-comment {
    margin-bottom: 2rem;
}

.comment-form-comment textarea {
    width: 100%;
    min-height: 200px;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    transition: all 0.3s;
    resize: vertical;
    font-family: inherit;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.15);
}

/* Comment form notes */
.comment-notes {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 1.2rem;
    background-color: rgba(255, 159, 28, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--light-orange);
}

.required {
    color: #e53935;
    font-weight: 700;
}

/* Submit button */
.comment-submit-btn {
    background: linear-gradient(135deg, var(--light-orange) 0%, #ff8c00 100%);
    color: var(--navy-blue);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
    position: relative;
    overflow: hidden;
}

.comment-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 159, 28, 0.4);
    background: linear-gradient(135deg, #ff8c00 0%, var(--light-orange) 100%);
}

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

/* Comments closed */
.comments-closed {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--light-gray);
    border-radius: 12px;
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    border: 2px solid var(--medium-gray);
}

/* Comment navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.nav-previous a,
.nav-next a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(10, 36, 99, 0.05);
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: var(--light-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Nested comments (replies) */
.children {
    list-style: none;
    padding-left: 3rem;
    margin-top: 1.5rem;
    border-left: 3px solid rgba(255, 159, 28, 0.3);
}

@media (max-width: 768px) {
    .children {
        padding-left: 1.5rem;
    }
}

/* Nested comment styling */
.children .comment-body {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 159, 28, 0.2);
}

/* Single Post Sidebar - NARROWER WIDTH */
.single-post .blog-sidebar {
    position: sticky;
    top: 2rem;
    width: 100%;
}

.single-post .sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.single-post .sidebar-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.single-post .sidebar-widget h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
}

/* Sidebar Categories List */
.single-post .categories-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.single-post .categories-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--medium-gray);
}

.single-post .categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.single-post .categories-list a {
    color: var(--dark-gray);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-post .categories-list a:hover {
    color: var(--light-orange);
}

.single-post .cat-count {
    background-color: var(--light-orange);
    color: var(--navy-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recent Posts Widget */
.single-post .recent-posts-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.single-post .recent-posts-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.single-post .recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.single-post .recent-posts-list a {
    color: var(--dark-gray);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
}

.single-post .recent-posts-list a:hover {
    color: var(--light-orange);
}

.single-post .recent-posts-list .post-date {
    color: var(--dark-gray);
    font-size: 0.85rem;
    opacity: 0.8;
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* Newsletter Form */
.single-post #sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.single-post #sidebar-newsletter-form input {
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--dark-gray);
}

.single-post #sidebar-newsletter-form input:focus {
    outline: none;
    border-color: var(--light-orange);
}

.single-post #sidebar-newsletter-form button {
    background-color: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.single-post #sidebar-newsletter-form button:hover {
    background-color: #0d2d7a;
}

/* Navigation Buttons */
.single-post .blog-navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.single-post .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.single-post .home-btn {
    background-color: var(--medium-gray);
    color: var(--dark-gray);
}

.single-post .home-btn:hover {
    background-color: #d0d7e0;
    color: var(--navy-blue);
}

.single-post .more-blogs-btn {
    background-color: var(--light-orange);
    color: var(--navy-blue);
}

.single-post .more-blogs-btn:hover {
    background-color: #ff8c00;
    color: var(--navy-blue);
}

/* Archive Pages */
.properties-grid,
.locations-grid,
.blogs-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.page-hero {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.back-btn {
    display: inline-block;
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #0d2d7a;
}

/* WordPress Default Elements */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--light-gray);
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.breadcrumbs a {
    color: var(--navy-blue);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--light-orange);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

.location-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Fix for Recent Blogs Title Links */
.recent-blogs .blog-title {
    color: var(--navy-blue);
}

.recent-blogs .blog-title a,
.recent-blogs .blog-title a:visited,
.recent-blogs .blog-title a:hover,
.recent-blogs .blog-title a:focus {
    color: inherit;
    text-decoration: none;
}

.recent-blogs .blog-title a:hover {
    color: var(--light-orange);
}
/* Blog Sidebar Widget Styles */
.blog-sidebar .widget {
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-sidebar .widget-title {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e9ecef;
}

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

.categories-list a {
    color: var(--navy-blue);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: var(--light-orange);
}

.cat-count {
    background-color: rgba(255, 159, 28, 0.1);
    color: var(--light-orange);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e9ecef;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list a {
    color: var(--navy-blue);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: var(--light-orange);
}

.recent-posts-list .post-date {
    display: block;
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-email {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.newsletter-submit {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

.newsletter-message p {
    margin: 0;
    font-size: 0.9rem;
}
/* Preneurs Property Search Widget Styles */
.preneurs-search-widget {
    margin-bottom: 2rem;
}

.preneurs-search-widget .widget-title {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
}

.preneurs-search-form {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-input {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: var(--navy-blue);
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

.search-input::placeholder {
    color: #6c757d;
}

.search-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-type-select {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    color: var(--navy-blue);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    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='%230a2463' 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 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.search-type-select:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

.search-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--light-orange);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background-color: var(--light-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 159, 28, 0.2);
}

.search-submit-btn:active {
    transform: translateY(0);
}

.search-submit-btn i {
    font-size: 16px;
}

.search-submit-btn .btn-text {
    display: inline-block;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .search-input-wrapper {
        flex-direction: row;
        gap: 0;
    }
    
    .search-input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }
    
    .search-controls {
        flex-shrink: 0;
    }
    
    .search-type-select {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        border-right: none;
        min-width: 120px;
    }
    
    .search-submit-btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

@media (max-width: 767px) {
    .search-controls {
        flex-direction: column;
    }
    
    .search-type-select,
    .search-submit-btn {
        width: 100%;
    }
    
    .search-submit-btn .btn-text {
        display: none;
    }
    
    .search-submit-btn {
        min-width: auto;
        padding: 10px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .preneurs-search-form {
        background-color: #2d3748;
        border-color: #4a5568;
    }
    
    .search-input,
    .search-type-select {
        background-color: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .search-input::placeholder {
        color: #a0aec0;
    }
    
    .search-type-select {
        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='%23e2e8f0' 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");
    }
}

/* Animation for search focus */
@keyframes searchPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 159, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0); }
}

.search-input:focus,
.search-type-select:focus {
    animation: searchPulse 1.5s infinite;
}

/* Loading state */
.search-submit-btn.loading {
    position: relative;
    color: transparent;
}

.search-submit-btn.loading:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: buttonSpin 0.8s linear infinite;
}

@keyframes buttonSpin {
    to { transform: rotate(360deg); }
}

/* Search results highlighting */
.search-results-highlight {
    background-color: rgba(255, 159, 28, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}
/* Search Results Page Styles */
.search-type-filter {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    color: var(--navy-blue);
}

.filter-badge {
    background-color: var(--light-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.search-query {
    color: var(--light-orange);
    font-weight: 700;
}

/* Search result items */
.property-search-item,
.location-search-item,
.blog-search-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.property-search-item:hover,
.location-search-item:hover,
.blog-search-item:hover {
    transform: translateY(-5px);
}

/* Search pagination */
.search-pagination {
    margin-top: 3rem;
    text-align: center;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #f8f9fa;
    color: var(--navy-blue);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-pagination .page-numbers.current {
    background-color: var(--light-orange);
    color: white;
}

.search-pagination .page-numbers:hover:not(.current) {
    background-color: var(--navy-blue);
    color: white;
}

/* No results styling */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.search-form-container {
    max-width: 500px;
    margin: 2rem auto;
}

.search-input-group {
    display: flex;
    gap: 0;
}

.search-input-group .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--navy-blue);
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 16px;
}

.search-input-group .search-submit {
    background-color: var(--light-orange);
    color: white;
    border: 2px solid var(--light-orange);
    border-radius: 0 6px 6px 0;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-input-group .search-submit:hover {
    background-color: var(--light-orange-dark);
}

.search-suggestions {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.search-suggestions h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style-type: none;
    padding-left: 0;
}

.search-suggestions li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.search-suggestions li:before {
    content: "•";
    color: var(--light-orange);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 4px;
}

.quick-links {
    margin-top: 2rem;
}

.quick-links h5 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.quick-link-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--navy-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-type-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .quick-link-buttons {
        flex-direction: column;
    }
    
    .btn-link {
        text-align: center;
    }
}
/* ====== SIDEBAR SEARCH WIDGET FIXES (ONLY AFFECTS WIDGET) ====== */

/* Target ONLY the widget in sidebar */
.blog-sidebar .preneurs-search-widget,
.widget-area .preneurs-search-widget,
.widget .preneurs-search-widget {
    margin-bottom: 1.5rem;
    width: 100%;
}

.blog-sidebar .preneurs-search-form,
.widget-area .preneurs-search-form,
.widget .preneurs-search-form {
    width: 100%;
    max-width: 100%;
}

.blog-sidebar .search-input-wrapper,
.widget-area .search-input-wrapper,
.widget .search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.blog-sidebar .search-input,
.widget-area .search-input,
.widget .search-input {
    width: 100% !important;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--navy-blue);
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.blog-sidebar .search-input:focus,
.widget-area .search-input:focus,
.widget .search-input:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 2px rgba(255, 159, 28, 0.1);
}

.blog-sidebar .search-controls,
.widget-area .search-controls,
.widget .search-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.blog-sidebar .search-type-select,
.widget-area .search-type-select,
.widget .search-type-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--navy-blue);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    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='%230a2463' 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 10px center;
    background-size: 14px;
    padding-right: 35px;
}

.blog-sidebar .search-submit-btn,
.widget-area .search-submit-btn,
.widget .search-submit-btn {
    width: 100%;
    padding: 10px 15px;
    background-color: var(--light-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blog-sidebar .search-submit-btn:hover,
.widget-area .search-submit-btn:hover,
.widget .search-submit-btn:hover {
    background-color: var(--light-orange-dark);
}

/* Desktop layout - side by side */
@media (min-width: 768px) {
    .blog-sidebar .search-controls,
    .widget-area .search-controls,
    .widget .search-controls {
        flex-direction: row;
        gap: 5px;
    }
    
    .blog-sidebar .search-type-select,
    .widget-area .search-type-select,
    .widget .search-type-select {
        width: 60%;
        font-size: 13px;
        padding: 9px 10px;
    }
    
    .blog-sidebar .search-submit-btn,
    .widget-area .search-submit-btn,
    .widget .search-submit-btn {
        width: 40%;
        padding: 9px 10px;
        font-size: 13px;
    }
    
    .blog-sidebar .search-submit-btn .btn-text,
    .widget-area .search-submit-btn .btn-text,
    .widget .search-submit-btn .btn-text {
        display: inline-block;
    }
}

/* Mobile layout - stacked */
@media (max-width: 767px) {
    .blog-sidebar .search-submit-btn .btn-text,
    .widget-area .search-submit-btn .btn-text,
    .widget .search-submit-btn .btn-text {
        display: none;
    }
    
    .blog-sidebar .search-submit-btn,
    .widget-area .search-submit-btn,
    .widget .search-submit-btn {
        padding: 10px;
    }
}

/* Responsive Design for Single Posts */
@media (max-width: 992px) {
    .single-post .blog-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .single-post .blog-sidebar {
        position: static;
    }
    
    .single-post .similar-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post .blog-navigation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .single-post .nav-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .single-post .comment-form-fields {
        grid-template-columns: 1fr;
    }
    
    .comments-section,
    .comment-form-container {
        padding: 1.8rem;
    }
    
    .comment-body {
        padding: 1.5rem;
    }
    
    .comment-author-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-author-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment-reply-link a,
    .comment-edit-link a {
        width: 100%;
        justify-content: center;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .children {
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .single-post .blog-title {
        font-size: 2rem;
    }
    
    .single-post .blog-meta-info {
        gap: 1rem;
    }
    
    .comments-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .single-post .blog-card,
    .single-post .similar-posts-section,
    .single-post .comments-section,
    .single-post .sidebar-widget {
        padding: 1.5rem;
    }
    
    .single-post .blog-title {
        font-size: 1.8rem;
    }
    
    .comment-form-container {
        padding: 1.5rem;
    }
}
/* ============================================
   SINGLE PROPERTY PAGE ENHANCEMENTS
   ============================================ */

/* Property Top Section */
.property-top-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.property-gallery-wrapper {
    grid-column: 1;
}

.property-quick-info {
    grid-column: 2;
}

.quick-info-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 2rem;
}

.property-quick-meta {
    margin: 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.property-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.full-width {
    width: 100%;
}

.secondary-btn {
    background-color: var(--light-orange) !important;
    color: var(--navy-blue) !important;
}

.secondary-btn:hover {
    background-color: var(--light-orange-dark) !important;
}

.agent-quick-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.agent-quick-info h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-details h4 {
    color: var(--navy-blue);
    margin-bottom: 0.3rem;
}

.agent-title {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.agent-contact p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Property Content Wrapper */
.property-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-main-content {
    grid-column: 1;
}

.property-sidebar {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.content-box h2 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Featured Properties Widget */
.featured-properties-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-property-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.featured-property-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.featured-property-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.featured-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-property-image img:hover {
    transform: scale(1.05);
}

.featured-property-info {
    flex: 1;
}

.featured-property-info h4 {
    margin-bottom: 0.5rem;
}

.featured-property-info h4 a {
    color: var(--navy-blue);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
}

.featured-property-info h4 a:hover {
    color: var(--light-orange);
}

.featured-property-price {
    color: var(--light-orange);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.featured-property-meta {
    display: flex;
    gap: 1rem;
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.featured-property-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-details-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.view-details-link:hover {
    color: var(--light-orange);
}

.no-properties {
    color: var(--dark-gray);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Contact Widget */
.contact-widget p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-support-btn {
    display: block;
    background-color: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 0.7rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-support-btn:hover {
    background-color: var(--light-orange);
    color: var(--navy-blue);
}

/* Related Properties Section */
.related-properties {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--medium-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .property-top-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-info-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .property-top-section {
        grid-template-columns: 1fr;
    }
    
    .property-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .side-images {
        grid-template-columns: 1fr 1fr;
        margin-top: 0.5rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1.2rem;
    }
    
    .featured-property-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .featured-property-image {
        width: 100%;
        height: 150px;
        margin-bottom: 1rem;
    }
}

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

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: rgba(255, 159, 28, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--light-orange);
}

.property-feature i {
    color: var(--light-orange);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .property-features-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   SINGLE PROPERTY PAGE FIXES - UPDATED
   ============================================ */

/* Combined Main Section */
.property-main-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0; /* No gap between gallery and pricing box */
    margin-bottom: 0;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.property-gallery-wrapper {
    grid-column: 1;
    background-color: var(--white);
}

.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    height: 400px;
    width: 100%;
}

.main-image {
    background-size: cover;
    background-position: center;
    border-radius: 0;
    min-height: 400px;
}

.side-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

.side-image {
    background-size: cover;
    background-position: center;
    border-radius: 0;
    min-height: 197.5px;
}

.property-pricing-box {
    grid-column: 2;
    background-color: var(--white);
    padding: 2rem;
    border-left: 1px solid var(--medium-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-price-large {
    color: var(--navy-blue);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.property-quick-meta {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.property-quick-meta .property-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.property-quick-meta .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.property-quick-meta .feature i {
    color: var(--light-orange);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.property-quick-meta .feature span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.property-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

/* Content Area - No gap between gallery and description */
.property-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.property-main-content {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-box h2 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
}

.entry-content {
    line-height: 1.7;
    color: #333;
}

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

/* ============================================
   PROPERTY FEATURES LIST - FIXED & IMPROVED
   ============================================ */

/* Main container - ensures vertical stacking */
.property-features-list {
    display: block !important;
    width: 100%;
    margin-top: 1.5rem;
}

/* Each feature item - forces new line */
.property-features-list .feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    width: 100% !important;
    margin-bottom: 0.8rem !important;
    padding: 0.8rem 1rem !important;
    background-color: rgba(255, 159, 28, 0.05) !important;
    border-left: 4px solid var(--light-orange) !important;
    border-radius: 0 6px 6px 0 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
}

/* Icon styling */
.property-features-list .feature-item i {
    color: var(--light-orange) !important;
    font-size: 1.2rem !important;
    margin-top: 0.2rem !important;
    flex-shrink: 0 !important;
    min-width: 20px !important;
    text-align: center !important;
}

/* Text content - ensures proper wrapping */
.property-features-list .feature-item span {
    flex: 1 !important;
    color: #333 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    white-space: normal !important;
    display: inline-block !important;
}

/* Remove any flex/grid that might interfere */
.property-features-list,
.content-box .property-features-list,
.property-description-section + .property-features-section .property-features-list {
    display: block !important;
    flex-direction: unset !important;
    grid-template-columns: unset !important;
}

/* Ensure no inline display */
.feature-item,
.property-features-list div[class*="feature"] {
    display: flex !important;
}

/* Override any conflicting styles */
.property-features-list br {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-features-list .feature-item {
        padding: 0.7rem 0.9rem !important;
        gap: 0.8rem !important;
    }
    
    .property-features-list .feature-item span {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .property-features-list .feature-item {
        flex-direction: row !important; /* Keep icon and text on same line */
        align-items: flex-start !important;
    }
}

/* Sidebar */
.property-sidebar {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Agent Details Widget */
.agent-details-widget {
    order: -1; /* Move to top of sidebar */
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
}

.agent-info-compact h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.agent-title {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.agent-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--light-orange);
    width: 20px;
    text-align: center;
}

/* Featured Properties Widget */
.featured-properties-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
}

.featured-properties-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-property-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.featured-property-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.featured-property-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.featured-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-property-image img:hover {
    transform: scale(1.05);
}

.featured-property-info {
    flex: 1;
}

.featured-property-info h4 {
    margin-bottom: 0.5rem;
}

.featured-property-info h4 a {
    color: var(--navy-blue);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
}

.featured-property-info h4 a:hover {
    color: var(--light-orange);
}

.featured-property-price {
    color: var(--light-orange);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.featured-property-meta {
    display: flex;
    gap: 1rem;
    color: var(--dark-gray);
    font-size: 0.85rem;
}

.featured-property-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Related Properties */
.related-properties {
    grid-column: 1 / -1;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--medium-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .property-main-section {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }
    
    .property-pricing-box {
        border-left: none;
        border-top: 1px solid var(--medium-gray);
        padding: 1.5rem;
    }
    
    .property-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .property-gallery {
        height: 350px;
    }
    
    .main-image {
        min-height: 350px;
    }
    
    .side-image {
        min-height: 172.5px;
    }
}

@media (max-width: 768px) {
    .property-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .side-images {
        grid-template-columns: 1fr 1fr;
        margin-top: 0.5rem;
    }
    
    .main-image,
    .side-image {
        min-height: 250px;
        height: 250px;
    }
    
    .property-price-large {
        font-size: 1.8rem;
    }
    
    .property-quick-meta .property-features {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .featured-property-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .featured-property-image {
        width: 100%;
        height: 150px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .property-price-large {
        font-size: 1.6rem;
    }
    
    .property-quick-meta .property-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .property-quick-meta .feature {
        flex-direction: row;
        min-width: 100%;
        text-align: left;
        align-items: center;
    }
    
    .property-quick-meta .feature i {
        margin-right: 0.5rem;
        margin-bottom: 0;
    }
}

/* ============================================
   SCHEDULE MODAL STYLES
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.modal-content h3 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-orange);
}

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

.form-group label {
    display: block;
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--dark-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 2px rgba(255, 159, 28, 0.1);
}

/* ============================================
   HEADER BACK BUTTON
   ============================================ */
.page-header {
    margin-bottom: 2rem;
}

.page-header .meta {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.page-header .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--navy-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.page-header .back-btn:hover {
    background-color: #0d2d7a;
}