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

/* ============================================
   Theme tokens (visual identity only)
   ============================================ */
:root{
    --color-stage: #0f0f1a;
    --color-surface: #151525;
    --color-surface-2: #1b1b2e;

    --color-bg-soft: #151525;
    --color-bg-muted: rgba(26, 26, 46, 0.65);
    --color-bg: #0f0f1a;

    --color-text: rgba(255,255,255,0.86);
    --color-text-light: rgba(255,255,255,0.62);

    --color-primary: #b68b2a;            /* deep gold */
    --color-primary-dark: #8a5f14;
    --color-primary-darker: #2a1b06;

    --color-accent: #7c3aed;            /* deep purple */
    --color-border-soft: rgba(255,255,255,0.12);
    --color-border: rgba(182, 139, 42, 0.35);

    --color-success: #16a34a;

    --shadow-sm:
        0 1px 0 rgba(255,255,255,0.06),
        0 6px 18px rgba(0,0,0,0.25);

    --shadow-md:
        0 1px 0 rgba(255,255,255,0.06),
        0 10px 28px rgba(0,0,0,0.35),
        0 0 0 1px rgba(124,58,237,0.12);

    --shadow-lg:
        0 1px 0 rgba(255,255,255,0.06),
        0 18px 46px rgba(0,0,0,0.48),
        0 0 0 1px rgba(182,139,42,0.18);

    --shadow-xl:
        0 1px 0 rgba(255,255,255,0.06),
        0 26px 68px rgba(0,0,0,0.58),
        0 0 0 1px rgba(124,58,237,0.22);

    --transition-fast: 160ms cubic-bezier(.2,.8,.2,1);
    --transition-base: 200ms cubic-bezier(.2,.8,.2,1);
    --transition-slow: 420ms cubic-bezier(.2,.8,.2,1);

    --radius-sm: 5px;
    --radius-lg: 10px;
    --radius-pill: 999px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
}

/* ============================================
   1. Author Profile (AuthorProfileSection)
   ============================================ */
.author-profile {
    background:
        radial-gradient(1000px 420px at 50% -10%, rgba(182,139,42,0.22) 0%, rgba(182,139,42,0) 60%),
        radial-gradient(800px 360px at 90% 10%, rgba(124,58,237,0.22) 0%, rgba(124,58,237,0) 55%),
        linear-gradient(135deg, #ffffff 0%, var(--color-bg-soft) 100%);
}

.author-profile h1 {
    color: var(--color-primary-darker);
    text-shadow:
        0 2px 0 rgba(255,255,255,0.05),
        0 10px 30px rgba(124,58,237,0.18);
}

.author-profile img.rounded-circle {
    border: 4px solid rgba(255,255,255,0.92);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.16),
        0 18px 46px rgba(0,0,0,0.45),
        0 0 0 1px rgba(182,139,42,0.18),
        0 0 0 6px rgba(124,58,237,0.08);
}

.author-profile .badge.bg-light {
    background: rgba(20,20,38,0.72) !important;
    color: rgba(255,255,255,0.86) !important;
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(135deg, rgba(182,139,42,1) 0%, rgba(124,58,237,0.95) 100%) !important;
    color: #fff !important;
    border-color: rgba(182,139,42,0.55) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 18px 48px rgba(0,0,0,0.5),
        0 0 0 1px rgba(124,58,237,0.22);
}

/* ============================================
   2. Author Box (AuthorBoxSection)
   ============================================ */
.author-box {
    border-inline-start: 4px solid rgba(182,139,42,0.95);
    border-radius: 4px;
    transition: all var(--transition-base);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 10px 26px rgba(0,0,0,0.18);
}

.author-box:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 22px 60px rgba(0,0,0,0.46),
        0 0 0 1px rgba(124,58,237,0.20);
}

.author-box img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: saturate(1.02) contrast(1.02);
}

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

