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

.author-profile h1 {
    color: #D94F1A;
}

.author-profile img.rounded-circle {
    border: 4px solid #FFFFFF;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,0.12), 0 2px 8px -4px rgba(0,0,0,0.08);
    border-radius: 50%;
}

.author-profile .badge.bg-light {
    background: #EAE4D3 !important;
    color: #2E2C28 !important;
    transition: all 0.25s ease;
    border-radius: 20px;
}

.author-profile .badge.bg-light:hover {
    background: #FF6B35 !important;
    color: #FFFFFF !important;
    border-color: #FF6B35 !important;
}

.author-box {
    border-inline-start: 4px solid #00A896;
    transition: all 0.3s ease;
    border-radius: 22px;
}

.author-box:hover {
    box-shadow: 0 12px 28px -10px rgba(0,0,0,0.12), 0 4px 12px -6px rgba(0,0,0,0.08);
}

.author-box img {
    transition: transform 0.25s ease;
    border-radius: 16px;
}

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

.author-posts-list .card {
    transition: all 0.35s ease;
    overflow: hidden;
    border-radius: 24px;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15), 0 5px 15px -8px rgba(0,0,0,0.08);
}

.author-posts-list .card-img-top {
    transition: transform 0.45s ease;
    border-radius: 16px 16px 0 0;
}

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

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

.author-card {
    transition: all 0.3s ease;
    border: 1px solid #D9D2C0;
    border-radius: 24px;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px -12px rgba(0,0,0,0.15), 0 4px 16px -8px rgba(0,0,0,0.08);
}

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

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

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

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

.faq-list .faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    cursor: pointer;
    border-radius: 24px;
}

.faq-list .faq-item:hover {
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.10), 0 2px 8px -4px rgba(0,0,0,0.06) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open] {
    border-color: rgba(255, 107, 53, 0.25);
    background: linear-gradient(90deg, #FFF3EB 0%, #FFFFFF 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: #FF6B35;
    transition: transform 0.3s 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: #FF6B35;
}

.faq-list .faq-answer {
    font-size: 0.95rem;
    line-height: 1.8;
    animation: faqFadeIn 0.3s ease;
}

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

.sidebar-widgets .card {
    transition: all 0.3s ease;
    border-radius: 24px;
}

.sidebar-widgets .card:hover {
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.10), 0 3px 10px -5px rgba(0,0,0,0.06);
}

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

.sidebar-widgets .badge {
    transition: all 0.25s ease;
    cursor: pointer;
    border-radius: 20px;
}

.sidebar-widgets .badge:hover {
    background-color: #FF6B35 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.08);
}

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

.pagination .page-link {
    color: #FF6B35;
    border-color: #C0B8A0;
    transition: all 0.25s ease;
    border-radius: 20px;
}

.pagination .page-link:hover {
    background-color: #EAE4D3;
    color: #D94F1A;
    border-color: #FF6B35;
    box-shadow: 0 3px 8px -2px rgba(0,0,0,0.08);
}

.pagination .page-item.active .page-link {
    background-color: #FF6B35;
    border-color: #FF6B35;
    color: #FFFFFF;
}

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

.search-box-section {
    background: #F9ECE0;
    border-radius: 28px;
    padding: 36px;
}

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

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

.search-box-section .badge {
    transition: all 0.25s ease;
    border-radius: 20px;
}

.search-box-section .badge:hover {
    background-color: #FF6B35 !important;
    color: #FFFFFF !important;
    border-color: #FF6B35 !important;
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.08);
}

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

.search-result {
    transition: all 0.3s ease;
    border-radius: 24px;
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 10px 24px -8px rgba(0,0,0,0.10), 0 3px 10px -5px rgba(0,0,0,0.06);
}

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

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

.error-page h1 {
    background: linear-gradient(135deg, #FF6B35, #C44510);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(255, 107, 53, 0.25);
}

.recommended-links .badge {
    transition: all 0.25s ease;
    border: 1px solid #C0B8A0;
    border-radius: 20px;
}

.recommended-links .badge:hover {
    background-color: #FF6B35 !important;
    color: #FFFFFF !important;
    border-color: #FF6B35 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -4px rgba(0,0,0,0.08);
}

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

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

article :is(h2.h4) {
    color: #C44510;
    border-bottom: 2px solid #D9D2C0;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

article .alert-info {
    background-color: #FFF3EB;
    border-color: #FFAD8F;
    color: #C44510;
}

article .list-group-item {
    background: transparent;
    transition: all 0.25s ease;
    border-radius: 16px;
}

article .list-group-item:hover {
    background: #F9ECE0;
    padding-inline-start: 16px;
}

.posts-grid {
}
.posts-grid .card {
    transition: all 0.35s ease;
    border: 1px solid #D9D2C0;
    overflow: hidden;
    border-radius: 24px;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15), 0 5px 15px -8px rgba(0,0,0,0.08);
    border-color: #FF6B35;
}

.posts-grid .card-img-top {
    transition: transform 0.45s ease;
    border-radius: 16px 16px 0 0;
}

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

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

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

.related-posts h3 {
    border-bottom: 3px solid #00A896;
    padding-bottom: 8px;
    display: inline-block;
}

.related-card {
    transition: all 0.3s ease;
    border-radius: 24px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -10px rgba(0,0,0,0.10), 0 3px 12px -6px rgba(0,0,0,0.06);
}

.related-card img {
    transition: transform 0.45s ease;
    border-radius: 16px;
}

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

.social-share .btn {
    min-width: 40px;
    transition: all 0.25s ease;
    border-radius: 22px;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -4px rgba(0,0,0,0.08);
}

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

.accordion-button:not(.collapsed) {
    background-color: #FFF3EB;
    color: #C44510;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.2);
}

.modal-content {
    border: none;
    border-radius: 28px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.2), 0 5px 20px -10px rgba(0,0,0,0.1);
}

.tooltip-inner {
    background-color: #D94F1A;
    border-radius: 16px;
    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: 12px;
    }

    .pagination .page-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
    }
}