/* ============================================================
   MODULE.CSS v3.0 - 组件样式
   ============================================================
   匹配 Section 模板:
   - AuthorBoxSection / AuthorProfileSection / AuthorPostsListSection / MainAuthorsSection
   - FaqSection
   - SidebarWidgetsSection
   - PaginationSection
   - SearchBoxSection / SearchResultsSection
   - Error404Section
   - LegalArticleSection
   - PostListSection / RelatedPostsSection
   - SocialShareSection
   ============================================================ */

/* ============================================
   Visual identity variables (kept for compatibility)
   ============================================ */
:root{
    --color-bg:#0f0f1a;
    --color-bg-soft:#161627;
    --color-bg-muted:rgba(255,255,255,.08);
    --color-text:#e9e7ff;
    --color-text-light:rgba(233,231,255,.78);

    --color-primary:#7c3aed;
    --color-primary-dark:#5b21b6;
    --color-primary-darker:#3b0764;

    --color-accent:#f6c453;
    --color-accent-soft:rgba(246,196,83,.24);

    --color-border:rgba(246,196,83,.35);
    --color-border-soft:rgba(255,255,255,.12);

    --color-success:#10b981;

    --radius-pill:999px;
    --radius-lg:22px;
    --radius-sm:12px;

    --space-xs:.75rem;
    --space-sm:1rem;

    --shadow-sm:
        0 1px 0 rgba(255,255,255,.06),
        0 6px 18px rgba(124,58,237,.14);
    --shadow-md:
        0 1px 0 rgba(255,255,255,.08),
        0 10px 30px rgba(0,0,0,.35),
        0 0 0 1px rgba(255,255,255,.05);
    --shadow-lg:
        0 1px 0 rgba(255,255,255,.08),
        0 18px 46px rgba(0,0,0,.42),
        0 0 0 1px rgba(255,255,255,.06),
        0 0 0 6px rgba(124,58,237,.10);
    --shadow-xl:
        0 1px 0 rgba(255,255,255,.10),
        0 28px 70px rgba(0,0,0,.50),
        0 0 0 1px rgba(255,255,255,.07),
        0 0 0 10px rgba(124,58,237,.10);

    --transition-fast:170ms cubic-bezier(.2,.9,.2,1);
    --transition-base:260ms cubic-bezier(.2,.9,.2,1);
    --transition-slow:520ms cubic-bezier(.1,.9,.2,1);
}

/* ============================================
   1. Author Profile (AuthorProfileSection)
   ============================================ */
.author-profile {
    background: radial-gradient(900px 420px at 50% -10%, rgba(124,58,237,.35) 0%, rgba(15,15,26,0) 60%),
                linear-gradient(135deg, rgba(255,255,255,.92) 0%, var(--color-bg-soft) 100%);
}

.author-profile h1 {
    color: var(--color-primary-darker);
    text-shadow: 0 2px 16px rgba(124,58,237,.22);
}

.author-profile img.rounded-circle {
    border: 4px solid rgba(255,255,255,.96);
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.22),
        0 18px 48px rgba(0,0,0,.45),
        0 0 0 1px rgba(124,58,237,.18),
        0 0 0 10px rgba(124,58,237,.10);
    filter: saturate(1.05) contrast(1.03);
}

.author-profile .badge.bg-light {
    background: rgba(255,255,255,.10) !important;
    color: var(--color-text) !important;
    border-color: rgba(255,255,255,.14) !important;
    transition: all var(--transition-fast);
    border-radius: 999px;
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(135deg, rgba(124,58,237,1) 0%, rgba(91,33,182,1) 100%) !important;
    color: #fff !important;
    border-color: rgba(246,196,83,.55) !important;
    box-shadow:
        0 14px 40px rgba(124,58,237,.28),
        0 0 0 1px rgba(255,255,255,.10);
}

/* ============================================
   2. Author Box (AuthorBoxSection)
   ============================================ */
.author-box {
    border-inline-start: 5px solid rgba(246,196,83,.95);
    border-radius: 20px;
    transition: all var(--transition-base);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 18px 44px rgba(0,0,0,.22);
}

.author-box:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 24px 60px rgba(0,0,0,.36),
        0 0 0 1px rgba(246,196,83,.22),
        0 0 0 10px rgba(246,196,83,.10);
}

.author-box img {
    transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
    border-radius: 18px;
}

.author-box:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.05);
}

/* ============================================
   3. Author Posts List (AuthorPostsListSection)
   ============================================ */
.author-posts-list .card {
    transition: all var(--transition-base);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(700px 280px at 50% -20%, rgba(124,58,237,.18) 0%, rgba(255,255,255,0) 55%),
        rgba(255,255,255,.06);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 18px 46px rgba(0,0,0,.20);
}

