.blog_banner {
    background: url("../images/blog.png") center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 110dvh;
    margin-bottom: 5%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog_banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #B2B3B7;
    opacity: 0.2;
    z-index: 1;
}

.blog_banner_text {
    display: flex;
    width: 55%;
    height: 300px;
    color: #fff;
    background-color: #000;
    opacity: 0.8;
    align-items: center;
    justify-content: center;
}

.blog_banner_text h1 {
    font-size: 3.7rem!important;
    font-weight: 700;
}

.blog_inner {
    width: 60%!important;
    margin: 0 auto
}

.blog_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5%;
}

.blog_header p {
    color: #7E7E7E;
}

.blog_list {
    padding-bottom: 5%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5%;
}

.blog_list_left {
    width: 60%;
}

.blog_list_right {
    width: 40%;
}

.blog_item {
    display: flex;
    flex-direction: column;
    gap: 5%;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid #19234C;
    border-radius: 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 5%;
    padding: 5%;
    background: #fff;
}

.blog_item-category {
    background-color: #CAB04D;
    color: #000000;
    padding: 0 0.8%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: auto;
}

.blog_item-info {
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.blog_item-excerpt, .blog_item-date {
    color: #7E7E7E;
}

.blog_item-more {
    overflow: hidden; 
    position: relative;
}

.blog_item-more::after {
    content: "";
    visibility: hidden;
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;  
    height: 1px;
    background-color: #19234C;
    opacity: 1;
    transform: translate3d(-100%, 0, 0); 
    transition: transform 0.3s ease-in-out;
}

.blog_item-more:hover::after {
    transform: translate3d(0, 0, 0);
    visibility: visible;
}

.categories, .newsletter {
    border: 1px solid #000;
    border-radius: 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    margin-bottom: 5%;
    padding: 5%;
}

.newsletter p {
    color: #7E7E7E;
}

.newsletter form {
    display: flex;
    flex-direction: column;
    gap: 5%;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.newsletter-input {
    width: 100%;
    border: 1px solid #19234C;
    border-radius: 5px;
    margin-bottom: 2%;
}

.newsletter-button {
    border: 1px solid #19234C;
    border-radius: 5px;
    background-color: #19234C;
    color: #fff;
    font-family: 'Calibri', sans-serif;
    font-weight: 700;
    font-size: 20px;
    width: 100%;

    &:hover {
        background-color: #fff;
        color: #19234C;
    }
}

.categories-list li {
    cursor: pointer;
}