/* Improve default WordPress / Elementor blog grids */
.hentry, .elementor-post {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.hentry:hover, .elementor-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Image Fit & Aspect Ratio */
.wp-post-image, .elementor-post__thumbnail img, .post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.hentry:hover .wp-post-image,
.hentry:hover .post-thumbnail img, 
.elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.05);
}

/* Spacing for content */
.entry-content, .elementor-post__text, .entry-summary {
    padding: 0 20px 20px;
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.entry-title, .elementor-post__title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0 20px;
    font-weight: 600;
}

.entry-title a, .elementor-post__title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-title a:hover, .elementor-post__title a:hover {
    color: #3498db;
}

.entry-meta, .elementor-post__meta-data {
    padding: 0 20px 15px;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Read More Button Styling */
.elementor-post__read-more, .more-link {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.elementor-post__read-more:hover, .more-link:hover {
    background-color: #2980b9;
    color: #fff;
}
