.author-profile {
    background: linear-gradient(135deg, #0b1220 0%, #0f2a3a 34%, var(--color-bg-soft) 100%);
}

.author-profile h1 {
    color: #0b3a66;
}

.author-profile img.rounded-circle {
    border: 4px solid #ffffff;
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.35),
        8px 10px 22px rgba(3, 18, 38, 0.22),
        inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.author-profile .badge.bg-light {
    background: var(--color-bg-muted) !important;
    color: var(--color-text) !important;
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(90deg, #0b3a66 0%, #146cba 100%) !important;
    color: #ffffff !important;
}

.author-box {
    border-inline-start: 4px solid #ff4d6d;
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.author-box:hover {
    box-shadow:
        4px 4px 0 rgba(255, 77, 109, 0.35),
        10px 12px 28px rgba(2, 14, 32, 0.22);
}

.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: all 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(20, 108, 186, 0.35),
        10px 14px 30px rgba(0, 0, 0, 0.18);
    border-color: rgba(20, 108, 186, 0.45);
}

.author-posts-list .card-img-top {
    transition: transform 0.25s 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: linear-gradient(180deg, #f6fbff 0%, var(--color-bg-soft) 100%);
}

.author-card {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(11, 58, 102, 0.16);
    border-radius: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.35),
        12px 18px 34px rgba(2, 14, 32, 0.22);
    border-color: rgba(255, 77, 109, 0.5);
}

.author-card img.rounded-circle {
    border: 3px solid rgba(11, 58, 102, 0.10);
    transition: border-color 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 50%;
}

.author-card:hover img.rounded-circle {
    border-color: #0b3a66;
}

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

.faq-section h2 {
    font-size: 1.75rem;
    color: #0b3a66;
}

.faq-list .faq-item {
    border: 2px solid rgba(11, 58, 102, 0.12);
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.88);
}

.faq-list .faq-item:hover {
    box-shadow:
        4px 4px 0 rgba(20, 108, 186, 0.22),
        10px 14px 26px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
    border-color: rgba(20, 108, 186, 0.35);
}

.faq-list .faq-item[open] {
    border-color: rgba(20, 108, 186, 0.55);
    background: linear-gradient(90deg, #eaf3ff 0%, #ffffff 60%, #fff7fb 100%);
    box-shadow:
        4px 4px 0 rgba(255, 77, 109, 0.22),
        10px 14px 28px rgba(2, 14, 32, 0.14);
}

.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: #ff4d6d;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.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: #0b3a66;
}

.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);
    color: rgba(11, 58, 102, 0.9);
}

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

.sidebar-widgets .card {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(11, 58, 102, 0.10);
}

.sidebar-widgets .card:hover {
    box-shadow:
        4px 4px 0 rgba(20, 108, 186, 0.22),
        10px 14px 26px rgba(0, 0, 0, 0.12);
    border-color: rgba(20, 108, 186, 0.35);
}

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

.sidebar-widgets .badge {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(11, 58, 102, 0.15);
}

.sidebar-widgets .badge:hover {
    background-color: #0b3a66 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    border-color: #ff4d6d !important;
    box-shadow:
        4px 4px 0 rgba(255, 77, 109, 0.22),
        10px 14px 22px rgba(2, 14, 32, 0.12);
}

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

.pagination .page-link {
    color: #0b3a66;
    border-color: rgba(11, 58, 102, 0.25);
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border-style: solid;
}

.pagination .page-link:hover {
    background-color: rgba(11, 58, 102, 0.08);
    color: #08324f;
    border-color: #0b3a66;
    box-shadow: 4px 4px 0 rgba(20, 108, 186, 0.16);
}

.pagination .page-item.active .page-link {
    background-color: #ff4d6d;
    border-color: #ff4d6d;
    color: #ffffff;
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.25),
        10px 14px 24px rgba(255, 77, 109, 0.16);
}

.pagination .page-item.disabled .page-link {
    color: rgba(11, 58, 102, 0.5);
    border-color: rgba(11, 58, 102, 0.18);
}

