.author-profile {
    background: linear-gradient(135deg, #faf8f3 0%, rgba(250, 248, 243, 0.65) 45%, #ffffff 100%);
}

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

.author-profile img.rounded-circle {
    border: 4px solid #ffffff;
    box-shadow:
        0 10px 28px rgba(45, 45, 45, 0.14),
        0 2px 8px rgba(45, 45, 45, 0.08),
        inset 0 0 0 1px rgba(45, 45, 45, 0.06);
}

.author-profile .badge.bg-light {
    background: rgba(45, 45, 45, 0.04) !important;
    color: #2d2d2d !important;
    transition: background-color 220ms cubic-bezier(.2, .9, .2, 1), color 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1), transform 260ms cubic-bezier(.2, .9, .2, 1) !important;
    box-shadow: 0 10px 24px rgba(45, 45, 45, 0.06);
    border-radius: 999px;
}

.author-profile .badge.bg-light:hover {
    background: rgba(135, 168, 120, 0.92) !important;
    color: #ffffff !important;
    box-shadow:
        0 16px 36px rgba(135, 168, 120, 0.22),
        0 8px 18px rgba(45, 45, 45, 0.10);
    transform: translateY(-1px);
}

.author-box {
    border-inline-start: 4px solid #87a878;
    transition: box-shadow 260ms cubic-bezier(.2, .9, .2, 1), transform 260ms cubic-bezier(.2, .9, .2, 1), border-color 260ms cubic-bezier(.2, .9, .2, 1);
}

.author-box:hover {
    box-shadow:
        0 18px 44px rgba(45, 45, 45, 0.12),
        0 6px 18px rgba(45, 45, 45, 0.08);
    transform: translateY(-2px);
}

.author-box img {
    transition: transform 320ms cubic-bezier(.2, .9, .2, 1), filter 320ms cubic-bezier(.2, .9, .2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.author-posts-list .card {
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 300ms cubic-bezier(.2, .9, .2, 1), border-color 260ms cubic-bezier(.2, .9, .2, 1);
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(45, 45, 45, 0.08);
    box-shadow:
        0 10px 26px rgba(45, 45, 45, 0.06),
        0 2px 8px rgba(45, 45, 45, 0.04);
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 70px rgba(45, 45, 45, 0.16),
        0 10px 30px rgba(45, 45, 45, 0.10),
        inset 0 0 0 1px rgba(135, 168, 120, 0.18);
    border-color: rgba(135, 168, 120, 0.55);
}

.author-posts-list .card-img-top {
    transition: transform 520ms cubic-bezier(.2, .9, .2, 1), filter 420ms cubic-bezier(.2, .9, .2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.main-authors-section {
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.02) 0%, rgba(250, 248, 243, 0.98) 100%);
}

.author-card {
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 300ms cubic-bezier(.2, .9, .2, 1), border-color 260ms cubic-bezier(.2, .9, .2, 1);
    border: 1px solid rgba(45, 45, 45, 0.10);
    border-radius: 22px;
    box-shadow:
        0 10px 28px rgba(45, 45, 45, 0.06),
        0 2px 8px rgba(45, 45, 45, 0.04);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 90px rgba(45, 45, 45, 0.16),
        0 10px 30px rgba(45, 45, 45, 0.10),
        inset 0 0 0 1px rgba(135, 168, 120, 0.22);
    border-color: rgba(135, 168, 120, 0.60);
}

.author-card img.rounded-circle {
    border: 3px solid rgba(250, 248, 243, 0.95);
    transition: border-color 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 300ms cubic-bezier(.2, .9, .2, 1);
    box-shadow:
        0 12px 26px rgba(45, 45, 45, 0.10),
        inset 0 0 0 1px rgba(45, 45, 45, 0.06);
}

.author-card:hover img.rounded-circle {
    border-color: rgba(135, 168, 120, 0.95);
    box-shadow:
        0 18px 40px rgba(135, 168, 120, 0.24),
        0 12px 26px rgba(45, 45, 45, 0.10),
        inset 0 0 0 1px rgba(135, 168, 120, 0.20);
}

.faq-section {
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.03) 0%, #ffffff 55%, rgba(250, 248, 243, 0.98) 100%);
}

.faq-section h2 {
    font-size: 1.75rem;
    color: #1f1f1f;
    text-shadow: 0 10px 30px rgba(45, 45, 45, 0.06);
}

.faq-list .faq-item {
    border: 1px solid rgba(45, 45, 45, 0.08);
    transition: box-shadow 260ms cubic-bezier(.2, .9, .2, 1), transform 240ms cubic-bezier(.2, .9, .2, 1), background 260ms cubic-bezier(.2, .9, .2, 1), border-color 260ms cubic-bezier(.2, .9, .2, 1);
    cursor: pointer;
    border-radius: 20px;
    box-shadow:
        0 10px 26px rgba(45, 45, 45, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.72);
}

.faq-list .faq-item:hover {
    box-shadow:
        0 18px 52px rgba(45, 45, 45, 0.14),
        0 8px 22px rgba(45, 45, 45, 0.09) !important;
    transform: translateY(-2px);
    border-color: rgba(135, 168, 120, 0.35);
}

.faq-list .faq-item[open] {
    border-color: rgba(135, 168, 120, 0.45);
    background: linear-gradient(90deg, rgba(135, 168, 120, 0.12) 0%, rgba(255, 255, 255, 0.92) 48%, #ffffff 100%);
    box-shadow:
        0 26px 70px rgba(135, 168, 120, 0.18),
        0 10px 30px rgba(45, 45, 45, 0.09);
}

.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: #2d2d2d;
}

.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: #87a878;
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), color 260ms cubic-bezier(.2, .9, .2, 1);
    line-height: 1;
    text-shadow: 0 10px 22px rgba(135, 168, 120, 0.25);
}

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

