.author-profile {
    background: linear-gradient(135deg, #f7fbff 0%, #edf2ff 45%, var(--color-bg-soft) 100%);
}

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

.author-profile img.rounded-circle {
    border: 4px solid #ffffff;
    box-shadow:
        4px 4px 0 rgba(34, 197, 94, 0.18),
        0 10px 22px rgba(16, 24, 40, 0.14),
        inset 0 0 0 2px rgba(59, 130, 246, 0.08);
    border-radius: 4px;
}

.author-profile .badge.bg-light {
    background: var(--color-bg-muted) !important;
    color: var(--color-text) !important;
    transition: background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.12);
}

.author-profile .badge.bg-light:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.28),
        0 14px 30px rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}

/* ============================================
   2. Author Box (AuthorBoxSection)
   ============================================ */
.author-box {
    border-inline-start: 4px solid var(--color-accent);
    transition: box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 3px;
    box-shadow: none;
}

.author-box:hover {
    box-shadow:
        4px 4px 0 rgba(244, 63, 94, 0.22),
        0 18px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.author-box img {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

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

/* ============================================
   3. Author Posts List (AuthorPostsListSection)
   ============================================ */
.author-posts-list .card {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.10);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(34, 197, 94, 0.22),
        0 22px 44px rgba(2, 6, 23, 0.16);
    border-color: rgba(37, 99, 235, 0.55);
}

.author-posts-list .card-img-top {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px 2px 0 0;
}

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

/* ============================================
   4. Main Authors (MainAuthorsSection)
   ============================================ */
.main-authors-section {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, #f8fafc 100%);
}

.author-card {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(15, 23, 42, 0.10);
    border-radius: 3px;
    box-shadow:
        4px 4px 0 rgba(14, 165, 233, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow:
        4px 4px 0 rgba(99, 102, 241, 0.28),
        0 26px 60px rgba(2, 6, 23, 0.20);
    border-color: rgba(99, 102, 241, 0.55);
}

.author-card img.rounded-circle {
    border: 3px solid var(--color-bg-muted);
    transition: border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(236, 72, 153, 0.16);
}

.author-card:hover img.rounded-circle {
    border-color: rgba(99, 102, 241, 0.92);
    box-shadow:
        4px 4px 0 rgba(236, 72, 153, 0.26),
        0 14px 28px rgba(236, 72, 153, 0.14);
}

/* ============================================
   5. FAQ (FaqSection) - <details>/<summary>
   ============================================ */
.faq-section {
    background: linear-gradient(180deg, #eef6ff 0%, var(--color-bg-soft) 45%, #ffffff 100%);
    border-top: 3px solid rgba(99, 102, 241, 0.35);
}

.faq-section h2 {
    font-size: 1.75rem;
    color: var(--color-primary-darker);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

/* FAQ item */
.faq-list .faq-item {
    border: 2px solid rgba(2, 6, 23, 0.10);
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.10);
    background: rgba(255, 255, 255, 0.9);
}

.faq-list .faq-item:hover {
    box-shadow:
        4px 4px 0 rgba(59, 130, 246, 0.22),
        0 20px 46px rgba(2, 6, 23, 0.14) !important;
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.45);
}

.faq-list .faq-item[open] {
    border-color: rgba(99, 102, 241, 0.42);
    background: linear-gradient(90deg, #eef2ff 0%, #ffffff 55%, #f8fafc 100%);
    box-shadow:
        4px 4px 0 rgba(99, 102, 241, 0.28),
        0 22px 56px rgba(99, 102, 241, 0.16);
}

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

.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: var(--color-primary);
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 1;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

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

/* Q number */
.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

/* Answer */
.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ============================================
   6. Sidebar Widgets (SidebarWidgetsSection)
   ============================================ */
.sidebar-widgets .card {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.10);
    box-shadow: 4px 4px 0 rgba(16, 185, 129, 0.14);
}

.sidebar-widgets .card:hover {
    box-shadow:
        4px 4px 0 rgba(16, 185, 129, 0.26),
        0 20px 46px rgba(2, 6, 23, 0.14);
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.45);
}

.sidebar-widgets h5 {
    color: var(--color-primary-darker);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

.sidebar-widgets .badge {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.10);
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.12);
}

.sidebar-widgets .badge:hover {
    background-color: var(--color-primary) !important;
    color: white !important;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.30),
        0 18px 34px rgba(37, 99, 235, 0.18);
}

.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: var(--color-primary) !important;
}

/* ============================================
   7. Pagination (PaginationSection)
   ============================================ */
.pagination .page-link {
    color: var(--color-primary);
    border-color: var(--color-border);
    transition: background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border-style: solid;
    border-width: 2px;
    box-shadow: 4px 4px 0 rgba(99, 102, 241, 0.10);
}

.pagination .page-link:hover {
    background-color: var(--color-bg-muted);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow:
        4px 4px 0 rgba(99, 102, 241, 0.22),
        0 18px 34px rgba(99, 102, 241, 0.14);
}

.pagination .page-item.active .page-link {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.35),
        0 22px 44px rgba(37, 99, 235, 0.18);
}

.pagination .page-item.disabled .page-link {
    color: var(--color-text-light);
    box-shadow: none;
    border-color: rgba(15, 23, 42, 0.10);
}

/* ============================================
   8. Search Box (SearchBoxSection)
   ============================================ */