.author-posts-list .card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 28px 72px rgba(0,0,0,.40),
        0 0 0 1px rgba(124,58,237,.22),
        0 0 0 12px rgba(124,58,237,.10);
    border-color: rgba(246,196,83,.35);
}

.author-posts-list .card-img-top {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    border-radius: 18px;
    filter: saturate(1.03) contrast(1.02);
}

.author-posts-list .card:hover .card-img-top {
    transform: scale(1.06);
    filter: saturate(1.10) contrast(1.06);
}

/* ============================================
   4. Main Authors (MainAuthorsSection)
   ============================================ */
.main-authors-section {
    background:
        radial-gradient(860px 420px at 50% 0%, rgba(124,58,237,.22) 0%, rgba(15,15,26,0) 60%),
        radial-gradient(900px 520px at 10% 40%, rgba(246,196,83,.12) 0%, rgba(15,15,26,0) 58%),
        var(--color-bg-soft);
}

.author-card {
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 14px 40px rgba(0,0,0,.24);
}

.author-card:hover {
    transform: translateY(-9px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 34px 90px rgba(0,0,0,.48),
        0 0 0 1px rgba(246,196,83,.22),
        0 0 0 14px rgba(124,58,237,.10);
    border-color: rgba(124,58,237,.35);
}

.author-card img.rounded-circle {
    border: 3px solid rgba(22,22,39,.85);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 12px 30px rgba(0,0,0,.38),
        0 0 0 1px rgba(255,255,255,.06);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
    border-radius: 999px;
    filter: saturate(1.04);
}

.author-card:hover img.rounded-circle {
    border-color: rgba(124,58,237,.95);
    box-shadow:
        0 1px 0 rgba(255,255,255,.12),
        0 18px 42px rgba(0,0,0,.46),
        0 0 0 1px rgba(246,196,83,.18),
        0 0 0 12px rgba(124,58,237,.10);
    filter: saturate(1.10) contrast(1.04);
}

/* ============================================
   5. FAQ (FaqSection) - <details>/<summary>
   ============================================ */
.faq-section {
    background:
        radial-gradient(900px 380px at 50% 0%, rgba(124,58,237,.22) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(255,255,255,.92) 100%);
    border-radius: 28px;
}

.faq-section h2 {
    font-size: 1.75rem;
    color: var(--color-primary-darker);
    text-shadow: 0 10px 30px rgba(124,58,237,.16);
}

/* FAQ item */
.faq-list .faq-item {
    border: 1px solid rgba(255,255,255,.12);
    transition: all var(--transition-base);
    cursor: pointer;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 14px 36px rgba(0,0,0,.18);
}

.faq-list .faq-item:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 24px 64px rgba(0,0,0,.35),
        0 0 0 1px rgba(246,196,83,.20),
        0 0 0 10px rgba(124,58,237,.10) !important;
    transform: translateY(-2px);
    border-color: rgba(124,58,237,.30);
}

.faq-list .faq-item[open] {
    border-color: rgba(124,58,237,.35);
    background:
        linear-gradient(90deg, rgba(124,58,237,.18) 0%, rgba(255,255,255,.92) 55%, rgba(255,255,255,.96) 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 30px 80px rgba(0,0,0,.42),
        0 0 0 1px rgba(246,196,83,.22),
        0 0 0 12px rgba(124,58,237,.12);
}

/* 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: rgba(15,15,26,.92);
    text-shadow: 0 6px 18px rgba(124,58,237,.12);
}

.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: rgba(124,58,237,.95);
    transition: transform var(--transition-base), color var(--transition-fast);
    line-height: 1;
    text-shadow: 0 10px 26px rgba(124,58,237,.20);
}

.faq-list .faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: rgba(246,196,83,.95);
    text-shadow: 0 12px 30px rgba(246,196,83,.20);
}

/* Q number */
.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(124,58,237,.98);
    text-shadow: 0 10px 26px rgba(124,58,237,.20);
}

/* Answer */
.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn var(--transition-base);
    color: rgba(15,15,26,.86);
    text-shadow: 0 8px 24px rgba(124,58,237,.10);
}

@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: all var(--transition-base);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(650px 260px at 50% -10%, rgba(124,58,237,.18) 0%, rgba(255,255,255,0) 55%),
        rgba(255,255,255,.04);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 18px 46px rgba(0,0,0,.22);
}

.sidebar-widgets .card:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 28px 70px rgba(0,0,0,.42),
        0 0 0 1px rgba(124,58,237,.22),
        0 0 0 12px rgba(124,58,237,.10);
}

.sidebar-widgets h5 {
    color: rgba(59,7,100,.98);
    text-shadow: 0 14px 40px rgba(124,58,237,.20);
}

.sidebar-widgets .badge {
    transition: all var(--transition-fast);
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: rgba(233,231,255,.92);
}

