.author-profile {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(250,250,255,1) 22%, var(--color-bg-soft) 100%);
}

.author-profile h1 {
    color: var(--color-primary-darker);
    text-shadow: 0 10px 30px rgba(14, 30, 68, 0.12);
}

.author-profile img.rounded-circle {
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 18px 45px rgba(7, 19, 46, 0.18),
        0 3px 0 rgba(255,255,255,0.85) inset,
        0 -1px 0 rgba(0,0,0,0.05) inset;
}

.author-profile .badge.bg-light {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,247,255,1) 100%) !important;
    color: var(--color-text) !important;
    border: 1px solid rgba(28, 45, 90, 0.12) !important;
    transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(135deg, rgba(28, 155, 255, 1) 0%, rgba(0, 88, 215, 1) 100%) !important;
    color: #fff !important;
    border-color: rgba(0, 88, 215, 0.55) !important;
    box-shadow: 0 16px 40px rgba(0, 88, 215, 0.25), 0 0 0 4px rgba(0, 88, 215, 0.12);
}

.author-box {
    border-inline-start: 4px solid rgba(255, 96, 120, 0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.35) 40%, rgba(255,255,255,0.2) 100%);
    border-radius: 14px;
}

.author-box:hover {
    box-shadow:
        0 26px 60px rgba(11, 20, 44, 0.22),
        0 10px 20px rgba(11, 20, 44, 0.12),
        0 0 0 1px rgba(255, 96, 120, 0.35) inset;
}

.author-box img {
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), filter 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
    filter: saturate(1.05) contrast(1.02);
}

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

.author-posts-list .card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(26, 45, 90, 0.10) inset,
        0 10px 30px rgba(9, 20, 50, 0.06);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 70px rgba(7, 18, 46, 0.25),
        0 12px 25px rgba(7, 18, 46, 0.16),
        0 0 0 1px rgba(0, 136, 255, 0.28) inset;
}

.author-posts-list .card-img-top {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.main-authors-section {
    background:
        radial-gradient(1200px 420px at 15% 0%, rgba(0, 136, 255, 0.14) 0%, rgba(0, 136, 255, 0) 60%),
        radial-gradient(900px 420px at 85% 10%, rgba(255, 96, 120, 0.14) 0%, rgba(255, 96, 120, 0) 58%),
        linear-gradient(180deg, rgba(246, 248, 255, 1) 0%, var(--color-bg-soft) 100%);
}

.author-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(26, 45, 90, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(252,253,255,0.75) 100%);
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.08);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 34px 80px rgba(10, 22, 55, 0.26),
        0 14px 30px rgba(10, 22, 55, 0.16),
        0 0 0 1px rgba(0, 136, 255, 0.35) inset;
    border-color: rgba(0, 136, 255, 0.38);
}

.author-card img.rounded-circle {
    border: 3px solid rgba(235, 239, 252, 1);
    transition: border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 12px 30px rgba(7, 18, 46, 0.12);
}

.author-card:hover img.rounded-circle {
    border-color: rgba(0, 136, 255, 0.95);
    box-shadow: 0 18px 45px rgba(0, 136, 255, 0.22);
}

.faq-section {
    background:
        radial-gradient(900px 360px at 10% 0%, rgba(0, 136, 255, 0.16) 0%, rgba(0, 136, 255, 0) 55%),
        linear-gradient(180deg, rgba(245, 247, 255, 1) 0%, rgba(255,255,255,1) 100%);
    border-radius: 18px;
}

.faq-section h2 {
    font-size: 1.75rem;
    color: var(--color-primary-darker);
    text-shadow: 0 16px 40px rgba(14, 30, 68, 0.10);
}

.faq-list .faq-item {
    border: 1px solid rgba(13, 20, 35, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(252,253,255,0.85) 100%);
    box-shadow: 0 10px 28px rgba(10, 22, 55, 0.05);
}

.faq-list .faq-item:hover {
    box-shadow:
        0 22px 55px rgba(7, 18, 46, 0.18),
        0 0 0 1px rgba(0, 136, 255, 0.22) inset !important;
    transform: translateY(-2px);
    border-color: rgba(0, 136, 255, 0.30);
}

.faq-list .faq-item[open] {
    border-color: rgba(0, 136, 255, 0.36);
    background:
        linear-gradient(90deg, rgba(0, 136, 255, 0.10) 0%, rgba(255,255,255,1) 55%, rgba(255, 96, 120, 0.08) 100%);
    box-shadow:
        0 28px 70px rgba(0, 136, 255, 0.16),
        0 0 0 1px rgba(0, 136, 255, 0.22) inset;
}

.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: rgba(14, 30, 68, 0.92);
}

.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: rgba(0, 136, 255, 0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
    text-shadow: 0 10px 25px rgba(0, 136, 255, 0.22);
}

.faq-list .faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    color: rgba(255, 96, 120, 0.95);
    text-shadow: 0 10px 25px rgba(255, 96, 120, 0.18);
}

