
/* =========================================
   TECHHUB SOLUTIONS - BLOG ARCHIVE
========================================= */

.techhub-blog-archive {
    width: 100%;
    background: #ffffff;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.blog-container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
}

/* BLOG HERO */

.blog-hero {
    background: linear-gradient(120deg, #002147, #175A99);
    padding: 65px 20px;
    text-align: center;
    color: #fff;
}

.blog-eyebrow {
    display: inline-block;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.blog-hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px;
}

.blog-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #e5edf7;
    font-size: 16px;
    line-height: 1.8;
}

/* BLOG SECTION */

.blog-section {
    padding: 65px 0 80px;
}

.blog-section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.blog-section-heading h2 {
    font-size: 30px;
    font-weight: 700;
    color: #002147;
    margin: 0 0 10px;
}

.blog-section-heading p {
    color: #777;
    font-size: 15px;
    margin: 0;
}

/* BLOG GRID */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* BLOG CARD */

.blog-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 33, 71, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 33, 71, .13);
}

/* CARD IMAGE */

.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef3f8;
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #002147;
    color: #fff;
    font-weight: 700;
}

/* CARD CONTENT */

.blog-card-content {
    padding: 23px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #777;
    margin-bottom: 13px;
}

.blog-meta span:last-child {
    color: #F74723;
}

.blog-card-content h3 {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 13px;
}

.blog-card-content h3 a {
    color: #002147;
    text-decoration: none;
}

.blog-card-content h3 a:hover {
    color: #F74723;
}

.blog-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F74723;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.blog-read-more:hover {
    color: #175A99;
}

/* PAGINATION */

.blog-pagination {
    margin-top: 45px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #e1e7ef;
    border-radius: 6px;
    color: #002147;
    text-decoration: none;
}

.blog-pagination .current,
.blog-pagination a:hover {
    background: #F74723;
    border-color: #F74723;
    color: #fff;
}

/* EMPTY BLOG */

.blog-no-posts {
    padding: 50px 20px;
    text-align: center;
    background: #f5f8fc;
    border-radius: 10px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .blog-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .blog-container {
        width: calc(100% - 30px);
    }

    .blog-hero {
        padding: 45px 15px;
    }

    .blog-hero h1 {
        font-size: 27px;
    }

    .blog-hero p {
        font-size: 14px;
    }

    .blog-section {
        padding: 40px 0 50px;
    }

    .blog-section-heading h2 {
        font-size: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .blog-card-content {
        padding: 19px;
    }
}
