.news_component {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: 100%;
}

.news_title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.news_content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.swiper {
    width: 670px;
    height: 464px; 
    border-radius: 30px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    background-color: #F5F5FA !important;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    padding-top: 50px;
    min-height: 100px;
    pointer-events: none;
}

.swiper-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 1s;
    z-index: 1;
}

.swiper-slide-img:hover {
    transform: scale(1.05);
}

.swiper-slide-img-p {
    position: relative;
    max-width: 100%;
    font-size: 35px;
    text-decoration: none;
    color: white;
    text-align: left;
    margin: 20px 20px 10px 20px;
    display: block;
    z-index: 11;
}

.swiper-slide-img-p:visited {
    color: white;
}

.swiper-slide-img-p:hover {
    text-decoration: underline;
}

.swiper-slide-img-time {
    position: relative;
    width: 100%;
    font-size: 20px;
    text-decoration: none;
    color: white;
    text-align: left;
    margin: 10px 20px 20px 20px;
    display: block;
    z-index: 11;
}

.regular_news {
    width: 400px;
    height: 464px; 
    color: #F5F5FA !important;
    border-radius: 24px !important;
    padding: 20px 20px 60px 20px; 
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}

.regular_news_list {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.regular_news_list::-webkit-scrollbar {
    width: 4px;
}

.regular_news_list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.regular_news_list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.regular_new {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px; 
    padding-bottom: 0; 
    border-bottom: none; 
}

.regular_new:last-child {
    margin-bottom: 0; 
}

.time_new {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    order: -1; 
}

.name_new {
    font-size: 16px;
    color: #050625;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0; 
}

.name_new:visited {
    color: #050625;
}

.name_new:hover {
    text-decoration: underline;
}

.news_all_link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 18px;
    color: #004EA6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
    background: none;
    padding: 0;
    border: none;
    white-space: nowrap;
}

.news_all_link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.news_all_link::after {
    font-size: 20px;
    line-height: 1;
    color: #004EA6;
}

@media (min-width: 1159px) {
    .regular_news {
        width: 400px;
        height: 464px;
    }

    .swiper {
        width: 670px;
        height: 464px;
    }
}

@media (max-width: 1159px) and (min-width: 670px) {
    .regular_news {
        width: 670px;
        height: auto;
        min-height: 380px;
    }

    .swiper {
        width: 670px;
        height: 450px;
    }
    
    .regular_news {
        padding-bottom: 50px;
    }
}

@media (max-width: 670px) and (min-width: 426px) {
    .news_content {
        flex-direction: column;
        align-items: center;
    }
    
    .regular_news {
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .swiper {
        width: 100%;
        height: 350px;
    }
    
    .swiper-slide-img-p {
        font-size: 25px !important;
    }
}

@media (max-width: 426px) {
    .news_content {
        flex-direction: column;
        align-items: center;
    }
    
    .regular_news {
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 15px 15px 50px 15px;
    }

    .swiper {
        width: 100%;
        height: 170px;
    }
    
    .swiper-slide-img-p {
        font-size: 16px !important;
        margin: 10px 15px 5px 15px;
    }
    
    .swiper-slide-img-time {
        font-size: 14px;
        margin: 5px 15px 15px 15px;
    }
    
    .name_new {
        font-size: 15px;
    }
    
    .time_new {
        font-size: 12px;
    }
    
    .news_title {
        font-size: 32px;
    }
    
    .regular_new {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .news_all_link {
        left: 15px;
        bottom: 15px;
    }
}