html {
    scroll-padding-top: 160px;
}

/* Accessibility Widget Styles */
        .accessibility-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 10000;
        }

        .accessibility-button {
            width: 60px;
            height: 60px;
            background: #007cba;
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
        }

        .accessibility-button:hover {
            background: #005a87;
            transform: scale(1.1);
        }

        .accessibility-button:focus {
            outline: 3px solid #ffcc00;
            outline-offset: 2px;
        }

        .accessibility-panel {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 280px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            display: none;
            overflow: hidden;
            border: 2px solid #007cba;
        }

        .accessibility-panel.show {
            display: block;
            animation: slideUp 0.3s ease;
        }

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

        .panel-header {
            background: #007cba;
            color: white;
            padding: 15px;
            font-weight: bold;
            text-align: center;
        }

        .panel-content {
            padding: 20px;
        }

        .control-group {
            margin-bottom: 20px;
        }

        .control-group:last-child {
            margin-bottom: 0;
        }

        .control-label {
            font-weight: bold;
            margin-bottom: 8px;
            display: block;
            color: #333;
        }

        .control-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .control-btn {
            flex: 1;
            padding: 8px 12px;
            border: 2px solid #007cba;
            background: white;
            color: #007cba;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-weight: bold;
            transition: all 0.2s ease;
            min-width: 60px;
        }

        .control-btn:hover {
            background: #f0f8ff;
        }

        .control-btn.active {
            background: #007cba;
            color: white;
        }

        .control-btn:focus {
            outline: 2px solid #ffcc00;
            outline-offset: 2px;
        }

        .reset-btn {
            width: 100%;
            padding: 12px;
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 15px;
            transition: background 0.2s ease;
        }

        .reset-btn:hover {
            background: #c82333;
        }

        .reset-btn:focus {
            outline: 2px solid #ffcc00;
            outline-offset: 2px;
        }

        /* Accessibility States */
        .high-contrast {
            background-color: #000000 !important;
            color: #ffffff !important;
        }

        .high-contrast h1,
        .high-contrast h2,
        .high-contrast h3,
        .high-contrast h4,
        .high-contrast h5,
        .high-contrast h6 {
            color: #ffffff !important;
        }

        .high-contrast .demo-section {
            background-color: #333333 !important;
            border-color: #ffffff !important;
            color: #ffffff !important;
        }

       .invert-colors {
    filter: invert(1) hue-rotate(180deg);
}

.invert-colors .accessibility-widget {
    filter: invert(1) hue-rotate(180deg);
}

        .large-text {
            font-size: 120% !important;
        }

        .larger-text {
            font-size: 140% !important;
        }

        .dyslexia-font {
            font-family: 'Comic Sans MS', cursive, sans-serif !important;
        }

        .highlight-links a {
            background-color: #ffff00 !important;
            color: #000000 !important;
            padding: 2px 4px !important;
            border-radius: 3px !important;
        }

        .reading-guide {
            position: relative;
        }

        .reading-guide::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.8) 45%,
                transparent 50%,
                transparent 55%,
                rgba(0, 0, 0, 0.8) 100%
            );
        }

        .big-cursor {
            cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M8 0L0 8L8 16L16 8Z" fill="black"/><path d="M8 2L2 8L8 14L14 8Z" fill="white"/></svg>'), auto !important;
        }

        .big-cursor * {
            cursor: inherit !important;
        }

        /* Screen reader text */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        @media (max-width: 768px) {
            .accessibility-panel {
                width: 260px;
                right: -10px;
            }
            
            .accessibility-widget {
                bottom: 15px;
                right: 15px;
            }
        }

/* Image Gallery Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.image-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2001;
}

.image-nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.image-nav-arrow.prev {
    left: 20px;
}

.image-nav-arrow.next {
    right: 20px;
}

.image-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2001;
}

.image-close-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2001;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .image-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .image-nav-arrow.prev {
        left: 10px;
    }
    
    .image-nav-arrow.next {
        right: 10px;
    }
    
    .image-close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .image-counter {
        bottom: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Make gallery images clickable */
.gallery-image-container {
    cursor: pointer;
}

.gallery-image-container:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* Alternative method for the foreclosure guide sections */
.section {
    scroll-margin-top: 120px;
}

