.author-profile{
    background: linear-gradient(135deg, #ffffff 0%, #fbf5e9 55%, var(--color-bg-soft) 100%);
}
.author-profile h1{
    color: #1b2a3a;
}
.author-profile img.rounded-circle{
    border: 4px solid #ffffff;
    box-shadow:
        0 10px 28px rgba(14, 31, 47, 0.10),
        0 2px 8px rgba(14, 31, 47, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}
.author-profile .badge.bg-light{
    background: #f4f1e7 !important;
    color: #1f2d3d !important;
    transition: background-color 170ms cubic-bezier(.2,.8,.2,1), color 170ms cubic-bezier(.2,.8,.2,1), transform 170ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
.author-profile .badge.bg-light:hover{
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.author-box{
    border-inline-start: 4px solid #f97316;
    transition: box-shadow 180ms cubic-bezier(.2,.8,.2,1), border-color 180ms cubic-bezier(.2,.8,.2,1), transform 180ms cubic-bezier(.2,.8,.2,1);
    border-radius: 4px;
}
.author-box:hover{
    box-shadow:
        0 14px 30px rgba(17, 24, 39, 0.12),
        0 4px 10px rgba(17, 24, 39, 0.08),
        inset 0 0 0 1px rgba(249, 115, 22, 0.14);
    border-color: #f59e0b;
}
.author-box img{
    transition: transform 220ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
.author-box:hover img{
    transform: scale(1.05);
}

.author-posts-list .card{
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
    border-radius: 6px;
}
.author-posts-list .card:hover{
    transform: translateY(-5px);
    box-shadow:
        0 18px 36px rgba(2, 6, 23, 0.14),
        0 6px 14px rgba(2, 6, 23, 0.08),
        inset 0 0 0 1px rgba(59, 130, 246, 0.14);
}
.author-posts-list .card-img-top{
    transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.author-posts-list .card:hover .card-img-top{
    transform: scale(1.06);
}

.main-authors-section{
    background: linear-gradient(180deg, #f6f0de 0%, var(--color-bg-soft) 100%);
}
.author-card{
    transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms cubic-bezier(.2,.8,.2,1), border-color 240ms cubic-bezier(.2,.8,.2,1);
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 6px;
}
.author-card:hover{
    transform: translateY(-8px);
    box-shadow:
        0 26px 60px rgba(2, 6, 23, 0.16),
        0 10px 22px rgba(2, 6, 23, 0.10),
        inset 0 0 0 1px rgba(29, 78, 216, 0.18);
    border-color: rgba(29, 78, 216, 0.35);
}
.author-card img.rounded-circle{
    border: 3px solid #ffffff;
    transition: border-color 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms cubic-bezier(.2,.8,.2,1);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.10);
}
.author-card:hover img.rounded-circle{
    border-color: #1d4ed8;
    box-shadow:
        0 16px 34px rgba(29, 78, 216, 0.22),
        0 4px 10px rgba(2, 6, 23, 0.10);
}

.faq-section{
    background: linear-gradient(180deg, #f6f0de 0%, #ffffff 40%, #fbfbff 100%);
}
.faq-section h2{
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}

.faq-list .faq-item{
    border: 1px solid rgba(2, 6, 23, 0.08);
    transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms cubic-bezier(.2,.8,.2,1), background-color 200ms cubic-bezier(.2,.8,.2,1), border-color 200ms cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
    border-radius: 4px;
    background: rgba(255,255,255,0.75);
}
.faq-list .faq-item:hover{
    box-shadow:
        0 10px 26px rgba(2, 6, 23, 0.10),
        0 4px 10px rgba(2, 6, 23, 0.06),
        inset 0 0 0 1px rgba(59, 130, 246, 0.08) !important;
    transform: translateY(-2px);
}
.faq-list .faq-item[open]{
    border-color: rgba(29, 78, 216, 0.22);
    background: linear-gradient(90deg, #eff6ff 0%, #ffffff 45%, #f8fafc 100%);
    box-shadow:
        0 14px 34px rgba(2, 6, 23, 0.10),
        inset 0 0 0 1px rgba(29, 78, 216, 0.12);
}

.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: #1d4ed8;
    transition: transform 200ms cubic-bezier(.2,.8,.2,1);
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.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: #f97316;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.faq-list .faq-answer{
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 220ms cubic-bezier(.2,.8,.2,1);
}
@keyframes faqFadeIn{
    from{
        opacity: 0;
        transform: translateY(-5px);
        filter: blur(1px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.sidebar-widgets .card{
    transition: box-shadow 200ms cubic-bezier(.2,.8,.2,1), transform 200ms cubic-bezier(.2,.8,.2,1);
}
.sidebar-widgets .card:hover{
    box-shadow:
        0 18px 44px rgba(2, 6, 23, 0.12),
        0 6px 14px rgba(2, 6, 23, 0.08),
        inset 0 0 0 1px rgba(249, 115, 22, 0.10);
}
.sidebar-widgets h5{
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.sidebar-widgets .badge{
    transition: background-color 170ms cubic-bezier(.2,.8,.2,1), color 170ms cubic-bezier(.2,.8,.2,1), transform 170ms cubic-bezier(.2,.8,.2,1), border-color 170ms cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
    border-radius: 6px;
}
.sidebar-widgets .badge:hover{
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px rgba(29, 78, 216, 0.22),
        0 2px 6px rgba(2, 6, 23, 0.10);
}
.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: #1d4ed8 !important;
}

.pagination .page-link{
    color: #1d4ed8;
    border-color: rgba(29, 78, 216, 0.20);
    transition: background-color 160ms cubic-bezier(.2,.8,.2,1), color 160ms cubic-bezier(.2,.8,.2,1), border-color 160ms cubic-bezier(.2,.8,.2,1), transform 160ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
.pagination .page-link:hover{
    background-color: #f4f1e7;
    color: #0f172a;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}
.pagination .page-item.active .page-link{
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.26);
}
.pagination .page-item.disabled .page-link{
    color: rgba(15, 23, 42, 0.40);
    border-color: rgba(2, 6, 23, 0.08);
}

.search-box-section{
    background: linear-gradient(180deg, #f6f0de 0%, #ffffff 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-color: rgba(2, 6, 23, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.search-box-section .input-group-lg .btn{
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border-color: rgba(29, 78, 216, 0.22);
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow:
        0 14px 30px rgba(29, 78, 216, 0.22),
        inset 0 0 0 1px rgba(255,255,255,0.20);
}
.search-box-section .badge{
    transition: background-color 170ms cubic-bezier(.2,.8,.2,1), color 170ms cubic-bezier(.2,.8,.2,1), border-color 170ms cubic-bezier(.2,.8,.2,1), transform 170ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
.search-box-section .badge:hover{
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-1px);
}

.search-results-section{
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.search-result{
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms cubic-bezier(.2,.8,.2,1);
}
.search-result:hover{
    transform: translateX(3px);
    box-shadow:
        0 18px 40px rgba(2, 6, 23, 0.10),
        0 6px 14px rgba(2, 6, 23, 0.06),
        inset 0 0 0 1px rgba(29, 78, 216, 0.12);
}
.search-result h2 a:hover{
    color: #1d4ed8 !important;
}
.search-result mark{
    background-color: #fff7c2;
    padding-inline: 2px;
    border-radius: 3px;
    font-weight: 650;
    color: #0f172a;
    box-shadow: inset 0 -1px 0 rgba(249, 115, 22, 0.35);
}

.error-page h1{
    background: linear-gradient(135deg, #1d4ed8 0%, #f97316 55%, #0f172a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 10px 34px rgba(29, 78, 216, 0.18),
        0 2px 10px rgba(249, 115, 22, 0.12);
}
.recommended-links .badge{
    transition: transform 170ms cubic-bezier(.2,.8,.2,1), box-shadow 170ms cubic-bezier(.2,.8,.2,1), background-color 170ms cubic-bezier(.2,.8,.2,1), color 170ms cubic-bezier(.2,.8,.2,1), border-color 170ms cubic-bezier(.2,.8,.2,1);
    border: 1px solid rgba(2, 6, 23, 0.12);
    border-radius: 6px;
    background: #ffffff;
}
.recommended-links .badge:hover{
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow:
        0 18px 42px rgba(29, 78, 216, 0.26),
        0 6px 14px rgba(2, 6, 23, 0.08);
}
.recommended-links .badge:hover .text-warning{
    color: #f97316 !important;
}

.legal-article-section,
main:has(> .container > article.bg-white){
    background: linear-gradient(180deg, #f6f0de 0%, #ffffff 100%);
}
article :is(h2.h4){
    color: #0f172a;
    border-bottom: 2px solid rgba(249, 115, 22, 0.55);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}
article .alert-info{
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
article .list-group-item{
    background: transparent;
    transition: background-color 160ms cubic-bezier(.2,.8,.2,1), padding-inline-start 160ms cubic-bezier(.2,.8,.2,1), box-shadow 160ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
article .list-group-item:hover{
    background: #f6f0de;
    padding-inline-start: var(--space-sm);
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06);
}

.posts-grid{
    /* Container nếu cần */
}
.posts-grid .card{
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms cubic-bezier(.2,.8,.2,1);
    border: 1px solid rgba(2, 6, 23, 0.10);
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255,255,255,0.8);
}
.posts-grid .card:hover{
    transform: translateY(-5px);
    box-shadow:
        0 22px 48px rgba(2, 6, 23, 0.12),
        0 8px 18px rgba(2, 6, 23, 0.07),
        inset 0 0 0 1px rgba(29, 78, 216, 0.16);
    border-color: rgba(29, 78, 216, 0.40);
}
.posts-grid .card-img-top{
    transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.posts-grid .card:hover .card-img-top{
    transform: scale(1.06);
}
.posts-grid .card-title a{
    transition: color 160ms cubic-bezier(.2,.8,.2,1);
}
.posts-grid .card-title a:hover{
    color: #1d4ed8 !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.related-posts h3{
    border-bottom: 3px solid #f97316;
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.related-card{
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
.related-card:hover{
    transform: translateY(-5px);
    box-shadow:
        0 18px 40px rgba(2, 6, 23, 0.10),
        0 6px 14px rgba(2, 6, 23, 0.06),
        inset 0 0 0 1px rgba(249, 115, 22, 0.12);
}
.related-card img{
    transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.related-card:hover img{
    transform: scale(1.06);
}

.social-share .btn{
    min-width: 40px;
    transition: transform 160ms cubic-bezier(.2,.8,.2,1), box-shadow 160ms cubic-bezier(.2,.8,.2,1), background-color 160ms cubic-bezier(.2,.8,.2,1), border-color 160ms cubic-bezier(.2,.8,.2,1);
    border-radius: 6px;
}
.social-share .btn:hover{
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(2, 6, 23, 0.10),
        0 6px 14px rgba(2, 6, 23, 0.06);
}
.social-share [data-copy-url].copied{
    background-color: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    box-shadow:
        0 14px 30px rgba(22, 163, 74, 0.22),
        inset 0 0 0 1px rgba(255,255,255,0.18);
}

.accordion-button:not(.collapsed){
    background-color: #eff6ff;
    color: #0f172a;
    box-shadow: none;
    border-radius: 6px;
}
.accordion-button:focus{
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.14);
}

.modal-content{
    border: none;
    border-radius: 6px;
    box-shadow:
        0 30px 80px rgba(2, 6, 23, 0.22),
        0 10px 24px rgba(2, 6, 23, 0.12),
        inset 0 0 0 1px rgba(255,255,255,0.16);
}

.tooltip-inner{
    background-color: #0f172a;
    border-radius: 6px;
    font-size: 0.85rem;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
    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;
    }
}