.faq-list .faq-q-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: #87a878;
    text-shadow: 0 10px 26px rgba(135, 168, 120, 0.18);
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 260ms cubic-bezier(.2, .9, .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 260ms cubic-bezier(.2, .9, .2, 1), transform 240ms cubic-bezier(.2, .9, .2, 1), border-color 260ms cubic-bezier(.2, .9, .2, 1);
    border-radius: 22px;
    border: 1px solid rgba(45, 45, 45, 0.08);
    box-shadow:
        0 10px 26px rgba(45, 45, 45, 0.06),
        0 2px 8px rgba(45, 45, 45, 0.04);
    background: rgba(255, 255, 255, 0.74);
}

.sidebar-widgets .card:hover {
    box-shadow:
        0 22px 60px rgba(45, 45, 45, 0.14),
        0 10px 30px rgba(45, 45, 45, 0.09);
    transform: translateY(-3px);
    border-color: rgba(135, 168, 120, 0.35);
}

.sidebar-widgets h5 {
    color: #1f1f1f;
    text-shadow: 0 12px 28px rgba(45, 45, 45, 0.06);
}

.sidebar-widgets .badge {
    transition: background-color 220ms cubic-bezier(.2, .9, .2, 1), color 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1), transform 220ms cubic-bezier(.2, .9, .2, 1);
    cursor: pointer;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(45, 45, 45, 0.06);
    border: 1px solid rgba(45, 45, 45, 0.10);
}

.sidebar-widgets .badge:hover {
    background-color: rgba(135, 168, 120, 0.95) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow:
        0 18px 44px rgba(135, 168, 120, 0.22),
        0 10px 26px rgba(45, 45, 45, 0.10);
    border-color: rgba(135, 168, 120, 0.65) !important;
}

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

.pagination .page-link {
    color: #87a878;
    border-color: rgba(45, 45, 45, 0.14);
    transition: background-color 220ms cubic-bezier(.2, .9, .2, 1), color 220ms cubic-bezier(.2, .9, .2, 1), border-color 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(45, 45, 45, 0.05);
}

.pagination .page-link:hover {
    background-color: rgba(135, 168, 120, 0.10);
    color: #1f1f1f;
    border-color: rgba(135, 168, 120, 0.55);
    box-shadow:
        0 18px 44px rgba(135, 168, 120, 0.18),
        0 10px 26px rgba(45, 45, 45, 0.08);
}

