.featured_main_box {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 60px;
    display: inline-flex;
}

.featured_highlighted {
    width: 580px;
    height: 630px;
    background: linear-gradient(180deg, #380808 0%, black 100%);
    overflow: hidden;
    border-radius: 20px;
    outline: 1px #E84142 solid;
    outline-offset: -1px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.image-placeholder {
    width: 580px;
    /*height: 326.25px;*/
    background: #000518;
}

.featured-image {
    width: 582px;
    height: 326px;
}

.content {
    align-self: stretch;
    flex: 1 1 0;
    padding: 24px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    display: flex;
}

.content-inner {
    align-self: stretch;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    display: flex;
}

.category-tag {
    /*height: 25px;*/
    padding-left: 17px;
    padding-right: 17px;
    padding-top: 8.5px;
    padding-bottom: 8.5px;
    overflow: hidden;
    border-radius: 50px;
    outline: 1px #E84142 solid;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

.category-text {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    color: #E84142;
    font-size: 12px;
    font-family: Poppins;
    font-weight: 400;
    line-height: 33px;
    word-wrap: break-word;
}

.title {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
}

.title-text  a{
    flex: 1 1 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    color: white;
    font-size: 24px;
    font-family: Poppins;
    font-weight: 600;
    line-height: 36px;
    word-wrap: break-word;
}
.featured_list .title-text a{
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}

.description {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
}

.description-text {
    width: 492px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    color: #898989;
    font-size: 14px;
    font-family: Poppins;
    font-weight: 400;
    word-wrap: break-word;
}

.footer {
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
}

.read-more {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: flex;
}

.read-more-text {
    justify-content: center;
    display: flex;
    flex-direction: unset;
    color: #E84142;
    font-size: 16px;
    font-family: Poppins;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 22px;
    word-wrap: break-word;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    align-items: center;
}
.read-more-text img{
    height: auto;
    width: auto;
}

.read-more-line {
    width: 7.53px;
    height: 13px;
    outline: 2px #E84142 solid;
    outline-offset: -1px;
}

.date {
    justify-content: flex-start;
    align-items: flex-end;
    gap: 15px;
    display: flex;
}

.date-text {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    text-align: right;
    color: #737373;
    font-size: 12px;
    font-family: Poppins;
    font-weight: 400;
    line-height: 26px;
    word-wrap: break-word;
}

.featured_list {
    flex: 1 1 0;
    height: 630px;
    padding-top: 20px;
    padding-bottom: 20px;
    /*background: linear-gradient(180deg, #380808 0%, black 100%);*/
    border-top: 1px #E84142 solid;
    border-bottom: 1px #E84142 solid;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    display: inline-flex;
    padding-top: 60px;
    /*padding-bottom: 60px;*/
}

.sidebar-inner {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    display: flex;
    /*border-bottom: 1px rgba(255, 255, 255, 0.20) solid;*/
}

.sidebar-item {
    align-self: stretch;
    padding-bottom: 24px;
    /*background: linear-gradient(180deg, #380808 0%, black 100%);*/
    border-bottom: 1px rgba(255, 255, 255, 0.20) solid;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}

.sidebar-content {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    display: flex;
}

section.sidebar-inner:nth-child(3) .sidebar-item {
    border-bottom: 0px;
    padding-bottom: 0px;
}
/*.sidebar-item:last-child{
  border-bottom: 0px;
}*/
section.filter_section_blog {
    z-index: 9;
    position: relative;
}
.dropdown_search {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 40px;
    border-bottom: 1px solid #FFFFFF33;
    padding-bottom: 20px;
}
.dropdown_sec select {
    padding: 5px 24px;
    background-color: #222;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    width: 570px;
    height: 50px;
    border-radius: 50px;
}
/*.search_sec input {
    padding: 5px 24px;
    background-color: #222;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 570px;
    height: 50px;
    border-radius:50px;
}
.search_sec input:focus {
    outline: none;
}*/
.blog-serch-text {
    display: flex;
    width: 570px;
    height: 50px;
    padding: 13px 30px 13px 30px;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    border-radius: 30px;
    /*border: 1px solid #E84142;*/
    background: #1C1C1C;
    /*background: linear-gradient(180deg, #360808 0%, #2C0606 100%);*/
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.10) inset;
    margin-right: 20px;
}
.blog-serch-text input#blogSearch {
    color: #FFFFFF;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: none;
    float: left;
    width: 100%;
    background: transparent;
}
.highlight_cat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }
.list_cat{
  display: block;
  width: 100%;
}
.rol-cat a {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    border: 1px solid #BCBCBC;
}
.rol-cat a.active {
    color: #E84142;
    border: 1px solid #E84142;
}
.list_cat span {
    color: #E84142;
}
/*///////////////////////*/
.featured_highlighted_blog {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 9;
}
.featured_highlighted_blog .image-placeholder {
    width: 100%;
    height: 200px;
    /*background-color: #333;*/
    border-radius: 10px;
}
.featured_highlighted_blog .featured-image {
    width: 100%;
    height: 270px;
    object-fit: fill;
    border-radius: 20px 20px 0 0;
    /*display: none;*/ /* Hidden as placeholder is used instead */
}
.featured_highlighted_blog .content {
    flex: 1;
    min-width: 0;
    /*background-color: #1a1a1a;*/
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.featured_highlighted_blog .content-inner {
    flex-grow: 1;
}
.featured_highlighted_blog .category-tag {
    /*margin-bottom: 10px;*/
}
.featured_highlighted_blog .category-text {
    display: inline-block;
    /*background-color: #333;*/
    color: #E84142;
    /*padding: 5px 10px;*/
    border-radius: 5px;
    font-size: 12px;
    margin-right: 5px;

}
.featured_highlighted_blog.title {
    margin-bottom: 10px;
}
.featured_highlighted_blog .title-text a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-family: Poppins;
    font-weight: 500;
    font-style: Medium;
    leading-trim: CAP_HEIGHT;
    line-height: 30px
    letter-spacing: 0%;

}
.featured_highlighted_blog .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.featured_highlighted_blog .read-more a {
    color: #ff0000;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.featured_highlighted_blog .read-more-text img {
    width: 10px;
    height: 10px;
    margin-left: 5px;
}

