.author-profile {
    background: linear-gradient(135deg, #ffffff 0%, #f7f4ea 100%);
    background-color: #ffffff;
}

.author-profile h1 {
    color: #0f2a43;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.author-profile img.rounded-circle {
    border: 4px solid #ffffff;
    box-shadow: 0 10px 26px rgba(15, 42, 67, 0.18), 0 2px 8px rgba(15, 42, 67, 0.10), inset 0 0 0 1px rgba(15, 42, 67, 0.06);
    border-radius: 6px;
}

.author-profile .badge.bg-light {
    background: #f2efe6 !important;
    color: #1f2a37 !important;
    transition: background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(15, 42, 67, 0.08);
}

.author-profile .badge.bg-light:hover {
    background: #1a6de2 !important;
    color: #ffffff !important;
    border-color: rgba(26, 109, 226, 0.65) !important;
    transform: translateY(-1px);
}

.author-box {
    border-inline-start: 4px solid #1a6de2;
    transition: box-shadow 200ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
}

.author-box:hover {
    box-shadow: 0 10px 18px rgba(15, 42, 67, 0.14), 0 2px 6px rgba(15, 42, 67, 0.10), inset 0 0 0 1px rgba(26, 109, 226, 0.12);
    transform: translateY(-2px);
}

.author-box img {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
}

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

.author-posts-list .card {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    border: 1px solid rgba(15, 42, 67, 0.08);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 42, 67, 0.18), 0 4px 12px rgba(15, 42, 67, 0.12), inset 0 0 0 1px rgba(26, 109, 226, 0.16);
    border-color: rgba(26, 109, 226, 0.35);
}

