.author-profile {
    background: radial-gradient(circle at 85% 8%, rgba(247, 184, 198, 0.25), transparent 38%), linear-gradient(145deg, #ffffff 0%, #faf5f1 48%, #f2ebe6 100%);
}

.author-profile h1 {
    color: #832b49;
}

.author-profile img.rounded-circle {
    border: 4px solid #fff;
    box-shadow: 0 16px 30px -10px rgba(124, 48, 68, 0.22), 0 4px 12px rgba(124, 48, 68, 0.08), inset 0 -2px 6px rgba(255, 255, 255, 0.6);
}

.author-profile .badge.bg-light {
    background: #f3ece9 !important;
    color: #63394a !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-profile .badge.bg-light:hover {
    background: linear-gradient(135deg, #e9587c 0%, #c93f62 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(210, 59, 94, 0.25);
}

.author-box {
    border-inline-start: 4px solid #f08772;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.94) 0%, rgba(253, 239, 235, 0.65) 100%);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-box:hover {
    box-shadow: 0 14px 32px rgba(110, 45, 62, 0.14), 0 4px 12px rgba(110, 45, 62, 0.06);
}

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

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

.author-posts-list .card {
    background: #fff;
    border: 1px solid #efe3df;
    border-radius: 18px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 42px -16px rgba(106, 42, 60, 0.2), 0 10px 22px rgba(106, 42, 60, 0.1);
    border-color: #dfc3cb;
}

.author-posts-list .card-img-top {
    transition: transform 0.6s 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 8% 0%, rgba(237, 151, 170, 0.18), transparent 32%), radial-gradient(circle at 92% 10%, rgba(248, 211, 176, 0.22), transparent 30%), linear-gradient(150deg, #f6f1ee 0%, #fcfaf8 48%, #f1e8e3 100%);
}

.author-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #eee1db;
    border-radius: 18px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -22px rgba(85, 20, 45, 0.28), 0 12px 26px rgba(85, 20, 45, 0.12);
    border-color: #d9a4b2;
}

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

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

.faq-section {
    background: radial-gradient(circle at 90% 0%, rgba(249, 207, 190, 0.22), transparent 35%), linear-gradient(180deg, #f7f0ec 0%, #fcf9f7 55%, #fff 100%);
}

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

.faq-list .faq-item {
    border: 1px solid #efe1da;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 12px 32px rgba(125, 51, 70, 0.12), 0 4px 12px rgba(125, 51, 70, 0.06) !important;
    transform: translateY(-2px);
    border-color: #ebc9d1;
}

.faq-list .faq-item[open] {
    border-color: rgba(224, 83, 110, 0.28);
    background: linear-gradient(100deg, #fdeeec 0%, #ffffff 65%, #fff4f0 100%);
    box-shadow: 0 10px 30px rgba(169, 68, 93, 0.1);
}

.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: #d64a67;
    transition: transform 0.45s 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: #d64a67;
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-widgets .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 240, 0.65));
    border: 1px solid #eee1dc;
    border-radius: 18px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-widgets .card:hover {
    box-shadow: 0 14px 32px rgba(110, 45, 62, 0.12), 0 4px 12px rgba(110, 45, 62, 0.06);
}

.sidebar-widgets h5 {
    color: #832b49;
}

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

.sidebar-widgets .badge:hover {
    background: linear-gradient(135deg, #e65a7b 0%, #c03559 100%) !important;
    color: white !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: #d64a67 !important;
}

.pagination .page-link {
    color: #c63f5d;
    background: #fff;
    border-color: #f0dfe1;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pagination .page-link:hover {
    background: linear-gradient(0deg, #fdecef, #fff);
    color: #982c4c;
    border-color: #e16d87;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(145deg, #e85d80 0%, #bf3158 100%);
    border-color: #c93057;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #b2a2a9;
    background: #f9f6f4;
}

.search-box-section {
    background: radial-gradient(circle at 15% 20%, rgba(250, 202, 190, 0.24), transparent 34%), linear-gradient(120deg, #f8f1ee 0%, #fbf8f6 55%, #f1e9e4 100%);
}

.search-box-section .input-group-lg .form-control {
    background: #fff;
    border: 1px solid #f2ddd9;
    border-radius: 2rem 0 0 2rem;
    padding-inline-start: 1.5rem;
}

.search-box-section .input-group-lg .btn {
    background: linear-gradient(135deg, #e4577b 0%, #b8294e 100%);
    color: #fff;
    border-color: #d04063;
    border-radius: 0 2rem 2rem 0;
}

.search-box-section .badge {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-box-section .badge:hover {
    background: linear-gradient(135deg, #e65a7b 0%, #c03559 100%) !important;
    color: #fff !important;
    border-color: #d64a67 !important;
}

.search-results-section {
    background: radial-gradient(circle at 90% 10%, rgba(247, 203, 182, 0.2), transparent 42%), #faf8f6;
}

.search-result {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 14px 32px rgba(110, 45, 62, 0.12), 0 4px 12px rgba(110, 45, 62, 0.06);
}

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

.search-result mark {
    background: linear-gradient(90deg, #fee9ce 0%, #fbc4d0 100%);
    padding-inline: 2px;
    border-radius: 4px;
    font-weight: 600;
}

.error-page h1 {
    background: linear-gradient(135deg, #7e2444 0%, #d84a6f 38%, #f5a17d 68%, #ab2f55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 12px 34px rgba(190, 50, 90, 0.22), 0 3px 8px rgba(255, 255, 255, 0.45);
}

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

.recommended-links .badge:hover {
    background: linear-gradient(135deg, #e6567a 0%, #be2850 100%) !important;
    color: #fff !important;
    border-color: #c83458 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 45, 78, 0.2);
}

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

.legal-article-section,
main:has(> .container > article.bg-white) {
    background: radial-gradient(circle at top left, rgba(232, 130, 145, 0.13), transparent 35%), linear-gradient(150deg, #f7f3f1 0%, #fdfdfc 55%, #f2ede9 100%);
}

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

article .alert-info {
    background-color: #fff3f0;
    border-color: #f6d4cd;
    color: #9e3b55;
}

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

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

.posts-grid {}

.posts-grid .card {
    background: linear-gradient(180deg, #fff 0%, #fffbf9 100%);
    border: 1px solid #eee3de;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(90, 35, 55, 0.04);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 44px -16px rgba(80, 25, 45, 0.2), 0 10px 22px rgba(80, 25, 45, 0.1);
    border-color: #e0657f;
}

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

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

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

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

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

.related-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(110, 45, 62, 0.13), 0 5px 14px rgba(110, 45, 62, 0.07);
}

.related-card img {
    transition: transform 0.6s 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.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(110, 45, 62, 0.18);
}

.social-share [data-copy-url].copied {
    background: linear-gradient(135deg, #2fc3a2 0%, #0e9978 100%);
    color: #fff;
    border-color: #19a583;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(100deg, #fce9ee 0%, #ffffff 65%);
    color: #8c2d4e;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(217, 75, 110, 0.15);
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(70, 20, 45, 0.18), 0 8px 20px rgba(70, 20, 45, 0.12);
}

.tooltip-inner {
    background-color: #64223c;
    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;
    }
}