/* ========================================= */
/* BLOGS PAGE */
/* ========================================= */

.blogs-page {
    width: 100%;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* HERO */

.blogs-hero {
    width: 100%;
    padding: 180px 8% 120px;
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("../images/fifth-bg.png") no-repeat center center/cover;

    position: relative;
}

.blogs-hero-content {
    max-width: 760px;
    color: white;
}

.blogs-mini-title {
    color: #9df3bf;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 18px;
}

.blogs-hero h1 {
    font-size: 70px;
    line-height: 85px;
    font-weight: 700;
    margin-bottom: 25px;
}

.blogs-hero-desc {
    font-size: 17px;
    line-height: 34px;
    color: rgba(255,255,255,0.88);
    max-width: 650px;
}

/* CONTAINER */

.blogs-container {
    width: 100%;
    padding: 90px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD */

.blog-page-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #efefef;
    transition: 0.4s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

.blog-page-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* IMAGE */

.blog-page-image {
    overflow: hidden;
}

.blog-page-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s ease;
}

.blog-page-card:hover .blog-page-image img {
    transform: scale(1.08);
}

/* CONTENT */

.blog-page-content {
    padding: 28px;
}

.blog-page-meta {
    margin-bottom: 15px;
}

.blog-page-meta span {
    color: #0F9D58;
    font-size: 14px;
    font-weight: 500;
}

.blog-page-meta i {
    margin-right: 6px;
}

.blog-page-content h2 {
    font-size: 28px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #111;
}

.blog-page-content p {
    color: #666;
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 28px;
}

/* BUTTON */

.read-blog-btn {
    text-decoration: none;
    color: #0F9D58;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.read-blog-btn:hover {
    color: #0b7d45;
    padding-left: 5px;
}

/* EMPTY */

.empty-blog-box {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
}

.empty-blog-box h3 {
    color: #555;
    font-size: 24px;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 1100px) {

    .blogs-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-hero h1 {
        font-size: 54px;
        line-height: 68px;
    }

}

@media (max-width: 768px) {

    .blogs-hero {
        padding: 140px 20px 90px;
    }

    .blogs-container {
        padding: 60px 20px;
        grid-template-columns: repeat(1, 1fr);
    }

    .blogs-hero h1 {
        font-size: 40px;
        line-height: 52px;
    }

    .blogs-hero-desc {
        font-size: 15px;
        line-height: 28px;
    }

    .blog-page-content h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .blog-page-image img {
        height: 240px;
    }

}