nav,
h1 {
    text-transform: capitalize;
}

.site-footer {
    background: #000;
}

#site-navigation ul li a,
#site-navigation ul ul li a {
    color: #fff;
}

.site-branding .logo a {
    padding-bottom: 5px;
    color: #fff;
    padding-right: 10px;
}

.site-header {
    background: #000;
    color: #fff;
}

.thumb-block .entry-header {
    text-transform: capitalize;
    color: #fff;
}

body {
    background-color: #000;
    color: #fff;
}

.grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.breadcrumbs-area {
    background-color: #000;
}

.gap-2 {
    gap: 0.5rem;
}

#site-navigation > ul > li {
    background-color: #000;
}

@media (min-width: 768px) {
    .video-player {
        max-width: 960px;
        /* Thu nhỏ 80% */
        margin: 0 auto;
    }
}

.footer-menu-container ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 5px 0 5px 0.5em;
    text-align: center;
    align-content: center;
    flex-direction: row;
    justify-content: center;
}

.header-menu-container ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 5px 0 5px 0.5em;
    text-align: center;
    align-content: center;
    flex-direction: row;
    justify-content: center;
}

.footer-menu-container ul li {
    padding: 10px 15px;
    font-weight: 500;
    background-color: #000;
    /* Màu nền */
    color: #fff;
    /* Màu chữ */
    border-radius: 10px;
    /* Bo viền các nút */
    border: 1px solid #ccc;
    /* Viền màu */
    margin: 5px;
    /* Tạo khoảng cách giữa các nút */
    transition: all 0.3s ease;
    /* Hiệu ứng mượt */
}

.header-menu-container ul li {
    padding: 10px 15px;
    font-weight: 500;
    background-color: #000;
    /* Màu nền */
    color: #fff;
    /* Màu chữ */
    border-radius: 10px;
    /* Bo viền các nút */
    border: 1px solid #ccc;
    /* Viền màu */
    margin: 5px;
    /* Tạo khoảng cách giữa các nút */
    transition: all 0.3s ease;
    /* Hiệu ứng mượt */
}

.footer-menu-container {
    margin: 0;
}

.header-menu-container {
    margin: 0;
}

@media only screen and (max-width: 48em) {
    .site-branding {
        height: 135px;
    }
}

@media only screen and (min-width: 48.001em) and (max-width: 64em) {
    .site-branding {
        height: 105px;
    }
}

.menu-image-title-before.menu-image-not-hovered img,
.menu-image-hovered.menu-image-title-before .menu-image-hover-wrapper,
.menu-image-title-after.menu-image-title {
    padding-left: 0px;
}

.top-tags-box {
    background-color: #111;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    max-width: 100%;
    margin: 20px auto;
    font-size: 14px;
}

.top-tags-box .tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Đảm bảo các tag có thể xuống dòng khi cần */
    gap: 8px;
    /* Khoảng cách giữa các tag */
}

.top-tags-box .tags-wrapper a {
    display: inline-block;
    padding: 5px 12px;
    background-color: #222;
    color: #eee;
    border: 1px solid #333;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.top-tags-box .tags-wrapper a:hover {
    background-color: #ff4081;
    color: #fff;
    border-color: #ff4081;
}

/* Custom Pagination Styling */
.custom-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.custom-pagination ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.custom-pagination ul li {
    display: block;
    margin: 0;
}

.custom-pagination ul li a,
.custom-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: transparent;
    color: #ff8c00; /* Orange text */
    border: 1px solid #ccc; /* Grayish border */
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.custom-pagination ul li a:hover {
    color: #fff;
    background-color: #ff8c00;
    border-color: #ff8c00;
}

/* Active page styling */
.custom-pagination ul li.active span {
    color: #646c79;
    border-color: #646c79;
}

/* Disabled styling */
.custom-pagination ul li.disabled span {
    color: #fff;
    opacity: 0.5;
    cursor: not-allowed;
}

/* 404 page */
.error-page-404 {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px 60px;
}
.error-page-404 .not-found {
    margin: 0 auto;
    text-align: center;
    background: #111;
    border-radius: 10px;
    padding: 28px 20px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.error-page-404 .error-hero {
    margin-bottom: 0;
}
.error-page-404 .error-code {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #f7971d;
    text-shadow: 0 10px 25px rgba(247, 151, 29, 0.55);
    margin-bottom: 4px;
}
.error-page-404 .error-message {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.error-page-404 .error-subtitle {
    font-size: 14px;
    color: #bbb;
    margin: 0;
}
.error-page-404 .error-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.error-page-404 .error-actions .button {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    border-width: 1px;
}
.error-page-404 .error-actions .button.primary {
    background: linear-gradient(135deg, #f7971d, #ffb347);
    border-color: #f7971d;
    color: #fff;
}
.error-page-404 .error-actions .button.secondary {
    background: transparent;
    color: #f7971d;
    border-color: #f7971d;
}
.error-page-404 .error-actions .button.secondary:hover {
    background: rgba(247, 151, 29, 0.12) !important;
}
.error-page-404 .error-suggestions {
    display: none;
}

