/* About Template Styles */

/* About page card styles for equal height */
.about-card {
    display: flex !important;
    flex-direction: column !important;
    height: 600px !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0 10px;
    width: 100% !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.about-card .property-thumb,
.featured-properties-slides .single-featured-property .property-thumb,
.about-content-wrapper .featured-properties-slides .single-featured-property .property-thumb {
    position: relative;
    height: 200px !important;
    overflow: hidden;
    flex-shrink: 0 !important;
    width: 100% !important;
    min-height: 200px !important;
    max-height: 200px !important;
}

.about-card .property-thumb img,
.featured-properties-slides .single-featured-property .property-thumb img,
.about-content-wrapper .featured-properties-slides .single-featured-property .property-thumb img {
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s;
}

.about-card:hover .property-thumb img {
    transform: scale(1.05);
}

.about-card .property-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 25px;
    min-height: 400px !important;
    max-height: 400px !important;
    width: 100% !important;
    overflow: hidden;
}

.about-card .property-content h5 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    height: 42px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-bottom: 5px;
}

.about-card .property-content .location {
    margin-bottom: 18px;
    color: #666;
    font-size: 13px;
    height: 25px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.4;
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.about-card .property-content .location img {
    margin-right: 5px;
    width: 14px;
    height: 14px;
}

.about-card .property-content .space {
    margin-bottom: 20px;
    color: #666;
    font-size: 13px;
    height: 25px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.4;
    padding: 3px 0;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.about-card .property-content .description {
    flex: 1 !important;
    margin-bottom: 25px;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px !important;
    max-height: 60px !important;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #f0f0f0;
}

.about-card .btn {
    align-self: flex-start;
    margin-top: auto !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 20px !important;
}

/* Owl carousel specific styles */
.featured-properties-slides {
    height: 600px !important;
}

.featured-properties-slides .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.featured-properties-slides .owl-item {
    display: flex !important;
    align-items: stretch !important;
    height: 600px !important;
}

.featured-properties-slides .owl-item .single-featured-property {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Override any existing owl carousel styles */
.featured-properties-slides .owl-item .single-featured-property.about-card {
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

/* Ensure all cards in the carousel have the same height */
.featured-properties-slides .owl-item .single-featured-property {
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

/* Force equal heights for all elements */
.featured-properties-slides .owl-item {
    height: 600px !important;
}

.featured-properties-slides .owl-item > div {
    height: 100% !important;
}

/* Force consistent image sizing for team members */
.meet-the-team-area .single-team-member .team-member-thumb,
.single-team-member .team-member-thumb {
    position: relative !important;
    height: 250px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    margin-bottom: 40px !important;
    background-color: #f8f9fa !important;
    min-height: 250px !important;
    max-height: 250px !important;
    display: block !important;
}

.meet-the-team-area .single-team-member .team-member-thumb img,
.single-team-member .team-member-thumb img {
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s;
}

.meet-the-team-area .single-team-member .team-member-thumb:hover img,
.single-team-member .team-member-thumb:hover img {
    transform: scale(1.05);
} 