.author-profile {
    background: linear-gradient(135deg, #fffffd 0%, #f4f1ee 48%, #eef7f5 100%);
}

.author-profile h1 {
    color: #3f2a36;
}

.author-profile img.rounded-circle {
    border: 4px solid #fffffd;
    box-shadow: 0 12px 32px rgba(63, 42, 54, 0.12), 0 3px 10px rgba(222, 82, 109, 0.10);
}

.author-profile .badge.bg-light {
    background: linear-gradient(135deg, #f7f3ef 0%, #fff8f5 100%) !important;
    color: #4b3a40 !important;
    transition: all 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(135deg, #e84d72 0%, #ff8a65 100%) !important;
    color: #fffffd !important;
}

.author-box {
    border-inline-start: 4px solid #ff8a65;
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-box:hover {
    box-shadow: 0 14px 34px rgba(63, 42, 54, 0.10), 0 4px 12px rgba(232, 77, 114, 0.11);
}

.author-box img {
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.author-posts-list .card {
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 46px rgba(63, 42, 54, 0.13), 0 7px 18px rgba(28, 148, 136, 0.10);
}

.author-posts-list .card-img-top {
    transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.main-authors-section {
    background: radial-gradient(circle at 12% 18%, #fff3ec 0%, #f6f4f1 36%, #eef6f4 100%);
}

.author-card {
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #e8ddd7;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(63, 42, 54, 0.16), 0 9px 22px rgba(255, 138, 101, 0.12);
}

.author-card img.rounded-circle {
    border: 3px solid #f1ebe6;
    transition: border-color 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.faq-section {
    background: linear-gradient(180deg, #f5f2ef 0%, #fffffd 58%, #f2f8f6 100%);
}

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

.faq-list .faq-item {
    border: 1px solid rgba(97, 75, 82, 0.10);
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 12px 30px rgba(63, 42, 54, 0.09), 0 3px 10px rgba(232, 77, 114, 0.08) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open] {
    border-color: rgba(232, 77, 114, 0.28);
    background: linear-gradient(90deg, #fff0f3 0%, #fffffd 52%, #f0faf7 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: #e84d72;
    transition: transform 0.52s cubic-bezier(0.22, 1, 0.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: #e84d72;
}

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

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

.sidebar-widgets .card {
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-widgets .card:hover {
    box-shadow: 0 14px 34px rgba(63, 42, 54, 0.10), 0 4px 12px rgba(28, 148, 136, 0.09);
}

.sidebar-widgets h5 {
    color: #3f2a36;
}

.sidebar-widgets .badge {
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

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

.pagination .page-link {
    color: #d83f64;
    border-color: #e2d8d2;
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.pagination .page-link:hover {
    background-color: #f7f1ed;
    color: #a92f4f;
    border-color: #e84d72;
}

.pagination .page-item.active .page-link {
    background-color: #e84d72;
    border-color: #e84d72;
    color: #fffffd;
}

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

.search-box-section {
    background: linear-gradient(135deg, #f6f3f0 0%, #fff7f2 46%, #edf8f5 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 {
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.search-results-section {
    background: linear-gradient(180deg, #faf8f6 0%, #f5f2ef 100%);
}

.search-result {
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 14px 34px rgba(63, 42, 54, 0.10), 0 4px 12px rgba(255, 138, 101, 0.10);
}

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

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

.error-page h1 {
    background: linear-gradient(135deg, #e84d72 0%, #ff8a65 48%, #1c9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 8px 34px rgba(232, 77, 114, 0.22), 0 2px 10px rgba(28, 148, 136, 0.12);
}

.recommended-links .badge {
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #e2d8d2;
}

.recommended-links .badge:hover {
    background-color: #e84d72 !important;
    color: #fffffd !important;
    border-color: #e84d72 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(63, 42, 54, 0.10), 0 2px 8px rgba(232, 77, 114, 0.12);
}

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

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: radial-gradient(circle at 8% 14%, #fff2eb 0%, #f6f3f0 42%, #eef8f5 100%);
}

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

article .alert-info {
    background-color: #eef9f6;
    border-color: #b9e3dc;
    color: #0f6f67;
}

article .list-group-item {
    background: transparent;
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

article .list-group-item:hover {
    background: linear-gradient(90deg, #fff7f2 0%, #f3faf8 100%);
    padding-inline-start: var(--space-sm);
}

.posts-grid {
}

.posts-grid .card {
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #e8ddd7;
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 46px rgba(63, 42, 54, 0.13), 0 7px 18px rgba(232, 77, 114, 0.10);
    border-color: #e84d72;
}

.posts-grid .card-img-top {
    transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.posts-grid .card-title a {
    transition: color 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.related-card {
    transition: all 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(63, 42, 54, 0.10), 0 4px 12px rgba(255, 138, 101, 0.10);
}

.related-card img {
    transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.social-share .btn {
    min-width: 40px;
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(63, 42, 54, 0.10), 0 2px 8px rgba(28, 148, 136, 0.10);
}

.social-share [data-copy-url].copied {
    background-color: #1c9488;
    color: #fffffd;
    border-color: #1c9488;
}

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

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(232, 77, 114, 0.18), 0 4px 14px rgba(63, 42, 54, 0.06);
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(63, 42, 54, 0.16), 0 9px 22px rgba(232, 77, 114, 0.12);
}

.tooltip-inner {
    background-color: #3f2a36;
    border-radius: 8px;
    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;
    }
}