.author-profile {
    background: radial-gradient(1200px 420px at 20% 0%, #f8fafc 0%, #e5eaf2 30%, #f1f5f9 60%, var(--color-bg-soft) 100%);
}

.author-profile h1 {
    color: var(--color-primary-darker);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.author-profile img.rounded-circle {
    border: 4px solid #f8fafc;
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.18),
        0 2px 6px rgba(2, 6, 23, 0.10),
        inset 0 0 0 1px rgba(59, 130, 246, 0.14);
}

.author-profile .badge.bg-light {
    background: #eef2ff !important;
    color: #0f172a !important;
    transition-property: background-color, color, transform, box-shadow, border-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    transition-delay: 0ms;
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.author-profile .badge.bg-light:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.55) !important;
    box-shadow:
        0 10px 22px rgba(59, 130, 246, 0.28),
        0 2px 6px rgba(2, 6, 23, 0.12);
    transform: translateY(-1px);
}

/* ============================================
   2. Author Box (AuthorBoxSection)
   ============================================ */
.author-box {
    border-inline-start: 4px solid #3b82f6;
    transition-property: box-shadow, transform, border-color, background-color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    transition-delay: 0ms;
    border-radius: 4px;
}

.author-box:hover {
    box-shadow:
        0 18px 30px rgba(15, 23, 42, 0.18),
        0 4px 10px rgba(2, 6, 23, 0.10),
        inset 0 0 0 1px rgba(59, 130, 246, 0.20);
    transform: translateY(-2px);
}

.author-box img {
    transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.author-box:hover img {
    transform: scale(1.045);
}

/* ============================================
   3. Author Posts List (AuthorPostsListSection)
   ============================================ */
.author-posts-list .card {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.04),
        0 10px 24px rgba(15, 23, 42, 0.06);
}

.author-posts-list .card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 22px 44px rgba(2, 6, 23, 0.22),
        0 10px 18px rgba(59, 130, 246, 0.12),
        0 2px 6px rgba(2, 6, 23, 0.10);
    border-color: rgba(59, 130, 246, 0.55);
}

.author-posts-list .card-img-top {
    transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
    filter: saturate(1.02) contrast(1.02);
}

.author-posts-list .card:hover .card-img-top {
    transform: scale(1.045);
}

/* ============================================
   4. Main Authors (MainAuthorsSection)
   ============================================ */
.main-authors-section {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 40%, #0b1220 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.author-card {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 240ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.05),
        0 12px 26px rgba(2, 6, 23, 0.08);
}

.author-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px rgba(2, 6, 23, 0.28),
        0 10px 20px rgba(59, 130, 246, 0.14),
        0 2px 7px rgba(2, 6, 23, 0.14);
    border-color: rgba(59, 130, 246, 0.68);
}

.author-card img.rounded-circle {
    border: 3px solid #f1f5f9;
    transition-property: border-color, box-shadow;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    box-shadow:
        0 10px 20px rgba(2, 6, 23, 0.12),
        inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    border-radius: 999px;
}

