/* Property card: square layout, all content fits */
.property-card {
    width: 340px;
    height: 340px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 20px auto;
}

.prop-card-img {
    width: 100%;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
}
.prop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.prop-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 16px 10px 16px;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
}
.prop-card h3, .prop-card p, .prop-card .prop-specs, .prop-card .prop-price, .prop-card a {
    margin: 4px 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.prop-card .prop-address, .prop-card .prop-specs {
    font-size: 0.95rem;
    color: #555;
}
.prop-card .prop-price {
    font-weight: bold;
    color: #2ecc71;
    font-size: 1.1rem;
}
.prop-card .om-btn {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 5px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}
.prop-card .om-btn:hover {
    background: #1a232b;
}

@import url('https://fonts.googleapis.com/css?family=Noto+Serif:700,400&display=swap');

@font-face {
    font-family: 'Gotham Bold';
    src: url('https://fonts.cdnfonts.com/s/16290/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham Book';
    src: url('https://fonts.cdnfonts.com/s/16290/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'Gotham Book', Arial, sans-serif;
    background-color: #C3C6C8;
    color: #121212;
    margin: 0;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', serif;
}

.prop-name, .name-blue {
    font-family: 'Gotham Bold', Arial, sans-serif;
    font-weight: bold;
    margin: 0;
    font-size: 1.25rem;
    color: #002868 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Only property cards get the orange border */
.prop-card .prop-name, .prop-card .name-blue {
    border-left: 5px solid #F47C00;
    padding-left: 8px;
}

/* Remove border for team cards */
.commercial-card .prop-name, .commercial-card .name-blue {
    border-left: none !important;
    padding-left: 0 !important;
}


.white-text {
    color: #ffffff !important;
    margin: 0;
}


.black-bar {
    background-color:#181818  !important;
    color: white;
    padding: 30px 0;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.logo-placeholder img {
    max-width: 200px;
    height: auto;
    display: block;
}

.com-brand h1 {
    font-size: 2.2rem;
    word-break: break-word;
    margin: 0;
    line-height: 1.1;
}


.listing-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}


.commercial-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    width: 90vw;
    max-width: 1100px;
    margin: 20px auto;
}

.image-container img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    display: block;
}

/* Team member image: no rounded edge, add frame */
.commercial-card .image-container img {
    border-radius: 0;
    background: #fff;
    box-sizing: border-box;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 180px;
    min-height: 220px;
}


.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.prop-address, .description {
    font-size: 1rem;
    margin: 10px 0;
    color: #333;
    text-align: left;
}

/* Description always visible, right of image */
.team-card .description {
    font-size: 1.12rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    
    opacity: 1 !important;
    max-height: 400px;
    overflow-y: auto;
    pointer-events: auto;
    transition: none;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    word-break: break-word;
    font-size: 1.05rem;
    line-height: 1.6;
}

.prop-specs {
    color: #666;
    font-size: 0.9rem;
    margin: 10px 0;
}

.prop-price {
    font-weight: bold;
    color: #2ecc71;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.om-btn {
    display: block;
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: auto;
    font-size: 1rem;
}


@media (max-width: 600px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .logo-placeholder img {
        max-width: 80px;
    }
    .com-brand h1 {
        font-size: 1rem;
        text-align: left;
        width: auto;
        word-break: break-word;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .listing-section {
        padding: 20px 5px;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .commercial-card {
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    .image-container img {
        height: 120px;
    }
    .card-body {
        padding: 10px;
    }
    .prop-name, .name-blue {
        font-size: 1rem;
        border-left: 3px solid #F47C00;
    }
    .prop-address, .prop-specs, .prop-price, .om-btn {
        font-size: 0.9rem;
    }
}

@media (min-width: 600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