.pagination .page-item.active .page-link {
    background-color: rgba(135, 168, 120, 0.95);
    border-color: rgba(135, 168, 120, 0.95);
    color: #fff;
    box-shadow:
        0 22px 56px rgba(135, 168, 120, 0.28),
        0 10px 30px rgba(45, 45, 45, 0.10);
}

.pagination .page-item.disabled .page-link {
    color: rgba(45, 45, 45, 0.40);
    border-color: rgba(45, 45, 45, 0.12);
    box-shadow: none;
}

.search-box-section {
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.02) 0%, rgba(250, 248, 243, 0.98) 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(45, 45, 45, 0.14);
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.6),
        0 10px 24px rgba(45, 45, 45, 0.05);
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    background: rgba(135, 168, 120, 0.95);
    border-color: rgba(135, 168, 120, 0.95);
    color: #fff;
    box-shadow:
        0 22px 56px rgba(135, 168, 120, 0.24),
        0 10px 30px rgba(45, 45, 45, 0.10);
    transition: transform 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1), filter 260ms cubic-bezier(.2, .9, .2, 1), background-color 220ms cubic-bezier(.2, .9, .2, 1);
}

.search-box-section .badge {
    transition: background-color 220ms cubic-bezier(.2, .9, .2, 1), color 220ms cubic-bezier(.2, .9, .2, 1), border-color 220ms cubic-bezier(.2, .9, .2, 1), transform 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1);
    border-radius: 999px;
    border: 1px solid rgba(45, 45, 45, 0.10);
    box-shadow: 0 10px 24px rgba(45, 45, 45, 0.06);
}

.search-box-section .badge:hover {
    background-color: rgba(135, 168, 120, 0.95) !important;
    color: #fff !important;
    border-color: rgba(135, 168, 120, 0.65) !important;
    box-shadow:
        0 18px 44px rgba(135, 168, 120, 0.22),
        0 10px 26px rgba(45, 45, 45, 0.10);
    transform: translateY(-1px);
}

.search-results-section {
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.98) 0%, rgba(45, 45, 45, 0.02) 100%);
}

.search-result {
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 300ms cubic-bezier(.2, .9, .2, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        0 22px 60px rgba(45, 45, 45, 0.14),
        0 10px 30px rgba(45, 45, 45, 0.09);
}

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

.search-result mark {
    background-color: rgba(254, 240, 138, 0.95);
    color: #2d2d2d;
    padding-inline: 2px;
    border-radius: 6px;
    font-weight: 650;
    box-shadow: 0 12px 26px rgba(254, 240, 138, 0.24);
}

.error-page h1 {
    background: linear-gradient(135deg, #87a878 0%, #2d2d2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 16px 44px rgba(135, 168, 120, 0.22),
        0 6px 18px rgba(45, 45, 45, 0.10);
}

.recommended-links .badge {
    transition: background-color 220ms cubic-bezier(.2, .9, .2, 1), color 220ms cubic-bezier(.2, .9, .2, 1), border-color 220ms cubic-bezier(.2, .9, .2, 1), transform 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1);
    border: 1px solid rgba(45, 45, 45, 0.14);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(45, 45, 45, 0.06);
    background: rgba(255, 255, 255, 0.78);
}

.recommended-links .badge:hover {
    background-color: rgba(135, 168, 120, 0.95) !important;
    color: #fff !important;
    border-color: rgba(135, 168, 120, 0.65) !important;
    transform: translateY(-2px);
    box-shadow:
        0 22px 60px rgba(135, 168, 120, 0.24),
        0 10px 30px rgba(45, 45, 45, 0.10);
}

.recommended-links .badge:hover .text-warning {
    color: #87a878 !important;
    text-shadow: 0 14px 30px rgba(135, 168, 120, 0.25);
}

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.02) 0%, rgba(250, 248, 243, 0.98) 100%);
}

article :is(h2.h4) {
    color: #1f1f1f;
    border-bottom: 2px solid rgba(135, 168, 120, 0.55);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}

