.author-profile {
    background: #f5f0e6;
}

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

.author-profile img.rounded-circle {
    border: 4px solid #fffdf7;
    box-shadow: none;
}

.author-profile .badge.bg-light {
    background: #ded2bd !important;
    color: #3c3327 !important;
    transition: all 160ms ease;
}

.author-profile .badge.bg-light:hover {
    background: #9f612c !important;
    color: #fffaf1 !important;
}

.author-box {
    border-inline-start: 4px solid #a2632e;
    transition: all 240ms ease;
}

.author-box:hover {
    background-color: #f5ecdd;
    box-shadow: none;
}

.author-box img {
    transition: transform 160ms ease;
}

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

.author-posts-list .card {
    transition: all 240ms ease;
    overflow: hidden;
    background-color: #fffdf8;
    border-color: #dccfb9;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: #a2632e;
    background-color: #f9f2e5;
}

.author-posts-list .card-img-top {
    transition: transform 450ms ease;
}

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

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

.author-card {
    transition: all 240ms ease;
    border: 1px solid #d9ccb6;
    background-color: #fffdf8;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
    border-color: #a2632e;
    background-color: #f6efdd;
}

.author-card img.rounded-circle {
    border: 3px solid #dfd2bd;
    transition: border-color 240ms ease;
}

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

.faq-section {
    background: #f7f3eb;
}

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

.faq-list .faq-item {
    border: 1px solid #e2d5c1;
    transition: all 240ms ease;
    cursor: pointer;
    background-color: #fffdf9;
}

.faq-list .faq-item:hover {
    box-shadow: none !important;
    transform: translateY(-2px);
    background-color: #f6eeda;
}

.faq-list .faq-item[open] {
    border-color: #b46a32;
    background: #f1e5d2;
}

.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: #a2632e;
    transition: transform 240ms ease;
    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: #9a5c2b;
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 240ms ease;
    color: #4a443b;
}

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

.sidebar-widgets .card {
    transition: all 240ms ease;
    background-color: #fffdf7;
    border-color: #d8ccb8;
}

.sidebar-widgets .card:hover {
    box-shadow: none;
    background-color: #f6eedd;
    border-color: #b38752;
}

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

.sidebar-widgets .badge {
    transition: all 160ms ease;
    cursor: pointer;
    background-color: #e4d8c2;
    color: #3e352a;
}

.sidebar-widgets .badge:hover {
    background-color: #a2632e !important;
    color: #fffdf7 !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: #a2632e !important;
}

.pagination .page-link {
    background-color: #fffaf1;
    border-color: #d2c3aa;
    color: #2f6048;
    transition: all 160ms ease;
}

.pagination .page-link:hover {
    background-color: #e8dcc8;
    border-color: #a2632e;
    color: #1e4a35;
}

.pagination .page-item.active .page-link {
    background-color: #2f6048;
    border-color: #2f6048;
    color: #fffdf7;
}

.pagination .page-item.disabled .page-link {
    background-color: #f4efe7;
    color: #a19683;
    border-color: #e0d6c5;
}

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

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

.search-box-section .input-group-lg .btn {
    border-radius: 0 6px 6px 0;
    background-color: #a2632e;
    border-color: #a2632e;
    color: #fffaf1;
}

.search-box-section .badge {
    transition: all 160ms ease;
}

.search-box-section .badge:hover {
    background-color: #a2632e !important;
    color: #fffdf7 !important;
    border-color: #a2632e !important;
}

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

.search-result {
    transition: all 240ms ease;
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: none;
    background-color: #f2ebdc;
}

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

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

.error-page h1 {
    background: transparent;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    background-clip: border-box;
    color: #8a5623;
    line-height: 1;
    text-shadow: none;
}

.recommended-links .badge {
    transition: all 160ms ease;
    border: 1px solid #cdbda2;
    background-color: #efe6d5;
    color: #4d4233;
}

.recommended-links .badge:hover {
    background-color: #a2632e !important;
    color: #fffdf7 !important;
    border-color: #a2632e !important;
    transform: translateY(-2px);
    box-shadow: none;
}

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

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

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

article .alert-info {
    background-color: #ecddc2;
    border-color: #d4bc8d;
    color: #6b4a24;
}

article .list-group-item {
    background: transparent;
    transition: all 160ms ease;
}

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

.posts-grid .card {
    transition: all 240ms ease;
    border: 1px solid #d6c8b1;
    overflow: hidden;
    background-color: #fffdf8;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: #a2632e;
    background-color: #f9f3e7;
}

.posts-grid .card-img-top {
    transition: transform 450ms ease;
}

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

.posts-grid .card-title a {
    transition: color 160ms ease;
}

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

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

.related-card {
    transition: all 240ms ease;
    background-color: #fffdf8;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    background-color: #f4ecdc;
}

.related-card img {
    transition: transform 450ms ease;
}

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

.social-share .btn {
    min-width: 40px;
    transition: all 160ms ease;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.social-share [data-copy-url].copied {
    background-color: #3d6b4f;
    color: #fffdf7;
    border-color: #34593f;
}

.accordion-button:not(.collapsed) {
    background-color: #e7d9bd;
    color: #24543d;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #a2632e;
}

.modal-content {
    border: none;
    border-radius: 6px;
    box-shadow: none;
}

.tooltip-inner {
    background-color: #252e3a;
    border-radius: 4px;
    font-size: 0.85rem;
}

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