/* Ensure consistent sticky nav behavior */
.mini-nav {
    position: sticky;
    top: 0;
    z-index: 100;
}



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        /* cities */

        .cities-grid-section {
        margin: 50px 0;
        text-align: center;
    }
    
    .cities-grid-section h2 {
        margin-bottom: 30px;
        font-size: 28px;
        color: #222;
    }
    
    .cities-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .city-item {
        height: 150px;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
        background-color: #f2efec;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .city-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .city-item-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
        transition: background 0.3s;
    }
    
    .city-item:hover .city-item-inner {
        background: linear-gradient(rgba(194, 171, 108, 0.7), rgba(194, 171, 108, 0.9));
    }
    
    .city-item h3 {
        color: #fff;
        font-size: 24px;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
        
        body {
            background-color: #fff;
            color: #333;
        }
        
        /* Navigation */
        .nav-container {
            background-color: #222;
            padding: 15px 0;
            width: 100%;
        }
        
        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        
   /* Logo styling */
   .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo .commercial-logo {
    height: 30px !important;
}

.logo .residential-logo {
    height: 90px !important; /* Make residential logo much larger */
}

/* Mobile - hide commercial logo, show only residential */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        gap: -30px;
        align-items: flex-start;
    }
    
    .logo .commercial-logo {
        display: block !important;
        height: 25px !important;
        align-items: flex-start;
    }
    
    .logo .residential-logo {
        display: block !important;
        height: 60px !important;
        width: 270px !important;
        order: 1; /* Put residential logo first (on top) */
    }
}
        
        .nav-links {
            display: flex;
        }
        
        .nav-links a {
            color: #f2efec;
            text-decoration: none;
            margin-left: 20px;
            font-weight: 600;
            font-size: 14px;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #c2ab6c;
        }
        
        .right-nav {
            display: flex;
            align-items: center;
        }
        
        .right-nav a {
            color: #f2efec;
            text-decoration: none;
            margin-left: 20px;
            font-size: 14px;
        }
        
        /* Banner */
        .banner {
            background-image: url('https://ideasplusactions.com/home/albersons/iStock_000056265196_Large-min.webp');
            background-size: cover;
            background-position: center;
            padding: 60px 0;
            color: #fff;
            position: relative;
        }
        
        .banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        .banner-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }
        
        .banner-text {
            max-width: 500px;
        }
        
        .banner-text h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #f2efec;
        }
        
        .banner-text h1 {
            font-size: 32px;
            margin-bottom: 30px;
            line-height: 1.2;
        }
        
        .search-box {
            background-color: #fff;
            border-radius: 5px;
            padding: 20px;
            max-width: 600px;
            margin-top: 30px;
        }
        
        .search-box h2 {
            color: #222;
            margin-bottom: 15px;
            text-align: center;
            font-size: 22px;
        }
        
        .search-container {
            display: flex;
            position: relative;
        }
        
        .search-input {
            flex-grow: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-right: none;
            font-size: 16px;
        }
        
        .search-button {
            padding: 12px 20px;
            background-color: #f2efec;
            border: 1px solid #ddd;
            color: #333;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .search-button:hover {
            background-color: #e5e0da;
        }
        
        .suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            max-height: 300px;
            overflow-y: auto;
            background-color: white;
            border: 1px solid #ddd;
            z-index: 1000;
            display: none;
            border-top: none;
        }
        
        .suggestion-item {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid #eee;
            color: #333;
        }
        
        .suggestion-item:hover {
            background-color: #f5f5f5;
        }

        /* video */

        /* Add this CSS to your style section */
