.author-profile {
    background: radial-gradient(1200px 600px at 50% 0%, #ffffff 0%, #f4f2ff 25%, var(--color-bg-soft) 70%, #0f0f1a 140%);
}

.author-profile h1 {
    color: #2b1240;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.author-profile img.rounded-circle {
    border: 4px solid #fff;
    border-color: #ffffff;
    box-shadow: 5px 5px 0 rgba(49, 16, 92, 0.22), 10px 12px 24px rgba(15, 15, 26, 0.16);
    filter: saturate(1.05) contrast(1.02);
}

.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), 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) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.author-profile .badge.bg-light:hover {
    background: #4b1e7a !important;
    color: #ffffff !important;
    box-shadow: 4px 4px 0 rgba(15, 15, 26, 0.35), 0 16px 30px rgba(75, 30, 122, 0.25);
    transform: translateY(-1px);
}

.author-box {
    border-inline-start: 4px solid #7a2cff;
    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);
}

.author-box:hover {
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 10px 18px 40px rgba(15, 15, 26, 0.25);
    transform: translateY(-1px);
}

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

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

.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;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 0 rgba(122, 44, 255, 0.35), 0 22px 40px rgba(15, 15, 26, 0.25);
    border-color: rgba(122, 44, 255, 0.9);
}

.author-posts-list .card-img-top {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.main-authors-section {
    background: linear-gradient(180deg, #0f0f1a 0%, var(--color-bg-soft) 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(122, 44, 255, 0.15);
    border-radius: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4), 0 24px 60px rgba(122, 44, 255, 0.22);
    border-color: rgba(122, 44, 255, 0.65);
}

.author-card img.rounded-circle {
    border: 3px solid rgba(244, 242, 255, 0.92);
    border-color: 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);
    box-shadow: 3px 3px 0 rgba(15, 15, 26, 0.22);
    border-radius: 2px;
}

.author-card:hover img.rounded-circle {
    border-color: #7a2cff;
    box-shadow: 4px 4px 0 rgba(122, 44, 255, 0.35), 0 16px 30px rgba(122, 44, 255, 0.18);
}

.faq-section {
    background: linear-gradient(180deg, #0f0f1a 0%, var(--color-bg-soft) 30%, #ffffff 100%);
}

.faq-section h2 {
    font-size: 1.75rem;
    color: #2b1240;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-list .faq-item {
    border: 2px solid rgba(15, 15, 26, 0.08);
    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;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.faq-list .faq-item:hover {
    box-shadow: 4px 4px 0 rgba(122, 44, 255, 0.35), 0 18px 38px rgba(15, 15, 26, 0.18) !important;
    transform: translateY(-2px);
    border-color: rgba(122, 44, 255, 0.55);
}

.faq-list .faq-item[open] {
    border-color: rgba(75, 30, 122, 0.35);
    background: linear-gradient(90deg, rgba(75, 30, 122, 0.08) 0%, rgba(122, 44, 255, 0.12) 35%, #ffffff 100%);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22), 0 22px 52px rgba(122, 44, 255, 0.18);
}

.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: #1f1631;
}

.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: #7a2cff;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 1;
    text-shadow: 1px 1px 0 rgba(15, 15, 26, 0.25);
}

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

.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #7a2cff;
    text-shadow: 1px 1px 0 rgba(15, 15, 26, 0.18);
}

.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);
    color: #332a47;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

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

.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, 15, 26, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.sidebar-widgets .card:hover {
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28), 0 20px 48px rgba(15, 15, 26, 0.18);
    transform: translateY(-2px);
    border-color: rgba(122, 44, 255, 0.45);
}

.sidebar-widgets h5 {
    color: #2b1240;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.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: 2px solid rgba(122, 44, 255, 0.18);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 2px;
}

.sidebar-widgets .badge:hover {
    background-color: #7a2cff !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28), 0 18px 40px rgba(122, 44, 255, 0.22);
    border-color: rgba(122, 44, 255, 0.95);
}

.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: #7a2cff !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.pagination .page-link {
    color: #7a2cff;
    border-color: rgba(15, 15, 26, 0.18);
    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), 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-radius: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    background: rgba(255, 255, 255, 0.55);
}

.pagination .page-link:hover {
    background-color: rgba(122, 44, 255, 0.12);
    color: #3b135c;
    border-color: rgba(122, 44, 255, 0.7);
    box-shadow: 4px 4px 0 rgba(15, 15, 26, 0.28), 0 18px 40px rgba(122, 44, 255, 0.18);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: #7a2cff;
    border-color: #7a2cff;
    color: #fff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 20px 46px rgba(122, 44, 255, 0.25);
}