/* ============================================
   3. Author Posts List (AuthorPostsListSection)
   ============================================ */
.author-posts-list .card {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
    border-radius: 5px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 14px 40px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.10);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 26px 70px rgba(0,0,0,0.46),
        0 0 0 1px rgba(182,139,42,0.20);
    border-color: rgba(182,139,42,0.35);
}

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

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

/* ============================================
   4. Main Authors (MainAuthorsSection)
   ============================================ */
.main-authors-section {
    background:
        radial-gradient(900px 420px at 40% 0%, rgba(182,139,42,0.16) 0%, rgba(182,139,42,0) 58%),
        radial-gradient(800px 380px at 92% 20%, rgba(124,58,237,0.20) 0%, rgba(124,58,237,0) 55%),
        var(--color-bg-soft);
}

.author-card {
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 5px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 14px 40px rgba(0,0,0,0.18);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 34px 88px rgba(0,0,0,0.55),
        0 0 0 1px rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.35);
}

.author-card img.rounded-circle {
    border: 3px solid rgba(255,255,255,0.82);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.14),
        0 12px 32px rgba(0,0,0,0.30);
}

.author-card:hover img.rounded-circle {
    border-color: rgba(182,139,42,0.95);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 22px 56px rgba(0,0,0,0.45),
        0 0 0 4px rgba(182,139,42,0.12);
}

/* ============================================
   5. FAQ (FaqSection) - <details>/<summary>
   ============================================ */
.faq-section {
    background:
        radial-gradient(800px 360px at 50% 0%, rgba(124,58,237,0.14) 0%, rgba(124,58,237,0) 55%),
        linear-gradient(180deg, rgba(21,21,37,0.96) 0%, #ffffff 100%);
    border-radius: 6px;
}

.faq-section h2 {
    font-size: 1.75rem;
    color: var(--color-primary-darker);
    text-shadow:
        0 2px 0 rgba(255,255,255,0.06),
        0 16px 40px rgba(182,139,42,0.18);
}

/* FAQ item */
.faq-list .faq-item {
    border: 1px solid rgba(255,255,255,0.12);
    transition: all var(--transition-base);
    cursor: pointer;
    border-radius: 5px;
    background: rgba(255,255,255,0.72);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 10px 24px rgba(0,0,0,0.10);
}

.faq-list .faq-item:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 22px 60px rgba(0,0,0,0.30),
        0 0 0 1px rgba(124,58,237,0.16) !important;
    transform: translateY(-2px);
    border-color: rgba(124,58,237,0.30);
}

.faq-list .faq-item[open] {
    border-color: rgba(124,58,237,0.35);
    background:
        radial-gradient(900px 240px at 10% 0%, rgba(124,58,237,0.16) 0%, rgba(124,58,237,0) 50%),
        linear-gradient(90deg, rgba(240,247,255,0.85) 0%, rgba(255,255,255,0.98) 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.22),
        0 28px 80px rgba(0,0,0,0.33),
        0 0 0 1px rgba(182,139,42,0.14);
}

/* 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(10,10,18,0.88);
}

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

.faq-list .faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: rgba(182,139,42,0.98);
}

/* Q number */
.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(182,139,42,0.98);
    text-shadow: 0 10px 24px rgba(182,139,42,0.22);
}

/* Answer */
.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn var(--transition-base);
    color: rgba(18,18,30,0.86);
}

@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: 1px solid rgba(255,255,255,0.10);
    border-radius: 5px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 14px 40px rgba(0,0,0,0.16);
}

.sidebar-widgets .card:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 26px 70px rgba(0,0,0,0.45),
        0 0 0 1px rgba(182,139,42,0.18);
}

.sidebar-widgets h5 {
    color: rgba(42, 27, 6, 0.95);
    text-shadow: 0 14px 38px rgba(182,139,42,0.16);
}

