/*
Theme Name: Caridad
Theme URI: https://caridad.vamtam.com
Text Domain: caridad
Description: The Ultimate Niche WordPress Theme for Charities
Author: VamTam
Author URI: https://vamtam.com
Version: 2.3
License: Envato
License URI: https://themeforest.net/licenses
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
*/


/*blog listing card style*/
.cw-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
	

.cw-blog-card {
    display: block;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: all .3s ease;
	padding:15px;
}

.cw-blog-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.cw-blog-image {
    overflow: hidden;
}

.cw-blog-image img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
	border-radius:10px !important;
}


.cw-blog-content {
    padding: 15px 0;
}
	.cw-blog-content p {margin-bottom:8px;color:#052F5C;font-size:14px;display:none;}
.cw-blog-content h3 {
    margin: 0;
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #2e7d32;
}

/* Tablet */
@media (max-width: 1024px) {
    .cw-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-blog-image img {
        height: 240px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cw-blog-grid {
        grid-template-columns: 1fr;
    }

    .cw-blog-image img {
        height: 220px !important;
    }

    .cw-blog-content {
        padding: 20px 10px;
    }

    .cw-blog-content h3 {
        font-size: 18px;
    }
}