@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');

:root{
    --primary-color: #0aad69;
}

body{
    font-size: 15px;
    font-family: "Roboto Flex", sans-serif;
}
.cut-text{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

/* pagination */
/* Container pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px; /* khoảng cách giữa các item */
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

/* Li item */
.pagination .page-item {
    /* Không cần gì thêm, dùng riêng cho active/disabled */
}

/* Link / span trong pagination */
.pagination .page-link {
    display: block;
    padding: 0.25rem 0.75rem; /* px-3 py-1 */
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.375rem; /* rounded-md */
    color: #374151; /* gray-700 */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

/* Hover link (không disabled, không active) */
.pagination .page-item:not(.disabled):not(.active) .page-link:hover {
    background-color: #f3f4f6; /* gray-100 */
    color: #111827; /* gray-900 */
}

/* Active page */
.pagination .page-item.active .page-link {
    background-color: #2563eb; /* blue-600 */
    color: white;
    border-color: #2563eb; /* blue-600 */
}

/* Disabled page */
.pagination .page-item.disabled .page-link {
    background-color: #e5e7eb; /* gray-200 */
    color: #9ca3af; /* gray-400 */
    cursor: not-allowed;
}

/* Dấu "..." */
.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: #6b7280; /* gray-500 */
    cursor: default;
}

/* pagination */


.content-content h1,
.content-content h2,
.content-content h3,
.content-content h4,
.content-content h5,
.content-content h6 {
    font-weight: 600;
    line-height: 1.3;
    margin: 1em 0 0.5em;
}


/* Responsive table: thêm scroll ngang */

.content-content table {
    /* display: block; */
    /* overflow-x: auto; */
    /* white-space: nowrap; */
}


/* Responsive video iframe */

.content-content iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    /* Giữ tỷ lệ */
    display: inline-block;
}


/* Khi ảnh nằm trong đoạn text được căn trái */

.content-content p[style*="text-align:left"] img {
    display: inline-block;
    margin: 0 auto 1em 0;
}

.content-content img {
    display: inline-block;
}


/* Khi ảnh nằm trong đoạn text được căn giữa */

.content-content p[style*="text-align:center"] img {
    display: inline-block;
    margin: 0 auto 1em auto;
}


/* Khi ảnh nằm trong đoạn text được căn phải */

.content-content p[style*="text-align:right"] img {
    display: inline-block;
    margin: 0 0 1em auto;
}

@media (max-width: 768px) {
    .content-content img {
        max-width: 100%;
        height: auto;
    }
    .header-address {
        display: none;
    }
    .content-content {
        overflow-x: scroll;
    }
}

.content-content table {
    width: 100%;
    border-collapse: collapse;
    /* gộp border thay vì tách */
    margin: 1em 0;
    /* font-size: 15px; */
}

.content-content th,
.content-content td {
    border: 1px solid #808080;
    /* giống border="1" */
    padding: 8px;
    /* thay cho cellpadding */
    text-align: left;
    vertical-align: middle;
}

.content-content th {
    background: #f5f5f5;
    font-weight: 600;
}


/* Nếu muốn giữ cellspacing (khoảng cách giữa ô) */

.content-content table.separate {
    border-collapse: separate;
    border-spacing: 5px;
    /* giống cellspacing="5" */
}


/* Responsive: cho phép scroll ngang trên màn hình nhỏ */

.content-content table {
    /* display: block; */
    /* overflow-x: auto; */
    /* white-space: nowrap; */
}

.content-content p, .content-content li {
    margin-bottom: 15px;
}



.text-color_primary {
    color: var(--primary-color);
}

.hover\:border-color_primary:hover{
    --tw-border-opacity: 1;
    border-color: rgb(17 78 184 / var(--primary-color));
}

.bg-color_primary, .hover\:bg-color_primary:hover {
    background: var(--primary-color);
}