.sidebar-widgets .badge:hover {
    background-color: rgba(124,58,237,1) !important;
    color: #fff !important;
    border-color: rgba(246,196,83,.55) !important;
    transform: translateY(-1px);
    box-shadow:
        0 12px 30px rgba(124,58,237,.30),
        0 0 0 10px rgba(124,58,237,.10);
}

.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: rgba(124,58,237,.98) !important;
    text-shadow: 0 12px 30px rgba(124,58,237,.18);
}

/* ============================================
   7. Pagination (PaginationSection)
   ============================================ */
.pagination .page-link {
    color: rgba(124,58,237,.98);
    border-color: rgba(124,58,237,.25);
    transition: all var(--transition-fast);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.pagination .page-link:hover {
    background-color: rgba(255,255,255,.08);
    color: rgba(59,7,100,.98);
    border-color: rgba(246,196,83,.55);
    box-shadow:
        0 18px 50px rgba(124,58,237,.18),
        0 0 0 10px rgba(124,58,237,.08);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(124,58,237,1) 0%, rgba(91,33,182,1) 100%);
    border-color: rgba(124,58,237,1);
    color: #fff;
    box-shadow:
        0 18px 56px rgba(124,58,237,.32),
        0 0 0 1px rgba(246,196,83,.22),
        0 0 0 12px rgba(124,58,237,.10);
}

.pagination .page-item.disabled .page-link {
    color: rgba(233,231,255,.62);
    border-color: rgba(255,255,255,.12);
}

/* ============================================
   8. Search Box (SearchBoxSection)
   ============================================ */
.search-box-section {
    background:
        radial-gradient(900px 380px at 50% 0%, rgba(124,58,237,.18) 0%, rgba(255,255,255,0) 60%),
        var(--color-bg-soft);
    border-radius: 28px;
}

.search-box-section .input-group-lg .form-control {
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding-inline-start: 1.5rem;
    background: rgba(255,255,255,.06);
    color: rgba(233,231,255,.95);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    caret-color: rgba(246,196,83,.95);
    outline: none;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    background: linear-gradient(135deg, rgba(124,58,237,1) 0%, rgba(91,33,182,1) 100%);
    color: #fff;
    border: 1px solid rgba(124,58,237,.55);
    box-shadow:
        0 14px 40px rgba(124,58,237,.26),
        0 0 0 1px rgba(255,255,255,.08);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.search-box-section .badge {
    transition: all var(--transition-fast);
}

.search-box-section .badge:hover {
    background-color: rgba(124,58,237,1) !important;
    color: #fff !important;
    border-color: rgba(124,58,237,1) !important;
    box-shadow:
        0 14px 40px rgba(124,58,237,.26),
        0 0 0 12px rgba(124,58,237,.10);
}

/* ============================================
   9. Search Results (SearchResult
sSection)
   ============================================ */
.search-results-section {
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(124,58,237,.18) 0%, rgba(15,15,26,0) 60%),
        var(--color-bg);
    border-radius: 28px;
}

.search-result {
    transition: all var(--transition-base);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 18px 46px rgba(0,0,0,.20);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 28px 70px rgba(0,0,0,.40),
        0 0 0 1px rgba(124,58,237,.20),
        0 0 0 10px rgba(124,58,237,.10);
}

.search-result h2 a:hover {
    color: rgba(124,58,237,.98) !important;
    text-shadow: 0 14px 40px rgba(124,58,237,.18);
}

.search-result mark {
    background-color: rgba(246,196,83,.26);
    color: rgba(255,255,255,.98);
    padding-inline: 2px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(246,196,83,.35);
}

/* ============================================
   10. Error Page (Error404Section)
   ============================================ */