.sidebar-widgets .badge {
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.sidebar-widgets .badge:hover {
    background: linear-gradient(135deg, rgba(182,139,42,1) 0%, rgba(124,58,237,0.95) 100%) !important;
    color: white !important;
    transform: translateY(-1px);
    border-color: rgba(124,58,237,0.26) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.16),
        0 20px 52px rgba(0,0,0,0.35);
}

.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(182,139,42,0.98) !important;
    text-shadow: 0 12px 28px rgba(182,139,42,0.20);
}

/* ============================================
   7. Pagination (PaginationSection)
   ============================================ */
.pagination .page-link {
    color: rgba(182,139,42,0.98);
    border-color: rgba(255,255,255,0.14);
    transition: all var(--transition-fast);
    border-radius: 5px;
    background: rgba(255,255,255,0.65);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.pagination .page-link:hover {
    background: rgba(21,21,37,0.75);
    color: rgba(138,95,20,1);
    border-color: rgba(182,139,42,0.55);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.12),
        0 22px 60px rgba(0,0,0,0.28);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(182,139,42,1) 0%, rgba(124,58,237,0.95) 100%);
    border-color: rgba(182,139,42,0.70);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 26px 70px rgba(0,0,0,0.45),
        0 0 0 1px rgba(124,58,237,0.22);
}

.pagination .page-item.disabled .page-link {
    color: rgba(255,255,255,0.55);
    border-color: rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.42);
    box-shadow: none;
}

/* ============================================
   8. Search Box (SearchBoxSection)
   ============================================ */
.search-box-section {
    background:
        radial-gradient(900px 360px at 50% 0%, rgba(182,139,42,0.16) 0%, rgba(182,139,42,0) 58%),
        var(--color-bg-soft);
    border-radius: 6px;
}

.search-box-section .input-group-lg .form-control {
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding-inline-start: 1.5rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.76);
    color: rgba(10,10,18,0.92);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: 1px solid rgba(124,58,237,0.25);
    background: linear-gradient(135deg, rgba(182,139,42,0.98) 0%, rgba(124,58,237,0.95) 100%);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 18px 46px rgba(0,0,0,0.30);
    transition: all var(--transition-fast);
}

.search-box-section .badge {
    transition: all var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.search-box-section .badge:hover {
    background-color: rgba(182,139,42,1) !important;
    color: #fff !important;
    border-color: rgba(182,139,42,0.65) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 22px 60px rgba(0,0,0,0.30);
    transform: translateY(-2px);
}

/* ============================================
   9. Search Results (SearchResultsSection)
   ============================================ */
.search-results-section {
    background:
        radial-gradient(1000px 420px at 70% 0%, rgba(124,58,237,0.18) 0%, rgba(124,58,237,0) 58%),
        var(--color-bg);
    border-radius: 6px;
}

.search-result {
    transition: all var(--transition-base);
    border-radius: 5px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 14px 40px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.62);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 26px 70px rgba(0,0,0,0.50),
        0 0 0 1px rgba(182,139,42,0.18);
}

.search-result h2 a:hover {
    color: rgba(182,139,42,0.98) !important;
    text-shadow: 0 16px 40px rgba(182,139,42,0.22);
}

