.author-profile {
    background: radial-gradient(circle at 85% 15%, rgba(255, 236, 214, .35) 0%, rgba(255, 236, 214, 0) 45%), linear-gradient(135deg, #FFFDF8 0%, #F4EFE7 60%, #E6DED3 100%);
}

.author-profile h1 {
    color: #2A3A46;
}

.author-profile img.rounded-circle {
    border: 4px solid #FFFDF7;
    box-shadow: 0 2px 4px rgba(42, 58, 70, .08), 0 14px 28px -10px rgba(42, 58, 70, .18);
}

.author-profile .badge.bg-light {
    background: linear-gradient(180deg, #F7F2EA, #E8E0D4) !important;
    color: #394A52 !important;
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(135deg, #C9723F, #A6532C) !important;
    color: #FFF8F0 !important;
}

.author-box {
    border-inline-start: 4px solid #D37E45;
    background: linear-gradient(90deg, rgba(255, 252, 246, .9), rgba(255, 252, 246, 0));
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
}

.author-box:hover {
    background: linear-gradient(90deg, #FFFDF8, #FAF3EB);
    box-shadow: 0 2px 4px rgba(42, 58, 70, .05), 0 16px 32px -12px rgba(42, 58, 70, .16);
}

.author-box img {
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

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

.author-posts-list .card {
    background: linear-gradient(145deg, #FFFFFF, #F6F2EC);
    border-color: rgba(42, 58, 70, .09);
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(42, 58, 70, .05), 0 22px 44px -14px rgba(42, 58, 70, .18);
}

.author-posts-list .card-img-top {
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

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

.main-authors-section {
    background: radial-gradient(circle at 0% 0%, rgba(210, 120, 65, .09), transparent 36%), linear-gradient(180deg, #F1EBE3 0%, #E6DED3 100%);
}

.author-card {
    background: linear-gradient(145deg, #FFFDF9, #F5F0E8);
    border: 1px solid #E4DACD;
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
}

.author-card:hover {
    transform: translateY(-8px);
    border-color: #B96434;
    box-shadow: 0 4px 8px rgba(42, 58, 70, .07), 0 26px 50px -16px rgba(42, 58, 70, .22);
}

.author-card img.rounded-circle {
    border: 3px solid #EDE5D9;
    transition: border-color .45s cubic-bezier(.22, 1, .36, 1);
}

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

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

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

.faq-list .faq-item {
    border: 1px solid rgba(42, 58, 70, .06);
    background: rgba(255, 253, 248, .7);
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 4px 14px rgba(42, 58, 70, .06), 0 22px 40px -18px rgba(42, 58, 70, .16) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open] {
    border-color: rgba(201, 114, 62, .28);
    background: linear-gradient(90deg, #F9E7D3 0%, #FFF6EC 55%, #FFFCF7 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: #B85F32;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
    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: #B85F32;
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn .5s cubic-bezier(.22, 1, .36, 1);
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.sidebar-widgets .card {
    --bs-body-color: #E3DED6;
    --bs-heading-color: #F2C291;
    --bs-link-color: #F0C49C;
    --bs-link-hover-color: #FFDFC0;
    background: linear-gradient(145deg, #2C3A46 0%, #222E38 60%, #1D2731 100%);
    border-color: rgba(255, 244, 232, .08);
    color: #E3DED6;
    box-shadow: 0 2px 6px rgba(20, 26, 32, .18), 0 14px 28px -14px rgba(20, 26, 32, .35);
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
}

.sidebar-widgets .card:hover {
    border-color: rgba(244, 186, 128, .28);
    box-shadow: 0 4px 8px rgba(20, 26, 32, .16), 0 26px 44px -18px rgba(20, 26, 32, .4);
}

.sidebar-widgets h5 {
    color: #F5C89A;
}

.sidebar-widgets .badge {
    background: linear-gradient(180deg, #F3ECE3, #DDD2C5) !important;
    color: #343E45 !important;
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
    cursor: pointer;
}

.sidebar-widgets .badge:hover {
    background: linear-gradient(135deg, #D9823F, #A85730) !important;
    color: #FFF9F2 !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: #F0B887 !important;
}

.pagination .page-link {
    color: #AD5A30;
    border-color: #DCD5CB;
    background: linear-gradient(180deg, #FFFDFA, #FAF5EE);
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
}

.pagination .page-link:hover {
    background: linear-gradient(180deg, #F6EBE1, #EBDFD2);
    color: #9A4A26;
    border-color: #C9723F;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(180deg, #D9823F, #AD5A30);
    border-color: #AD5A30;
    color: #FFF8F0;
}

.pagination .page-item.disabled .page-link {
    color: #AFA9A3;
    background: linear-gradient(180deg, #F4F0EA, #E8E2DA);
}

.search-box-section {
    background: linear-gradient(180deg, #F1EBE3 0%, #FAF7F2 100%);
}

.search-box-section .input-group-lg .form-control {
    border-radius: 999px 0 0 999px;
    padding-inline-start: 1.5rem;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 999px 999px 0;
}

.search-box-section .badge {
    background: linear-gradient(180deg, #F7F3ED, #E9E2D8);
    color: #3A464E;
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
}

.search-box-section .badge:hover {
    background: linear-gradient(135deg, #D9823F, #A85730) !important;
    color: #FFF8F0 !important;
    border-color: #C9723F !important;
}

.search-results-section {
    background: radial-gradient(circle at 10% 0%, rgba(201, 114, 62, .07), transparent 34%), #FBF8F4;
}

.search-result {
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 4px rgba(42, 58, 70, .05), 0 16px 32px -12px rgba(42, 58, 70, .16);
}

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

.search-result mark {
    background: linear-gradient(180deg, #F8E08A, #F3CD61);
    padding-inline: 2px;
    border-radius: 4px;
    font-weight: 600;
}

.error-page h1 {
    background: linear-gradient(135deg, #EFA25B 0%, #C96034 55%, #8F3D48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 4px 24px rgba(128, 63, 34, .22);
}

.recommended-links .badge {
    background: linear-gradient(180deg, #FFFDFA, #F2ECE4);
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
    border: 1px solid #DCD6CE;
}

.recommended-links .badge:hover {
    background: linear-gradient(135deg, #D9823F, #A85730) !important;
    color: #FFF9F2 !important;
    border-color: #BE6637 !important;
    transform: translateY(-2px);
    box-shadow: 0 1px 3px rgba(42, 58, 70, .06), 0 10px 20px -8px rgba(185, 80, 38, .25);
}

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

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: radial-gradient(circle at 100% 0%, rgba(201, 114, 62, .06), transparent 28%), linear-gradient(180deg, #F2EDE6 0%, #FBF8F4 100%);
}

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

article .alert-info {
    background: linear-gradient(135deg, #F9E4CF, #FCEBDD);
    border-color: #E6C7AC;
    color: #8A4527;
}

article .list-group-item {
    background: transparent;
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
}

article .list-group-item:hover {
    background: linear-gradient(90deg, rgba(190, 102, 55, .1), rgba(190, 102, 55, 0));
    padding-inline-start: var(--space-sm);
}

.posts-grid .card {
    background: linear-gradient(145deg, #FFFFFF, #F7F3ED);
    border: 1px solid #E5DDD2;
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    border-color: #C9723F;
    box-shadow: 0 2px 4px rgba(42, 58, 70, .05), 0 24px 46px -16px rgba(42, 58, 70, .2);
}

.posts-grid .card-img-top {
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

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

.posts-grid .card-title a {
    transition: color .45s cubic-bezier(.22, 1, .36, 1);
}

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

.related-posts h3 {
    border-bottom: 3px solid #D37E45;
    background: linear-gradient(90deg, rgba(201, 114, 62, 0), rgba(201, 114, 62, .12));
    padding-bottom: var(--space-xs);
    display: inline-block;
}

.related-card {
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgba(42, 58, 70, .05), 0 18px 36px -12px rgba(42, 58, 70, .18);
}

.related-card img {
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

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

.social-share .btn {
    min-width: 40px;
    transition: all .45s cubic-bezier(.22, 1, .36, 1);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 3px rgba(42, 58, 70, .08), 0 10px 20px -8px rgba(42, 58, 70, .18);
}

.social-share [data-copy-url].copied {
    background: linear-gradient(135deg, #3F8062, #2F6B50) !important;
    color: #F5FBF8 !important;
    border-color: #317458 !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #F9E4CD, #FCEBDD);
    color: #824321;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 114, 62, .22);
}

.modal-content {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 8px 16px rgba(42, 58, 70, .14), 0 32px 64px -18px rgba(42, 58, 70, .34);
}

.tooltip-inner {
    background: linear-gradient(135deg, #3A4853, #242F38);
    border-radius: .55rem;
    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;
    }
}