/* =========================
   BLOG PAGE HERO
========================= */

.blog-page-hero{
    position:relative;

    height:52vh;

    display:flex;
    align-items:center;

    overflow:hidden;

    background:url('../images/pexels-pixabay-258154.jpg');

    background-size:cover;
    background-position:center;
}

.blog-page-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to right,
        rgba(0,0,0,0.80),
        rgba(0,0,0,0.42)
    );
}

.blog-page-content{
    position:relative;

    z-index:5;

    max-width:620px;

    color:#fff;
}

.blog-page-content span{
    display:inline-block;

    color:#ff9800;

    font-size:14px;
    font-weight:600;

    margin-bottom:14px;

    letter-spacing:1px;
}

.blog-page-content h1{
    font-size:52px;
    font-weight:600;

    line-height:1.15;

    margin-bottom:18px;
}

.blog-page-content p{
    font-size:16px;

    line-height:1.8;

    color:rgba(255,255,255,0.82);
}

/* =========================
   BLOG SECTION
========================= */

.blog-page-section{
    padding:80px 0;

    background:#f8f9fc;

    position:relative;
}

/* TITLE */

.section-title{
    margin-bottom:45px;
}

.section-title span{
    display:inline-block;

    color:#ff9800;

    font-size:14px;
    font-weight:600;

    letter-spacing:1px;

    margin-bottom:12px;
}

.section-title h2{
    font-size:40px;
    font-weight:600;

    color:#111;

    line-height:1.3;
}

/* =========================
   BLOG CARD
========================= */

.modern-blog-card{
    background:#fff;

    border-radius:18px;

    overflow:hidden;

    transition:0.35s;

    height:100%;

    position:relative;

    box-shadow:0 8px 28px rgba(0,0,0,0.05);
}

.modern-blog-card:hover{
    transform:translateY(-6px);

    box-shadow:0 16px 40px rgba(0,0,0,0.08);
}

/* IMAGE */

.blog-image{
    position:relative;

    height:220px;

    overflow:hidden;
}

.blog-image img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.5s;
}

.modern-blog-card:hover .blog-image img{
    transform:scale(1.05);
}

/* OVERLAY */

.blog-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.5),
        transparent
    );
}

/* CATEGORY */

.blog-category{
    position:absolute;

    top:16px;
    left:16px;

    background:linear-gradient(
        135deg,
        #ff9800,
        #ff4d6d
    );

    color:#fff;

    padding:8px 14px;

    border-radius:40px;

    font-size:11px;
    font-weight:600;
}

/* CONTENT */

.blog-content{
    padding:24px;
}

/* META */

.blog-meta{
    display:flex;

    gap:14px;

    flex-wrap:wrap;

    margin-bottom:14px;
}

.blog-meta span{
    color:#777;

    font-size:12px;
    font-weight:500;
}

.blog-meta i{
    color:#ff9800;

    margin-right:4px;
}

/* TITLE */

.blog-content h3{
    font-size:22px;
    font-weight:600;

    line-height:1.5;

    margin-bottom:14px;

    color:#111;

    transition:0.3s;

    display:-webkit-box;

    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;

    overflow:hidden;
}

.modern-blog-card:hover h3{
    color:#ff6b00;
}

/* TEXT */

.blog-content p{
    color:#666;

    font-size:14px;

    line-height:1.8;

    margin-bottom:0;

    display:-webkit-box;

    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;

    overflow:hidden;
}

/* BUTTON */

.blog-read-btn{
    display:inline-flex;
    align-items:center;

    gap:8px;

    text-decoration:none;

    color:#111;

    font-size:14px;
    font-weight:600;

    transition:0.3s;
}

.blog-read-btn i{
    transition:0.3s;
}

.blog-read-btn:hover{
    color:#ff6b00;
}

.blog-read-btn:hover i{
    transform:translateX(4px);
}

/* =========================
   TABLET
========================= */

@media(max-width:991px){

    .blog-page-hero{
        height:46vh;
    }

    .blog-page-content h1{
        font-size:42px;
    }

    .section-title h2{
        font-size:34px;
    }

    .blog-image{
        height:210px;
    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:576px){

    .blog-page-hero{
        height:42vh;
    }

    .blog-page-content{
        text-align:center;
    }

    .blog-page-content span{
        font-size:13px;
    }

    .blog-page-content h1{
        font-size:30px;

        line-height:1.25;
    }

    .blog-page-content p{
        font-size:14px;
    }

    .blog-page-section{
        padding:60px 0;
    }

    .section-title{
        margin-bottom:35px;
    }

    .section-title h2{
        font-size:28px;
    }

    .blog-image{
        height:200px;
    }

    .blog-content{
        padding:20px;
    }

    .blog-content h3{
        font-size:18px;
    }

    .blog-content p{
        font-size:13px;
    }

    .blog-category{
        font-size:10px;

        padding:7px 12px;
    }

}