/*@media screen and (max-width: 1100px) {*/
   

    .tab_one {
       
        max-width: 100vw;
        display: flex;
        justify-content: center !important;
      
    }
    .tab_content_right{
        width:50%;
    }

  
  
        .postgrid-container {
            display: flex;
                gap: 20px;
            overflow-x: auto;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer 10+ */
            scroll-snap-type: x mandatory;
        }

        .postgrid-container::-webkit-scrollbar {
            display: none; /* WebKit */
        }

  

    .tab_img_right img {
        width: 40vw !important;
        border-radius: 10px !important;
      
    }

    .tab_heading {
        font-size: 20px !important;
        margin-top: 15px !important;
        line-height: 24px !important;
    }

    .tab_text {
        font-size: 15px !important;
        margin: 15px 0px !important;
        line-height: 20px !important;
    }

    .tab_btn {
        font-size: 15px !important;
        padding: 15px 20px !important;
    }

    .date {
        font-size: 15px !important;
    }
.pad ul{
    display: flex
;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 15px;
        margin-top: 10px;
}
.pad ul li{
      font-size: 14px;
    display: inline-flex
;
    align-items: center;
    margin-bottom: 0;
    gap: 5px;
}
.pad ul li.c_primary {
    color: #006eef;
 }
.blog_newsletter{
        align-items: center;
    text-align: center;
        margin-bottom: 30px;
}
.lt_s{
    font-size: 65px;
}
.c_primary{
     color: #058acc;
}
.rt_s p{
    font-size: 22px;
}
.blog_newsletter .form {
   width: 100%;
    display: flex
;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 10px 10px 20px;
    border-radius: 50px;
    margin: 20px auto 0;
    gap: 10px;
    box-shadow: 0 0px 23px #00000021;
}
.blog_newsletter .form .form_control {
    margin-bottom: 0;
    width: 100%;
}
.blog_newsletter .form.v2 input:not(.btn) {
    border: none;
    height: 50px;
    color: #000;
     width: 100%;
}
.blog_newsletter .form_btn {
    margin-top: 0px;
}
.blog_newsletter .form_btn .btn[type=submit] {
    font-size: 14px;
    border-radius: 30px;
}
.blog_newsletter .form.v2 .btn {
    min-width: 100px;
}
.form_btn .btn[type=submit] {
 color: #fff;
    border-radius: 5px;
    min-width: 160px;
    font-size: 18px;
    background: #058acc;
    font-weight: 700;
    padding: 5px 20px;
    min-height: 50px;
    border: unset;
}
@media screen and (max-width: 1000px) {
    .postgrid {
        grid-template-columns: auto auto !important;
    }
}

@media screen and (max-width: 706px) {
  
    .heading {
        font-size: 24px !important;
    }
    .lt_s {
    font-size: 42px;
}
.rt_s p {
    font-size: 18px;
}
}


@media screen and (max-width: 358px) {
    .tab_img_right img {
        width: 70vw !important;
        border-radius: 10px !important;
        margin-top: 40px;
    }
}

@media screen and (max-width: 568px) {
    .pad {
        padding: 20px;
        width: 100% !important;
    }

    .postgrid {
        grid-template-columns: auto !important;
    }

    .blog_grid_heading {
        font-size: 17px !important;
    }

    .blog_grid_text {
        font-size: 12px !important;
        margin: 10px 0px !important;
    }

    .blog_read_btn {
        font-size: 12px !important;
    }

    .profile {
        font-size: 12px !important;
        margin-top: 15px !important;
    }
      .lt_s {
    font-size: 38px;
}
.rt_s p {
    font-size: 14px;
}
}


.blog {
    padding: 4vw 1.675vw 4.691vw 1.675vw;
}

.heading {
    color: #01092D;
    text-align: center;
    font-family: var(--font);
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    text-transform: capitalize;
}

.tab_one {
    position: relative;
    max-width: 80vw;
    display: flex;
    justify-content: end;
}

.bg_img {
    display: flex;
    justify-content: start;
}


.tab_one_img_right {
    width: 60vw;
    height: 28vw;
}

.overlay-content {
    display: flex;
        gap: 20px;
}




.tab_img_right img {
    width: 40vw;
    border-radius: 16px;
        height: 250px;
            object-fit: contain;
}

.tab_btn {
    color: #FFF;
    font-family: var(--font);
    font-size: 1.34vw;
    font-style: normal;
    font-weight: 700;
    text-transform: capitalize;
    padding: 1.005vw 1.34vw;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #058ACC;
}

.tab_text {
    color: #818181;
    font-family: var(--font);
    font-size: 1.34vw;
    font-style: normal;
    font-weight: 500;
    line-height: 2.010vw;
    margin: 1.34vw 0px;
    text-transform: capitalize;
}