.error-page h1 {
    background: linear-gradient(135deg, rgba(246,196,83,1) 0%, rgba(124,58,237,1) 50%, rgba(59,7,100,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 4px 34px rgba(124,58,237,.25),
        0 18px 60px rgba(0,0,0,.55);
    filter: drop-shadow(0 12px 30px rgba(246,196,83,.10));
}

.recommended-links .badge {
    transition: all var(--transition-fast);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: rgba(233,231,255,.92);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.recommended-links .badge:hover {
    background-color: rgba(124,58,237,1) !important;
    color: #fff !important;
    border-color: rgba(246,196,83,.55) !important;
    transform: translateY(-2px);
    box-shadow:
        0 18px 50px rgba(124,58,237,.26),
        0 0 0 12px rgba(124,58,237,.10);
}

.recommended-links .badge:hover .text-warning {
    color: rgba(246,196,83,.95) !important;
    text-shadow: 0 14px 40px rgba(246,196,83,.18);
}

/* ============================================
   11. Legal Article (LegalArticleSection)
   ============================================ */
.legal-article-section,
main:has(> .container > article.bg-white) {
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(124,58,237,.16) 0%, rgba(255,255,255,0) 60%),
        var(--color-bg-soft);
    border-radius: 28px;
}

article :is(h2.h4) {
    color: rgba(59,7,100,.98);
    border-bottom: 2px solid rgba(246,196,83,.55);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 14px 40px rgba(124,58,237,.16);
}

article .alert-info {
    background-color: rgba(239,246,255,.92);
    border-color: rgba(191,219,254,.80);
    color: rgba(59,7,100,.95);
    box-shadow:
        0 18px 50px rgba(59,130,246,.10),
        0 0 0 1px rgba(191,219,254,.45);
}

article .list-group-item {
    background: transparent;
    transition: all var(--transition-fast);
    border-radius: 16px;
}

article .list-group-item:hover {
    background: rgba(255,255,255,.06);
    padding-inline-start: var(--space-sm);
    box-shadow:
        0 18px 52px rgba(0,0,0,.26),
        0 0 0 1px rgba(124,58,237,.16);
}

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

.posts-grid .card {
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(700px 280px at 50% -20%, rgba(124,58,237,.18) 0%, rgba(255,255,255,0) 55%),
        rgba(255,255,255,.04);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 18px 46px rgba(0,0,0,.22);
}

.posts-grid .card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 28px 72px rgba(0,0,0,.42),
        0 0 0 1px rgba(246,196,83,.22),
        0 0 0 12px rgba(124,58,237,.10);
    border-color: rgba(124,58,237,.35);
}

.posts-grid .card-img-top {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(1.03) contrast(1.02);
}

.posts-grid .card:hover .card-img-top {
    transform: scale(1.06);
    filter: saturate(1.10) contrast(1.06);
}

.posts-grid .card-title a {
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.posts-grid .card-title a:hover {
    color: rgba(124,58,237,.98) !important;
    text-shadow: 0 14px 40px rgba(124,58,237,.18);
}

/* ============================================
   13. Related Posts (RelatedPostsSection)
   ============================================ */
.related-posts h3 {
    border-bottom: 3px solid rgba(246,196,83,.75);
    padding-bottom: var(--space-xs);
    display: inline-block;
    color: rgba(233,231,255,.95);
    text-shadow: 0 14px 40px rgba(246,196,83,.14);
}

.related-card {
    transition: all var(--transition-base);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 18px 46px rgba(0,0,0,.20);
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 28px 70px rgba(0,0,0,.40),
        0 0 0 1px rgba(124,58,237,.20),
        0 0 0 12px rgba(124,58,237,.10);
}

.related-card img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    border-radius: 18px;
    filter: saturate(1.03) contrast(1.02);
}

.related-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.10) contrast(1.06);
}

/* ============================================
   14. Social Share (SocialShareSection)
   ============================================ */
.social-share .btn {
    min-width: 40px;
    transition: all var(--transition-fast);
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 14px 34px rgba(0,0,0,.20);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 24px 60px rgba(0,0,0,.35),
        0 0 0 1px rgba(124,58,237,.22),
        0 0 0 10px rgba(124,58,237,.10);
}

.social-share [data-copy-url].copied {
    background-color: rgba(16,185,129,1);
    color: #fff;

    border-color: rgba(16,185,129,1);
    box-shadow:
        0 18px 50px rgba(16,185,129,.28),
        0 0 0 12px rgba(16,185,129,.12);
}

/* ============================================
   15. Bootstrap Accordion override
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: rgba(239,246,255,.92);
    color: rgba(59,7,100,.98);
    box-shadow: none;
    border-radius: 18px;
    border: 1px solid rgba(191,219,254,.70);
}

.accordion-button:focus {
    box-shadow:
        0 0 0 0.25rem rgba(124,58,237,.18),
        0 0 0 0.5rem rgba(246,196,83,.08);
    outline: 2px solid rgba(124,58,237,.35);
    outline-offset: 2px;
}

/* ============================================
   16. Modal (用于 SocialShare 微信二维码)
   ============================================ */
.modal-content {
    border: none;
    border-radius: 26px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.08),
        0 30px 90px rgba(0,0,0,.55),
        0 0 0 1px rgba(124,58,237,.18),
        0 0 0 14px rgba(124,58,237,.10);
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(124,58,237,.22) 0%, rgba(255,255,255,0) 60%),
        rgba(255,255,255,.94);
    filter: saturate(1.03);
}

/* ============================================
   17. Tooltip (Bootstrap)
   ============================================ */
.tooltip-inner {
    background-color: rgba(59,7,100,.98);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    box-shadow:
        0 18px 50px rgba(0,0,0,.35),
        0 0 0 1px rgba(246,196,83,.20),
        0 0 0 10px rgba(124,58,237,.10);
    color: rgba(255,255,255,.96);
}

/* ============================================
   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;
    }

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