/*
Theme Name: Coreit Child
Theme URI: 
Description: A child theme of Coreit
Author: 
Author URI: 
Template: coreit
Version: 1.0.0
Text Domain: coreit-child
*/

/* Add your custom styles below this line */

#blog-sections .cardNews.style_one .image-box a.imgbx{
    border-radius: 0;
}

#blog-sections .cardNews.style_one {
    gap: 0;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
}
.green-border{
	display: block;
    background: #3c6438;
    overflow: hidden;
    padding: 10px;
    margin: 0 20px;
}


@media only screen and (max-width: 767px) {
	.searchandfilter h4 {
    margin: 0px 0px;
}
	.searchandfilter li {
    display: block;
    margin: 0;
}
}

  /* === GRID === */
        .case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 40px 0; }
        @media (max-width: 991px) { .case-studies-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .case-studies-grid { grid-template-columns: 1fr; } }

        /* === CARD === */
        .case-study-card {
            position: relative;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
            transition: transform .3s ease, box-shadow .3s ease;
            overflow: hidden;
        }
        .case-study-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }

        .case-study-category { display:inline-block; background:#2563eb; color:#fff; font-size:13px; font-weight:600; padding:6px 14px; border-radius:20px 20px 20px 0; margin-bottom:15px; }
        .case-study-title { font-size:20px; font-weight:700; margin-bottom:12px; color:#111; }
        .case-study-title a { text-decoration:none; color:inherit; }
        .case-study-excerpt { font-size:15px; color:#555; margin-bottom:20px; line-height:1.6; }
        .read-more-btn { display:inline-block; padding:10px 18px; background:#000; color:#fff; font-weight:600; font-size:14px; border-radius:25px; text-decoration:none; transition:background .3s ease; }
        .read-more-btn:hover { background:#333; }
        .case-study-cat-img { position:absolute; bottom:15px; right:15px; width:70px; height:auto; opacity:0.9; }
        .case-studies-pagination { margin-top:30px; text-align:center; }
        .case-studies-pagination .page-numbers { display:inline-block; padding:8px 14px; margin:0 4px; border:1px solid #ddd; border-radius:6px; text-decoration:none; }
        .case-studies-pagination .current { background:#064e3b; color:#fff; border-color:#064e3b; }

   /* === Blog Card Grid Layout === */
        .blog-list-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        @media (max-width: 992px) {
            .blog-list-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 600px) {
            .blog-list-grid {
                grid-template-columns: 1fr;
            }
        }

        /* === Card === */
        .cardNews.style_one.d_flex.has_images {
            display: flex;
            flex-direction: column;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        .cardNews.style_one.d_flex.has_images:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }

        /* Image */
        .cardNews .image-box {
            position: relative;
            overflow: hidden;
        }
        .cardNews .image-box img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .cardNews:hover .image-box img {
            transform: scale(1.05);
        }

        /* Date */
        .cardNews .meta {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba(0,0,0,0.7);
            padding: 6px 12px;
            border-radius: 6px;
            color: #fff;
            font-size: 14px;
        }
        .cardNews .meta time .big {
            font-size: 20px;
            font-weight: bold;
            margin-right: 5px;
        }

        /* Info */
        .cardNews .cardInfo {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .cardNews .cardInfo a.font-26 {
            font-size: 20px;
            font-weight: 600;
            color: #222;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .cardNews .cardInfo a.font-26:hover {
            color: #064e3b;
        }

        /* Read More */
        .cardNews .link_btn_two {
            margin-top: 15px;
            display: inline-flex;
            align-items: center;
            font-weight: 500;
            color: #064e3b;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .cardNews .link_btn_two i {
            margin-left: 0px;
            font-size: 14px;
            transition: transform 0.3s ease;
        }
        .cardNews .link_btn_two:hover {
            color: #000;
        }
        .cardNews .link_btn_two:hover i {
            transform: translateX(4px);
        }