article .alert-info {
    background-color: rgba(239, 246, 255, 0.85);
    border-color: rgba(191, 219, 254, 0.65);
    color: #1f1f1f;
    box-shadow:
        0 14px 36px rgba(59, 130, 246, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    border-radius: 18px;
}

article .list-group-item {
    background: transparent;
    transition: background 260ms cubic-bezier(.2, .9, .2, 1), padding-inline-start 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1);
}

article .list-group-item:hover {
    background: rgba(255, 255, 255, 0.85);
    padding-inline-start: var(--space-sm);
    box-shadow:
        0 18px 44px rgba(45, 45, 45, 0.10),
        0 6px 18px rgba(45, 45, 45, 0.06);
    border-radius: 16px;
}

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

.posts-grid .card {
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 300ms cubic-bezier(.2, .9, .2, 1), border-color 260ms cubic-bezier(.2, .9, .2, 1);
    border: 1px solid rgba(45, 45, 45, 0.10);
    overflow: hidden;
    border-radius: 22px;
    box-shadow:
        0 10px 26px rgba(45, 45, 45, 0.06),
        0 2px 8px rgba(45, 45, 45, 0.04);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 70px rgba(45, 45, 45, 0.16),
        0 10px 30px rgba(45, 45, 45, 0.10);
    border-color: rgba(135, 168, 120, 0.60);
}

.posts-grid .card-img-top {
    transition: transform 520ms cubic-bezier(.2, .9, .2, 1), filter 420ms cubic-bezier(.2, .9, .2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.posts-grid .card-title a {
    transition: color 220ms cubic-bezier(.2, .9, .2, 1), text-shadow 260ms cubic-bezier(.2, .9, .2, 1);
}

.posts-grid .card-title a:hover {
    color: #87a878 !important;
    text-shadow: 0 18px 44px rgba(135, 168, 120, 0.22);
}

.related-posts h3 {
    border-bottom: 3px solid #87a878;
    padding-bottom: var(--space-xs);
    display: inline-block;
    text-shadow: 0 12px 28px rgba(135, 168, 120, 0.16);
}

.related-card {
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 300ms cubic-bezier(.2, .9, .2, 1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 22px 60px rgba(45, 45, 45, 0.14),
        0 10px 30px rgba(45, 45, 45, 0.09);
}

.related-card img {
    transition: transform 520ms cubic-bezier(.2, .9, .2, 1), filter 420ms cubic-bezier(.2, .9, .2, 1);
    filter: saturate(1.02) contrast(1.02);
}

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

.social-share .btn {
    min-width: 40px;
    transition: transform 220ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms cubic-bezier(.2, .9, .2, 1), background-color 220ms cubic-bezier(.2, .9, .2, 1), color 220ms cubic-bezier(.2, .9, .2, 1), border-color 220ms cubic-bezier(.2, .9, .2, 1), filter 260ms cubic-bezier(.2, .9, .2, 1);
    border-radius: 999px;
    box-shadow:
        0 10px 24px rgba(45, 45, 45, 0.06);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 44px rgba(45, 45, 45, 0.14),
        0 10px 30px rgba(45, 45, 45, 0.09);
}

.social-share [data-copy-url].copied {
    background-color: rgba(135, 168, 120, 0.95);
    color: #fff;
    border-color: rgba(135, 168, 120, 0.85);
    box-shadow:
        0 22px 56px rgba(135, 168, 120, 0.24),
        0 10px 30px rgba(45, 45, 45, 0.10);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(239, 246, 255, 0.70);
    color: #1f1f1f;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(135, 168, 120, 0.18);
}

.modal-content {
    border: none;
    border-radius: 24px;
    box-shadow:
        0 40px 120px rgba(45, 45, 45, 0.22),
        0 18px 60px rgba(45, 45, 45, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.tooltip-inner {
    background-color: #1f1f1f;
    border-radius: 14px;
    font-size: 0.85rem;
    box-shadow:
        0 18px 52px rgba(45, 45, 45, 0.28),
        0 8px 22px rgba(45, 45, 45, 0.18);
    opacity: 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;
    }

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