.search-box-section {
    background: linear-gradient(180deg, #f1f6ff 0%, var(--color-bg-soft) 100%);
}

.search-box-section .input-group-lg .form-control {
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding-inline-start: 1.5rem;
    border: 2px solid rgba(15, 23, 42, 0.10);
    border-style: solid;
    box-shadow: 4px 4px 0 rgba(14, 165, 233, 0.12);
    transition: box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    caret-color: var(--color-accent);
    accent-color: var(--color-accent);
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: 2px solid rgba(15, 23, 42, 0.10);
    border-style: solid;
    box-shadow: 4px 4px 0 rgba(244, 63, 94, 0.16);
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-box-section .badge {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.10);
    box-shadow: 4px 4px 0 rgba(99, 102, 241, 0.12);
}

.search-box-section .badge:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-1px);
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.34),
        0 20px 46px rgba(37, 99, 235, 0.18);
}

/* ============================================
   9. Search Results (SearchResult
sSection)
   ============================================ */
.search-results-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, #f8fafc 100%);
}

.search-result {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        4px 4px 0 rgba(244, 63, 94, 0.22),
        0 22px 56px rgba(2, 6, 23, 0.16);
    border-color: rgba(244, 63, 94, 0.35);
}

.search-result h2 a:hover {
    color: var(--color-primary) !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.search-result mark {
    background-color: #fde68a;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 700;
    border: 2px solid rgba(234, 179, 8, 0.35);
    box-shadow: 4px 4px 0 rgba(234, 179, 8, 0.18);
}

/* ============================================
   10. Error Page (Error404Section)
   ============================================ */
.error-page h1 {
    background: linear-gradient(135deg, #22c55e 0%, #3b82f6 45%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        4px 4px 0 rgba(59, 130, 246, 0.20),
        0 18px 44px rgba(168, 85, 247, 0.18);
}

.recommended-links .badge {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(15, 23, 42, 0.12);
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(16, 185, 129, 0.12);
}

.recommended-links .badge:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.35),
        0 20px 46px rgba(37, 99, 235, 0.18);
}

.recommended-links .badge:hover .text-warning {
    color: var(--color-accent) !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

/* ============================================
   11. Legal Article (LegalArticleSection)
   ============================================ */
.legal-article-section,
main:has(> .container > article.bg-white) {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, #ffffff 100%);
}

article :is(h2.h4) {
    color: var(--color-primary-dark);
    border-bottom: 2px solid rgba(99, 102, 241, 0.55);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

article .alert-info {
    background-color: #eef6ff;
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--color-primary-dark);
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.12);
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
}

article .list-group-item {
    background: transparent;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

article .list-group-item:hover {
    background: var(--color-bg-soft);
    padding-inline-start: var(--space-sm);
    box-shadow: 4px 4px 0 rgba(244, 63, 94, 0.12);
    transform: translateX(1px);
}

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

.posts-grid .card {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(15, 23, 42, 0.10);
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.12);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(34, 197, 94, 0.24),
        0 24px 60px rgba(2, 6, 23, 0.18);
    border-color: rgba(34, 197, 94, 0.45);
}

.posts-grid .card-img-top {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px 2px 0 0;
}

.posts-grid .card:hover .card-img-top {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.04);
}

.posts-grid .card-title a {
    transition: color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.posts-grid .card-title a:hover {
    color: var(--color-primary) !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

/* ============================================
   13. Related Posts (RelatedPostsSection)
   ============================================ */
.related-posts h3 {
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

.related-card {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.10);
    box-shadow: 4px 4px 0 rgba(168, 85, 247, 0.12);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(168, 85, 247, 0.24),
        0 22px 56px rgba(2, 6, 23, 0.16);
    border-color: rgba(168, 85, 247, 0.42);
}

.related-card img {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

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

/* ============================================
   14. Social Share (SocialShareSection)
   ============================================ */
.social-share .btn {
    min-width: 40px;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.12);
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.12);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(59, 130, 246, 0.28),
        0 18px 34px rgba(59, 130, 246, 0.18);
}

.social-share [data-copy-url].copied {
    background-color: var(--color-success);
    color: #fff;

    border-color: var(--color-success);
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
    box-shadow:
        4px 4px 0 rgba(16, 185, 129, 0.28),
        0 18px 34px rgba(16, 185, 129, 0.18);
}

/* ============================================
   15. Bootstrap Accordion override
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: #eff6ff;
    color: var(--color-primary-dark);
    box-shadow: none;
    border-radius: 2px;
    border: 2px solid rgba(59, 130, 246, 0.20);
    border-bottom-width: 0;
    border-style: solid;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.18);
    outline: 2px solid rgba(99, 102, 241, 0.35);
    outline-offset: -3px;
}

/* ============================================
   16. Modal (用于 SocialShare 微信二维码)
   ============================================ */
.modal-content {
    border: none;
    border-radius: 2px;
    box-shadow:
        4px 4px 0 rgba(99, 102, 241, 0.22),
        0 26px 70px rgba(2, 6, 23, 0.25);
}

/* ============================================
   17. Tooltip (Bootstrap)
   ============================================ */
.tooltip-inner {
    background-color: var(--color-primary-darker);
    border-radius: 2px;
    font-size: 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
    opacity: 0.98;
}

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

    .error-page h1 {
        font-size: 5rem !important;
        text-shadow:
            4px 4px 0 rgba(59, 130, 246, 0.22),
            0 22px 60px rgba(168, 85, 247, 0.20);
    }

    .search-box-section .input-group-lg .form-control,
    .search-box-section .input-group-lg .btn {
        font-size: 1rem;
        box-shadow: 4px 4px 0 rgba(14, 165, 233, 0.10);
    }
}

@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-width: 2px;
    }
}