.featured_highlighted_blog .read-more-text {
    justify-content: center;
    display: flex;
    flex-direction: unset;
    color: #E84142;
    font-size: 14px;
    font-family: Poppins;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 22px;
    word-wrap: break-word;
    vertical-align: middle;
    align-items: center;
}
.featured_highlighted_blog .date-text {
    color: #888;
    font-size: 12px;
}
.blog_inner_card{
    position: relative;
    /*padding: 80px 0px 150px;*/
    border-radius: 20px 20px 0px 0px;
    background: linear-gradient(180deg, #000 55.15%, rgba(0, 0, 0, 0.00) 100%);
    background-image: url(https://cogitus.io/beta/wp-content/uploads/2025/01/bg2.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.blog_inner_card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px 20px 0px 0px;
    padding: 0px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-width: 1px;
    background: linear-gradient(180deg, #E84142 0%, rgba(0, 34, 80, 0) 100%) border-box;
    border-style: solid;
    border-image: linear-gradient(to bottom, #E84142, rgba(0, 34, 80, 0)) 20%;
    z-index: 1;
    border-bottom: 0px;
    height: 40%;
}


/* Container for pagination */
.pagination.new-pagination-sec {
    display: flex;
    justify-content: flex-end; /* Right-align the pagination */
    align-items: center;
    /*background-color: #1a1a1a;*/ /* Dark background similar to the image */
    padding: 10px 20px;
    /*border: 1px dashed #00aaff;*/ /* Blue dashed border like in the image */
    margin: 0;
    width: 100%;
}

/* Individual pagination items (numbers and arrows) */
.pagination-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Size of the circular buttons */
    height: 40px;
    margin: 0 5px; /* Spacing between items */
    border-radius: 50%; /* Makes it circular */
    /*background-color: #333;*/ /* Default button color */
    color: #fff; /* Text color */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s; /* Smooth hover effect */
}

/* Active (current) page */
.pagination-item.active {
    background-color: #ff0000; /* Red color for active button */
    color: #fff;
}

/* Hover effect for non-active items */
.pagination-item:hover:not(.active) {
    background-color: #555; /* Darker shade on hover */
}

/* Style for navigation arrows */
.pagination-item.prev-page,
.pagination-item.next-page {
    font-size: 20px; /* Larger arrows */
    background-color: transparent; /* No fill for arrows */
        color: #E84142;
}
button.next-page.pagination-item {
    border: 0px;
    background-color: #343434;
}

/* Ensure arrows are not circular if desired */
.pagination-item.prev-page,
.pagination-item.next-page {
    border-radius: 50px; /* Remove circular shape for arrows */
    width: 40px; /* Adjust width for arrows */
    height: 40px;
    padding: 0 10px; /* Add padding for better appearance */
}
button.page-number.pagination-item {
    border: 0px;
}
@media (max-width: 1024px) {
    .featured_highlighted{
        width: 50%;
        height: 650px;
    }
    .featured_main_box{
        gap: 30px;
    }
    .featured_list{
        height: auto;
        padding-top: 30px;
        padding-bottom: 5px;
        gap: 18px;
    }
    .title-text a{
        font-size: 22px;
        line-height: 32px;
    }
    .sidebar-content{
        gap: 12px;
    }
    .dropdown_search{
        gap: 20px;
    }
    .dropdown_sec {
        width: 50%;
    }
    .blog-serch-text{
        width: 50%;
    }
    .featured_highlighted_blog{
        gap: 16px;
    }
    section.filter_section_blog {
        padding: 0 16px;
    }
    .featured_highlighted_blog .featured-image{
        height: auto;
    }
    .featured_highlighted_blog{
        padding: 16px;
    }
    .row.search_result_show {
        margin-top: 16px;
    }
    .dropdown_sec select{
        width: 100%;
    }
    .more_blogs_sec:before{
      `width: calc(100% - 2px);
    }
}
@media (max-width: 767px) {
    .blog_inner_card:before{
        height: 35%;
    }
    .featured_main_box{
        display: block;
    }
    .featured_highlighted {
        width: 100%;
        height: auto;
    }
    .featured_list{
      margin-top: 30px;
    }
    .mobile_slide_sec .eael-testimonial-text{
      margin-bottom: 0px !important;
    }
    .mobile_slide_sec p.eael-testimonial-user {
        display: none !important;
    }
    .mobile_slide_sec p.eael-testimonial-user-company
    {
        display: none !important;
    }
    .mobile_slide_sec .eael-testimonial-content {
        padding: 0px !important;
    }
    .blog-serch-text{
      width: 47%;
      margin-right: 0px;
      padding: 13px 24px 13px 24px;
    }
    .blog-serch-text input#blogSearch{
      padding: 0px;
    }
    .highlight_cat{
        flex-wrap: wrap;
    }
    section.filter_section_blog{
      padding: 0px;
    }

}
/* Specific styles to match the image layout */
@media (min-width: 600px) {
    .featured_highlighted_blog {
        flex-direction: row;
    }
    .featured_highlighted_blog > div {
        width: calc(50% - 10px);
    }
}