html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    padding-bottom: 24px;
    border-bottom: 0.5px solid #919191 !important;
}

section {
    flex-grow: 1;
}

.pagination .page-item:first-child,
.pagination .page-item:last-child {
    padding: 0;
}

.pagination .page-item:first-child {
    padding-right: 10px;
}

.pagination .page-item:last-child {
    padding-left: 10px;
}

.page-item {
    padding: 0 5px;
}

.page-item .page-link {
    border: none;
    padding: 0.5rem 1rem;
}

.page-item.active .page-link,
a.page-link:hover {
    background-color: #1A6373;
    color: white !important;

}

.page-link.page-previous {
    background-image: url("../img/arrow-left.png");
}

.page-link.page-next {
    background-image: url("../img/arrow-right.png");
}

.page-link.page-next,
.page-link.page-previous {
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 22px;
    padding: 0;
}

.page-link.page-previous:hover, .page-link.page-next:hover {
    background-blend-mode: screen;
}

.page-total {
    font-size: 18px;
    font-weight: 700;
    color: #585757;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span,
.pagination > li > a,
.pagination > li > span {
    border-radius: 100px !important;
    margin: 0 2px;
    color: #777;
    border-color: #ddd;
}
.search-input {
    padding-right: 30px;
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/svgs/solid/search.svg');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}
.news-description {
    margin-bottom: 40px;
    font-size: 28px !important;
    font-weight: 400;
    color: #1A6373;
}
@media (max-width: 768px) {
    .news-item {
        padding: 10px 0;
    }
    .col-md-2 {
        flex: 0 0 100%; /* Đảm bảo hình ảnh sẽ chiếm toàn bộ chiều rộng */
        max-width: 100%;
        margin-bottom: 10px;
    }
    .col-md-10 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .news-title-text {
        font-size: 14px; /* Giảm font-size cho tiêu đề */
    }
    .news-date {
        flex-direction: column; /* Đặt các phần tử theo chiều dọc trên màn hình nhỏ */
        align-items: flex-start;
    }
    .letters {
        font-size: 11px;
        margin-right: 10px;
    }
}
