/* Blog Template Styles */

/* Blog page card styles for equal height */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Main blog post thumbnail styles for consistent sizing */
.single-blog-area .blog-post-thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.single-blog-area .blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.single-blog-area .blog-post-thumbnail:hover img {
    transform: scale(1.05);
}

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

/* Enhanced property thumb styles for consistent image sizing */
.blog-card .property-thumb,
.featured-properties-slides .single-featured-property .property-thumb,
.blog-sidebar-area .featured-properties-slides .single-featured-property .property-thumb {
    position: relative;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden;
    flex-shrink: 0 !important;
    width: 100% !important;
}

.blog-card .property-thumb img,
.featured-properties-slides .single-featured-property .property-thumb img,
.blog-sidebar-area .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;
}

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

.blog-card .property-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.blog-card .property-content h5 {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.blog-card .property-content .location {
    margin-bottom: 6px;
    color: #666;
    font-size: 12px;
}

.blog-card .property-content .description {
    flex: 1;
    margin-bottom: 12px;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .property-meta-data {
    margin-top: auto;
}

/* Owl carousel specific styles for blog sidebar */
.blog-sidebar-area .featured-properties-slides {
    height: auto !important;
}

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

.blog-sidebar-area .featured-properties-slides .owl-item {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}

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

/* Force equal heights for all blog sidebar cards */
.blog-sidebar-area .featured-properties-slides .owl-item .single-featured-property.blog-card {
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
} 