.author-profile {
    background: radial-gradient(920px 360px at 50% -8%, rgba(124, 87, 207, 0.35), transparent 70%), linear-gradient(135deg, #151128 0%, #0d0b1a 100%);
    color: #f2edff;
}

.author-profile h1 {
    color: #f6f1ff;
    text-shadow: 0 8px 28px rgba(12, 4, 34, 0.32);
}

.author-profile img.rounded-circle {
    border: 4px solid rgba(248, 243, 255, 0.65);
    box-shadow: 0 24px 50px -20px rgba(4, 0, 20, 0.68), 0 6px 18px -8px rgba(82, 41, 168, 0.45);
}

.author-profile .badge.bg-light {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ece4ff !important;
    transition: all 220ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

.author-profile .badge.bg-light:hover {
    background: #d4a72c !important;
    color: #151028 !important;
}

.author-box {
    border-inline-start: 4px solid #d3a52a;
    background: linear-gradient(90deg, rgba(211, 165, 42, 0.1), rgba(248, 244, 255, 0.4) 60%);
    border-radius: 4px 24px 24px 4px;
    transition: all 360ms cubic-bezier(0.22, 0.9, 0.36, 1);
}

.author-box:hover {
    box-shadow: 0 18px 38px -18px rgba(34, 16, 72, 0.3), 0 0 0 1px rgba(226, 215, 243, 0.85);
}

.author-box img {
    transition: transform 240ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

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

.author-posts-list .card {
    transition: all 360ms cubic-bezier(0.22, 0.9, 0.36, 1);
    overflow: hidden;
    background: #fdfaff;
    border: 1px solid #eae2f7;
    border-radius: 24px;
    box-shadow: 0 8px 22px -16px rgba(28, 12, 66, 0.18);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px -24px rgba(44, 20, 110, 0.34), 0 4px 16px -8px rgba(30, 15, 74, 0.12);
}

.author-posts-list .card-img-top {
    transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.main-authors-section {
    background: radial-gradient(900px 420px at 50% -6%, rgba(93, 59, 174, 0.34), transparent 66%), linear-gradient(180deg, #161231 0%, #0c0b18 100%);
    color: #ece4ff;
}

.author-card {
    transition: all 360ms cubic-bezier(0.22, 0.9, 0.36, 1);
    border: 1px solid #eadff2;
    background: #fdf9f3;
    color: #322a4a;
    border-radius: 28px;
    box-shadow: 0 14px 28px -22px rgba(4, 0, 16, 0.5);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 64px -24px rgba(50, 22, 130, 0.42), 0 10px 22px -14px rgba(0, 0, 0, 0.24);
}

.author-card img.rounded-circle {
    border: 3px solid #e4d6f2;
    transition: border-color 280ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

.author-card:hover img.rounded-circle {
    border-color: #8a5ddb;
}

.faq-section {
    background: radial-gradient(900px 440px at 50% -4%, rgba(198, 151, 48, 0.16), transparent 62%), linear-gradient(180deg, #141025 0%, #0d0c19 100%);
    color: #f0e7ff;
}

.faq-section h2 {
    font-size: 1.75rem;
    color: #f6e6b4;
    text-shadow: 0 10px 28px rgba(5, 0, 16, 0.35);
}

.faq-list .faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(253, 250, 255, 0.92);
    color: #352c4f;
    border-radius: 24px;
    transition: all 420ms cubic-bezier(0.22, 0.9, 0.36, 1);
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.6), 0 12px 28px -18px rgba(80, 51, 160, 0.45) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open] {
    border-color: rgba(214, 160, 36, 0.48);
    background: linear-gradient(90deg, #f6f0fc 0%, #fffaf0 100%);
}

.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: #3d2c68;
}

.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: #8b5cd6;
    transition: transform 420ms cubic-bezier(0.22, 0.9, 0.36, 1);
    line-height: 1;
}

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

.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #7049c8;
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 420ms cubic-bezier(0.22, 0.85, 0.36, 1);
}

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

.sidebar-widgets .card {
    transition: all 340ms cubic-bezier(0.22, 0.9, 0.36, 1);
    background: #fdfbff;
    border: 1px solid #e9ddf6;
    border-radius: 24px;
    box-shadow: 0 12px 28px -24px rgba(30, 14, 76, 0.22);
}

.sidebar-widgets .card:hover {
    box-shadow: 0 22px 46px -24px rgba(53, 24, 120, 0.32), 0 0 0 1px rgba(211, 165, 42, 0.28);
}

.sidebar-widgets h5 {
    color: #412a83;
}

.sidebar-widgets .badge {
    transition: all 220ms cubic-bezier(0.22, 0.8, 0.36, 1);
    cursor: pointer;
}

.sidebar-widgets .badge:hover {
    background-color: #6f49c9 !important;
    color: white !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: #6a43cb !important;
}

.pagination .page-link {
    color: #5d3cb8;
    border-color: #d8cdf0;
    background-color: #fdfbff;
    box-shadow: 0 4px 12px -10px rgba(42, 20, 100, 0.18);
    transition: all 220ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

.pagination .page-link:hover {
    background-color: #ede5fb;
    color: #43298f;
    border-color: #9a77de;
    box-shadow: 0 8px 20px -12px rgba(60, 25, 140, 0.3);
}

.pagination .page-item.active .page-link {
    background-color: #6f46c9;
    border-color: #6f46c9;
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(73, 35, 155, 0.4);
}

.pagination .page-item.disabled .page-link {
    color: #b4a9cb;
    background-color: #f6f2fb;
    border-color: #e5ddf2;
    box-shadow: none;
}

.search-box-section {
    background: radial-gradient(820px 320px at 50% -4%, rgba(190, 144, 48, 0.15), transparent 62%), linear-gradient(180deg, #15112b 0%, #0d0c19 100%);
    color: #efe5ff;
}

.search-box-section .input-group-lg .form-control {
    border-radius: 999px 0 0 999px;
    padding-inline-start: 1.5rem;
    background: #fdfbff;
    color: #34274e;
    border-color: #dcd0ea;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 999px 999px 0;
    background-color: #6f46c9;
    border-color: #6f46c9;
    color: #fff;
    box-shadow: 0 12px 28px -14px rgba(63, 28, 150, 0.45);
}

.search-box-section .badge {
    transition: all 220ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

.search-box-section .badge:hover {
    background-color: #6f46c9 !important;
    color: #fff !important;
    border-color: #8f5fe0 !important;
}

.search-results-section {
    background: #f3eef9;
}

.search-result {
    transition: all 320ms cubic-bezier(0.22, 0.9, 0.36, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 20px 44px -22px rgba(49, 22, 112, 0.3), 0 2px 8px -6px rgba(31, 14, 76, 0.08);
    border-radius: 16px;
}

.search-result h2 a:hover {
    color: #6a43c9 !important;
}

.search-result mark {
    background-color: #f7e3a3;
    padding-inline: 2px;
    border-radius: 6px;
    font-weight: 600;
}

.error-page h1 {
    background: linear-gradient(135deg, #a47ae4 0%, #5b35b1 48%, #d3a52a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 14px 40px rgba(52, 22, 122, 0.28);
}

.recommended-links .badge {
    transition: all 220ms cubic-bezier(0.22, 0.8, 0.36, 1);
    border: 1px solid #e2d7f2;
    background-color: #fdfbff;
}

.recommended-links .badge:hover {
    background-color: #6f46c9 !important;
    color: #fff !important;
    border-color: #6f46c9 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -12px rgba(67, 28, 150, 0.4);
}

.recommended-links .badge:hover .text-warning {
    color: #d6a82b !important;
}

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: #efebf7;
}

article :is(h2.h4) {
    color: #47308c;
    border-bottom: 2px solid #cfc0ef;
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}

article .alert-info {
    background-color: #efe8fb;
    border-color: #cbbcf2;
    color: #3f287a;
    border-radius: 18px;
}

article .list-group-item {
    background: transparent;
    transition: all 240ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

article .list-group-item:hover {
    background: #e8e0f5;
    padding-inline-start: var(--space-sm);
}

.posts-grid {}

.posts-grid .card {
    transition: all 360ms cubic-bezier(0.22, 0.9, 0.36, 1);
    border: 1px solid #e7ddf3;
    background: #fdfbff;
    border-radius: 28px;
    box-shadow: 0 10px 24px -20px rgba(31, 13, 74, 0.2);
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -24px rgba(50, 24, 132, 0.34), 0 6px 18px -10px rgba(24, 10, 60, 0.12);
    border-color: #8f63dc;
}

.posts-grid .card-img-top {
    transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.posts-grid .card-title a {
    transition: color 240ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

.posts-grid .card-title a:hover {
    color: #6a43c9 !important;
}

.related-posts h3 {
    border-bottom: 3px solid #c89a2c;
    padding-bottom: var(--space-xs);
    display: inline-block;
    color: #3b286f;
}

.related-card {
    transition: all 340ms cubic-bezier(0.22, 0.9, 0.36, 1);
    background: #fdfbff;
    border-radius: 24px;
    box-shadow: 0 8px 20px -18px rgba(38, 16, 90, 0.25);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px -20px rgba(48, 22, 120, 0.32), 0 4px 12px -8px rgba(0, 0, 0, 0.08);
}

.related-card img {
    transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

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

.social-share .btn {
    min-width: 40px;
    border-radius: 999px;
    transition: all 220ms cubic-bezier(0.22, 0.8, 0.36, 1);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgba(50, 23, 118, 0.4);
}

.social-share [data-copy-url].copied {
    background-color: #2aa077;
    color: #fff;
    border-color: #2aa077;
}

.accordion-button:not(.collapsed) {
    background-color: #eee6fa;
    color: #412b86;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(130, 82, 210, 0.18);
}

.modal-content {
    border: none;
    border-radius: 30px;
    box-shadow: 0 44px 90px -18px rgba(12, 4, 40, 0.55), 0 20px 40px -20px rgba(20, 6, 60, 0.28);
}

.tooltip-inner {
    background-color: #302064;
    border-radius: 12px;
    font-size: 0.85rem;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.4);
}

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