.search-box-section {
    background: linear-gradient(180deg, #f5fbff 0%, var(--color-bg-soft) 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: 2px solid rgba(11, 58, 102, 0.22);
    box-shadow: none;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: 2px solid rgba(11, 58, 102, 0.22);
    background: linear-gradient(135deg, #0b3a66 0%, #146cba 100%);
    color: #ffffff;
    box-shadow:
        4px 4px 0 rgba(20, 108, 186, 0.22);
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.search-box-section .badge:hover {
    background-color: #ff4d6d !important;
    color: #ffffff !important;
    border-color: #ff4d6d !important;
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.22),
        10px 14px 26px rgba(255, 77, 109, 0.16);
}

.search-results-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.search-result {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow:
        4px 4px 0 rgba(20, 108, 186, 0.22),
        10px 14px 26px rgba(0, 0, 0, 0.12);
}

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

.search-result mark {
    background-color: #fef08a;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 700;
    color: #713f12;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.22);
}

.error-page h1 {
    background: linear-gradient(135deg, #ff4d6d 0%, #146cba 55%, #0b3a66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow:
        0 4px 30px rgba(20, 108, 186, 0.18),
        4px 4px 0 rgba(255, 77, 109, 0.25);
}

.recommended-links .badge {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(11, 58, 102, 0.2);
    border-radius: 2px;
}

.recommended-links .badge:hover {
    background-color: #0b3a66 !important;
    color: #fff !important;
    border-color: #0b3a66 !important;
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(20, 108, 186, 0.22),
        10px 14px 26px rgba(0, 0, 0, 0.12);
}

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

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

article :is(h2.h4) {
    color: #0b3a66;
    border-bottom: 2px solid rgba(255, 77, 109, 0.85);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}

article .alert-info {
    background-color: #eaf3ff;
    border-color: #9dc5ff;
    color: #08324f;
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(20, 108, 186, 0.12);
}

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: rgba(11, 58, 102, 0.05);
    padding-inline-start: var(--space-sm);
    box-shadow: 4px 4px 0 rgba(255, 77, 109, 0.12);
}

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

.posts-grid .card {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(11, 58, 102, 0.14);
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.9);
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.22),
        10px 14px 30px rgba(0, 0, 0, 0.14);
    border-color: rgba(255, 77, 109, 0.55);
}

.posts-grid .card-img-top {
    transition: transform 0.25s 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: #0b3a66 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

.related-card {
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(11, 58, 102, 0.12);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow:
        4px 4px 0 rgba(255, 77, 109, 0.22),
        10px 14px 26px rgba(0, 0, 0, 0.12);
    border-color: rgba(20, 108, 186, 0.35);
}

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

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

.social-share .btn {
    min-width: 40px;
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
    border: 2px solid rgba(11, 58, 102, 0.18);
    box-shadow: none;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.22),
        10px 14px 24px rgba(0, 0, 0, 0.12);
}

.social-share [data-copy-url].copied {
    background-color: #0b3a66;
    color: #fff;
    border-color: #0b3a66;
    opacity: 0.98;
    box-shadow:
        4px 4px 0 rgba(255, 77, 109, 0.22),
        10px 14px 26px rgba(11, 58, 102, 0.18);
}

.accordion-button:not(.collapsed) {
    background-color: #eaf3ff;
    color: #0b3a66;
    box-shadow: none;
    border-radius: 2px;
    border: 2px solid rgba(11, 58, 102, 0.14);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 77, 109, 0.18);
    outline: 2px solid rgba(20, 108, 186, 0.35);
    outline-offset: 2px;
}

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow:
        4px 4px 0 rgba(11, 58, 102, 0.22),
        0 24px 70px rgba(2, 14, 32, 0.35);
    border: 2px solid rgba(11, 58, 102, 0.14);
}

.tooltip-inner {
    background-color: #0b3a66;
    border-radius: 2px;
    font-size: 0.85rem;
    box-shadow: 4px 4px 0 rgba(255, 77, 109, 0.18);
}

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