.pagination .page-item.disabled .page-link {
    color: rgba(31, 22, 49, 0.45);
    border-color: rgba(15, 15, 26, 0.12);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.search-box-section {
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.9) 0%, var(--color-bg-soft) 40%, rgba(255, 255, 255, 0.8) 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, 15, 26, 0.18);
    background: rgba(255, 255, 255, 0.75);
    color: #1f1631;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    caret-color: #7a2cff;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: 2px solid rgba(122, 44, 255, 0.4);
    background: linear-gradient(135deg, #7a2cff 0%, #4b1e7a 100%);
    color: #fff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 18px 40px rgba(122, 44, 255, 0.2);
    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), filter 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-box-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45), 0 22px 52px rgba(122, 44, 255, 0.25);
    filter: saturate(1.08);
}

.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: 2px solid rgba(122, 44, 255, 0.18);
    border-radius: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.search-box-section .badge:hover {
    background-color: #7a2cff !important;
    color: #fff !important;
    border-color: #7a2cff !important;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3), 0 18px 44px rgba(122, 44, 255, 0.22);
    transform: translateY(-1px);
}

.search-results-section {
    background: radial-gradient(900px 520px at 50% 0%, rgba(122, 44, 255, 0.15) 0%, rgba(15, 15, 26, 0.95) 40%, var(--color-bg) 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);
    border-radius: 2px;
    border: 2px solid rgba(15, 15, 26, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 4px 4px 0 rgba(122, 44, 255, 0.35), 0 22px 52px rgba(15, 15, 26, 0.22);
    border-color: rgba(122, 44, 255, 0.55);
}

.search-result h2 a:hover {
    color: #7a2cff !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.search-result mark {
    background-color: #fde68a;
    color: #2b1240;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 700;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
}

.error-page h1 {
    background: linear-gradient(135deg, #7a2cff, #4b1e7a 55%, #2b1240 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 22px 70px rgba(122, 44, 255, 0.22);
    filter: drop-shadow(0 8px 22px rgba(15, 15, 26, 0.2));
}

.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, 15, 26, 0.18);
    border-radius: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    background: rgba(255, 255, 255, 0.7);
    color: #2b1240;
}

.recommended-links .badge:hover {
    background-color: #7a2cff !important;
    color: #fff !important;
    border-color: #7a2cff !important;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3), 0 18px 40px rgba(122, 44, 255, 0.22);
}

.recommended-links .badge:hover .text-warning {
    color: #7a2cff !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: radial-gradient(1200px 620px at 50% 0%, rgba(122, 44, 255, 0.12) 0%, rgba(15, 15, 26, 0.9) 35%, var(--color-bg-soft) 100%);
}

article :is(h2.h4) {
    color: #2b1240;
    border-bottom: 2px solid rgba(122, 44, 255, 0.5);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

article .alert-info {
    background-color: rgba(191, 219, 254, 0.25);
    border-color: rgba(59, 130, 246, 0.35);
    color: #2b1240;
    border-radius: 2px;
    box-shadow: 3px 3px 0 rgba(15, 15, 26, 0.12), 0 18px 40px rgba(59, 130, 246, 0.12);
}

article .list-group-item {
    background: transparent;
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-left: 3px solid rgba(122, 44, 255, 0);
    border-radius: 2px;
}

article .list-group-item:hover {
    background: rgba(244, 242, 255, 0.7);
    padding-inline-start: var(--space-sm);
    border-left-color: rgba(122, 44, 255, 0.7);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18), 0 16px 34px rgba(15, 15, 26, 0.12);
}

.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, 15, 26, 0.12);
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 0 rgba(122, 44, 255, 0.35), 0 22px 52px rgba(15, 15, 26, 0.22);
    border-color: rgba(122, 44, 255, 0.75);
}

.posts-grid .card-img-top {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.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);
    color: #2b1240;
}

.posts-grid .card-title a:hover {
    color: #7a2cff !important;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.related-posts h3 {
    border-bottom: 3px solid #7a2cff;
    padding-bottom: var(--space-xs);
    display: inline-block;
    color: #2b1240;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.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, 15, 26, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28), 0 22px 52px rgba(122, 44, 255, 0.18);
    border-color: rgba(122, 44, 255, 0.65);
}

.related-card img {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.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, 15, 26, 0.16);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(122, 44, 255, 0.25), 0 18px 40px rgba(15, 15, 26, 0.18);
    border-color: rgba(122, 44, 255, 0.6);
}

.social-share [data-copy-url].copied {
    background-color: #16a34a;
    color: #fff;

    border-color: #16a34a;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 18px 40px rgba(22, 163, 74, 0.2);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(239, 246, 255, 0.7);
    color: #2b1240;
    box-shadow: none;
    border-radius: 2px !important;
    border: 2px solid rgba(59, 130, 246, 0.18);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(122, 44, 255, 0.18);
    border-color: rgba(122, 44, 255, 0.4);
}

.modal-content {
    border: none;
    border-radius: 2px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35), 0 30px 90px rgba(15, 15, 26, 0.35);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tooltip-inner {
    background-color: #2b1240;
    border-radius: 2px;
    font-size: 0.85rem;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35), 0 18px 40px rgba(43, 18, 64, 0.35);
    border: 2px solid rgba(122, 44, 255, 0.35);
    color: #ffffff;
}

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