.news_banner{
    padding: 11.8rem 0 14.5rem;
    background: linear-gradient(to right, #1A2B3B, #102030);
    color: white;
}
.news_banner h1{
    margin-top: 0.5rem;
    max-width: 70rem;
    margin-bottom: 2.8rem;
}
.news_banner .head p{
    color: #94a3b8;
    max-width: 62.5rem;
}
.news_nav{
    padding: 2.8rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.news_nav ul{
    gap: 0.8rem;
    display: flex;
    justify-content: center;
}
.news_nav ul li a{
    display: inline-block;
    line-height: 4.2rem;
    padding: 0 2.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    font-weight: 600;
    color: #333333;
    transition: all 0.3s;
}
.news_nav ul li.active a, .news_nav ul li:hover a{
    background-color: #0099E5;
    color: white;
    border-color: #0099E5;
    padding: 0 2.7rem;
}

.news_featured{
    padding: 9.7rem 0 13rem;
    background-color: #F9FAFC;
}
.news_featured .swiper-slide{
    border-radius: 1.3rem;
    overflow: hidden;
}
.news_featured .swiper-slide:hover .left img{
    transform: scale(1.05);
}
.news_featured .swiper_news_featured{
    overflow: hidden;
}
.news_featured .left{
    width: 50.34%;
}
.news_featured .right{
    width: 49.66%;
}
.news_featured .left .img{
    aspect-ratio: 723/633;
}
.news_featured .left .subtitle{
    line-height: 4.1rem;
    color: white;
    padding: 0 1.9rem;
    border-radius: 0.6rem;
    background-color: var(--primary);
    position: absolute;
    left: 2.9rem;
    top: 2.9rem;
    font-size: 1.4rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
}
.news_featured .right{
    padding: 6.5rem 5.2rem;
    background-color: white;
}
.news_featured .right .tag{
    line-height: 4rem;
    background-color: #E5F3FC;
    display: inline-block;
    padding: 0 2.1rem;
    border-radius: 20rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-right: 1.9rem;
}
.news_featured .right .time{
    font-size: 1.6rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    letter-spacing: 0.01em;
    
}
.news_featured .right .time:before{
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background: url('../img/time_icon.svg') no-repeat center/contain;
}
.news_featured .right .title{
    font-size: 4.8rem;
    line-height: 5.7rem;
    font-weight: 600;
    margin-top: 1.8rem;
    color: #0a0f18;
    letter-spacing: 0.01em;
    margin-bottom: 3.5rem;
}
.news_featured .right p{
    font-size: 1.8rem;
    line-height: 3rem;
    color: #5c5c63;
}
.news_featured .right .btn{
    margin-top: 4.5rem;
    padding-right: 2.2rem;
    padding-left: 3rem;
    font-weight: 400;
    gap: 0.6em;
}

.blog_main{
    padding: 11rem 0 11.5rem;
}
.blog_main .head{
    margin-bottom: 6.5rem;
}
.blog_main .head h2{
    margin-bottom: -1rem;
}
.blog_main .head .count{
    color: #64748b;
    display: block;
    margin-top: -1rem;
    letter-spacing: 0.02em;
}

.blog_main .main .news_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.4rem 3.8rem;
}
.blog_main .main .news_list + p.center{
    margin-top: 5rem;
}
.news_newsletter{
    padding-bottom: 10.5rem;
}
.news_newsletter .main{
    padding: 4.5rem 5.8rem 5.5rem;
    background: linear-gradient(to right , #162737, #10202F);
    border-radius: 1.6rem;
    color: white;
}
.news_newsletter h2{
    font-size: 3.2rem;
    color: white;
    margin-bottom: 1.6rem;
    letter-spacing: 0.03em;
}
.news_newsletter h2 em{
    color: var(--secondary);
}
.news_newsletter .head p{
    font-size: 1.9rem;
    line-height: 3.2rem;
    color: #94a3b8;
    letter-spacing: 0.01em;
    font-weight: 300;
}
.news_newsletter .head{
    max-width: 62.6rem;
}
.news_newsletter form{
    display: flex;
    position: relative;
    gap: 1.4rem;
    padding-top: 1rem;
}
.news_newsletter form input[type="email"]{
    padding: 1.6rem 2.4rem;
    border-radius: 0.8rem;
    border: 1px solid #3C4A58;
    color: #333333;
    width: 100%;
    display: block;
    font-size: 1.6rem;
    background-color: #1F2D3D;
    color: white;
}
.news_newsletter form input[type="email"]:focus{
    outline: none;
    border-color: var(--primary);
}
.news_newsletter form input[type="submit"]{
    display: inline-block;
    padding: 0 3rem;
    border-radius: 0.8rem;
    color: white;
    line-height: 5.6rem;
    background-color: var(--primary);
    transition: all 0.3s;
    font-size: 1.6rem;
}
.news_newsletter form input[type="submit"]:hover{
    background-color: var(--secondary);
}

@media screen and (min-width: 769px) and (max-width: 1250px) {
    .news_featured .left .img{
        aspect-ratio: unset;
        height: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .news_featured .left {
        width: 45%;
    }
    .news_featured .right {
        width: 55%;
        padding: 4rem 3.5rem;
    }
    .news_featured .right .title {
        font-size: 3.5rem;
        line-height: 4.5rem;
    }
    .blog_main .main .news_list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 769px) and (max-width: 896px) {
    .news_featured .left {
        width: 100%;
    }
    .news_featured .right {
        width: 100%;
        padding: 3rem 3rem;
    }
    .news_featured .swiper-slide .flex {
        flex-wrap: wrap;
    }
    .news_featured .right .title {
        font-size: 3rem;
        line-height: 4rem;
    }
    .blog_main .main .news_list {
        grid-template-columns: repeat(2, 1fr);
    }
    .news_newsletter .main {
        flex-wrap: wrap;
    }
    .news_newsletter form {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .news_banner {
        padding: 50px 0;
    }
    .news_banner h1 {
        font-size: 25px;
        line-height: 1.3;
        max-width: unset;
        margin-bottom: 15px;
    }
    .news_banner .head p {
        font-size: 14px;
        line-height: 1.5;
        max-width: unset;
    }
    .news_nav {
        padding: 16px 0;
    }
    .news_nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        width: calc(100% + 40px);
        margin: 0 -20px;
        padding: 0 20px;
        gap: 8px;
    }
    .news_nav ul::-webkit-scrollbar {
        display: none;
    }
    .news_nav ul li {
        flex-shrink: 0;
    }
    .news_nav ul li a {
        line-height: 34px;
        padding: 0 16px;
        font-size: 14px;
        white-space: nowrap;
        border-radius: 6px;
    }
    .news_nav ul li.active a,
    .news_nav ul li:hover a {
        padding: 0 20px;
    }
    .news_featured {
        padding: 50px 0;
    }
    .news_featured .swiper-slide .flex {
        flex-wrap: wrap;
    }
    .news_featured .left {
        width: 100%;
    }
    .news_featured .left .subtitle {
        line-height: 32px;
        padding: 0 12px;
        left: 16px;
        top: 16px;
        font-size: 12px;
        border-radius: 4px;
    }
    .news_featured .right {
        width: 100%;
        padding: 20px;
    }
    .news_featured .right .tag {
        line-height: 30px;
        padding: 0 14px;
        font-size: 13px;
        margin-right: 10px;
    }
    .news_featured .right .time {
        font-size: 14px;
        gap: 6px;
    }
    .news_featured .right .title {
        font-size: 20px;
        line-height: 1.3;
        margin-top: 12px;
        margin-bottom: 14px;
    }
    .news_featured .right p {
        font-size: 14px;
        line-height: 1.5;
    }
    .news_featured .right .btn {
        margin-top: 20px;
        font-size: 14px;
        line-height: 40px;
        padding: 0 20px;
    }
    .blog_main {
        padding: 50px 0;
    }
    .blog_main .head {
        margin-bottom: 30px;
    }
    .blog_main .head .count {
        font-size: 14px;
        margin-top: 5px;
    }
    .blog_main .main .news_list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog_main .main .news_list + p.center {
        margin-top: 30px;
    }
    .news_newsletter {
        padding-bottom: 50px;
    }
    .news_newsletter .main {
        padding: 30px 20px;
        border-radius: 10px;
        flex-wrap: wrap;
    }
    .news_newsletter h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .news_newsletter .head {
        max-width: unset;
    }
    .news_newsletter .head p {
        font-size: 14px;
        line-height: 1.5;
    }
    .news_newsletter form {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 10px;
    }
    .news_newsletter form input[type="email"] {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 6px;
    }
    .news_newsletter form input[type="submit"] {
        padding: 0 20px;
        line-height: 46px;
        font-size: 14px;
        border-radius: 6px;
        width: 100%;
    }
    .blog_main .head h2{
        margin-bottom: -6px;
    }
    .blog_main .main .news_list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .blog_main .main .news_list {
        grid-template-columns: repeat(1, 1fr);
    }
}
