/* =========================================================
   BLOG PAGE STYLE
========================================================= */

/* =========================================================
   HERO
========================================================= */

.blog-hero{
    background:
    linear-gradient(rgba(10,31,92,.84),rgba(10,31,92,.90)),
    url('../images/news.jpg') center/cover no-repeat;
    position:relative;
}




.btn-gold{
    background:var(--gold);
    color:var(--navy);
    padding:14px 30px;
    border-radius:60px;
    text-decoration:none;
    font-weight:700;
    transition:.4s;
    border:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.btn-gold:hover{
    background:#fff;
    color:var(--navy);
    transform:translateY(-4px);
}

.btn-outline-light-custom{
    border:2px solid rgba(255,255,255,.4);
    color:#fff;
    padding:14px 30px;
    border-radius:60px;
    text-decoration:none;
    font-weight:700;
    transition:.4s;
}

.btn-outline-light-custom:hover{
    background:#fff;
    color:var(--navy);
}


.blog-overlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right,
    rgba(245,166,35,.14),
    transparent 40%);
}

.blog-title{
    font-size:5rem;
    line-height:1.05;
    color:#fff;
    font-weight:700;
    font-family:'Cormorant Garamond', serif;
}

.blog-title span{
    color:var(--gold);
}

.blog-text{
    color:rgba(255,255,255,.82);
    font-size:1.05rem;
    line-height:1.9;
    max-width:620px;
}

.blog-hero-image{
    position:relative;
}

.blog-hero-image img{
    width:100%;
    height:700px;
    object-fit:cover;
    border-radius:30px;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.hero-blog-card{
    position:absolute;
    background:#fff;
    padding:24px;
    border-radius:24px;
    min-width:220px;
    box-shadow:0 18px 50px rgba(0,0,0,.12);
}

.hero-blog-card h4{
    font-size:2rem;
    color:var(--navy);
    font-weight:800;
    margin-bottom:6px;
}

.hero-blog-card p{
    margin:0;
    color:var(--gray);
    font-size:.9rem;
}

.hero-blog-card.card-one{
    left:-40px;
    bottom:50px;
}

.hero-blog-card.card-two{
    right:-40px;
    top:60px;
}

/* =========================================================
   FEATURED BLOG
========================================================= */

.featured-blog{
    background:#fff;
    border-radius:35px;
    overflow:hidden;
    box-shadow:0 18px 60px rgba(10,31,92,.08);
}

.featured-image{
    height:100%;
}

.featured-image img{
    width:100%;
    height:100%;
    min-height:520px;
    object-fit:cover;
}

.featured-content{
    padding:60px 50px;
}

.blog-badge{
    display:inline-flex;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(245,166,35,.12);
    color:var(--gold);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
}

.featured-content h2{
    font-size:3rem;
    line-height:1.15;
    color:var(--navy);
    font-weight:700;
    margin:25px 0;
    font-family:'Cormorant Garamond', serif;
}

.featured-content p{
    color:var(--gray);
    line-height:1.9;
    margin-bottom:25px;
}

.blog-meta{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.blog-meta span{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--gray);
    font-size:.92rem;
}

.blog-meta span i{
    color:var(--gold);
}

/* =========================================================
   BLOG CARD
========================================================= */

.blog-card{
    background:#fff;
    border-radius:30px;
    overflow:hidden;
    transition:.45s;
    height:100%;
    border:1px solid var(--border);
    box-shadow:0 10px 40px rgba(10,31,92,.05);
}

.blog-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(10,31,92,.12);
}

.blog-image{
    position:relative;
    overflow:hidden;
    height:280px;
}

.blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s;
}

.blog-card:hover .blog-image img{
    transform:scale(1.08);
}

.blog-category{
    position:absolute;
    top:20px;
    left:20px;
    background:var(--gold);
    color:var(--navy);
    padding:8px 16px;
    border-radius:40px;
    font-size:.75rem;
    font-weight:700;
}

.blog-content{
    padding:35px 30px;
}

.blog-content h3{
    font-size:2rem;
    line-height:1.3;
    color:var(--navy);
    font-weight:700;
    margin:20px 0;
    font-family:'Cormorant Garamond', serif;
}

.blog-content p{
    color:var(--gray);
    line-height:1.9;
    margin-bottom:25px;
}

.blog-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--gold);
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.blog-link:hover{
    gap:15px;
    color:var(--navy);
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-section{
    padding:100px 0;
    background:#fff;
}

.newsletter-box{
    background:
    linear-gradient(135deg,#0A1F5C,#163B91);
    padding:80px 50px;
    border-radius:35px;
    position:relative;
    overflow:hidden;
}

.newsletter-box::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(245,166,35,.08);
    top:-120px;
    right:-120px;
}

.newsletter-box h2{
    color:#fff;
    font-size:3rem;
    font-weight:700;
    font-family:'Cormorant Garamond', serif;
}

.newsletter-box p{
    color:rgba(255,255,255,.78);
    max-width:700px;
    margin:20px auto 0;
    line-height:1.9;
}

.newsletter-form{
    max-width:700px;
    margin:auto;
    display:flex;
    gap:15px;
}

.newsletter-form input{
    flex:1;
    height:65px;
    border:none;
    outline:none;
    border-radius:60px;
    padding:0 28px;
    font-size:1rem;
}

.newsletter-form button{
    border:none;
    background:var(--gold);
    color:var(--navy);
    padding:0 35px;
    border-radius:60px;
    font-weight:700;
    transition:.3s;
}

.newsletter-form button:hover{
    background:#fff;
}

/* =========================================================
   SINGLE BLOG PAGE
========================================================= */

.single-blog-hero {
    position: relative;
    background:
        linear-gradient(rgba(10,31,92,.84), rgba(10,31,92,.90)),
        url('../images/news.jpg') center/cover no-repeat; /* replace with your single blog image */
}

.single-blog-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
        rgba(245,166,35,.14),
        transparent 40%);
}

