/* HOME NEWS HERE */
#home_news .title {
    margin: 2rem auto;
    color: var(--text-dark-blue);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 48px;
    font-style: normal;
    font-weight: var(--font-light);
    line-height: 56px; 
}
#home_news .btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
#home_news .btn_news {
    color: #3D95CF;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    font-family: var(--font-secondary);
    font-size: var(--fs-16);
    font-style: normal;
    font-weight: var(--font-bold);
    line-height: var(--lh-24); 
    letter-spacing: 0.8px;
    cursor: pointer;
}
#home_news .btn_news.active {
    color: var(--text-blue);
    padding-bottom: 5px;
    border-bottom: 2px solid #013877;
}
#home_news .home-news-empty {
    font-family: 'Geologica';
    font-size: 22px;
    align-items: center;
    color: var(--text-dark-blue);
    display: flex;
    justify-content: center;
    min-height: 220px;
    text-align: center;
}
#home_news a.btn {
    width: fit-content;
    display: block;
    text-decoration: none;
    color: var(--text-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-regural);
    line-height: 56px; 
    text-transform: capitalize;
    margin: 0 auto 2rem auto;
}
#home_news a .btn_cirle {
    border-bottom: 1px solid var(--text-blue);
    padding-bottom: 8px;
    padding-right: 50px;
    position: relative;
}
#home_news a .btn_cirle p {
    animation: slide-right-reverse .5s ease-in-out forwards;
}
#home_news a .btn_cirle:hover p {
    animation: slide-right .5s ease-in-out forwards;
}
#home_news a .btn_cirle::after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: transparent;
    border: 1px solid var(--text-blue);
    border-radius: 100px;
}
#home_news a .btn_cirle::after {
    animation: slide-reverse .5s ease-in-out forwards;
}

#home_news a .btn_cirle:hover::after {
    animation: slide .5s ease-in-out forwards;
}

#home_news .news_main {
    position: relative;
}
#home_news .news_main .postMain .post-content {
    border-radius: 0 0 20px 20px;
    background: #013877;
    backdrop-filter: blur(5px);
    padding: 28px 28px 40px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -5px;
}
#home_news .news_main .postMain.cat-nea .post-content {
    background: rgba(1, 56, 119, 0.80);
}
/*
#home_news .news_main .postMain.cat-other .post-content {
    background: #3D95CF;
}

.postMain.cat-other .btn_simple:hover{
    color:#346092!important;
    border-color:#346092!important;
}

.postMain.cat-other:hover .btn_simple:after{
    background: #346092!important;
}
*/

.postMain.cat-other .post-category{
    min-height: 70px;
}

#home_news .news_main .postMain.cat-arthra .post-content {
    background: #013877;
}
#home_news .news_main img {
    width: 100%;

    height: 220px;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
}
#home_news .news_main .postMain .post-category {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-16);
    font-style: normal;
    font-weight: var(--font-light);
    line-height: var(--lh-24); 
    letter-spacing: 1.6px;
}
#home_news .news_main .postMain .post-date {
color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-16);
    font-style: normal;
    font-weight: var(--font-bold);
    line-height: var(--lh-32); 
    letter-spacing: 0.8px;
}
#home_news .news_main .postMain .postTitle {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-light);
    line-height: var(--lh-24);
}

.post-title-btn-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

#home_news .news_main .swiper-button-prev-news {
    transform: rotate(180deg);
    left: 75px;
}
#home_news .news_main .swiper-button-next-news {
    right: 75px;
}
#home_news .news_main .swiper-button-next-news, #home_news .news_main .swiper-button-prev-news {
    position: absolute;
    top: 60%;
    z-index: 1;
    cursor: pointer;
}
@media screen and (max-width: 1500px) {
#home_news .news_main .swiper-button-prev-news {
    left: 25px;
}
#home_news .news_main .swiper-button-next-news {
    right: 25px;
}
}

@media screen and (max-width: 1390px) {
#home_news .news_main .swiper-button-prev-news {
    left: 5px;
}
#home_news .news_main .swiper-button-next-news {
    right: 5px;
}
}

@media screen and (max-width: 1000px) {
#home_news .news_main .swiper-button-prev-news {
    top: auto;
    bottom: -35px;
    left: 43%;
}
#home_news .news_main .swiper-button-next-news {
    top: auto;
    bottom: -37px;
    right: 43%;
}
}

@media screen and (max-width: 768px) {
#home_news .news_main .swiper-button-prev-news {
    top: auto;
    bottom: -35px;
    left: 40%;
}
#home_news .news_main .swiper-button-next-news {
    top: auto;
    bottom: -37px;
    right: 40%;
}
}

@media screen and (max-width: 550px) {
#home_news .news_main .swiper-button-prev-news {
    top: auto;
    bottom: -35px;
    left: 37%;
}
#home_news .news_main .swiper-button-next-news {
    top: auto;
    bottom: -37px;
    right: 37%;
}
}

@media screen and (max-width: 450px) {

    .news_main.zp_row {
        padding-left: 0;
        padding-right: 0;
    }

    #home_news .news_main .swiper-button-prev-news {
        top: auto;
        bottom: -35px;
        left: 33%;
    }
    #home_news .news_main .swiper-button-next-news {
        top: auto;
        bottom: -37px;
        right: 33%;
    }
}

#home_news .news_main a {
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-light);
    line-height: var(--lh32); 
    position: relative;
    width: fit-content;
}
#home_news .news_main a .btn_simple {
    border-bottom: 1px solid #FFF;
    padding-bottom: 10px;
    padding-right: 15px;
    transition: .5s all ease-in-out;
}
#home_news .news_main a .btn_simple::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #FFF;
    position: absolute;
    right: -5px;
    bottom: -5px;
    border-radius: 100px;
    transition: .5s all ease-in-out;
}
#home_news .news_main a .btn_simple:hover::after {
    background: var(--btn-semi-light-blue);
    transition: .5s all ease-in-out;
}
#home_news .news_main a .btn_simple:hover {
    color: var(--btn-semi-light-blue);
    transition: .5s all ease-in-out;
    border-bottom: 1px solid var(--btn-semi-light-blue);
}


@media (max-width: 1000px) {
    #home_news .title  {
        font-size: var(--mob-fs-Max);
        line-height: var(--lh-32); 
    }
    #home_news .btns {
        margin: -6px auto -1rem auto;
    }
    #home_news .btn_news {
        font-size: 14px;
        line-height: var(--lh-24); 
    }
    #home_news .news_main .postMain .post-content {
        gap: 9px;
    }
    #home_news .news_main .postMain .post-category {
        font-size: var(--fs-14);
        line-height: var(--lh-24); 
    }
    #home_news .news_main .postMain .post-date {
        font-size: 14px;
        line-height: var(--lh-32); 
    }
    #home_news .news_main .postMain .postTitle {
        font-size: var(--fs-16);
        line-height: var(--lh-24);
    }
    #home_news .news_main a {
        font-size: 14px;
        line-height: var(--lh-32);
    }
    #home_news a.btn {
        margin: 4rem auto 2rem auto;
    }
    #home_news .news_main img {
        object-fit: cover;
        max-height: 212px;
    }
}