/* BLOG HERO SECTION */
.blog-hero-section {
    padding: 140px 0 120px;
    background: #F3F3F3;

}

/* LEFT TITLE */
.blog-hero-title {
    font-size: 65px;
    line-height: 1.15;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.blog-hero-title span{
    color: #FF7F00;
}
/* RIGHT TEXT */
.blog-hero-desc {
    font-size: 18px;
    line-height: 28px;
    color: #333;
    /* max-width: 420px; */
    margin-left: auto;
    margin-top: 50px;

}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .blog-hero-title {
        font-size: 54px;
    }
}

@media (max-width: 991px) {
    .blog-hero-section {
        padding: 110px 0 90px;
    }

    .blog-hero-title {
        font-size: 44px;
        margin-bottom: 30px;
    }

    .blog-hero-desc {
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    .blog-hero-title {
        font-size: 34px;
        line-height: 1.25;
    }

    .blog-hero-desc {
        font-size: 16px;
        line-height: 26px;
    }
}


.blog-listing {
    padding: 100px 0 0;
}

/* SIDEBAR */
.blog-sidebar {
    position: sticky;
    top: 120px;
    /* border: 1px solid #707070; */
    padding: 0 !important;
margin: 0 !important;
}

.sidebar-box {
    margin-bottom: 50px;
    padding: 26px;
    border-radius: 16px;
border: 1px solid #F3F4F6;
background: #FFF;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

/* RELATED POSTS */
.sidebar-post-list {
    list-style: none;
    padding: 0;
}

.sidebar-post-list li {
    margin-bottom: 18px;
}

.sidebar-post-list a {
    font-weight: 600;
    color: #000;
    display: block;
}

.sidebar-post-list span {
    font-size: 13px;
    color: #777;
}

/* CATEGORY */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #2d2d2d;
    background: transparent;
    transition: all 0.3s ease;
}

/* Count styling */
.category-list .cat-count {
    font-weight: 600;
}

/* Hover */
.category-list li a:hover {
    background: #f1f1f1;
}

/* Active Category */
.category-list li.active a {
    background: linear-gradient(90deg, #2d5bff, #1f4ae0);
    color: #fff;
}

.category-list li.active .cat-count {
    color: #fff;
}
/* CONTACT BOX */
.sidebar-contact {
    border-radius: 16px;
    background: linear-gradient(135deg, #FF6900 0%, #F54900 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    padding: 24px 24px 36px 24px;
    color: #fff;
}
.sidebar-contact .corner-ribbon{
    top: 0;
    left: -40px;
    width: 44px;
    height: 100%;
    background: #FF7F00;
    opacity: 1;
}.sidebar-contact .corner-ribbon::after{
    border-right: 38px solid #814101;
    border-bottom: 64px solid transparent;
    border-left: 0;
    bottom: -63px;
    left: 1px;


}
.blog-content{
    padding-left: 20px;
    max-height: 1520px;
    overflow-y: auto;
}
.sidebar-box h4{
    font-size: 35px;
    font-weight: 700;
    color: #101828;
    padding-bottom: 10px;
    /* border-bottom: 2px solid #707070; */

}
.sidebar-contact h4 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 30px;
    line-height: 47px;
    font-weight: 700;
    padding-bottom: 0;

}
.sidebar-contact ul{
    padding-left: 0
    ;

}
.sidebar-contact ul li{
    list-style: none;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 19px;
    align-items: center;
}
.sidebar-contact ul li span{
    display: flex;
width: 40px;
height: 40px;
justify-content: center;
align-items: center;
border-radius: 10px;
background: rgba(255, 255, 255, 0.20);

}
.sidebar-contact ul li a{
    color: #fff;
    text-decoration: none;
}
.sidebar-post a{
    text-decoration: none;
    color: #707070;
    border-bottom: 1px solid #F3F4F6;    display: block;
    padding-bottom: 20px;
    padding-top: 20px;
}
.sidebar-post a h5{
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    color: #101828;


}
.sidebar-post a  span.date{
    display: block;
}
/* BLOG CARD */
.blog-card {
    background: #fff;
    border-radius: 16px;
border: 1px solid #F3F4F6;
background: #FFF;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
}

.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 350px;
    border-radius: 18px 18px 0 0;
    object-fit: cover;

}

.blog-meta {
    color: #6A7282;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    /* display: flex;
    justify-content: space-between; */
    display: flex;
    gap: 20px;
}
.blog-meta p{
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-meta span{
    font-size: 20px;
}
.blog-meta span.name{
    font-size: 24px;
    font-weight: 700;
}
.blog-info {
    padding: 25px 25px;}
.blog-info a{
    color: #101828;
    font-size: 24px;
    line-height: 1.25;
    font-weight: bold;
    text-decoration: none;

}
.blog-info p{
    color: #4A5565;
}
.blog-info .read-more {
    color: #003258;
    font: 24px;
    line-height: 35px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    gap: 10px;
    font-size: 13px;
    border-bottom: 1px solid #003258;
    display: inline-flex;
}
.load-more-wrap  #load-more-posts{
    background: #FF7F00;
    border: 0;
    padding: 12px 20px;
    border-radius: 10px;
    color: #fff;

}











.ajax-search-results {
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.ajax-result-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.ajax-result-item a {
    color: #002b4e;
    text-decoration: none;
    font-weight: 600;
}

.ajax-result-item p {
    font-size: 13px;
    color: #666;
    margin: 5px 0 0;
}

.ajax-result-item mark {
    background: #ff8a00;
    color: #fff;
    padding: 0 3px;
}

.no-results {
    font-size: 13px;
    color: #999;
    padding: 10px 0;
}


.search-form{
    border: 1px solid #707070;
    position: relative;
    display: flex;

}
.search-form input{
    border: 0;
    padding-left: 15px;
    font-size: 20px;
    outline: 0;
    width: 86%;
}

.single-post .sidebar-search 
{
    padding: 20px 25px 0;
}
.search-submit{
    background:#003258 ;
    color: #fff;
    border: 0; 
    padding: 10px 15px;
    width: 14%;

}
.post-body {
    padding-left: 20px;
}
.post-nav .next,
.post-nav .prev{
    color: #003258;
    border-bottom: 1px solid #003258;
    padding-bottom: 10px;
    text-decoration: none;
    display: flex;
    gap: 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}
.post-nav .next a,
.post-nav .prev a{
    color: #003258;
    text-decoration: none;

}

.single-hero {
    padding: 120px 0;
    background: #F3F3F3;
    margin-bottom: 80px;
    position: relative;
}

.single-hero .image-right {
    position: absolute;
    right: 0;
    bottom: -80px;
}

.single-wrapper {
    padding: 80px 0;
}

.single-sidebar {
    position: relative;
}

@media (min-width: 992px) {
    .single-sidebar.sticky {
        position: sticky;
        top: 120px;
    }
}


.related-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.toggle-btn {
    background: none;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
}

.toggle-btn.active {
    background: #ff8a00;
    color: #fff;
    border-color: #ff8a00;
}

.related-item {
    margin-bottom: 15px;
}



.post-body img {
    max-width: 100%;
    margin: 30px 0;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-left: 20px;
}
#ajax-loader-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.75);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease;
    }
    
    #ajax-loader-overlay.active{
    opacity:1;
    visibility:visible;
    }
    
    .loader-spinner{
    width:45px;
    height:45px;
    border:4px solid #eee;
    border-top:4px solid #000;
    border-radius:50%;
    animation:spin .8s linear infinite;
    }
    
    @keyframes spin{
    0%{transform:rotate(0)}
    100%{transform:rotate(360deg)}
    }