.single-blog-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 80px;
    z-index: 3;
    padding: 0 30px; /* optional padding */
}

.single-blog-content h1 {
    font-size: 5rem;
    line-height: 1.05;
    color: #fff;
    max-width: 900px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.single-blog-image{
    height:80vh;
    min-height:600px;
    position:relative;
}

.single-blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.single-blog-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(to top,
    rgba(10,31,92,.92),
    rgba(10,31,92,.30));
}

.single-blog-content{
    position:absolute;
    left:0;
    right:0;
    bottom:80px;
    z-index:3;
}

.single-blog-content h1{
    font-size:5rem;
    line-height:1.05;
    color:#fff;
    max-width:900px;
    font-family:'Cormorant Garamond', serif;
    font-weight:700;
}

.single-meta{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:25px;
}

.single-meta span{
    display:flex;
    align-items:center;
    gap:8px;
    color:rgba(255,255,255,.82);
    font-size:.95rem;
}

.single-meta i{
    color:var(--gold);
}

/* =========================================================
   BLOG DETAILS
========================================================= */

.blog-details{
    padding:100px 0;
}

.blog-main{
    background:#fff;
    padding:50px;
    border-radius:30px;
    box-shadow:0 15px 50px rgba(10,31,92,.05);
}

.blog-main p{
    color:var(--gray);
    line-height:2;
    margin-bottom:28px;
    font-size:1.05rem;
}

.blog-main h2{
    color:var(--navy);
    font-size:2.6rem;
    margin:45px 0 20px;
    font-weight:700;
    font-family:'Cormorant Garamond', serif;
}

.blog-main blockquote{
    background:var(--light);
    padding:40px;
    border-left:5px solid var(--gold);
    border-radius:20px;
    margin:40px 0;
}

.blog-main blockquote p{
    margin:0;
    color:var(--navy);
    font-size:1.2rem;
    font-style:italic;
}

.blog-main img{
    width:100%;
    border-radius:25px;
    margin:35px 0;
}

/* =========================================================
   SIDEBAR
========================================================= */

.blog-sidebar{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.sidebar-widget{
    background:#fff;
    padding:35px 30px;
    border-radius:28px;
    box-shadow:0 12px 45px rgba(10,31,92,.05);
}

.sidebar-widget h4{
    color:var(--navy);
    font-size:1.7rem;
    margin-bottom:25px;
    font-family:'Cormorant Garamond', serif;
    font-weight:700;
}

.recent-post{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.recent-post:last-child{
    margin-bottom:0;
}

.recent-post img{
    width:90px;
    height:90px;
    border-radius:18px;
    object-fit:cover;
}

.recent-post h6{
    margin-bottom:8px;
    line-height:1.5;
}

.recent-post h6 a{
    color:var(--navy);
    text-decoration:none;
    transition:.3s;
}

.recent-post h6 a:hover{
    color:var(--gold);
}

.recent-post span{
    color:var(--gray);
    font-size:.85rem;
}

.category-list{
    list-style:none;
    padding:0;
    margin:0;
}

.category-list li{
    margin-bottom:15px;
}

.category-list li:last-child{
    margin-bottom:0;
}

.category-list a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    color:var(--dark);
    transition:.3s;
}

.category-list a:hover{
    color:var(--gold);
}

.category-list span{
    background:var(--light);
    padding:4px 12px;
    border-radius:30px;
    font-size:.82rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:991px){

    .blog-title{
        font-size:3.8rem;
    }

    .featured-content{
        padding:45px 35px;
    }

    .featured-content h2{
        font-size:2.3rem;
    }

    .single-blog-content h1{
        font-size:3.5rem;
    }

    .blog-main{
        padding:35px;
    }

}

@media(max-width:767px){

    .blog-title{
        font-size:2.5rem;
        line-height:1.15;
    }

    .blog-hero-image img{
        height:420px;
    }

    .hero-blog-card{
        min-width:auto;
        padding:18px;
    }

    .hero-blog-card h4{
        font-size:1.4rem;
    }

    .featured-image img{
        min-height:320px;
    }

    .featured-content{
        padding:35px 25px;
    }

    .featured-content h2{
        font-size:2rem;
    }

    .blog-image{
        height:220px;
    }

    .blog-content{
        padding:28px 22px;
    }

    .blog-content h3{
        font-size:1.5rem;
    }

    .newsletter-box{
        padding:60px 25px;
    }

    .newsletter-box h2{
        font-size:2rem;
    }

    .newsletter-form{
        flex-direction:column;
    }

    .newsletter-form button{
        height:60px;
    }

    .single-blog-image{
        height:65vh;
        min-height:420px;
    }

    .single-blog-content{
        top:50%;
    }

    .single-blog-content h1{
        font-size:2rem;
    }

    .blog-main{
        padding:28px 22px;
    }

    .blog-main h2{
        font-size:2rem;
    }

}

@media(max-width:480px){

    .blog-title{
        font-size:2rem;
    }

    .featured-content h2{
        font-size:1.7rem;
    }

    .blog-content h3{
        font-size:1.35rem;
    }

    .single-blog-content h1{
        font-size:1.8rem;
    }

    .blog-main h2{
        font-size:1.7rem;
    }

}