.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(0, 136, 255, 0.95);
    text-shadow: 0 14px 35px rgba(0, 136, 255, 0.18);
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(26, 40, 70, 0.90);
    text-shadow: 0 8px 18px rgba(10, 22, 55, 0.05);
}

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

.sidebar-widgets .card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.06);
    border: 1px solid rgba(26, 45, 90, 0.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(250,252,255,0.78) 100%);
}

.sidebar-widgets .card:hover {
    box-shadow:
        0 30px 80px rgba(7, 18, 46, 0.20),
        0 0 0 1px rgba(0, 136, 255, 0.22) inset;
}

.sidebar-widgets h5 {
    color: rgba(14, 30, 68, 0.92);
    text-shadow: 0 16px 45px rgba(14, 30, 68, 0.08);
}

.sidebar-widgets .badge {
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid rgba(26, 45, 90, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,247,255,1) 100%);
    color: rgba(26, 40, 70, 0.92);
}

.sidebar-widgets .badge:hover {
    background: linear-gradient(135deg, rgba(0, 136, 255, 1) 0%, rgba(0, 88, 215, 1) 100%) !important;
    color: #fff !important;
    border-color: rgba(0, 136, 255, 0.55) !important;
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(0, 136, 255, 0.22);
}

.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: rgba(0, 136, 255, 0.95) !important;
    text-shadow: 0 12px 30px rgba(0, 136, 255, 0.18);
}

.pagination .page-link {
    color: rgba(0, 136, 255, 0.95);
    border-color: rgba(0, 136, 255, 0.25);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(246,248,255,1) 100%);
    box-shadow: 0 10px 25px rgba(10, 22, 55, 0.05);
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, rgba(245,247,255,1) 0%, rgba(239,246,255,1) 100%);
    color: rgba(0, 88, 215, 1);
    border-color: rgba(0, 88, 215, 0.55);
    box-shadow: 0 18px 45px rgba(0, 88, 215, 0.18);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(0, 136, 255, 1) 0%, rgba(0, 88, 215, 1) 100%);
    border-color: rgba(0, 88, 215, 0.75);
    color: #fff;
    box-shadow: 0 22px 60px rgba(0, 88, 215, 0.25);
}

.pagination .page-item.disabled .page-link {
    color: rgba(110, 120, 145, 0.85);
    background: linear-gradient(180deg, rgba(245,247,255,1) 0%, rgba(255,255,255,1) 100%);
    border-color: rgba(110, 120, 145, 0.20);
    box-shadow: none;
}

.search-box-section {
    background:
        radial-gradient(1000px 420px at 15% 0%, rgba(0, 136, 255, 0.16) 0%, rgba(0, 136, 255, 0) 60%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(255,255,255,1) 100%);
    border-radius: 18px;
}

.search-box-section .input-group-lg .form-control {
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding-inline-start: 1.5rem;
    border: 1px solid rgba(26, 45, 90, 0.15);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,248,255,0.92) 100%);
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.06);
    caret-color: rgba(0, 136, 255, 0.95);
    transition: box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: 1px solid rgba(0, 88, 215, 0.35);
    background: linear-gradient(135deg, rgba(0, 136, 255, 1) 0%, rgba(0, 88, 215, 1) 100%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(0, 88, 215, 0.22);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box-section .badge {
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 999px;
    border: 1px solid rgba(26, 45, 90, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(246,248,255,1) 100%);
    color: rgba(26, 40, 70, 0.92);
}

.search-box-section .badge:hover {
    background-color: rgba(0, 136, 255, 1) !important;
    color: #fff !important;
    border-color: rgba(0, 136, 255, 0.75) !important;
    box-shadow: 0 20px 55px rgba(0, 136, 255, 0.24);
    transform: translateY(-1px);
}

.search-results-section {
    background:
        radial-gradient(900px 360px at 90% 0%, rgba(255, 96, 120, 0.14) 0%, rgba(255, 96, 120, 0) 55%),
        radial-gradient(700px 320px at 10% 10%, rgba(0, 136, 255, 0.14) 0%, rgba(0, 136, 255, 0) 58%),
        linear-gradient(180deg, var(--color-bg) 0%, rgba(255,255,255,1) 100%);
    border-radius: 18px;
}

.search-result {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    border: 1px solid rgba(26, 45, 90, 0.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(250,252,255,0.80) 100%);
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.06);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        0 30px 80px rgba(7, 18, 46, 0.20),
        0 0 0 1px rgba(0, 136, 255, 0.22) inset;
}

.search-result h2 a:hover {
    color: rgba(0, 136, 255, 0.95) !important;
    text-shadow: 0 16px 40px rgba(0, 136, 255, 0.18);
}