.content .field--name-field-media-video-embed-field {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.video-embed-field-responsive-video {
    position: relative;
    width: 100%;
    max-width: 854px; /* This matches your iframe width */
    margin: 0 auto;
}

.video-embed-field-responsive-video iframe {
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Add a title for the video section if needed */
.video-section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #222;
}

        /* Content */
        .content {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        /* Property Listings */
     /* Enhanced Listing Item Styles */
/* Enhanced Listing Item Styles */
.listing-item {
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

.listing-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.listing-content {
    display: flex;
    flex-direction: row;
}

.listing-image {
    width: 35%;
    max-width: 200px;
    overflow: hidden;
}

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

.listing-details {
    padding: 15px;
    flex-grow: 1;
}

.listing-details h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color:white;
    font-size: 18px;
}

.listing-location {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.listing-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #c2ab6c;
}

.listing-subtitle {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.listing-size {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}
        
        /* Property Details */

/* Property Details Styling */
.property-details-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.property-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.property-header h2 {
    margin-bottom: 10px;
    color: #222;
    font-size: 24px;
}

.property-address {
    font-size: 16px;
    color: #666;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

.gallery-image-container {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-image-container img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-image-container:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
}

/* Sections */
.property-summary, 
.property-highlights, 
.property-facts, 
.unit-mix-section, 
.amenities-section,
.broker-section {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.property-summary h3,
.property-highlights h3,
.property-facts h3,
.unit-mix-section h3,
.amenities-section h3,
.broker-section h3 {
    margin-bottom: 15px;
    color: #222;
    font-size: 20px;
}

.property-summary p {
    line-height: 1.6;
    color: #444;
}

/* Highlights */
.highlights-list {
    list-style-type: none;
    padding: 0;
color:black;
}

.highlight-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
color:black;
    line-height: 1.5;
}

.highlight-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color:black;
    font-size: 18px;
}

/* Property Facts */
.facts-grid {
    display: grid;
color:black;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.fact-item {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.fact-label {
    font-weight: bold;
    color: #555;
}

/* Unit Mix Table */
.unit-mix-table {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.unit-mix-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f2efec;
    font-weight: bold;
}

.unit-mix-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #ddd;
}

.unit-mix-cell {
    padding: 12px 15px;
    text-align: left;
    border-right: 1px solid #ddd;
}

.unit-mix-cell:last-child {
    border-right: none;
}

/* Amenities */
.amenities-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.amenity-group h4 {
    margin-bottom: 10px;
    color: #555;
}

.amenity-list {
    list-style-type: none;
    padding: 0;
}

.amenity-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
color:black;
}

.amenity-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c2ab6c;
}

/* Broker Section */
.broker-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.broker-company-logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.broker-company-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.broker-details h4 {
    margin-bottom: 5px;
    color: #222;
}

.broker-company, .broker-location, .broker-phone {
    margin-bottom: 5px;
    color: #555;
}

/* Error message */
.error-message {
    padding: 25px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
}

.error-message h3 {
    margin-bottom: 10px;
    color: #c2ab6c;
}

        #propertyDetails {
            margin-top: 20px;
            display: none;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        
        .available-space {
            margin: 15px 0;
            padding: 15px;
            border-left: 3px solid #c2ab6c;
            background-color: #fff;
            border-radius: 5px;
        }
        
        .highlight {
            margin: 5px 0;
        }
        
        .image-gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 15px;
        }
        
        .image-gallery img {
            width: 180px;
            height: 120px;
            object-fit: cover;
            border-radius: 5px;
            transition: transform 0.3s;
        }
        
        .image-gallery img:hover {
            transform: scale(1.05);
        }
        
        .navigation-buttons {
            margin-bottom: 20px;
        }
        
        .back-button {
            padding: 10px 15px;
            background-color: #f2efec;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            margin-right: 10px;
            transition: background-color 0.3s;
        }
        
        .back-button:hover {
            background-color: #e5e0da;
        }
        
        /* Loading */
        #loading {
            display: none;
            text-align: center;
            padding: 20px;
            font-weight: bold;
        }
        
        /* Footer */
        .footer {
            background-color: #222;
            padding: 30px 0;
            color: #f2efec;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .footer-left {
            flex: 1;
            min-width: 300px;
            margin-bottom: 20px;
        }
        
        .footer-left img {
            height: 50px;
            margin-bottom: 15px;
        }
        
        .footer-left p {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        
        .footer-right {
            flex: 1;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            margin-bottom: 20px;
        }
        
        .contact-info {
            text-align: right;
            margin-bottom: 20px;
        }
        
        .contact-info h3 {
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        .contact-info p {
            font-size: 14px;
            line-height: 1.6;
        }
        
        .footer-bottom {
            background-color: #c2ab6c;
            padding: 15px 0;
        }
        
        .footer-bottom-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .footer-links {
            display: flex;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: #222;
            text-decoration: none;
            margin-right: 20px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .copyright {
            font-size: 12px;
            color: #222;
        }

        .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f2efec;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}
        
        /* MOBILE RESPONSIVE IMPROVEMENTS */
        
        /* Navigation - Mobile */
        @media (max-width: 768px) {
            .nav-content {
                padding: 0 15px;
                position: relative;
            }

            .menu-toggle {
        display: block;
    }
            
            .nav-links {
                display: none;
                 position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px 0;
        z-index: 1000;
            }

             .nav-links.active {
        display: flex;
    }
            
            .logo img {
                height: 25px;
            }

             .nav-links a:last-child {
        border-bottom: none;
    }
        }
        
        /* Banner - Mobile */
        @media (max-width: 768px) {
            .banner {
                padding: 40px 0;
            }
            
            .banner-content {
                padding: 0 15px;
            }
            
            .banner-text h3 {
                font-size: 16px;
                margin-bottom: 10px;
            }
            
            .banner-text h1 {
                font-size: 24px;
                margin-bottom: 20px;
                line-height: 1.1;
            }
            
            .search-box {
                padding: 15px;
                margin-top: 20px;
            }
            
            .search-box h2 {
                font-size: 18px;
                margin-bottom: 10px;
            }
            
            .search-container {
                flex-direction: column;
            }
            
            .search-input {
                border: 1px solid #ddd;
                border-bottom: none;
                margin-bottom: 0;
                border-radius: 5px 5px 0 0;
            }
            
            .search-button {
                border-radius: 0 0 5px 5px;
                padding: 12px;
                text-align: center;
            }
        }
        
        /* Cities Grid - Mobile */
        @media (max-width: 768px) {
            .cities-grid-section {
                margin: 30px 0;
            }
            
            .cities-grid-section h2 {
                font-size: 22px;
                margin-bottom: 20px;
                padding: 0 15px;
            }
            
            .cities-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                padding: 0 15px;
            }
            
            .city-item {
                height: 120px;
            }
            
            .city-item h3 {
                font-size: 18px;
            }
        }
        
        @media (max-width: 480px) {
            .cities-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            .city-item h3 {
                font-size: 16px;
            }
        }
        
        /* Content - Mobile */
        @media (max-width: 768px) {
            .content {
                padding: 0 15px;
                margin: 20px auto;
            }
        }
        
        /* Video - Mobile */
        @media (max-width: 768px) {
            .video-section-title {
                font-size: 22px;
                padding: 0 15px;
            }
            
            .video-embed-field-responsive-video iframe {
                width: 100%;
                height: 250px;
            }
        }
        
        @media (max-width: 480px) {
            .video-embed-field-responsive-video iframe {
                height: 200px;
            }
        }
        
        /* Listing Items - Mobile */
        @media (max-width: 768px) {
            .listing-item {
                margin-bottom: 15px;
            }
            
            .listing-content {
                flex-direction: column;
            }
            
            .listing-image {
                width: 100%;
                max-width: none;
                height: 180px;
            }
            
            .listing-details {
                padding: 12px;
            }
            
            .listing-details h3 {
                font-size: 16px;
                line-height: 1.3;
            }
        }
        
        /* Property Details - Mobile */
        @media (max-width: 768px) {
            .property-header {
                padding: 20px 15px;
            }
            
            .property-header h2 {
                font-size: 20px;
                line-height: 1.3;
            }
            
            .property-address {
                font-size: 14px;
            }
            
            .image-gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                padding: 15px;
            }
            
            .gallery-image-container img {
                height: 120px;
            }
            
            .property-summary, 
            .property-highlights, 
            .property-facts, 
            .unit-mix-section, 
            .amenities-section,
            .broker-section {
                padding: 20px 15px;
color:black;
            }
            
            .property-summary h3,
            .property-highlights h3,
            .property-facts h3,
            .unit-mix-section h3,
            .amenities-section h3,
            .broker-section h3 {
                font-size: 18px;
            }
            
            .facts-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            .amenities-container {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .unit-mix-header, .unit-mix-row {
                grid-template-columns: 1fr 1fr;
                font-size: 14px;
            }
            
            .unit-mix-header .unit-mix-cell:nth-child(3),
            .unit-mix-header .unit-mix-cell:nth-child(4),
            .unit-mix-row .unit-mix-cell:nth-child(3),
            .unit-mix-row .unit-mix-cell:nth-child(4) {
                display: none;
            }
            
            .unit-mix-cell {
                padding: 8px 10px;
            }
            
            .broker-card {
                flex-direction: column;
                text-align: center;
                padding: 15px;
            }
            
            .broker-company-logo {
                margin-right: 0;
                margin-bottom: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .image-gallery {
                grid-template-columns: 1fr;
            }
            
            .facts-grid {
                grid-template-columns: 1fr;
            }
            
            .unit-mix-header, .unit-mix-row {
                grid-template-columns: 1fr;
            }
            
            .unit-mix-header .unit-mix-cell:nth-child(2),
            .unit-mix-header .unit-mix-cell:nth-child(3),
            .unit-mix-header .unit-mix-cell:nth-child(4),
            .unit-mix-row .unit-mix-cell:nth-child(2),
            .unit-mix-row .unit-mix-cell:nth-child(3),
            .unit-mix-row .unit-mix-cell:nth-child(4) {
                display: none;
            }
        }
        
        /* Navigation Buttons - Mobile */
        @media (max-width: 768px) {
            .navigation-buttons {
                margin-bottom: 15px;
            }
            
            .back-button {
                padding: 12px 16px;
                font-size: 14px;
                width: 100%;
                margin-bottom: 10px;
                margin-right: 0;
            }
        }
        
        /* Pagination - Mobile */
        @media (max-width: 768px) {
            .pagination {
                flex-wrap: wrap;
                gap: 5px;
            }
            
            .page-btn {
                padding: 8px 12px !important;
                font-size: 14px !important;
                margin: 0 2px !important;
            }
            
            .pagination span {
                padding: 8px 10px !important;
                font-size: 14px !important;
                margin: 0 2px !important;
            }
        }
        
        /* Footer - Mobile */
        @media (max-width: 768px) {
            .footer {
                padding: 20px 0;
            }
            
            .footer-content {
                flex-direction: column;
                padding: 0 15px;
            }
            
            .footer-left {
                min-width: auto;
                margin-bottom: 20px;
            }
            
            .footer-left img {
                height: 40px;
            }
            
            .footer-right {
                align-items: flex-start;
                min-width: auto;
            }
            
            .contact-info {
                text-align: left;
            }
            
            .footer-bottom-content {
                flex-direction: column;
                padding: 0 15px;
                text-align: center;
            }
            
            .footer-links {
                justify-content: center;
                margin-bottom: 15px;
            }
            
            .footer-links a {
                margin: 0 10px 10px 10px;
                font-size: 11px;
            }
            
            .copyright {
                text-align: center;
            }
        }
        
        /* Street View Containers - Mobile */
        @media (max-width: 768px) {
            .pano-container {
                margin: 10px 0;
            }
            
            .pano-container > div {
                height: 200px !important;
            }
        }
        
        @media (max-width: 480px) {
            .pano-container > div {
                height: 150px !important;
            }
        }
        
        /* Modal Contact Form - Mobile */
        @media (max-width: 768px) {
            .contact-form-modal {
                width: 90% !important;
                padding: 15px !important;
                margin: 0 5% !important;
            }
            
            .contact-form-modal input,
            .contact-form-modal textarea {
color:black;
                font-size: 16px !important; /* Prevents zoom on iOS */
            }
        }
        
        /* Loading and Error Messages - Mobile */
        @media (max-width: 768px) {
            #loading {
                padding: 15px;
                font-size: 14px;
            }
            
            .error-message {
                padding: 20px 15px;
            }
            
            .error-message h3 {
                font-size: 18px;
            }
        }
        
        /* Contact Button - Mobile */
        @media (max-width: 768px) {
            .contact-button-container {
                margin-top: 20px !important;
                padding: 0 15px;
            }
            
            .contact-button {
                width: 100% !important;
                padding: 15px 20px !important;
                font-size: 16px !important;
            }
        }
        
        /* Foreclosure Guide Section - Mobile */
        @media (max-width: 768px) {
            .foreclosure-guide {
                padding: 20px 15px !important;
                margin: 0 !important;
            }
            
            .foreclosure-guide h1 {
                font-size: 24px !important;
                margin-bottom: 20px !important;
            }
            
            .intro {
                padding: 15px !important;
                margin-bottom: 20px !important;
            }
            
            .mini-nav {
                padding: 10px !important;
                margin-bottom: 20px !important;
            }
            
            .mini-nav div {
                flex-direction: column !important;
                gap: 8px !important;
            }
            
            .mini-nav a {
                padding: 10px 15px !important;
                font-size: 13px !important;
                text-align: center;
            }
            
            .section {
                padding: 20px 15px !important;
                margin-bottom: 25px !important;
            }
            
            .section h2 {
                font-size: 18px !important;
            }
            
            .section h3 {
                font-size: 16px !important;
            }
            
            .strategy {
                padding: 15px !important;
                margin-bottom: 20px !important;
            }
        }
        
        @media (max-width: 480px) {
            .foreclosure-guide h1 {
                font-size: 20px !important;
            }
            
            .mini-nav p {
                font-size: 12px !important;
            }
            
            .mini-nav a {
                font-size: 12px !important;
                padding: 8px 12px !important;
            }
        }