.blog_hero{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 73vh;
    padding: 60px 0;
}
.heading_section{
    color: #2B354E;
    font-family: "Roboto Flex",sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}
.pl-0{
    padding-left: 0px;
}
.pr-0{
    padding-right: 0px;
}

.blog_post_grid {
    border-radius: 7px;
    border: 1px solid #E4E4E4;
    background: #FFF;
    box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.blog_post_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
}

.blog_post_meta {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.blog_post_meta p {
    margin: 0;
    display: flex;
    gap: 6px;
    color: #7E8999;
    font-family: "Roboto Flex",sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 16.8px */
    align-items: center;
}

.blog_post_content h2 {
    color: #2B354E;
    font-family: "Roboto Flex",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 25.2px */
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.blog_post_content h2 a {
    font-size: 18px;
    font-weight: 700;
}

.blog_post_content p {
    color: #7E8999;
    font-family: "Roboto Flex",sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 22.4px */
    margin: 0;
}
.blog_post_list {
  display: grid;
  grid-template-columns: 22% 74%;
  gap: 20px; 
  align-items: center; 
  border-bottom: 1px solid #5D646F;
  padding-bottom: 20px;
  padding-top: 20px;
}
.blog_listThumb img{
    border-radius: 4px;
    height: 119px;
}
.blog_post_grid img {
    height: 255px;
    width: 100%;
    object-fit: cover;
}
.blog_post_list:first-of-type {
  padding-top: 0;
}

/* Remove bottom padding from the last one */
.blog_post_list:last-of-type {
  padding-bottom: 0;
  border-bottom: none; /* optional: remove border if needed */
}

.blog_navbar {
    background: #2B354E;
    padding: 19px 0;
}

.navbarFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbarFlex ul li {
    float: left;
    margin-right: 20px;
}

.navbarFlex ul li a {
    color: #FFF;
    text-align: center;
    font-family: "Roboto Flex",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 27px */
    padding: 20px;
}
form.blog_searchbox {
    border-radius: 7px;
    background: #FFF;
    max-width: 400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form.blog_searchbox input[type="text"] {
    background: #fff;
    border-radius: 7px;
    height: 55px;
    border: none;
    padding: 0 0 0 15px;
}

button.iconStyle {
    background: #f5a033;
    border: none;
    height: 56px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    width: 48px;
}

button.iconStyle svg {
    width: 25px;
    height: 27px;
}
.blog_grid_box{
    padding: 60px 0;
}
.latest-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* or use 'gap' if you prefer space between items */
  flex-wrap: wrap; /* wraps on small screens */
  padding: 10px 15px;
}

.category_filter {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 250px;
    width: 100%;
}
.category_filter select {
    padding: 6px 10px;
    font-size: 14px;
    font-family: "Roboto Flex",sans-serif;
    border-radius: 4px;
    border: 0.999px solid #F3F3F3;
    background-color: #fcf7ef;
    max-width: 180px;
    width: 100%;
}

.category_filter label{
    color: #2B354E;
    font-family: "Roboto Flex",sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 27.984px; /* 199.888% */
    text-transform: capitalize;
}

.pagination {
    text-align: center;
}

.pagination span.current {
    background: #F5A033 !important;
    border: 2px solid #F5A033 !important;
    padding: 7.5px 12px;
}

.pagination a, .pagination a.page-numbers {
    padding: 7.5px 12px;
    background: transparent;
    border: none;
    color: #2B354E;
    font-family: "Roboto Flex",sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight-600, 600);
    line-height: var(--line-height-20, 20px); /* 142.857% */
    text-transform: uppercase;
}

@media (max-width:767px){
    .blog_hero {
        height: auto;
        padding: 30px 0;
    }
    .blog_post_list {
        grid-template-columns: 30% 60%;
        gap: 5px;
    }
    .blog_listThumb img {
        height: 80px;
    }
    .pl-0 {
        padding-left: 15px;
    }
    .heading_section {
        padding: 0 15px;
        font-size: 24px;
        margin-top: 0;
    }
    .navbarFlex {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .navbarFlex ul li a {
        font-size: 14px;
        line-height: 174%;
        padding: 7px;
    }
    .blog_post_list .blog_post_meta {
        display: flex;
        align-items: baseline;
        gap: 0;
        flex-direction: column;
    }
    .blog_post_content h2{
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1; 
                line-clamp: 1; 
        -webkit-box-orient: vertical;
    }
}