/* =====================================================
   CCSOL BLOG / UPDATES PAGE
   File: blog.css
   Theme: ccsol
===================================================== */

/* Global Section */
.ccsol-blog-section {
    padding: 90px 0;
    background: #f5f7fb;
}

.ccsol-container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
}

/* Header */
.ccsol-blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.ccsol-blog-header h1 {
    font-size: 38px;
    font-weight: 800;
    color: #021924;
    letter-spacing: -0.5px;
}

.ccsol-blog-header p {
    font-size: 16px;
    color: #5a6773;
    margin-top: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layout */
.ccsol-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

/* Blog Card */
.ccsol-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(2, 25, 36, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

.ccsol-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 55px rgba(2, 25, 36, 0.15);
}

/* Image */
.ccsol-blog-image {
    display: block;
    overflow: hidden;
}

.ccsol-blog-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ccsol-blog-card:hover img {
    transform: scale(1.06);
}

/* Content */
.ccsol-blog-content {
    padding: 28px;
}

.ccsol-blog-meta {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #8a95a3;
    margin-bottom: 12px;
}

.ccsol-blog-meta a {
    color: #0a5bd3;
    text-decoration: none;
}

.ccsol-blog-meta a:hover {
    text-decoration: underline;
}

/* Title */
.ccsol-blog-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
}

.ccsol-blog-title a {
    color: #021924;
    text-decoration: none;
}

.ccsol-blog-title a:hover {
    color: #0a5bd3;
}

/* Excerpt */
.ccsol-blog-excerpt {
    font-size: 15px;
    color: #4f5b66;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* Read More */
.ccsol-read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #0a5bd3;
    text-decoration: none;
}

.ccsol-read-more:hover {
    text-decoration: underline;
}

/* ==============================
   INFINITE SCROLL LOADING
============================== */
.ccsol-scroll-loading {
    text-align: center;
    padding: 40px 0;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1100px) {
    .ccsol-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ccsol-blog-grid {
        grid-template-columns: 1fr;
    }

    .ccsol-blog-header h1 {
        font-size: 30px;
    }

    .ccsol-blog-image img {
        height: 200px;
    }
}
