.author-profile {
    background: #0b1220;
    border-radius: 6px;
}
.author-profile h1 {
    color: #ff3d77;
    text-shadow: 0 1px 0 rgba(255, 61, 119, 0.15);
}
.author-profile img.rounded-circle {
    border: 4px solid #0b1220;
    border-radius: 999px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 2px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(255, 61, 119, 0.25);
}
.author-profile .badge.bg-light {
    background: #121b2e !important;
    color: #e7ecff !important;
    border: 1px solid rgba(231, 236, 255, 0.18) !important;
    transition: background 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
}
.author-profile .badge.bg-light:hover {
    background: #ff3d77 !important;
    color: #0b1220 !important;
    border-color: rgba(255, 61, 119, 0.55) !important;
    transform: translateY(-1px);
}

/* ============================================
   2. Author Box (AuthorBoxSection)
   ============================================ */
.author-box {
    border-inline-start: 4px solid #00e5ff;
    transition: border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #0f172a;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.author-box:hover {
    box-shadow: none;
    transform: translateY(-1px);
    border-inline-start-color: #6a5cff;
}
.author-box img {
    transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 240ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 6px;
}
.author-box:hover img {
    transform: scale(1.05);
    filter: saturate(1.1) contrast(1.05);
}

/* ============================================
   3. Author Posts List (AuthorPostsListSection)
   ============================================ */
.author-posts-list .card {
    transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1220;
    box-shadow: none;
}
.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: #6a5cff;
    background: #0f1630;
}
.author-posts-list .card-img-top {
    transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.author-posts-list .card:hover .card-img-top {
    transform: scale(1.05);
    filter: saturate(1.15) contrast(1.05);
}

/* ============================================
   4. Main Authors (MainAuthorsSection)
   ============================================ */
.main-authors-section {
    background: #0b1220;
}
.author-card {
    transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 240ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 240ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #0f172a;
    box-shadow: none;
}
.author-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
    border-color: #00e5ff;
    background: #0b1a2a;
}
.author-card img.rounded-circle {
    border: 3px solid #121b2e;
    transition: border-color 220ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 999px;
}
.author-card:hover img.rounded-circle {
    border-color: #ff3d77;
    filter: saturate(1.15);
}

/* ============================================
   5. FAQ (FaqSection) - <details>/<summary>
   ============================================ */
.faq-section {
    background: #0b1220;
    border-radius: 6px;
}
.faq-section h2 {
    font-size: 1.75rem;
    color: #6a5cff;
    text-shadow: 0 1px 0 rgba(106, 92, 255, 0.25);
}

/* FAQ item */
.faq-list .faq-item {
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: background-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
    cursor: pointer;
    border-radius: 4px;
    background: #0f172a;
    box-shadow: none;
}
.faq-list .faq-item:hover {
    box-shadow: none !important;
    transform: translateY(-2px);
    border-color: #00e5ff;
    background: #0e1a33;
}

.faq-list .faq-item[open] {
    border-color: #ff3d77;
    background: #111a30;
}

/* summary */
.faq-list .faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1.6;
    padding-inline-end: 2rem;
    position: relative;
    user-select: none;
    color: #e7ecff;
}
.faq-list .faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-list .faq-item summary::marker {
    content: '';
}
.faq-list .faq-item summary::after {
    content: '+';
    position: absolute;
    inset-inline-end: 0.25rem;
    inset-block-start: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: #6a5cff;
    transition: transform 200ms cubic-bezier(0.2, 0.9, 0.2, 1), color 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
    line-height: 1;
}
.faq-list .faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: #ff3d77;
}

/* Q number */
.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #00e5ff;
    text-shadow: 0 1px 0 rgba(0, 229, 255, 0.18);
}

/* Answer */
.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
    color: #cfe2ff;
}
@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   6. Sidebar Widgets (SidebarWidgetsSection)
   ============================================ */
