/* Main stylesheet - UPDATED WITH PROPERTY LIST STYLES - CHECK ME */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary-color: #1a365d;
    --primary-dark: #0f243e;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --text-color: #000000;
    --text-light: #4f5460;
    --bg-color: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: Open sans, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    padding: 0;
}

.breadcrumb-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb-separator {
    color: var(--border-color);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== HEADER & NAVBAR ===== */
.site-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: .5rem;
    /*! position: sticky; */
    top: 0;
    z-index: 1000;
    /*! box-shadow: var(--shadow); */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo svg {
    height: 40px;
    width: auto;
}

.logo img:hover,
.logo svg:hover {
    opacity: 0.85;
}

.search-box {
    flex-grow: 1;
    /*! max-width: 500px; */
    align-self: center;
}

/* Hamburger Menu - Hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 1rem;
    align-self: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    background: #0072ba;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
}

/* Search Box */
.search-box {
    position: relative;
    margin-left: 1rem;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 10px 45px 10px 15px;
    border: 1px solid #cdcdcd;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    transition: var(--transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: black;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}


.search-button:hover {
    /*! background: var(--primary-dark); */
}

.search-button i,
.search-button svg {
    display: block;
}
    display: block;
}

/* Visually hidden for accessibility */
.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;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .search-form input {
        /*! width: 200px; */
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-header {
        padding: 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .hamburger {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
        order: 2;
        margin-top: 15px;
    }
    
    .search-form input {
        width: 100%;
        border-radius: 0;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--bg-color);
        padding: 20px;
        border-radius: 8px;
        /*! box-shadow: var(--shadow); */
        margin-top: 0;
        order: 2;
        margin-left: 0;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        padding: 12px 0;
        font-size: 16px;
        /*! border-bottom: 1px solid var(--border-color); */
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .search-box {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-form input {
        width: 100%;
        flex: 1;
    }
    
    .logo {
        margin-bottom: 0;
    }
}
/* ===== ICON ===== */
.la-search {
    font-size: 1.1rem;
}
@media (max-width: 480px) {
    .main-nav a {
        font-size: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 15px !important;
    }
}

/* ===== AUTCOMPLETE ===== */
.autocomplete-dropdown {
    position: absolute;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 1000;
    width: 100%;
    max-width: 600px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.autocomplete-item {
    display: block;
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--border-color);
}

.autocomplete-item.active,
.autocomplete-item[aria-selected="true"] {
    background: var(--primary-color);
    color: white;
}

.autocomplete-item mark,
.autocomplete-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Autocomplete item icons */
.autocomplete-item i[class^="las"] {
    margin-right: 8px;
    color: var(--text-light);
    font-size: 0.9em;
}

.autocomplete-item:hover i[class^="las"],
.autocomplete-item.active i[class^="las"],
.autocomplete-item[aria-selected="true"] i[class^="las"] {
    color: inherit;
}

.autocomplete-item .la-folder-open { color: #3b82f6; }
.autocomplete-item .la-folder { color: #6366f1; }
.autocomplete-item .la-map-marker { color: #ef4444; }
.autocomplete-item .la-home { color: #10b981; }

/* ===== NO RESULTS & SUGGESTIONS ===== */
.no-results-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.no-results {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 8px 0 24px;
}

.suggestion-text {
    color: var(--text-light);
    margin: 20px 0 12px;
}

.suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    margin: 8px 0;
}

.suggestions a {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 1rem;
    transition: var(--transition);
}

.suggestions a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ===== DEAL CARDS & GRID ===== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.deal-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition); 
    background: var(--bg-color);
}



.deal-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.deal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /*! transition: transform 0.3s ease; */
}

.badge-container {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 3;
}

.badge-container span {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(2px);
}

.preview-badge {
    background: rgba(173, 216, 230, 0.95);
    color: #1a365d;
}

.intake-badge {
    background: rgba(255, 99, 71, 0.95);
    color: #ffffff;
}

.coming-badge {
    background: rgba(255, 165, 0, 0.95);
    color: #000000;
}

.bidding-badge {
    background: rgba(0, 128, 0, 0.95);
    color: #ffffff;
}

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

.deal-card-info {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 6px;
}
.deal-card a {
text-decoration: none;
}
.deal-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
}

.deal-card-row::after {
    /*! content: ''; */
    display: block;
    width: 100%;
    /*! height: 1px; */
    /*! background: var(--border-color); */
    /*! margin-top: 6px; */
}

.deal-card-row:last-child::after {
    display: none;
}

.deal-address {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-color);
    flex-grow: 1;
    line-height: 1.3;
}

.deal-price {
    font-weight: 700;
    color: var(--text-color);
    /*! font-size: 1.15rem; */
    white-space: nowrap;
}

.deal-residential-area, .deal-municipality {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.deal-residential-area + .deal-municipality::before,
.deal-municipality + .status-badge::before {
    /*! content: '|'; */
    color: var(--border-color);
    margin: 0 6px;
}

.deal-area, .deal-landarea {
    color: var(--text-light);
    font-size: 0.85rem;
}

.deal-area + .deal-landarea::before,
.deal-landarea + .deal-objecttype::before {
    /*! content: '|'; */
    /*! color: var(--border-color); */
    /*! margin: 0 6px; */
}

.deal-objecttype {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.deal-object-subtype {
    text-transform: lowercase;
}

.status-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .deal-card-row {
        /*! flex-direction: column; */
        align-items: flex-start;
        gap: 4px;
    }
    
    .deal-card-row::after {
        display: none;
    }
    
    .deal-address {
        font-size: 1rem;
    }
    
    .deal-price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SINGLE DEAL PAGE ===== */

.deal-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Gallery Section */
.deal-gallery {
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.single-image-gallery {
    display: block;
    margin-bottom: 20px;
    max-height: 592px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.single-image-gallery .main-image-container {
    width: 100%;
    height: 100%;
    max-height: 592px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.single-image-gallery .main-image {
    max-height: 100%;
    width: auto;
    border-radius: 8px;
    display: block;
}

.main-image-container {
    position: relative;
    height: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.all-images-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(26, 54, 93, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    z-index: 2;
}

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

.thumbnail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    aspect-ratio: 4/3;
}

@media (max-width: 768px) {
    .thumbnail-grid {
        display: none;
    }
}

/* Type Section */
.deal-type {
    margin-bottom: 0;
}

.type-value {
    /*! font-size: 1.1rem; */
    color: var(--text-light);
    /*! font-weight: 600; */
}

/* Header Grid */
.deal-header-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin-bottom: 24px;
}

.deal-left-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-left h1 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.3;
}

.address-left .location {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
}

.viewing-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.viewing-col .btn {
text-align: center;
width: 100%;
}
.viewing-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 100%;
}

.viewing-box h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
}

.viewing-status {
    margin: 0 0 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Details Row */
.deal-details-row {
    margin-bottom: 0;
}

/* Price */
.deal-price {
    margin-bottom: 12px;
}

.price-label {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    /*! margin-bottom: 4px; */
    margin-top: 16px;
}

.price-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
}

.price-value.no-price {
    font-size: 1rem;
}

/* Details Row */
.deal-details-row {
    margin-bottom: 24px;
}

.detail-grid {
    display: flex;
    gap: 24px;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-label {
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 4px;
}

.detail-value {
    color: var(--text-color);
    font-weight: 700;
}

/* Selling Text */
.selling-subject {
    margin-bottom: 16px;
}

.selling-subject h2 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 0 0 12px 0;
}

.selling-text {
    margin-bottom: 24px;
    line-height: 1.7;
    color: var(--text-color);
}

/* Images Section */
.images-section {
    margin-bottom: 24px;
}

.images-section h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.images-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Floorplan Section */
.floorplan-section {
    margin-bottom: 24px;
}

.floorplan-section h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.floorplan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

/* Property Info Section */
.property-info {
    margin-bottom: 24px;
}

.property-info h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px 16px;
}

.info-item {
    color: var(--text-color);
    font-size: 0.95rem;
    padding: 4px 0;
}

.info-item strong {
    color: var(--text-light);
}

/* Property Info Grid */
.property-info-grid {
    display: block;
    margin-bottom: 0;
}

.property-info-grid.two-column {
    grid-template-columns: 1fr 1fr;
}

.property-section {
    break-inside: avoid;
}

.property-section.no-columns {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .property-info-grid,
    .property-info-grid.two-column {
        gap: 16px;
    }
    
    .property-list.two-columns {
        column-count: 1;
        column-gap: 0;
    }
    
    .property-section.no-columns {
        grid-column: auto;
    }
}

/* Property Tables */
.property-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.property-table tr {
    border-bottom: 1px solid var(--border-color);
}

.property-table tr:last-child {
    border-bottom: none;
}

.property-table td {
    padding: 8px 0;
    vertical-align: top;
}

.property-table .label-cell {
    font-weight: 700;
    color: var(--text-light);
    padding-right: 8px;
    white-space: nowrap;
}

.property-table .value-cell {
    color: var(--text-color);
}

.property-table .full-width {
    padding-right: 0;
}

.property-table .full-width .label-cell {
    padding-right: 0;
    display: block;
    white-space: normal;
}

.property-table .full-width .value-cell {
    display: block;
    margin-top: 4px;
}

/* Accordion */
.accordion {
    margin-bottom: 16px;
}

.accordion-header {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.accordion-header:hover {
    background-color: #f8f9fa;
}

.accordion-header::after {
    content: '+ ';
    font-size: 18px;
    font-weight: bold;
}

.accordion-header.active::after {
    content: '- ';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid var(--border-color);
    border-top: none;
}

.accordion-content.active {
    max-height: none;
    transition: max-height 0.5s ease-in;
    padding: 16px;
}

/* Broker Section */
.broker-section {
    margin-bottom: 24px;
}

.broker-section h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.broker-info {
    background: var(--bg-color);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.broker-info p {
    margin: 0 0 8px 0;
}

.broker-info p:last-child {
    margin-bottom: 0;
}

.broker-name {
    font-weight: 600;
    color: var(--text-color);
}

/* Contact Section */
.contact-section {
    margin-bottom: 24px;
}

.contact-section h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 16px;
}

.contact-form {
    display: grid;
    gap: 16px;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

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

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

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.1);
}


/* File and Link Styles */
.files-list,
.links-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.files-list li,
.links-list li {
    margin-bottom: 4px;
}

.file-link,
.external-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: normal;
    transition: var(--transition);
}

.file-link:hover,
.external-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Property List Styles */
.property-list-item {
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    list-style: none;
}

.property-list-item:last-child {
    border-bottom: none;
}

.property-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-list.two-columns {
    column-count: 2;
    column-gap: 16px;
}

.property-label {
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
}

.property-label::after {
    content: ':';
    margin-right: 4px;
}

.property-value {
    color: var(--text-color);
}

.property-list-item.full-width {
    break-inside: avoid;
    page-break-inside: avoid;
}

.property-list-item.full-width .property-label {
    white-space: normal;
    margin-bottom: 4px;
    display: block;
}

.property-list-item.full-width .property-value {
    display: block;
    margin-top: 4px;
}

.property-info-grid {
    display: block;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .deal-single {
        padding: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 12px;
    }

    .deal-header-grid {
        grid-template-columns: 1fr;
    }

    .deal-left-column {
        gap: 16px;
    }

    .viewing-col {
        width: 100%;
        margin-top: 0;
    }

    .address-left h1 {
        font-size: 1.5rem;
    }

    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .contact-form {
        max-width: 100%;
    }

    .property-list.two-columns {
        column-count: 1;
        column-gap: 0;
    }
}