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

.author-profile h1 {
    color: #5a430d;
}

.author-profile img.rounded-circle {
    border: 4px solid #fffdf8;
    box-shadow: 0 10px 28px rgba(26, 18, 6, 0.16), 0 2px 8px rgba(26, 18, 6, 0.10);
}

.author-profile .badge.bg-light {
    background: #ede4d0 !important;
    color: #413511 !important;
    transition: all 0.15s ease-out;
}

.author-profile .badge.bg-light:hover {
    background: #8c6c15 !important;
    color: #fff !important;
}

.author-box {
    border-inline-start: 4px solid #c9a32e;
    transition: all 0.2s ease-out;
}

.author-box:hover {
    box-shadow: 0 14px 34px rgba(22, 16, 4, 0.13), 0 3px 8px rgba(22, 16, 4, 0.10);
}

.author-box img {
    transition: transform 0.15s ease-out;
}

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

.author-posts-list .card {
    transition: all 0.2s ease-out;
    overflow: hidden;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(22, 17, 6, 0.16), 0 4px 10px rgba(22, 17, 6, 0.10);
}

.author-posts-list .card-img-top {
    transition: transform 0.35s ease-out;
}

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

.main-authors-section {
    background: #13131e;
}

.author-card {
    background: #ffffff;
    border: 1px solid rgba(30, 22, 8, 0.08);
    border-radius: 4px;
    transition: all 0.2s ease-out;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(10, 8, 5, 0.25), 0 4px 12px rgba(10, 8, 5, 0.14);
}

.author-card img.rounded-circle {
    border: 3px solid #ede3cf;
    transition: border-color 0.15s ease-out;
}

.author-card:hover img.rounded-circle {
    border-color: #9c7b1f;
}

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

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

.faq-list .faq-item {
    background: #ffffff;
    border: 1px solid rgba(46, 38, 18, 0.08);
    border-radius: 3px;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 10px 24px rgba(13, 9, 3, 0.18), 0 2px 6px rgba(13, 9, 3, 0.10) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open] {
    border-color: rgba(194, 148, 42, 0.28);
    background: linear-gradient(90deg, #fbf5e7 0%, #ffffff 100%);
}

.faq-list .faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2e260e;
    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: #8f6a17;
    transition: transform 0.2s ease-out;
    line-height: 1;
}

.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: #95741d;
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #443417;
    animation: faqFadeIn 0.2s ease-out;
}

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

.sidebar-widgets .card {
    transition: all 0.2s ease-out;
}

.sidebar-widgets .card:hover {
    box-shadow: 0 10px 26px rgba(22, 17, 6, 0.12), 0 2px 6px rgba(22, 17, 6, 0.08);
}

.sidebar-widgets h5 {
    color: #58420c;
}

.sidebar-widgets .badge {
    transition: all 0.15s ease-out;
    cursor: pointer;
}

.sidebar-widgets .badge:hover {
    background-color: #8f6a14 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

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

.pagination .page-link {
    color: #8a651a;
    border-color: #ddd3bf;
    border-radius: 3px;
    transition: all 0.15s ease-out;
}

.pagination .page-link:hover {
    background-color: #f1ebdd;
    color: #5b430e;
    border-color: #c28e25;
}

.pagination .page-item.active .page-link {
    background-color: #8c6c15;
    border-color: #8c6c15;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #b4aa96;
}

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

.search-box-section .input-group-lg .form-control {
    background-color: #fffdf8;
    border-color: #dcd0b6;
    color: #352a12;
    border-radius: 3px 0 0 3px;
    padding-inline-start: 1.5rem;
}

.search-box-section .input-group-lg .btn {
    background-color: #9a781d;
    border-color: #9a781d;
    color: #fff;
    border-radius: 0 3px 3px 0;
}

.search-box-section .badge {
    transition: all 0.15s ease-out;
}

.search-box-section .badge:hover {
    background-color: #8c6c15 !important;
    color: #fff !important;
    border-color: #8c6c15 !important;
}

.search-results-section {
    background: #0f0f19;
}

.search-result {
    background-color: #fffdf8;
    border: 1px solid rgba(60, 50, 20, 0.08);
    border-radius: 4px;
    transition: all 0.2s ease-out;
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 10px 26px rgba(13, 9, 4, 0.16), 0 2px 6px rgba(13, 9, 4, 0.10);
}

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

.search-result mark {
    background-color: #f9e083;
    color: #3e2c0a;
    padding-inline: 2px;
    border-radius: 2px;
    font-weight: 600;
}

.error-page h1 {
    background: linear-gradient(135deg, #d9b14a 0%, #8a621a 55%, #eccb6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 6px 28px rgba(130, 92, 16, 0.28);
}

.recommended-links .badge {
    background-color: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(47, 39, 14, 0.12);
    transition: all 0.15s ease-out;
}

.recommended-links .badge:hover {
    background-color: #8c6c15 !important;
    color: #fff !important;
    border-color: #8c6c15 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 8, 3, 0.16);
}

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

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

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

article .alert-info {
    background-color: #fff6de;
    border-color: #e5cf92;
    color: #6b4f12;
}

article .list-group-item {
    background: transparent;
    transition: all 0.15s ease-out;
}

article .list-group-item:hover {
    background: #faf4e5;
    padding-inline-start: var(--space-sm);
}

.posts-grid {}

.posts-grid .card {
    transition: all 0.2s ease-out;
    border: 1px solid rgba(63, 52, 20, 0.08);
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(18, 15, 6, 0.16), 0 3px 8px rgba(18, 15, 6, 0.10);
    border-color: #a9852c;
}

.posts-grid .card-img-top {
    transition: transform 0.35s ease-out;
}

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

.posts-grid .card-title a {
    transition: color 0.15s ease-out;
}

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

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

.related-card {
    transition: all 0.2s ease-out;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(18, 15, 6, 0.14), 0 2px 6px rgba(18, 15, 6, 0.09);
}

.related-card img {
    transition: transform 0.35s ease-out;
}

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

.social-share .btn {
    min-width: 40px;
    transition: all 0.15s ease-out;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 10, 3, 0.16);
}

.social-share [data-copy-url].copied {
    background-color: #2f7d58;
    color: #fff;
    border-color: #2f7d58;
}

.accordion-button:not(.collapsed) {
    background-color: #fbf3df;
    color: #69520f;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(164, 125, 27, 0.2);
}

.modal-content {
    border: none;
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(5, 4, 12, 0.35), 0 6px 20px rgba(5, 4, 12, 0.16);
}

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