@media (max-width:1440px){
    .blog-hero-title {
        font-size: 55px;
    }
}


@media (max-width:1366px){
    .blog-hero-title {
        font-size: 47px;
    }
    .blog-hero-section {
        padding: 100px 0 100px;
    }
    .sidebar-box h4 {
        font-size: 30px;

    }
    .sidebar-post a h5 {
        font-size: 22px;
        line-height: 32px;
    }
    .category-list li a {
        font-size: 22px;
        line-height: 38px;
    }
    .blog-image img {
        height: 330px;
    }
    .blog-info h3{
        font-size: 25px;
        line-height: 36px;
    }
    .single-hero h1{
        font-size: 35px;
    }
    .single-hero {
        padding: 100px 0;
    }
    .single-wrapper {
        padding: 80px 0 80px 35px;
    }
    .search-submit {

        width: 15%;
    }
}

@media (max-width:1199px){
    .blog-hero-title {
        font-size: 40px;
    }
    .blog-hero-section {
        padding: 80px 0 80px;
    }
    .blog-listing {
        padding: 80px 52px 0;
    }
    .sidebar-box h4 {
        font-size: 27px;
    }
    .sidebar-post a h5 {
        font-size: 20px;
        line-height: 30px;
    }
    .blog-image img {
        height: 290px;
    }
    .category-list li a {
        font-size: 20px;
        line-height: 34px;
    }
    .sidebar-contact h4 
     {
        font-size: 27px;
        line-height: 36px;
    }
    .blog-meta span.name {
        font-size: 22px;
    }
    .blog-meta span {
        font-size: 18px;

    }
    .blog-info h3 {
        font-size: 22px;
        line-height: 33px;
    }
    .newsletter-image {
        background-position: left -38px center;
    }
    .single-hero h1{
        font-size: 35px;
    }
    .single-hero {
        padding: 89px 0;
    }
    .search-submit {
        padding: 10px 10px;
    }
    .single-wrapper {
        padding: 70px 0 80px 50px;
    }
}


