/* Styles for prediction pages */
.hover-shadow-transition {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hover-shadow-transition:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}
.hover-red:hover {
    color: var(--bs-danger) !important;
}

/* Kiểu dáng cho phần tiêu đề */
.xs-title-section {
    margin-bottom: 1.5rem;
}
.xs-title-section h1 {
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem !important;
    color: #212529;
}
.xs-title-section p {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 0;
}

/* Khung bao quanh danh sách các bài viết */
.article-list-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-list-header {
    background-color: #dc3545; /* Màu đỏ chủ đạo xổ số */
    color: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #dc3545;
}

.article-list-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.article-list-body {
    padding: 16px;
}

/* Style cho từng bài viết trong khung */
.js-article-listing .card {
    border: 1px solid #f0f0f0 !important;
    border-radius: 6px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.js-article-listing .card:hover {
    border-color: #dc3545 !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.08) !important;
}

@media (max-width: 767px) {
    body .row.g-0.g-md-3,
    body .row.gx-3 {
        margin-top: 0px !important;
    }
    .bg-white.shadow-sm {
        margin-top: 54px !important;
    }
    .nav__sub li a {
        padding: 8px 4px !important;
    }
    .xs-title-section h1 {
        font-size: 1.35rem !important;
    }
}

/* Nav Sub Menu */
.nav__sub {
    border-bottom: 2px solid #dc3545;
}
.nav__sub li a {
    transition: color 0.2s ease, border-color 0.2s ease;
}

/* FAQ Accordion Section */
.faq-section {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.faq-list {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}
.faq-item {
    border-bottom: 1px solid #dee2e6;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}
.faq-question:hover {
    background-color: #f1f3f5;
}
.faq-answer {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.6;
    background-color: #fff;
    border-top: 1px solid #f1f3f5;
}

/* Table dự đoán & chốt số */
.table_dudoan_wrapper {
    margin-top: 25px;
}
.table_dudoan {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.table_dudoan td {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    background-color: #fff;
}
.conso_dudoan {
    font-size: 1.15rem;
}
.text-red {
    color: #dc3545 !important;
}