.author-posts-list .card-img-top {
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

.author-card {
    transition: transform 230ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 230ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 230ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(15, 42, 67, 0.10);
    border-radius: 6px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(15, 42, 67, 0.22), 0 6px 16px rgba(15, 42, 67, 0.12), inset 0 0 0 1px rgba(26, 109, 226, 0.18);
    border-color: rgba(26, 109, 226, 0.45);
}

.author-card img.rounded-circle {
    border: 3px solid #f2efe6;
    transition: border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(15, 42, 67, 0.12);
}

.author-card:hover img.rounded-circle {
    border-color: #1a6de2;
    box-shadow: 0 16px 30px rgba(26, 109, 226, 0.18), 0 6px 14px rgba(15, 42, 67, 0.12);
}

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

.faq-section h2 {
    font-size: 1.75rem;
    color: #0f2a43;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.faq-list .faq-item {
    border: 1px solid rgba(15, 42, 67, 0.10);
    transition: box-shadow 200ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border-radius: 6px;
    background: #ffffff;
}

.faq-list .faq-item:hover {
    box-shadow: 0 12px 26px rgba(15, 42, 67, 0.16) !important;
    transform: translateY(-2px);
    border-color: rgba(26, 109, 226, 0.35);
}

.faq-list .faq-item[open] {
    border-color: rgba(26, 109, 226, 0.35);
    background: linear-gradient(90deg, rgba(26, 109, 226, 0.10) 0%, rgba(255, 255, 255, 1) 70%);
    box-shadow: 0 10px 24px rgba(26, 109, 226, 0.14), inset 0 0 0 1px rgba(26, 109, 226, 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;
    color: #0f2a43;
}

.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: #1a6de2;
    transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

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

.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a6de2;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.sidebar-widgets .card {
    transition: box-shadow 200ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
    border: 1px solid rgba(15, 42, 67, 0.08);
    background: #ffffff;
}

.sidebar-widgets .card:hover {
    box-shadow: 0 16px 32px rgba(15, 42, 67, 0.14);
    transform: translateY(-2px);
    border-color: rgba(26, 109, 226, 0.25);
}

.sidebar-widgets h5 {
    color: #0f2a43;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sidebar-widgets .badge {
    transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border-radius: 6px;
}

.sidebar-widgets .badge:hover {
    background-color: #1a6de2 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    border-color: rgba(26, 109, 226, 0.45) !important;
    box-shadow: 0 12px 20px rgba(26, 109, 226, 0.18);
}

.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: #1a6de2 !important;
}

.pagination .page-link {
    color: #1a6de2;
    border-color: rgba(15, 42, 67, 0.14);
    transition: background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
    background: #ffffff;
}

.pagination .page-link:hover {
    background-color: #f2efe6;
    color: #0f2a43;
    border-color: rgba(26, 109, 226, 0.55);
    box-shadow: 0 10px 18px rgba(15, 42, 67, 0.10);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: #1a6de2;
    border-color: #1a6de2;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(26, 109, 226, 0.22);
}

.pagination .page-item.disabled .page-link {
    color: rgba(31, 42, 55, 0.45);
    border-color: rgba(15, 42, 67, 0.10);
    background: #ffffff;
}

.search-box-section {
    background: linear-gradient(180deg, #f7f4ea 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(15, 42, 67, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 rgba(0, 0, 0, 0);
    background: #ffffff;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    background: #1a6de2;
    border-color: rgba(26, 109, 226, 0.55);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(26, 109, 226, 0.20);
    transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-box-section .badge {
    transition: background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
}

.search-box-section .badge:hover {
    background-color: #1a6de2 !important;
    color: #ffffff !important;
    border-color: #1a6de2 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(26, 109, 226, 0.18);
}

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

.search-result {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22), 0 8px 18px rgba(26, 109, 226, 0.18);
    border-color: rgba(26, 109, 226, 0.35);
}

.search-result h2 a:hover {
    color: #9ad1ff !important;
    text-shadow: 0 10px 26px rgba(154, 209, 255, 0.18);
}

.search-result mark {
    background-color: #ffeaa7;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 700;
    color: #0f2a43;
    box-shadow: inset 0 0 0 1px rgba(15, 42, 67, 0.08);
}

.error-page h1 {
    background: linear-gradient(135deg, #1a6de2 0%, #0b6cff 40%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(26, 109, 226, 0.24), 0 3px 10px rgba(0, 0, 0, 0.12);
}

.recommended-links .badge {
    transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(15, 42, 67, 0.14);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f2a43;
}

.recommended-links .badge:hover {
    background-color: #1a6de2 !important;
    color: #ffffff !important;
    border-color: #1a6de2 !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(26, 109, 226, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.recommended-links .badge:hover .text-warning {
    color: #0fb0ff !important;
    text-shadow: 0 8px 18px rgba(15, 176, 255, 0.18);
}

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

article :is(h2.h4) {
    color: #0f2a43;
    border-bottom: 2px solid rgba(26, 109, 226, 0.55);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

article .alert-info {
    background-color: #e9f3ff;
    border-color: rgba(191, 219, 254, 0.95);
    color: #0f2a43;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(26, 109, 226, 0.10);
}

article .list-group-item {
    background: transparent;
    transition: all 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
}

article .list-group-item:hover {
    background: #f7f4ea;
    padding-inline-start: var(--space-sm);
    box-shadow: inset 0 0 0 1px rgba(26, 109, 226, 0.18);
}

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

.posts-grid .card {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(15, 42, 67, 0.10);
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 42, 67, 0.16), 0 4px 12px rgba(26, 109, 226, 0.14);
    border-color: rgba(26, 109, 226, 0.45);
}

.posts-grid .card-img-top {
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.posts-grid .card-title a {
    transition: color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.posts-grid .card-title a:hover {
    color: #1a6de2 !important;
    text-shadow: 0 10px 24px rgba(26, 109, 226, 0.16);
}

.related-posts h3 {
    border-bottom: 3px solid #1a6de2;
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.related-card {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 42, 67, 0.14), 0 4px 12px rgba(26, 109, 226, 0.12);
    border-color: rgba(26, 109, 226, 0.30);
}

.related-card img {
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.social-share .btn {
    min-width: 40px;
    transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 6px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 42, 67, 0.14), 0 4px 12px rgba(26, 109, 226, 0.12);
}

.social-share [data-copy-url].copied {
    background-color: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 16px 30px rgba(16, 185, 129, 0.22);
    opacity: 1;
}

.accordion-button:not(.collapsed) {
    background-color: #e9f3ff;
    color: #0f2a43;
    box-shadow: none;
    border-radius: 6px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 109, 226, 0.20);
    border-color: rgba(26, 109, 226, 0.35);
}

.modal-content {
    border: none;
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(15, 42, 67, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.tooltip-inner {
    background-color: #0f2a43;
    border-radius: 4px;
    font-size: 0.85rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 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;
        border-radius: 6px;
    }

    .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;
        border-radius: 6px;
    }
}