/* ==========================================================
   NEYEWS BLOG
========================================================== */

/* HERO */

.hero{

    background:linear-gradient(135deg,#07131f,#10283d);

    color:#fff;

    padding:90px 20px;

}

.hero-content{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.hero-text{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.hero-badge{

    display:inline-block;

    width:max-content;

    background:#16c47f;

    color:#fff;

    padding:8px 20px;

    border-radius:30px;

    font-size:14px;

    font-weight:bold;

    margin-bottom:25px;

}

.hero h1{

    font-size:60px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero h1 span{

    color:#16c47f;

}

.hero p{

    font-size:22px;

    line-height:1.8;

    color:#d7d7d7;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.hero-image{

    text-align:center;

}

.hero-image img{

    width:100%;

    max-width:650px;

    height:auto;

}

/* ==========================================================
   BUTTONS
========================================================== */

.btn-primary{

    display:inline-block;

    background:#16c47f;

    color:#fff;

    text-decoration:none;

    padding:16px 32px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}

.btn-primary:hover{

    background:#12a96d;

}

.btn-secondary{

    display:inline-block;

    border:2px solid #16c47f;

    color:#fff;

    text-decoration:none;

    padding:16px 32px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}

.btn-secondary:hover{

    background:#16c47f;

}

/* ==========================================================
   LATEST ARTICLES
========================================================== */

.blog-section{

    padding:90px 20px;

    background:#ffffff;

}

.blog-section h2{

    text-align:center;

    font-size:42px;

    margin-bottom:20px;

    color:#10283d;

}

.section-intro{

    max-width:850px;

    margin:0 auto 60px;

    text-align:center;

    font-size:18px;

    line-height:1.8;

    color:#666;

}

.blog-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.blog-card{

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.blog-card:hover{

    transform:translateY(-8px);

}

.blog-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.blog-card-content{

    padding:30px;

}

.blog-card h3{

    color:#10283d;

    margin-bottom:15px;

    font-size:26px;

}

.blog-card p{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

}

/* ==========================================================
   CATEGORIES
========================================================== */

.blog-categories{

    padding:90px 20px;

    background:#f8fafc;

}

.blog-categories h2{

    text-align:center;

    margin-bottom:20px;

}

.categories-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.category-card{

    background:#fff;

    padding:35px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.category-card:hover{

    transform:translateY(-6px);

}

.category-icon{

    font-size:48px;

    margin-bottom:20px;

}

.category-card h3{

    margin-bottom:15px;

    color:#10283d;

}

.category-card p{

    color:#666;

    line-height:1.8;

}

/* ==========================================================
   NEWSLETTER
========================================================== */

.blog-newsletter{

    padding:90px 20px;

    background:#eef5fb;

    text-align:center;

}

.blog-newsletter h2{

    margin-bottom:20px;

}

.blog-newsletter p{

    max-width:700px;

    margin:0 auto 40px;

    color:#666;

    line-height:1.8;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:900px){

.hero-content{

    grid-template-columns:1fr;

    text-align:center;

}

.hero h1{

    font-size:42px;

}

.hero p{

    font-size:18px;

}

.hero-buttons{

    justify-content:center;

}

}

@media(max-width:768px){

.blog-grid{

    grid-template-columns:1fr;

}

.categories-grid{

    grid-template-columns:1fr;

}

.blog-section h2{

    font-size:34px;

}

.hero h1{

    font-size:34px;

}

}