.search-result mark {
    background-color: rgba(254, 240, 138, 0.92);
    color: rgba(35, 23, 0, 0.95);
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* ============================================
   10. Error Page (Error404Section)
   ============================================ */
.error-page h1 {
    background: linear-gradient(135deg, rgba(182,139,42,1) 0%, rgba(124,58,237,0.98) 45%, rgba(21,21,37,0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 4px 30px rgba(124,58,237,0.22),
        0 0 0 rgba(0,0,0,0);
    filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45));
}

.recommended-links .badge {
    transition: all var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    background: rgba(255,255,255,0.55);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.recommended-links .badge:hover {
    background-color: rgba(182,139,42,1) !important;
    color: #fff !important;
    border-color: rgba(182,139,42,0.65) !important;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 22px 60px rgba(0,0,0,0.30),
        0 0 0 1px rgba(124,58,237,0.20);
}

.recommended-links .badge:hover .text-warning {
    color: rgba(124,58,237,0.98) !important;
    text-shadow: 0 14px 34px rgba(124,58,237,0.25);
}

/* ============================================
   11. Legal Article (LegalArticleSection)
   ============================================ */
.legal-article-section,
main:has(> .container > article.bg-white) {
    background:
        radial-gradient(900px 360px at 20% 0%, rgba(182,139,42,0.14) 0%, rgba(182,139,42,0) 60%),
        var(--color-bg-soft);
    border-radius: 6px;
}

article :is(h2.h4) {
    color: rgba(42, 27, 6, 0.95);
    border-bottom: 2px solid rgba(182,139,42,0.55);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 18px 44px rgba(182,139,42,0.12);
}

article .alert-info {
    background-color: rgba(239,246,255,0.78);
    border-color: rgba(191,219,254,0.9);
    color: rgba(42, 27, 6, 0.95);
    box-shadow: 0 18px 44px rgba(0,0,0,0.10);
    border-radius: 6px;
}

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

article .list-group-item:hover {
    background:
        radial-gradient(600px 200px at 10% 0%, rgba(124,58,237,0.10) 0%, rgba(124,58,237,0) 58%),
        rgba(255,255,255,0.16);
    padding-inline-start: var(--space-sm);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 18px 50px rgba(0,0,0,0.22);
}

/* ============================================
   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,0.10);
    overflow: hidden;
    border-radius: 5px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 14px 40px rgba(0,0,0,0.18);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 26px 70px rgba(0,0,0,0.48),
        0 0 0 1px rgba(124,58,237,0.18);
    border-color: rgba(182,139,42,0.35);
}

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

.posts-grid .card:hover .card-img-top {
    transform: scale(1.05);
    filter: saturate(1.12) 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(182,139,42,0.98) !important;
    text-shadow: 0 16px 40px rgba(182,139,42,0.20);
}

/* ============================================
   13. Related Posts (RelatedPostsSection)
   ============================================ */
.related-posts h3 {
    border-bottom: 3px solid rgba(124,58,237,0.85);
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 18px 44px rgba(124,58,237,0.14);
}

.related-card {
    transition: all var(--transition-base);
    border-radius: 5px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 26px 70px rgba(0,0,0,0.44),
        0 0 0 1px rgba(182,139,42,0.18);
}

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

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

/* ============================================
   14. Social Share (SocialShareSection)
   ============================================ */
.social-share .btn {
    min-width: 40px;
    transition: all var(--transition-fast);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.14);
}

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

.social-share [data-copy-url].copied {
    background-color: rgba(22,163,74,1);
    color: #fff;

    border-color: rgba(22,163,74,0.85);

    box-shadow:
        0 1px 0 rgba(255,255,255,0.16),
        0 22px 60px rgba(0,0,0,0.30);
    opacity: 0.98;
}

/* ============================================
   15. Bootstrap Accordion override
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: rgba(239,246,255,0.86);
    color: rgba(42, 27, 6, 0.95);
    box-shadow: none;
    border-radius: 5px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(124,58,237,0.20);
    border-color: rgba(124,58,237,0.35);
}

/* ============================================
   16. Modal (用于 SocialShare 微信二维码)
   ============================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06),
        0 40px 120px rgba(0,0,0,0.60),
        0 0 0 1px rgba(124,58,237,0.20);
    background: rgba(255,255,255,0.94);
}

/* ============================================
   17. Tooltip (Bootstrap)
   ============================================ */
.tooltip-inner {
    background-color: rgba(42, 27, 6, 0.96);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.10),
        0 18px 52px rgba(0,0,0,0.45);
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(182,139,42,0.22);
}

/* ============================================
   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;
        border-radius: 5px;
    }
}