.c-title_module {
    margin-bottom: 20px;
}
.news-category {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-category li a {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    transition: all 0.2s linear;
    border: 1px solid #212121;
    color: #212121;
    border-radius: 100rem;
}
.news-category li.active a {
    color: #fff;
    background-color: #212121;
}
.news-category li a:hover {
    /* color: #fff; */
    background-color: #f6f3e4;
}
.news-main-container {
    margin-top: 30px;
}
.news-item-slider {
    padding: 0 10px;
    margin: 8px;
    display: block;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.news-item-slider:hover img {
    transform: scale(1.1);
}
.news-item-slider__bottom {
    background-color: #f6f3e4;
}
.news-item-slider__ttl {
    text-align: center;
    color: #212121;
    font-size: 17px;
    padding: 5px 0;
    margin-bottom: 0;
    /* Max 2 line, show ... if longer */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    height: 50px;
}
.news-item-slider__img {
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
}
.news-item-slider__img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s linear;
}
.slick-arrow {
    width: 40px;
    height: 40px;
    border: none;
    outline: none;
    background-color: #e3ddbb;
    color: #212121;
    border-radius: 100rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}
.slick-arrow.slick-next {
    right: -10px;
}
.slick-arrow.slick-prev {
    left: -10px;
}
.row-content.c-box_root.main-content {
    margin-bottom: 0;
}


.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px 20px;
    margin-top: 20px;
}

.news-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.2s linear;
}
.news-item:hover img {
    transform: scale(1.1);
}
.news-item__img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.news-item__img img {
    transition: all 0.2s linear;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s linear;
}
.news-item__ttl {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 20px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add responsive */
@media (max-width: 1199px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .news-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