.search-result mark {
    background-color: rgba(254, 240, 138, 0.95);
    color: rgba(29, 78, 216, 1);
    padding-inline: 2px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(254, 240, 138, 0.30);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.error-page h1 {
    background: linear-gradient(135deg, rgba(0, 136, 255, 1), rgba(0, 88, 215, 1), rgba(255, 96, 120, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 18px 60px rgba(0, 88, 215, 0.25),
        0 6px 18px rgba(255, 96, 120, 0.15);
    filter: drop-shadow(0 10px 30px rgba(0, 88, 215, 0.10));
}

.recommended-links .badge {
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(26, 45, 90, 0.15);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(246,248,255,0.88) 100%);
    color: rgba(26, 40, 70, 0.92);
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.06);
}

.recommended-links .badge:hover {
    background-color: rgba(0, 136, 255, 1) !important;
    color: #fff !important;
    border-color: rgba(0, 136, 255, 0.75) !important;
    transform: translateY(-2px);
    box-shadow: 0 24px 65px rgba(0, 136, 255, 0.25), 0 0 0 1px rgba(255,255,255,0.15) inset;
}

.recommended-links .badge:hover .text-warning {
    color: rgba(255, 96, 120, 0.95) !important;
    text-shadow: 0 14px 35px rgba(255, 96, 120, 0.18);
}

.legal-article-section,
main:has(> .container > article.bg-white) {
    background:
        linear-gradient(135deg, rgba(0, 136, 255, 0.10) 0%, rgba(255,255,255,0) 40%),
        radial-gradient(900px 420px at 95% 0%, rgba(255, 96, 120, 0.12) 0%, rgba(255, 96, 120, 0) 58%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, rgba(255,255,255,1) 100%);
    border-radius: 18px;
}

article :is(h2.h4) {
    color: rgba(0, 88, 215, 1);
    border-bottom: 2px solid rgba(26, 45, 90, 0.18);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 14px 35px rgba(0, 88, 215, 0.10);
}

article .alert-info {
    background-color: rgba(239, 246, 255, 1);
    border-color: rgba(191, 219, 254, 1);
    color: rgba(0, 88, 215, 1);
    box-shadow: 0 18px 45px rgba(0, 88, 215, 0.12);
}

article .list-group-item {
    background: transparent;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
}

article .list-group-item:hover {
    background:
        linear-gradient(135deg, rgba(0, 136, 255, 0.08) 0%, rgba(255,255,255,0.85) 55%, rgba(255, 96, 120, 0.06) 100%);
    padding-inline-start: var(--space-sm);
    box-shadow: 0 18px 45px rgba(10, 22, 55, 0.08);
}

.posts-grid {
    /* Container nếu cần */
}

.posts-grid .card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(26, 45, 90, 0.14);
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(250,252,255,0.80) 100%);
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.06);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 80px rgba(7, 18, 46, 0.20),
        0 0 0 1px rgba(0, 136, 255, 0.22) inset;
    border-color: rgba(0, 136, 255, 0.45);
}

.posts-grid .card-img-top {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.posts-grid .card-title a {
    transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.posts-grid .card-title a:hover {
    color: rgba(0, 136, 255, 0.95) !important;
    text-shadow: 0 16px 40px rgba(0, 136, 255, 0.18);
}

.related-posts h3 {
    border-bottom: 3px solid rgba(255, 96, 120, 0.95);
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 14px 35px rgba(255, 96, 120, 0.16);
    color: rgba(14, 30, 68, 0.92);
}

.related-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 65px rgba(7, 18, 46, 0.18),
        0 0 0 1px rgba(255, 96, 120, 0.22) inset;
}

.related-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: saturate(1.03);
}

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

.social-share .btn {
    min-width: 40px;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    border: 1px solid rgba(26, 45, 90, 0.14);
    box-shadow: 0 14px 40px rgba(10, 22, 55, 0.06);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(246,248,255,1) 100%);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 60px rgba(7, 18, 46, 0.18),
        0 0 0 1px rgba(0, 136, 255, 0.22) inset;
}

.social-share [data-copy-url].copied {
    background-color: rgba(34, 197, 94, 1);
    color: #fff;
    border-color: rgba(34, 197, 94, 0.85);
    box-shadow: 0 26px 65px rgba(34, 197, 94, 0.22);
    outline: 2px solid rgba(34, 197, 94, 0.20);
    outline-offset: 2px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(239, 246, 255, 1);
    color: rgba(0, 88, 215, 1);
    box-shadow: none;
    border-radius: 14px;
    border: 1px solid rgba(0, 136, 255, 0.18);
}

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

.modal-content {
    border: none;
    border-radius: 18px;
    box-shadow:
        0 40px 120px rgba(7, 18, 46, 0.35),
        0 10px 30px rgba(7, 18, 46, 0.18),
        0 0 0 1px rgba(255,255,255,0.2) inset;
}

.tooltip-inner {
    background-color: rgba(9, 20, 50, 0.95);
    border-radius: 10px;
    font-size: 0.85rem;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
    color: rgba(255,255,255,0.98);
}

@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;
        box-shadow:
            0 18px 45px rgba(7, 18, 46, 0.18),
            0 3px 0 rgba(255,255,255,0.85) inset;
    }

    .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;
        box-shadow: 0 10px 25px rgba(10, 22, 55, 0.04);
    }
}