.author-card:hover img.rounded-circle {
    border-color: #3b82f6;
    box-shadow:
        0 18px 30px rgba(59, 130, 246, 0.22),
        0 2px 8px rgba(2, 6, 23, 0.12),
        inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

/* ============================================
   5. FAQ (FaqSection) - <details>/<summary>
   ============================================ */
.faq-section {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 25%, #0b1220 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.faq-section h2 {
    font-size: 1.75rem;
    color: #93c5fd;
    text-shadow: 0 8px 24px rgba(59, 130, 246, 0.22);
}

/* FAQ item */
.faq-list .faq-item {
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition-property: box-shadow, transform, border-color, background, color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    cursor: pointer;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

.faq-list .faq-item:hover {
    box-shadow:
        0 18px 36px rgba(2, 6, 23, 0.20),
        0 8px 16px rgba(59, 130, 246, 0.12) !important;
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.45);
}

.faq-list .faq-item[open] {
    border-color: rgba(59, 130, 246, 0.35);
    background: radial-gradient(600px 220px at 10% 0%, rgba(59, 130, 246, 0.18) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(241, 245, 249, 0.98) 100%);
    box-shadow:
        0 20px 40px rgba(2, 6, 23, 0.18),
        0 10px 20px rgba(59, 130, 246, 0.10);
}

/* 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: #0f172a;
}

.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: #3b82f6;
    transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), color 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
    line-height: 1;
    text-shadow: 0 8px 18px rgba(59, 130, 246, 0.22);
}

.faq-list .faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: #1d4ed8;
}

/* Q number */
.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #60a5fa;
    text-shadow: 0 6px 14px rgba(96, 165, 250, 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: rgba(15, 23, 42, 0.88);
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
        filter: blur(1px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ============================================
   6. Sidebar Widgets (SidebarWidgetsSection)
   ============================================ */
.sidebar-widgets .card {
    transition-property: box-shadow, transform, border-color, background-color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.sidebar-widgets .card:hover {
    box-shadow:
        0 20px 44px rgba(2, 6, 23, 0.20),
        0 10px 18px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.35);
}

.sidebar-widgets h5 {
    color: #bfdbfe;
    text-shadow: 0 8px 20px rgba(59, 130, 246, 0.20);
}

.sidebar-widgets .badge {
    transition-property: background-color, color, transform, box-shadow, border-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.sidebar-widgets .badge:hover {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.55) !important;
    transform: translateY(-1px);
    box-shadow:
        0 14px 28px rgba(59, 130, 246, 0.28),
        0 2px 8px rgba(2, 6, 23, 0.14);
}

.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: #93c5fd !important;
}

/* ============================================
   7. Pagination (PaginationSection)
   ============================================ */
.pagination .page-link {
    color: #60a5fa;
    border-color: rgba(148, 163, 184, 0.28);
    transition-property: background-color, color, border-color, box-shadow, transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.pagination .page-link:hover {
    background-color: rgba(59, 130, 246, 0.10);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.18);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow:
        0 18px 34px rgba(59, 130, 246, 0.30),
        0 2px 10px rgba(2, 6, 23, 0.14);
}

.pagination .page-item.disabled .page-link {
    color: rgba(148, 163, 184, 0.75);
    border-color: rgba(148, 163, 184, 0.20);
    background: rgba(241, 245, 249, 0.70);
}

/* ============================================
   8. Search Box (SearchBoxSection)
   ============================================ */
.search-box-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(15, 23, 42, 0.08) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.search-box-section .input-group-lg .form-control {
    border-radius: 6px 0 0 6px;
    padding-inline-start: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
    transition: border-color 180ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 6px 6px 0;
    background: #3b82f6;
    border-color: rgba(59, 130, 246, 0.9);
    color: #ffffff;
    box-shadow:
        0 16px 32px rgba(59, 130, 246, 0.26),
        0 2px 10px rgba(2, 6, 23, 0.14);
    transition: transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 180ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.search-box-section .badge {
    transition-property: background-color, color, border-color, transform, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 3px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.search-box-section .badge:hover {
    background-color: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
    transform: translateY(-1px);
    box-shadow:
        0 14px 28px rgba(59, 130, 246, 0.28),
        0 2px 8px rgba(2, 6, 23, 0.14);
}

/* ============================================
   9. Search Results (SearchResult
sSection)
   ============================================ */
.search-results-section {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-result {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        0 22px 44px rgba(2, 6, 23, 0.22),
        0 10px 18px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.40);
}

.search-result h2 a:hover {
    color: #60a5fa !important;
    text-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
}

.search-result mark {
    background-color: #dbeafe;
    color: #0f172a;
    padding-inline: 2px;
    border-radius: 3px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

/* ============================================
   10. Error Page (Error404Section)
   ============================================ */
.error-page h1 {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 45%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 2px 0 rgba(2, 6, 23, 0.15),
        0 18px 42px rgba(59, 130, 246, 0.30);
}

.recommended-links .badge {
    transition-property: background-color, color, border-color, transform, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.30);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

.recommended-links .badge:hover {
    background-color: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(59, 130, 246, 0.30),
        0 2px 10px rgba(2, 6, 23, 0.14);
}

.recommended-links .badge:hover .text-warning {
    color: #1d4ed8 !important;
    text-shadow: 0 10px 22px rgba(29, 78, 216, 0.18);
}

/* ============================================
   11. Legal Article (LegalArticleSection)
   ============================================ */
.legal-article-section,
main:has(> .container > article.bg-white) {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

article :is(h2.h4) {
    color: #93c5fd;
    border-bottom: 2px solid rgba(148, 163, 184, 0.22);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 10px 22px rgba(59, 130, 246, 0.12);
}

article .alert-info {
    background-color: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.28);
    color: #dbeafe;
    box-shadow: 0 14px 30px rgba(59, 130, 246, 0.10);
}

article .list-group-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    transition-property: background-color, padding-left, border-color, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

article .list-group-item:hover {
    background: rgba(255, 255, 255, 0.06);
    padding-inline-start: var(--space-sm);
    border-color: rgba(59, 130, 246, 0.30);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.16);
}

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

.posts-grid .card {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 52px rgba(2, 6, 23, 0.24),
        0 10px 18px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.55);
}

.posts-grid .card-img-top {
    transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
    filter: saturate(1.03) contrast(1.02);
}

.posts-grid .card:hover .card-img-top {
    transform: scale(1.045);
}

.posts-grid .card-title a {
    transition: color 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.posts-grid .card-title a:hover {
    color: #60a5fa !important;
    text-shadow: 0 10px 22px rgba(59, 130, 246, 0.14);
}

/* ============================================
   13. Related Posts (RelatedPostsSection)
   ============================================ */
.related-posts h3 {
    border-bottom: 3px solid #3b82f6;
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 12px 26px rgba(59, 130, 246, 0.18);
}

.related-card {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 22px 44px rgba(2, 6, 23, 0.20),
        0 10px 18px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.40);
}

.related-card img {
    transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
    filter: saturate(1.03) contrast(1.02);
}

.related-card:hover img {
    transform: scale(1.045);
}

/* ============================================
   14. Social Share (SocialShareSection)
   ============================================ */
.social-share .btn {
    min-width: 40px;
    transition-property: transform, box-shadow, background-color, border-color, color, filter;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
    border-radius: 4px;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(2, 6, 23, 0.18),
        0 10px 18px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.42);
    filter: saturate(1.05);
}

.social-share [data-copy-url].copied {
    background-color: #22c55e;
    color: #ffffff;
    border-color: rgba(34, 197, 94, 0.95);
    box-shadow:
        0 18px 34px rgba(34, 197, 94, 0.22),
        0 2px 10px rgba(2, 6, 23, 0.14);
}

/* ============================================
   15. Bootstrap Accordion override
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
    box-shadow: none;
    border-radius: 4px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.22);
}

/* ============================================
   16. Modal (用于 SocialShare 微信二维码)
   ============================================ */
.modal-content {
    border: none;
    border-radius: 6px;
    box-shadow:
        0 30px 70px rgba(2, 6, 23, 0.40),
        0 14px 26px rgba(15, 23, 42, 0.20),
        inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}

/* ============================================
   17. Tooltip (Bootstrap)
   ============================================ */
.tooltip-inner {
    background-color: #0b1220;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #e6f0ff;
    box-shadow:
        0 18px 44px rgba(2, 6, 23, 0.35),
        0 2px 8px rgba(2, 6, 23, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.30);
}

/* ============================================
   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;
        box-shadow:
            0 10px 22px rgba(15, 23, 42, 0.18),
            0 2px 6px rgba(2, 6, 23, 0.10),
            inset 0 0 0 1px rgba(59, 130, 246, 0.14);
    }

    .error-page h1 {
        font-size: 5rem !important;
        text-shadow:
            0 2px 0 rgba(2, 6, 23, 0.15),
            0 22px 56px rgba(59, 130, 246, 0.34);
    }

    .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;
    }
}