/*nội dung của trang*/

.container .content {
    padding: 30px 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content .news-box {
    flex-basis: 68%;
}

.content .news-box .list-news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.news-box .item {
    flex-basis: 31.5%;
    background: var(--gray);
    box-shadow: rgba(0, 0, 0, 0.133) 0 3.2px 7.2px 0, rgba(0, 0, 0, 0.11) 0 0.6px 1.8px 0;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.news-box .list-news:after {
    content: '';
    flex-basis: 31.5%;
}

.news-box .item-last {
    display: none;
}

.news-box .item .img {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.news-box .item .img img {
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    height: 18rem;
}

.news-box .item h3 {
    padding: 15px 10px 10px;
    text-align: left;
    font-size: 1.8rem;
    line-height: 2.6rem;
}

.news-box .box-link:hover h3 {
    color: var(--yellow);
}

.news-box .box-link:hover .img img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.news-box .item .description {
    text-align: justify;
    cursor: auto;
    padding: 0 10px 15px;
}

/*Có thể bạn quan tâm*/
.content .news-other-box {
    background: var(--gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.content .box-col-r {
    flex-basis: 29%;
}

.news-other-box h2 {
    margin-bottom: 0.5rem;
}

.news-other-box .item {
    border-bottom: 1px dotted #ccc;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.news-other-box .item img {
    width: 60px;
    height: 55px;
    object-fit: cover;
}

.news-other-box .item a {
    width: auto;
}

.news-other-box .other-info {
    margin-left: 1rem;
}

.news-other-box .other-price {
    color: var(--red);
    font-size: 1.6rem;
}

.news-other-box .item:last-child {
    border: none;
    padding-bottom: 0;
}

.news-other-box .item a {
    color: var(--text);
    text-transform: capitalize;
}

.news-other-box .item a:hover {
    color: var(--yellow);
}

@media only screen and (max-width: 1024px) {
    .content .news-box {
        flex-basis: 100%;
    }

    .content .box-col-r {
        flex-basis: 100%;
    }

    .content .news-other-box {
        flex-basis: 100%;
        margin-top: 2rem;
    }

    .news-box .item {
        flex-basis: 32%;
    }

    .news-box .item .img img {
        height: 230px;
    }
}

@media only screen and (max-width: 768px) {
    .container .content {
        padding: 15px 0 10px;
    }

    .news-box .item {
        flex-basis: 48.5%;
    }

    .news-box .item .img img {
        height: 260px;
    }

    .news-box .item h3 {
        padding: 5px 10px 10px;
    }

    .news-other-box .item {
        padding: 10px 0;
    }

    .btn a {
        padding: 0.6rem 6rem;
    }
}

@media only screen and (max-width: 650px) {
    .news-box .item h3 {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
}

@media only screen and (max-width: 640px) {
    .news-box .item .img img {
        height: 220px;
    }
}

@media only screen and (max-width: 576px) {
    .news-box .item .img img {
        height: 200px;
    }

	.news-box .item .description {
		display: none;
	}

    .news-box .item h3 {
        padding: 5px;
    }

    .btn a {
        padding: 0.6rem 4rem;
    }
}

@media only screen and (max-width: 480px) {
    .news-box .item .img img {
        height: 165px;
    }
}

@media only screen and (max-width: 420px) {
    .news-box .item .img img {
        height: 143px;
    }
}

@media only screen and (max-width: 375px) {
    .news-box .item {
        flex-basis: 100%;
    }

    .news-box .item .img img {
        height: 200px;
    }

    .news-box .item h3 {
        text-align: center;
        padding: 10px 5px;
    }
}

@media only screen and (max-width: 350px) {
    .content .news-other-box {
        padding: 1.5rem 0.5rem;
    }
}