@media(max-width:991px){
    .blog-hero-desc {
        margin-top: 15px;
    }

    .blog-hero-section {
        padding: 60px 0 60px;
    }
    .blog-hero-title {
        font-size: 35px;
    }
    .blog-content {
margin-top: 40px;
max-height: 100%;
overflow-y: initial;
padding-left: 0;
    }
    .sidebar-box {
        margin-bottom: 30px;
    }
    .newsletter-image {
        background-position: left -110px center;
    }
    .single-hero .image-right {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 40px;
        text-align: center;
    }
    .single-hero {
        padding: 60px 0;
        height: 394px;
        margin-bottom: 131px;
    }
    .search-submit {
        width: 10%;
    }
    .search-form input {
        width: 90%;
    }
    .post-body{
        margin-top: 40px;
        padding-left: 0;
    }
    .single-wrapper {
        padding: 70px 0 110px 50px;
    }
}

@media(max-width:767px){

    .blog-hero-title {
        font-size: 30px;
    }
    .blog-hero-section {
        padding: 50px 0 50px;
    }
    .blog-listing {
        padding: 60px 0px 0 50px;
    }
    .blog-image img {
        height: auto;
    }
    .sidebar-contact {
        padding: 16px;
        margin-bottom: 90px;
    }
    .sidebar-box {
        padding: 20px;
    }
    .single-hero h1 {
        font-size: 30px;
    }

}


@media(max-width:575px){

    .blog-hero-section {
        padding: 40px 0 40px;
    }
    .blog-hero-title {
        font-size: 25px;
        margin-bottom: 15px;
    }
    .blog-hero-desc {
        font-size: 16px;
        line-height: 24px;
    }
    .sidebar-contact .corner-ribbon{
        display: none;
    }
    .blog-listing {
        padding: 40px 20px 0 20px;
    }
    .sidebar-contact h4 {
        font-size: 24px;
        line-height: 33px;
        padding-bottom: 0;
    }
    .blog-info h3 {
        font-size: 20px;
        line-height: 30px;
    }
    .blog-meta {
        padding: 10px 14px 8px 14px;
    }
    .blog-meta span.name {
        font-size: 20px;
    }
    .single-hero h1 {
        font-size: 25px;
    }
    .single-hero {
        padding: 60px 0;
        height: 293px;
        margin-bottom: 100px;
    }
    .search-submit {
        width: 20%;
    }
    .search-form input {
        width: 80%;
    }
    .single-wrapper {
        padding: 70px 20px 110px 20px;
    }
}