.listing-status {
    font-size: 25px;
    font-weight: bold;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 10px;
    padding: 0px 10px;
    margin-right: 5px;
}

#head.secondary h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
}

@media (max-width: 767px) {
    #head.secondary {
        height: auto;
        min-height: auto;
        padding: 20px 0;
    }

    body.layout-responsive #head.secondary {
        padding-top: 145px;
    }

    #head.secondary h1 {
        height: auto;
        padding-top: 0;
        line-height: 1.3;
    }
}

.pd_text-collapsible {
    max-height: 220px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.pd_text-collapsible.expanded {
    max-height: 3000px;
}

.pd_text-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.pd_text-fade.hide {
    display: none;
}

.read-more-toggle {
    text-align: center;
    color: #888;
    cursor: pointer;
    margin-top: 10px;
    letter-spacing: 1px;
    font-weight: 600;
}

.read-more-icon {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    vertical-align: middle;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.read-more-icon.expanded {
    transform: rotate(180deg);
}

.other-feature-text {
    color: #1E3A5F;
    margin-top: 1.5em;
}

.other-feature-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.title-box.col-lg-8,
.title-box.col-lg-12,
.pd_heading,
.pd_text,
.pd_sub,
.property_det {
    padding-left: 0;
    padding-right: 0;
}

/* Bed/bath/car icons */
.property-icon {
    width: 16px;
    height: 16px;
}

@media (min-width: 992px) {
    .property-icon {
        width: 20px;
        height: 20px;
    }
}

.property_det {
    text-align: right;
    font-size: 20px;
}

.property_det .beds,
.property_det .showers,
.property_det .cars {
    display: inline-block;
    margin-left: 0.3em;
}

.property_det .beds {
    margin-left: 0;
}

@media (max-width: 991px) {
    .property_det {
        float: none;
        width: 100%;
        text-align: left;
        font-size: 18px;
        clear: both;
    }

    .read-more-toggle {
        font-size: 12px;
        text-align: left;
        font-weight: normal;
        opacity: .8;
    }

    .read-more-icon {
        width: 10px;
        height: 10px;
    }
}

.pd_feature .label-info.custom {
    background-color: #1E3A5F;
    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 0 8px;
    border-radius: 4px;
    display: inline-block;
    margin: 4px 4px 4px 0;
}

/* Agent contact card (photo + name/phone/email) */
.agent-card {
    display: flex;
    align-items: center;
    gap: 1.25em;
    margin-bottom: 1.25em;
}

.agent-card {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.25em;
    padding: 0 !important;
}

.agent-card_photo {
    flex: 0 0 auto;
    width: 8em;
    height: 8em;
    border-radius: 50%;
    object-fit: cover;
}

.agent-card_info {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    min-width: 0;
}

.agent-card_name {
    font-weight: 500;
    font-size: 1.5em;
    line-height: 1.3;
    color: #6E6E6E;
    margin: 0 0 0.15em 0;
}

.agent-card_phone,
.agent-card_email {
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #6E6E6E;
    margin: 0;
}

.agent-card_email {
    font-weight: bold;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.agent-card_email-icon {
    width: 1.25rem;
    height: auto;
    flex: 0 0 auto;
}

.agent-card_email a {
    color: #6E6E6E;
    text-decoration: none;
}

.agent-card_phone a,
.agent-card_email a {
    color: inherit;
    text-decoration: none;
}

.agent-card_phone a:hover,
.agent-card_phone a:focus,
.agent-card_email a:hover,
.agent-card_email a:focus {
    color: var(--agent-hover-color, #6E6E6E);
    text-decoration: underline;
}