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

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

.author-profile img.rounded-circle{
    border: 4px solid #ffffff;
    box-shadow:
        6px 6px 0 rgba(15,23,42,0.18),
        0 10px 22px rgba(2,6,23,0.10),
        inset 0 0 0 1px rgba(255,255,255,0.75);
}

.author-profile .badge.bg-light{
    background: var(--color-bg-muted) !important;
    color: var(--color-text) !important;
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border: 2px solid rgba(2,6,23,0.12);
    border-radius: 0 0 4px 0;
}

.author-profile .badge.bg-light:hover{
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: rgba(0,0,0,0.10) !important;
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.12),
        0 14px 28px rgba(0,0,0,0.10);
}

.author-box{
    border-inline-start: 4px solid var(--color-accent);
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
}

.author-box:hover{
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.35),
        0 12px 26px rgba(2,6,23,0.14);
}

.author-box img{
    transition: transform 0.15s cubic-bezier(.2,.8,.2,1), filter 0.15s cubic-bezier(.2,.8,.2,1);
    filter: saturate(1.02) contrast(1.02);
}

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

.author-posts-list .card{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
    border-radius: 0 0 4px 0;
    box-shadow:
        0 0 0 2px rgba(37,46,58,0.06),
        0 18px 40px rgba(2,6,23,0.06);
}

.author-posts-list .card:hover{
    transform: translateY(-4px);
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.30),
        10px 18px 44px rgba(2,6,23,0.16);
}

.author-posts-list .card-img-top{
    transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
    transform-origin: 50% 50%;
}

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

.main-authors-section{
    background: linear-gradient(180deg,#f3f6ff 0%, #edf2ff 45%, var(--color-bg-soft) 100%);
}

.author-card{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border: 3px solid rgba(37,46,58,0.12);
    border-radius: 0 0 3px 0;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.7) inset,
        0 18px 36px rgba(2,6,23,0.08);
}

.author-card:hover{
    transform: translateY(-7px);
    box-shadow:
        4px 4px 0 rgba(2,6,23,0.24),
        14px 24px 56px rgba(2,6,23,0.18);
    border-color: rgba(34,197,94,0.0);
}

.author-card img.rounded-circle{
    border: 3px solid #eef2ff;
    transition: border-color 0.15s cubic-bezier(.2,.8,.2,1), box-shadow 0.15s cubic-bezier(.2,.8,.2,1);
    box-shadow:
        0 0 0 2px rgba(2,6,23,0.06),
        0 12px 26px rgba(2,6,23,0.12);
}

.author-card:hover img.rounded-circle{
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 2px rgba(2,6,23,0.10),
        6px 10px 24px rgba(2,6,23,0.16);
}

.faq-section{
    background: linear-gradient(180deg,#eef3ff 0%, #ffffff 60%, #f7f9ff 100%);
}

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

.faq-list .faq-item{
    border: 2px solid rgba(2,6,23,0.08);
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
    border-radius: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.6) inset;
}

.faq-list .faq-item:hover{
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.65) inset,
        4px 4px 0 rgba(37,46,58,0.22),
        0 18px 38px rgba(2,6,23,0.14) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open]{
    border-color: rgba(59,130,246,0.35);
    background: linear-gradient(90deg,#e7f0ff 0%, #ffffff 55%, #f6f8ff 100%);
    box-shadow:
        4px 4px 0 rgba(59,130,246,0.18),
        0 18px 40px rgba(59,130,246,0.10);
}

.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(.2,.8,.2,1);
    line-height: 1;
    text-shadow: 0 2px 0 rgba(2,6,23,0.10);
}

.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: var(--color-primary);
    text-shadow: 0 1px 0 rgba(2,6,23,0.08);
}

.faq-list .faq-answer{
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 0.15s cubic-bezier(.2,.8,.2,1);
}

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

.sidebar-widgets .card{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border-radius: 0;
}

.sidebar-widgets .card:hover{
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.26),
        0 18px 40px rgba(2,6,23,0.14);
    transform: translateY(-2px);
}

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

.sidebar-widgets .badge{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
    border-radius: 0;
}

.sidebar-widgets .badge:hover{
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    border-color: rgba(0,0,0,0.10) !important;
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.12),
        0 16px 28px rgba(2,6,23,0.14);
}

.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;
    text-shadow: 0 2px 0 rgba(2,6,23,0.08);
}

.pagination .page-link{
    color: var(--color-primary);
    border-color: rgba(37,46,58,0.18);
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border-radius: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.65) inset;
}

.pagination .page-link:hover{
    background-color: var(--color-bg-muted);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.16),
        0 18px 36px rgba(2,6,23,0.12);
}

.pagination .page-item.active .page-link{
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.18),
        0 18px 40px rgba(2,6,23,0.16);
}

.pagination .page-item.disabled .page-link{
    color: var(--color-text-light);
    border-color: rgba(37,46,58,0.10);
    background: rgba(255,255,255,0.55);
    box-shadow: none;
}