.date {
    color: #A3A3A3;
    font-family: var(--font);
    font-size: 1.072vw;
    font-style: normal;
    font-weight: 600;
    line-height: 3.016vw;
    text-transform: capitalize;
}

.tab_heading {
    margin-top: 0.67vw;
    color: #01092D;
    font-family: var(--font);
    font-size: 2.010vw;
    font-style: normal;
    font-weight: 700;
    line-height: 3.016vw;
    text-transform: capitalize;
}


/* post grid styling */


.postgrid {
    padding: 0px 25px 6.702vw 25px;
    width: 70%;
 
}


.sub_postgrid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    overflow: auto;
}

.postgridiv {
      border-radius: 16px;
    /* border: 1px solid #058ACC; */
    /* background: #F3FAFF; */
    width: 314px !important;
    box-shadow: 0 0px 23px rgba(0, 0, 0, .13);
    /* height: 400px; */
    height: auto;
}

.postgridiv a {
    border-radius: 16px;
    text-decoration: none;
   background: transparent;
    width: 500px !important;
}

.postgridiv img {
    width: 100%;
    /* object-fit: cover; */
   border-radius: 12px 12px 12px 12px;
    height: 176px;
}

.pad {
    padding: 20px;
        width: 70%;
    /* width: 330px; */
}

.blog_grid_heading {
    color: #01092D;
    font-family: var(--font);
    text-transform: capitalize;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 10px;
    white-space: wrap !important;
    height: 100px;
}

.blog_grid_text {
    color: #9F9F9F;
    font-family: var(--font);
    text-transform: capitalize;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin: 20px 0px;
}

.blog_read_btn {
    color: #058ACC;
    font-family: var(--font);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    text-decoration-line: underline;
    text-transform: capitalize;
}

.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #828282;
    text-align: center;
    font-family: var(--font);
    text-transform: capitalize;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    margin-top: 25px;
}

.profile img {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    margin-right: 10px;
}

.postgrid-container {
  flex-wrap: wrap;
    overflow-x: visible;
    min-width: calc(50% - 20px);
    justify-content: center;
}
.container-with-search {
    display: flex;
    flex-direction: row;
    gap: 5px;
    max-width: 1200px;
    margin: 20px auto;
}
.sidebar-container {
    width: 100%;
    max-width: 300px;
    height: fit-content;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
        position: sticky;
    top: 100px;
}

/* Search Section */
.search-container {
    margin-bottom: 20px;
}

.search-container h3 {
    font-size: 16px;
    color: #1D3557;
    margin-bottom: 10px;
}

.search-container input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.search-container input::placeholder {
    color: #aaa;
}

/* Categories Section */
.categories-container h3 {
    font-size: 16px;
    color: #1D3557;
    margin-bottom: 10px;
}

.categories-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-container ul li {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.categories-container ul li:hover {
    background-color: #058acc;
    color: #fff;
}

.categories-container ul li.active {
    background-color: #058acc;
    color: #fff;
}


.postgridiv {
   flex: 0 0 100%;
    width: 100%;
    margin-right: 15px;
    display: flex;
    /* Adjust as needed */
}

.prev-next-btn {
    /* position: absolute;
    top: 160%;
    transform: translateY(-50%);
    z-index: 1; */
    position: absolute;
    /*top: 188%;*/
    transform: translateY(29%);
    outline: none;
        display: none !important;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background:#058acc;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.8;
}

#prevBtn {
    left: 560px;
    /* Adjust as needed */
}

#nextBtn {
    right: 560px;
    /* Adjust as needed */
}

.postgridimg{
    width: 30%;
    height: 210px;
    align-content: center;
        margin-left: 20px;

}

@media screen and (max-width: 568px) {
    .prev-next-btn {
        top: 102%;
        position: absolute;
        display: none;
       
    }
    .container-with-search {
    display: flex;
            align-items: center;
    flex-direction: column-reverse;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
}
.postgridiv{
    display: flex;
    flex-direction: column;
}
.postgridimg{
    width:100%;
    margin-left:0px;
}
.sidebar-container {
    width: 100%;
    max-width: 380px;
    position: unset;
}
    .postgrid-container {
    display: flex;
        flex-wrap: wrap;
    gap: 20px;
    
   overflow-x: unset;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}
.postgridiv {
  
    width: 314px !important;
  
}

    .overlay-content {
    display: flex
;
    gap: 0px;
    flex-direction: column;
}
.postgrid {
    padding: 0px 0px 6.702vw 0px;
    width: 100%;
}
.postgridiv img {
    height: 100% ;
}
.tab_img_right img {
    width: 90vw !important;
    border-radius: 10px !important;
}
.tab_content_right {
    width: 100%;
}
    
    #prevBtn {
        left: 5px;
        /* Adjust as needed */
    }
    
    #nextBtn {
        right: 5px;
        /* Adjust as needed */
    }
}