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

.author-profile h1 {
    color: #1f2a36;
}

.author-profile img.rounded-circle {
    border: 4px solid #ffffff;
    border-radius: 2px;
    box-shadow:
        4px 4px 0 #1f6feb,
        -1px -1px 0 rgba(31, 111, 235, 0.25),
        10px 14px 24px rgba(15, 23, 42, 0.12);
}

.author-profile .badge.bg-light {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 2px solid #cbd5e1 !important;
    transition-property: background-color, color, transform, box-shadow, border-color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.author-profile .badge.bg-light:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow:
        3px 3px 0 rgba(37, 99, 235, 0.55),
        10px 18px 32px rgba(37, 99, 235, 0.22);
}

.author-box {
    border-inline-start: 4px solid #ff6a2b;
    border-radius: 0 0 0 2px;
    transition-property: box-shadow, transform, border-color, background-color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.author-box:hover {
    box-shadow:
        4px 4px 0 rgba(17, 24, 39, 0.85),
        0 10px 24px rgba(17, 24, 39, 0.16);
    transform: translateY(-1px);
}

.author-box img {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.author-box:hover img {
    transform: scale(1.05);
}

.author-posts-list .card {
    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), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    border-radius: 2px;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.85),
        0 18px 36px rgba(2, 6, 23, 0.16);
    border-color: #2563eb;
}

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

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

.main-authors-section {
    background: #f3f6fb;
}

.author-card {
    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), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid #d8e2f0;
    border-radius: 2px;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow:
        4px 4px 0 rgba(255, 106, 43, 0.95),
        0 20px 40px rgba(2, 6, 23, 0.14);
    border-color: #ff6a2b;
}

.author-card img.rounded-circle {
    border: 3px solid #e5edf7;
    border-radius: 2px;
    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);
}

.author-card:hover img.rounded-circle {
    border-color: #2563eb;
    box-shadow:
        3px 3px 0 rgba(37, 99, 235, 0.45),
        10px 14px 24px rgba(37, 99, 235, 0.15);
}

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

.faq-section h2 {
    font-size: 1.75rem;
    color: #1f2a36;
}

.faq-list .faq-item {
    border: 2px solid rgba(15, 23, 42, 0.08);
    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), 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;
}

.faq-list .faq-item:hover {
    box-shadow:
        4px 4px 0 rgba(15, 23, 42, 0.2),
        0 16px 30px rgba(2, 6, 23, 0.12) !important;
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
}

.faq-list .faq-item[open] {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(90deg, #e9f2ff 0%, #ffffff 100%);
}

.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: #2563eb;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 1;
}

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

.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ff6a2b;
}

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

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

.sidebar-widgets .card {
    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);
    border-radius: 2px;
}

.sidebar-widgets .card:hover {
    box-shadow:
        4px 4px 0 rgba(15, 23, 42, 0.22),
        0 14px 28px rgba(2, 6, 23, 0.12);
    transform: translateY(-1px);
}

.sidebar-widgets h5 {
    color: #1f2a36;
}

.sidebar-widgets .badge {
    transition-property: background-color, color, transform, box-shadow, border-color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border-radius: 2px;
}

.sidebar-widgets .badge:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow:
        3px 3px 0 rgba(37, 99, 235, 0.5),
        10px 18px 32px rgba(37, 99, 235, 0.2);
}

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

.pagination .page-link {
    color: #2563eb;
    border-color: #cbd5e1;
    border-radius: 2px;
    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);
    box-shadow: none;
}

.pagination .page-link:hover {
    background-color: #eef3f8;
    color: #0f172a;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow:
        3px 3px 0 rgba(37, 99, 235, 0.35),
        0 12px 22px rgba(2, 6, 23, 0.1);
}

.pagination .page-item.active .page-link {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.55),
        0 18px 36px rgba(37, 99, 235, 0.22);
}

.pagination .page-item.disabled .page-link {
    color: #94a3b8;
    border-color: #e2e8f0;
}

.search-box-section {
    background: #f3f6fb;
}

