/* ===================================
   BLOG FILTER TAGS
=================================== */

.blog-filter{
    padding:60px 8% 0;
    background:#fff;

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
}

.filter-tag{
    padding:10px 22px;
    border-radius:30px;
    border:1.5px solid #e2e2e2;

    color:#052b6d;
    font-size:14px;
    font-weight:600;

    cursor:pointer;
    transition:all 0.3s ease;
    background:#fff;
}

.filter-tag:hover,
.filter-tag.active{
    background:#052b6d;
    border-color:#052b6d;
    color:#fff;
}

/* ===================================
   BLOG GRID
=================================== */

.blog-section{
    padding:50px 8% 100px;
    background:#fff;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:34px;
    max-width:1350px;
    margin:0 auto;
}

.blog-card{
    background:#f8f9fc;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    transition:all 0.35s ease;
    display:flex;
    flex-direction:column;
}

.blog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.blog-thumb{
    height:190px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:46px;
    color:rgba(255,255,255,0.85);

    background:linear-gradient(135deg,#052b6d,#0d2c54 60%,#001b4d);
    position:relative;
}

.blog-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 80% 20%,rgba(212,175,55,0.35),transparent 60%);
}

.blog-thumb i{
    position:relative;
    z-index:1;
}

.blog-body{
    padding:28px 26px 30px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.blog-meta{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;

    font-size:12.5px;
    color:#888;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.blog-category{
    color:#d4a017;
    font-weight:700;
}

.blog-card h3{
    font-size:19px;
    color:#001b4d;
    line-height:1.4;
    margin-bottom:12px;
}

.blog-card p{
    color:#666;
    font-size:14px;
    line-height:1.75;
    margin-bottom:22px;
    flex:1;
}

.blog-readmore{
    display:inline-flex;
    align-items:center;
    gap:8px;

    color:#052b6d;
    font-weight:700;
    font-size:14px;
    text-decoration:none;

    transition:gap 0.3s ease;
}

.blog-readmore i{
    color:#d4a017;
    font-size:12px;
    transition:transform 0.3s ease;
}

.blog-readmore:hover{
    gap:12px;
}

.blog-readmore:hover i{
    transform:translateX(3px);
}

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

.newsletter-section{
    background:#f7f9fc;
    padding:80px 10%;
    text-align:center;
}

.newsletter-section h2{
    color:#001b4d;
    font-size:2rem;
    margin-bottom:14px;
}

.newsletter-section p{
    color:#666;
    max-width:600px;
    margin:0 auto 30px;
    line-height:1.8;
}

.newsletter-form{
    display:flex;
    justify-content:center;
    gap:14px;
    max-width:480px;
    margin:0 auto;
    flex-wrap:wrap;
}

.newsletter-form input{
    flex:1;
    min-width:220px;

    padding:16px 22px;
    border-radius:12px;
    border:1.5px solid #ddd;

    font-family:Georgia, serif;
    font-size:15px;
}

.newsletter-form input:focus{
    outline:none;
    border-color:#d4a017;
}

.newsletter-form button{
    padding:16px 30px;
    border:none;
    border-radius:12px;

    background:#d4a017;
    color:#000;
    font-weight:700;
    font-size:15px;

    cursor:pointer;
    transition:0.3s ease;
}

.newsletter-form button:hover{
    background:#e2b12d;
    transform:translateY(-2px);
}

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:992px){

    .blog-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .blog-filter{
        padding:50px 6% 0;
    }

    .blog-section{
        padding:40px 6% 70px;
    }

    .blog-grid{
        grid-template-columns:1fr;
        gap:26px;
    }

    .newsletter-section{
        padding:60px 7%;
    }
}
