/* ================================================================ */
/* BLOG HERO */
/* ================================================================ */

.bloghero-section {
    width: 100%;
    padding: 30px;
    background: #f3f3f3;
}

.bloghero-inner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
}

.bloghero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1600&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bloghero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.bloghero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloghero-title {
    color: #fff;
    font-size: 90px;
    font-weight: 600;
    
}

@media (max-width: 768px) {
    .bloghero-section {
        padding: 20px;
    }

    .bloghero-inner {
        height: 300px;
    }

    .bloghero-title {
        font-size: 45px;
    }
}

/* ========================================================= */
/* BLOG DETAILS SECTION */
/* ========================================================= */

.blog-details-section{
    max-width:1400px;
    margin:auto;
    padding:40px 60px;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:35px;
    align-items:start;
}


/* ========================================================= */
/* LEFT SIDE */
/* ========================================================= */

.blog-details-left{
    width:100%;
}

.blog-details-title{
    font-size:34px;
    line-height:48px;
    color:#111;
    font-weight:700;
    margin-bottom:15px;
}

.blog-meta{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

.blog-date{
    background:#ffe000;
    color:#111;
    padding:7px 14px;
    border-radius:6px;
    font-size:13px;
    font-weight:600;
}

.blog-author{
    color:#555;
    font-size:14px;
    font-weight:500;
}

.blog-details-img{
    width:100%;
    border-radius:8px;
    display:block;
    margin-bottom:35px;
}


/* ========================================================= */
/* CONTENT */
/* ========================================================= */

.blog-content-area h2{
    font-weight: 800;
    font-size:28px;
    margin-bottom:18px;
    margin-top:30px;
    color:#000;
}

.blog-content-area p{
    font-size:16px;
    line-height:32px;
    color:#444;
    margin-bottom:18px;
}





/* ================================================================ */
/* RIGHT SIDEBAR                                                    */
/* ================================================================ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Popular Feeds title */
.sidebar-title {
    font-size: 28px;
    color: #0b2c7d;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
}

/* Feed white card */
.feed-box {
    background: #fff;
    padding: 0 16px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.feed-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.feed-content h4 {
    font-size: 13px;
    line-height: 19px;
    color: #111;
    margin-bottom: 8px;
    font-weight: 700;
}

.feed-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .sidebar-title {
        font-size: 24px;
    }

    .feed-content h4 {
        font-size: 13px;
        line-height: 19px;
    }

    .feed-img {
        width: 70px;
        height: 70px;
    }
}


/* ================================================================ */
/* BLOG SIDEBAR BOX — wraps Blog Category AND Tags                  */
/* ================================================================ */

.blog-sidebar-box {
    margin-bottom: 30px;
}

/* Section heading: "Blog Category" / "Tags" */
.sidebar-heading {
    font-size: 22px;
    color: #0b2c7d;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
    display: inline-block;
}


/* ================================================================ */
/* BLOG CATEGORY LIST                                               */
/* ================================================================ */

.category-box {
    background: #fff;
    padding: 10px 16px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.category-list li:last-child {
    border-bottom: none;
}

.category-list li a,
.category-list li a:hover,
.category-list li a:focus,
.category-list li a:visited {
    text-decoration: none !important;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 4px;
    transition: color 0.25s, padding-left 0.25s;
    letter-spacing: 0.3px;
}

.category-list li a:hover {
    color: #0b2c7d;
    padding-left: 6px;
}

/* Yellow chevron arrow */
.category-list li a span {
    color: #f5c200;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}


/* ================================================================ */
/* TAGS                                                             */
/* ================================================================ */

.tags-box {
    background: #fff;
    padding: 16px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Individual tag pill */
.tag-item,
.tag-item:hover,
.tag-item:focus,
.tag-item:visited {
    text-decoration: none !important;
    /* background: #f5f5f5; */
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    /* border: 1px solid #ddd; */
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    white-space: nowrap;
}

.tag-item:hover {
    background: #ffe000;
    border-color: #ffe000;
    color: #111;
}


/* ================================================================ */
/* SIDEBAR BANNER — "Grow your business with us"                    */
/* ================================================================ */

.sidebar-banner {
    position: relative;
    width: 100%;
    min-height: 180px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=900&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

.sidebar-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 43, 120, 0.88) 0%, rgba(11, 44, 125, 0.80) 100%);
}

.sidebar-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
}

.sidebar-banner-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 18px 0;
}

.sidebar-banner-btn {
    display: inline-block;
    background: linear-gradient(to right, #ff5a1f, #ff9b1f);
    color: #fff;
    text-decoration: none;
    padding: 11px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: opacity 0.25s, transform 0.25s;
}

.sidebar-banner-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sidebar-banner-title {
        font-size: 18px;
    }
}

/* ========================================================= */
/* BLOG DETAILS RESPONSIVE */
/* ========================================================= */

/* LARGE LAPTOP */

@media(max-width:1400px){

    .blog-details-section{
        padding:40px 35px;
    }

}



/* ========================================================= */
/* TABLET */
/* ========================================================= */

@media(max-width:991px){

    .blog-details-section{
        grid-template-columns:1fr;
        padding:30px 20px;
        gap:30px;
    }

    .blog-details-left{
        width:100%;
    }

    .sidebar{
        width:100%;
    }

    .blog-details-title{
        font-size:30px;
        line-height:42px;
    }

    .blog-content-area h2{
        font-size:24px;
        line-height:34px;
    }

    .blog-content-area p{
        font-size:15px;
        line-height:30px;
    }

}



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

@media(max-width:768px){

    .blog-details-section{
        padding:20px 15px;
        gap:25px;
    }

    .blog-details-title{
        font-size:24px;
        line-height:36px;
        margin-bottom:12px;
    }

    .blog-meta{
        gap:10px;
        margin-bottom:20px;
    }

    .blog-date{
        font-size:12px;
        padding:6px 12px;
    }

    .blog-author{
        font-size:13px;
    }

    .blog-details-img{
        margin-bottom:25px;
        border-radius:6px;
    }

    .blog-content-area h2{
        font-size:21px;
        line-height:32px;
        margin-top:24px;
        margin-bottom:14px;
    }

    .blog-content-area p{
        font-size:14px;
        line-height:28px;
        margin-bottom:15px;
    }


    /* SIDEBAR */

    .sidebar-title{
        font-size:24px;
    }

    .feed-item{
        gap:12px;
        padding:14px 0;
    }

    .feed-img{
        width:65px;
        height:65px;
    }

    .feed-content h4{
        font-size:13px;
        line-height:20px;
    }

    .feed-date{
        font-size:12px;
    }

    .sidebar-banner-title{
        font-size:18px;
    }

}



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

@media(max-width:480px){

    .blog-details-section{
        padding:18px 12px;
    }

    .blog-details-title{
        font-size:20px;
        line-height:30px;
    }

    .blog-meta{
        flex-direction:column;
        align-items:flex-start;
    }

    .blog-content-area h2{
        font-size:18px;
        line-height:28px;
    }

    .blog-content-area p{
        font-size:13px;
        line-height:24px;
    }

    .feed-img{
        width:60px;
        height:60px;
    }

    .sidebar-title{
        font-size:22px;
    }

    .sidebar-heading{
        font-size:20px;
    }

    .tag-item{
        width:100%;
        /* text-align:center; */
    }

}