.sidebar-widgets .card {
    transition: transform 200ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
.sidebar-widgets .card:hover {
    box-shadow: none;
    transform: translateY(-1px);
    border-color: #6a5cff;
    background: #0e1a33;
}

.sidebar-widgets h5 {
    color: #ff3d77;
    text-shadow: 0 1px 0 rgba(255, 61, 119, 0.15);
}
.sidebar-widgets .badge {
    transition: background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #121b2e;
    color: #e7ecff;
}
.sidebar-widgets .badge:hover {
    background-color: #6a5cff !important;
    color: #0b1220 !important;
    border-color: rgba(106, 92, 255, 0.55) !important;
    transform: translateY(-1px);
}

.sidebar-widgets ul li:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.sidebar-widgets ul li a:hover .small {
    color: #00e5ff !important;
}

/* ============================================
   7. Pagination (PaginationSection)
   ============================================ */
.pagination .page-link {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.35);
    transition: background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    background: #0f172a;
    box-shadow: none;
}
.pagination .page-link:hover {
    background-color: #121b2e;
    color: #6a5cff;
    border-color: #6a5cff;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: #ff3d77;
    border-color: #ff3d77;
    color: #0b1220;
}
.pagination .page-item.disabled .page-link {
    color: rgba(231, 236, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ============================================
   8. Search Box (SearchBoxSection)
   ============================================ */
.search-box-section {
    background: #0b1220;
    border-radius: 6px;
}
.search-box-section .input-group-lg .form-control {
    border-radius: 999px 0 0 999px;
    padding-inline-start: 1.5rem;
    background: #0f172a;
    color: #e7ecff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    caret-color: #00e5ff;
    outline: none;
    box-shadow: none;
    transition: border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.search-box-section .input-group-lg .btn {
    border-radius: 0 999px 999px 0;
    background: #6a5cff;
    color: #0b1220;
    border: 1px solid rgba(106, 92, 255, 0.45);
    transition: transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    box-shadow: none;
}
.search-box-section .badge {
    transition: background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #121b2e;
    color: #e7ecff;
}
.search-box-section .badge:hover {
    background-color: #00e5ff !important;
    color: #0b1220 !important;
    border-color: rgba(0, 229, 255, 0.55) !important;
    transform: translateY(-1px);
}

/* ============================================
   9. Search Results (SearchResult
sSection)
   ============================================ */
.search-results-section {
    background: #070b14;
    border-radius: 6px;
}
.search-result {
    transition: transform 200ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.search-result:hover {
    transform: translateX(3px);
    box-shadow: none;
}
.search-result h2 a:hover {
    color: #6a5cff !important;
}
.search-result mark {
    background-color: #22c55e;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 600;
    color: #05210f;
}

/* ============================================
   10. Error Page (Error404Section)
   ============================================ */
.error-page h1 {
    background: #ff3d77;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    color: #ff3d77;
    line-height: 1;
    text-shadow: 0 10px 0 rgba(0, 0, 0, 0.18), 0 2px 20px rgba(255, 61, 119, 0.25);
}
.recommended-links .badge {
    transition: transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #121b2e;
    color: #e7ecff;
    border-radius: 4px;
}
.recommended-links .badge:hover {
    background-color: #ff3d77 !important;
    color: #0b1220 !important;
    border-color: #ff3d77 !important;
    transform: translateY(-2px);
    box-shadow: none;
}
.recommended-links .badge:hover .text-warning {
    color: #00e5ff !important;
}

/* ============================================
   11. Legal Article (LegalArticleSection)
   ============================================ */
.legal-article-section,
main:has(> .container > article.bg-white) {
    background: #0b1220;
}
article :is(h2.h4) {
    color: #00e5ff;
    border-bottom: 2px solid rgba(0, 229, 255, 0.35);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}
article .alert-info {
    background-color: #112a45;
    border-color: #2b6cb0;
    color: #dbeafe;
    border-radius: 4px;
}
article .list-group-item {
    background: transparent;
    transition: background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), padding-inline-start 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
article .list-group-item:hover {
    background: #0f172a;
    padding-inline-start: var(--space-sm);
}

/* ============================================
   12. Post List (PostListSection - Category page)
   ============================================ */
.posts-grid {
    /* Container nếu cần */
}

.posts-grid .card {
    transition: transform 200ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 4px;
    background: #0f172a;
    box-shadow: none;
}
.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: #00e5ff;
    background: #0e1a33;
}
.posts-grid .card-img-top {
    transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.posts-grid .card:hover .card-img-top {
    transform: scale(1.05);
    filter: saturate(1.15);
}

.posts-grid .card-title a {
    transition: color 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.posts-grid .card-title a:hover {
    color: #ff3d77 !important;
}

/* ============================================
   13. Related Posts (RelatedPostsSection)
   ============================================ */
.related-posts h3 {
    border-bottom: 3px solid #6a5cff;
    padding-bottom: var(--space-xs);
    display: inline-block;
    color: #e7ecff;
}
.related-card {
    transition: transform 200ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
    box-shadow: none;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: #ff3d77;
    background: #0e1a33;
}
.related-card img {
    transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.related-card:hover img {
    transform: scale(1.05);
    filter: saturate(1.15);
}

/* ============================================
   14. Social Share (SocialShareSection)
   ============================================ */
.social-share .btn {
    min-width: 40px;
    transition: transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.9, 0.2, 1), color 160ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 6px;
    box-shadow: none;
}
.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}
.social-share [data-copy-url].copied {
    background-color: #00e5ff;
    color: #0b1220;
    border-color: #00e5ff;
    border-style: solid;
    opacity: 1;
    box-shadow: none;
}

/* ============================================
   15. Bootstrap Accordion override
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: #121b2e;
    color: #e7ecff;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 229, 255, 0.15);
    outline: 1px solid rgba(0, 229, 255, 0.2);
    outline-offset: -2px;
}

/* ============================================
   16. Modal (用于 SocialShare 微信二维码)
   ============================================ */
.modal-content {
    border: none;
    border-radius: 6px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f172a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ============================================
   17. Tooltip (Bootstrap)
   ============================================ */
.tooltip-inner {
    background-color: #ff3d77;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #0b1220;
}

/* ============================================
   18. Responsive
   ============================================ */
@media (max-width: 767.98px) {
    .faq-section h2 {
        font-size: 1.4rem;
    }

    .faq-list .faq-item summary {
        font-size: 0.95rem;
        padding-inline-end: 1.5rem;
    }

    .faq-list .faq-answer {
        font-size: 0.88rem;
    }

    .author-profile h1 {
        font-size: 1.5rem;
    }

    .author-profile .col-md-3 img {
        width: 120px !important;
        height: 120px !important;
    }

    .error-page h1 {
        font-size: 5rem !important;
        text-shadow: 0 8px 0 rgba(0, 0, 0, 0.18), 0 2px 26px rgba(255, 61, 119, 0.25);
    }

    .search-box-section .input-group-lg .form-control,
    .search-box-section .input-group-lg .btn {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .related-posts .row > [class*="col-"] {
        margin-bottom: var(--space-sm);
    }

    .pagination .page-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
        border-radius: 4px;
    }
}