.search-box-section .input-group-lg .form-control {
    border-radius: 18px 0 0 18px;
    padding-inline-start: 1.5rem;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    box-shadow: none;
    color: #0f172a;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 18px 18px 0;
    border: 2px solid #2563eb;
    background: #2563eb;
    color: #ffffff;
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.55);
    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);
}

.search-box-section .btn:focus,
.search-box-section .input-group-lg .btn:focus {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.search-box-section .badge {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid #cbd5e1;
}

.search-box-section .badge:hover {
    background-color: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow:
        3px 3px 0 rgba(37, 99, 235, 0.45),
        0 14px 28px rgba(2, 6, 23, 0.12);
}

.search-results-section {
    background: #ffffff;
}

.search-result {
    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), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        4px 4px 0 rgba(255, 106, 43, 0.75),
        0 18px 36px rgba(2, 6, 23, 0.14);
    border-color: rgba(255, 106, 43, 0.55);
}

.search-result h2 a:hover {
    color: #ff6a2b !important;
}

.search-result mark {
    background-color: #ffe6a7;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 700;
    color: #0f172a;
    box-shadow:
        inset 0 0 0 2px rgba(255, 166, 0, 0.25);
}

.error-page h1 {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.22),
        0 22px 60px rgba(37, 99, 235, 0.22);
}

.recommended-links .badge {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid #cbd5e1;
    border-radius: 2px;
    background: #ffffff;
    color: #0f172a;
}

.recommended-links .badge:hover {
    background-color: #ff6a2b !important;
    color: #fff !important;
    border-color: #ff6a2b !important;
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(255, 106, 43, 0.8),
        0 18px 36px rgba(2, 6, 23, 0.14);
}

.recommended-links .badge:hover .text-warning {
    color: #2563eb !important;
}

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: #f3f6fb;
}

article :is(h2.h4) {
    color: #1f2a36;
    border-bottom: 2px solid #ff6a2b;
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}

article .alert-info {
    background-color: #e0f2fe;
    border-color: #7dd3fc;
    color: #0f172a;
    border-radius: 2px;
}

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

article .list-group-item:hover {
    background: #eaf2ff;
    padding-inline-start: var(--space-sm);
    box-shadow:
        3px 3px 0 rgba(37, 99, 235, 0.35);
}

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

.posts-grid .card {
    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), border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid #d8e2f0;
    overflow: hidden;
    border-radius: 2px;
    background: #ffffff;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(37, 99, 235, 0.65),
        0 18px 36px rgba(2, 6, 23, 0.14);
    border-color: #2563eb;
}

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

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

.posts-grid .card-title a {
    transition: color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.posts-grid .card-title a:hover {
    color: #2563eb !important;
}

.related-posts h3 {
    border-bottom: 3px solid #ff6a2b;
    padding-bottom: var(--space-xs);
    display: inline-block;
}

.related-card {
    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);
    border-radius: 2px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(15, 23, 42, 0.22),
        0 18px 36px rgba(2, 6, 23, 0.12);
}

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

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

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

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(15, 23, 42, 0.2),
        0 14px 28px rgba(2, 6, 23, 0.12);
}

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

    border-color: #16a34a;
    border-width: 2px;
    border-style: solid;
    box-shadow:
        4px 4px 0 rgba(22, 163, 74, 0.55),
        0 18px 36px rgba(22, 163, 74, 0.22);
}

.accordion-button:not(.collapsed) {
    background-color: #eaf2ff;
    color: #0f172a;
    box-shadow: none;
    border: 2px solid rgba(37, 99, 235, 0.18);
    border-radius: 2px;
}

.accordion-button:focus {
    box-shadow:
        0 0 0 0.2rem rgba(37, 99, 235, 0.18) !important;
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.modal-content {
    border: none;
    border-radius: 2px;
    box-shadow:
        4px 4px 0 rgba(15, 23, 42, 0.25),
        0 28px 80px rgba(2, 6, 23, 0.35);
}

.tooltip-inner {
    background-color: #1f2a36;
    color: #ffffff;
    border-radius: 2px;
    font-size: 0.85rem;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

@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-width: 3px;
        border-radius: 2px;
    }

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