.search-box-section{
    background: linear-gradient(180deg,#f4f7ff 0%, #eef2ff 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: 3px solid rgba(37,46,58,0.14);
    border-right: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.7) inset;
    background: #ffffff;
}

.search-box-section .input-group-lg .btn{
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: 3px solid rgba(37,46,58,0.14);
    border-left: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.7) inset;
}

.search-box-section .badge{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border-radius: 0;
    border: 2px solid rgba(37,46,58,0.14);
}

.search-box-section .badge:hover{
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.12),
        0 18px 36px rgba(2,6,23,0.14);
    transform: translateY(-1px);
}

.search-results-section{
    background: linear-gradient(180deg,#f2f5ff 0%, #edf2ff 100%);
}

.search-result{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
}

.search-result:hover{
    transform: translateX(3px);
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.20),
        0 18px 40px rgba(2,6,23,0.14);
}

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

.search-result mark{
    background-color: #fde68a;
    padding-inline: 2px;
    border-radius: 0;
    font-weight: 700;
    border: 2px solid rgba(245,158,11,0.35);
    box-shadow:
        2px 2px 0 rgba(245,158,11,0.22);
}

.error-page h1{
    background: linear-gradient(135deg,#22c55e 0%,#3b82f6 45%,#111827 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        4px 4px 0 rgba(2,6,23,0.20),
        0 22px 60px rgba(59,130,246,0.22);
}

.recommended-links .badge{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border: 2px solid rgba(37,46,58,0.18);
    border-radius: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.65) inset;
}

.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(0,0,0,0.16),
        0 18px 38px rgba(2,6,23,0.14);
}

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

.legal-article-section,
main:has(> .container > article.bg-white){
    background: linear-gradient(180deg,#f2f6ff 0%, var(--color-bg-soft) 100%);
}

article :is(h2.h4){
    color: var(--color-primary-dark);
    border-bottom: 3px solid rgba(37,46,58,0.20);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 0 rgba(2,6,23,0.06);
}

article .alert-info{
    background-color: #e0f2fe;
    border-color: #7dd3fc;
    color: #0f172a;
    box-shadow:
        4px 4px 0 rgba(14,165,233,0.18),
        0 18px 40px rgba(14,165,233,0.10);
}

article .list-group-item{
    background: transparent;
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border-radius: 0;
    border: 2px solid rgba(2,6,23,0.06);
}

article .list-group-item:hover{
    background: linear-gradient(90deg,#ffffff 0%, var(--color-bg-soft) 100%);
    padding-inline-start: var(--space-sm);
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.14),
        0 18px 38px rgba(2,6,23,0.10);
    border-color: rgba(59,130,246,0.22);
}

.posts-grid{
}

.posts-grid .card{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border: 2px solid rgba(37,46,58,0.16);
    overflow: hidden;
    border-radius: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.7) inset,
        0 18px 40px rgba(2,6,23,0.08);
}

.posts-grid .card:hover{
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(2,6,23,0.22),
        14px 26px 60px rgba(2,6,23,0.16);
    border-color: var(--color-primary);
}

.posts-grid .card-img-top{
    transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}

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

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

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

.related-posts h3{
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 2px 0 rgba(2,6,23,0.06);
}

.related-card{
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
}

.related-card:hover{
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(37,46,58,0.22),
        0 18px 40px rgba(2,6,23,0.14);
}

.related-card img{
    transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}

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

.social-share .btn{
    min-width: 40px;
    transition: all 0.15s cubic-bezier(.2,.8,.2,1);
    border-radius: 0;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.55) inset;
}

.social-share .btn:hover{
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.14),
        0 18px 36px rgba(2,6,23,0.14);
}

.social-share [data-copy-url].copied{
    background-color: var(--color-success);
    color: #fff;
    border-color: var(--color-success);
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.16),
        0 18px 36px rgba(2,6,23,0.14);
}

.accordion-button:not(.collapsed){
    background-color: #e7f0ff;
    color: var(--color-primary-dark);
    box-shadow: none;
    border-radius: 0;
    border: 2px solid rgba(37,46,58,0.10);
}

.accordion-button:focus{
    box-shadow: 0 0 0 0.2rem rgba(59,130,246,0.22);
    border-radius: 0;
}

.modal-content{
    border: 2px solid rgba(37,46,58,0.18);
    border-radius: 0;
    box-shadow:
        6px 6px 0 rgba(2,6,23,0.20),
        0 26px 70px rgba(2,6,23,0.25);
}

.tooltip-inner{
    background-color: var(--color-primary-darker);
    border-radius: 0;
    font-size: 0.85rem;
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.18),
        0 18px 40px rgba(2,6,23,0.22);
}

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

    .error-page h1{
        font-size: 5rem !important;
        text-shadow:
            4px 4px 0 rgba(2,6,23,0.20),
            0 18px 50px rgba(59,130,246,0.26);
    }

    .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-width: 2px;
        border-style: solid;
        border-radius: 0;
    }
}