.author-profile {
    background: linear-gradient(145deg, #FFFFFF 0%, #F2ECFC 100%);
}

.author-profile h1 {
    color: #2E1890;
}

.author-profile img.rounded-circle {
    border: 4px solid #FDFCFF;
    box-shadow: 0 12px 28px -14px rgba(55, 25, 160, 0.35), 0 0 24px rgba(92, 61, 246, 0.16);
}

.author-profile .badge.bg-light {
    background: #EAE2FC !important;
    color: #2F1A8C !important;
    transition: all 180ms ease;
}

.author-profile .badge.bg-light:hover {
    background: #5B3AE2 !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px -8px rgba(86, 45, 220, 0.55);
}

.author-box {
    border-inline-start: 4px solid #FF4E98;
    transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.author-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -16px rgba(255, 78, 152, 0.35), 0 0 26px rgba(255, 78, 152, 0.20);
}

.author-box img {
    transition: transform 260ms ease;
}

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

.author-posts-list .card {
    border-radius: 18px;
    border-color: rgba(92, 61, 246, 0.12);
    box-shadow: 0 8px 24px -18px rgba(34, 13, 118, 0.22), 0 0 18px rgba(92, 61, 246, 0.06);
    transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.author-posts-list .card:hover {
    transform: translateY(-6px);
    border-color: #5B3AE2;
    box-shadow: 0 20px 46px -18px rgba(55, 25, 160, 0.45), 0 0 32px rgba(92, 61, 246, 0.22);
}

.author-posts-list .card-img-top {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.main-authors-section {
    background: linear-gradient(180deg, #EEE8FA 0%, #F7F4FC 100%);
}

.author-card {
    transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #E1D5F9;
    border-radius: 20px;
    box-shadow: 0 10px 30px -24px rgba(42, 24, 129, 0.35);
}

.author-card:hover {
    transform: translateY(-9px);
    border-color: #19C7A6;
    box-shadow: 0 24px 46px -20px rgba(21, 192, 160, 0.35), 0 0 28px rgba(21, 192, 160, 0.15);
}

.author-card img.rounded-circle {
    border: 3px solid #DDD0F7;
    transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.author-card:hover img.rounded-circle {
    border-color: #17BFA1;
    box-shadow: 0 0 0 5px rgba(21, 192, 160, 0.15), 0 0 26px rgba(21, 192, 160, 0.30);
    transform: scale(1.06);
}

.faq-section {
    background: linear-gradient(180deg, #EFE9FA 0%, #FFFFFF 100%);
}

.faq-section h2 {
    font-size: 1.75rem;
    color: #2E1890;
}

.faq-list .faq-item {
    border: 1px solid rgba(92, 61, 246, 0.12);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px -18px rgba(42, 24, 129, 0.30);
    transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 18px 38px -18px rgba(92, 61, 246, 0.35), 0 0 28px rgba(92, 61, 246, 0.18) !important;
    transform: translateY(-3px);
    border-color: rgba(92, 61, 246, 0.30);
}

.faq-list .faq-item[open] {
    border-color: rgba(92, 61, 246, 0.35);
    background: linear-gradient(90deg, #ECE5FF 0%, #FFFFFF 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: #221244;
}

.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: #5B3AE2;
    transition: transform 280ms cubic-bezier(0.22, 1, 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: #5B3AE2;
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4D4966;
    animation: faqFadeIn 300ms ease-out both;
}

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

.sidebar-widgets .card {
    transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
    border-color: #DDD2F5;
    border-radius: 18px;
}

.sidebar-widgets .card:hover {
    box-shadow: 0 16px 34px -16px rgba(92, 61, 246, 0.32), 0 0 24px rgba(92, 61, 246, 0.12);
    border-color: #A98AF2;
}

.sidebar-widgets h5 {
    color: #2E1899;
}

.sidebar-widgets .badge {
    transition: all 180ms ease;
    cursor: pointer;
}

.sidebar-widgets .badge:hover {
    background-color: #5B3AE2 !important;
    color: #FFFFFF !important;
    border-color: #5B3AE2 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(92, 61, 246, 0.45);
}

.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: #5B3AE2 !important;
}

.pagination .page-link {
    color: #4A31C8;
    border-color: #DED6F4;
    transition: all 180ms ease;
}

.pagination .page-link:hover {
    background-color: #EFE9FD;
    color: #2E1899;
    border-color: #9B7FF2;
    box-shadow: 0 6px 16px -10px rgba(92, 61, 246, 0.45);
}

.pagination .page-item.active .page-link {
    background-color: #5B3AE2;
    border-color: #5B3AE2;
    color: #FFFFFF;
    box-shadow: 0 10px 20px -10px rgba(92, 61, 246, 0.55);
}

.pagination .page-item.disabled .page-link {
    color: #B6ACD0;
}

.search-box-section {
    background: #F1ECF7;
}

.search-box-section .input-group-lg .form-control {
    border-radius: 999px 0 0 999px;
    padding-inline-start: 1.5rem;
    background: #FFFFFF;
    border-color: #DCD2F3;
    caret-color: #5B3AE2;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 999px 999px 0;
    box-shadow: 0 8px 18px -10px rgba(63, 33, 187, 0.28);
}

.search-box-section .badge {
    transition: all 180ms ease;
}

.search-box-section .badge:hover {
    background-color: #5B3AE2 !important;
    color: #FFFFFF !important;
    border-color: #5B3AE2 !important;
    box-shadow: 0 8px 18px -8px rgba(92, 61, 246, 0.40);
}

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

.search-result {
    transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 14px;
}

.search-result:hover {
    transform: translateX(4px);
    box-shadow: 0 16px 32px -18px rgba(92, 61, 246, 0.35), 0 0 24px rgba(92, 61, 246, 0.12);
}

.search-result h2 a:hover {
    color: #5B3AE2 !important;
}

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

.error-page h1 {
    background: linear-gradient(120deg, #7C4DFF 0%, #C044F3 55%, #FF5C8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 8px 32px rgba(192, 68, 243, 0.35), 0 2px 8px rgba(60, 20, 150, 0.08);
}

.recommended-links .badge {
    transition: all 180ms ease;
    border: 1px solid #DDD3F0;
    background-color: #FFFFFF;
}

.recommended-links .badge:hover {
    background-color: #5B3AE2 !important;
    color: #FFFFFF !important;
    border-color: #5B3AE2 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(92, 61, 246, 0.45), 0 0 18px rgba(92, 61, 246, 0.15);
}

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

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

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

article .alert-info {
    background-color: #F0ECFE;
    border-color: #C9BFFB;
    color: #3220A8;
}

article .list-group-item {
    background: transparent;
    transition: all 180ms ease;
    border-radius: 10px;
}

article .list-group-item:hover {
    background: #F2EEFB;
    padding-inline-start: var(--space-sm);
    box-shadow: inset 0 0 0 1px rgba(92, 61, 246, 0.08);
}

.posts-grid { }

.posts-grid .card {
    transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #E4DBF7;
    border-radius: 18px;
    box-shadow: 0 8px 24px -18px rgba(61, 28, 173, 0.15), 0 0 16px rgba(92, 61, 246, 0.05);
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-6px);
    border-color: #5B3AE2;
    box-shadow: 0 22px 50px -22px rgba(78, 36, 215, 0.40), 0 0 34px rgba(92, 61, 246, 0.22);
}

.posts-grid .card-img-top {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.posts-grid .card-title a {
    color: #2E1890;
    transition: color 180ms ease;
}

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

.related-posts h3 {
    color: #2E1890;
    border-bottom: 3px solid #F15BB5;
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 2px 8px rgba(241, 91, 181, 0.12);
}

.related-card {
    transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 18px;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px -18px rgba(241, 91, 181, 0.30), 0 0 28px rgba(241, 91, 181, 0.16);
}

.related-card img {
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.social-share .btn {
    min-width: 40px;
    border-radius: 14px;
    transition: all 180ms ease;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(92, 61, 246, 0.40), 0 0 16px rgba(92, 61, 246, 0.14);
}

.social-share [data-copy-url].copied {
    background-color: #12B68A;
    color: #FFFFFF;
    border-color: #0C9D77;
    box-shadow: 0 10px 24px -10px rgba(18, 182, 138, 0.50);
}

.accordion-button:not(.collapsed) {
    background-color: #EEE9FD;
    color: #38219E;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.22rem rgba(92, 61, 246, 0.15);
}

.modal-content {
    border: none;
    border-radius: 22px;
    box-shadow: 0 30px 70px -25px rgba(38, 15, 128, 0.45), 0 0 40px rgba(92, 61, 246, 0.15);
}

.tooltip-inner {
    background-color: #2C1977;
    border-radius: 10px;
    font-size: 0.85rem;
    box-shadow: 0 10px 22px -10px rgba(30, 12, 90, 0.50);
}

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