.author-profile {
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 118, 110, 0.08), transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #fdf5ec 50%, #f2e6d7 100%);
}

.author-profile h1 {
    color: #6b2522;
}

.author-profile img.rounded-circle {
    border: 4px solid #fff;
    box-shadow: 0 22px 45px -24px rgba(92, 50, 24, 0.3), 0 6px 18px -10px rgba(58, 35, 18, 0.14);
}

.author-profile .badge.bg-light {
    background: #ece2d1 !important;
    color: #463a2d !important;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-profile .badge.bg-light:hover {
    background: #b4453a !important;
    color: #fff !important;
    box-shadow: 0 10px 18px -12px rgba(139, 55, 39, 0.4);
}

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

.author-box:hover {
    box-shadow: 0 20px 45px -25px rgba(15, 118, 110, 0.28), 0 8px 20px -16px rgba(64, 42, 25, 0.12);
}

.author-box img {
    transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.2, 1);
}

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

.author-posts-list .card {
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    border: 1px solid rgba(219, 198, 168, 0.55);
    background: linear-gradient(150deg, #ffffff, #fdf8f1);
    border-radius: 20px;
}

.author-posts-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 50px -28px rgba(102, 60, 29, 0.26), 0 12px 22px -18px rgba(80, 52, 26, 0.14);
}

.author-posts-list .card-img-top {
    transition: transform 0.8s 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 10% 12%, rgba(15, 118, 110, 0.1), transparent 42%),
        radial-gradient(circle at 92% 88%, rgba(180, 69, 58, 0.07), transparent 46%),
        linear-gradient(140deg, #f4eae0 0%, #faf5ed 100%);
}

.author-card {
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #e7d8c5;
    background: linear-gradient(150deg, #ffffff 0%, #fcf7ee 100%);
    border-radius: 24px;
    box-shadow: 0 2px 0 rgba(120, 90, 50, 0.02);
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -30px rgba(101, 61, 28, 0.32), 0 12px 24px -18px rgba(96, 64, 30, 0.16);
}

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

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

.faq-section {
    background:
        radial-gradient(circle at 88% 8%, rgba(15, 118, 110, 0.08), transparent 50%),
        linear-gradient(180deg, #f1e4d5 0%, #faf4eb 55%, #ffffff 100%);
}

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

.faq-list .faq-item {
    border: 1px solid rgba(87, 63, 36, 0.09);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: 0 1px 4px -4px rgba(80, 60, 30, 0.12);
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.faq-list .faq-item:hover {
    box-shadow: 0 18px 38px -24px rgba(100, 60, 30, 0.3), 0 6px 16px -14px rgba(80, 60, 35, 0.16) !important;
    transform: translateY(-2px);
}

.faq-list .faq-item[open] {
    border-color: rgba(15, 118, 110, 0.3);
    background: linear-gradient(90deg, #e2efe9 0%, #f5faf7 40%, #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: #0f766e;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), color 0.7s 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: #0f766e;
}

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

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

.sidebar-widgets .card {
    background: linear-gradient(150deg, #ffffff, #fdf8f1);
    border: 1px solid rgba(94, 68, 38, 0.06);
    border-radius: 20px;
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-widgets .card:hover {
    box-shadow: 0 22px 45px -26px rgba(98, 65, 32, 0.3), 0 6px 16px -14px rgba(80, 60, 35, 0.12);
}

.sidebar-widgets h5 {
    color: #5b2723;
}

.sidebar-widgets .badge {
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: linear-gradient(135deg, #f1e7d8, #e3d3bd);
    color: #4a3a2b;
}

.sidebar-widgets .badge:hover {
    background-color: #b4453a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px -14px rgba(151, 62, 40, 0.42);
}

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

.pagination .page-link {
    color: #a43d33;
    border-color: #d8c7b2;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .page-link:hover {
    background-color: #eddfd0;
    color: #732a22;
    border-color: #a43d33;
}

.pagination .page-item.active .page-link {
    background-color: #a43d33;
    border-color: #a43d33;
    color: #fff;
    box-shadow: 0 10px 18px -14px rgba(153, 58, 39, 0.45);
}

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

.search-box-section {
    background:
        radial-gradient(circle at 15% 0%, rgba(15, 118, 110, 0.07), transparent 42%),
        linear-gradient(135deg, #efe1d2 0%, #f8f1e7 100%);
}

.search-box-section .input-group-lg .form-control {
    border-radius: 999px 0 0 999px;
    padding-inline-start: 1.5rem;
    border-color: #decbb2;
    background-color: #ffffff;
    color: #3e3327;
}

.search-box-section .input-group-lg .btn {
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, #c95948, #8b3026);
    color: #ffffff;
    box-shadow: 0 14px 24px -16px rgba(149, 56, 38, 0.42);
}

.search-box-section .badge {
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.search-result {
    background: #ffffff;
    border: 1px solid rgba(90, 64, 32, 0.05);
    border-radius: 18px;
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-result:hover {
    transform: translateX(3px);
    box-shadow: 0 18px 40px -26px rgba(105, 65, 30, 0.28), 0 8px 16px -16px rgba(80, 52, 26, 0.1);
}

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

.search-result mark {
    background-color: #f6d48c;
    color: #46321e;
    padding-inline: 2px;
    border-radius: 5px;
    font-weight: 600;
}

.error-page h1 {
    background: linear-gradient(135deg, #e27058 0%, #b4453a 45%, #65231d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 10px 38px rgba(180, 69, 58, 0.16);
}

.recommended-links .badge {
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #d5c4ae;
}

.recommended-links .badge:hover {
    background-color: #b4453a !important;
    color: #fff !important;
    border-color: #b4453a !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -14px rgba(149, 56, 38, 0.45);
}

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

.legal-article-section,
main:has(> .container > article.bg-white) {
    background:
        radial-gradient(circle at 10% 0%, rgba(15, 118, 110, 0.05), transparent 36%),
        linear-gradient(180deg, #f2e9de, #faf6ef);
}

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

article .alert-info {
    background-color: #e6f0eb;
    border-color: #b9d4c9;
    color: #125249;
}

article .list-group-item {
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.posts-grid .card {
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #e3d4c0;
    background: linear-gradient(150deg, #ffffff, #fcf7ef);
    border-radius: 22px;
    overflow: hidden;
}

.posts-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px -28px rgba(110, 65, 30, 0.28), 0 10px 20px -16px rgba(80, 52, 26, 0.12);
    border-color: #b4453a;
}

.posts-grid .card-img-top {
    transition: transform 0.8s 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: #2d251e;
    transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.related-card {
    background: linear-gradient(150deg, #ffffff, #fbf5ed);
    border: 1px solid rgba(94, 60, 30, 0.05);
    border-radius: 20px;
    transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px -26px rgba(100, 62, 28, 0.3), 0 8px 18px -16px rgba(80, 52, 26, 0.1);
}

.related-card img {
    transition: transform 0.8s 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.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -14px rgba(90, 56, 30, 0.4);
}

.social-share [data-copy-url].copied {
    background-color: #3f7d5c;
    color: #fff;
    border-color: #3f7d5c;
    box-shadow: 0 10px 20px -14px rgba(63, 125, 92, 0.45);
}

.accordion-button:not(.collapsed) {
    background-color: #e5f0ea;
    color: #12685c;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
}

.modal-content {
    border: none;
    border-radius: 30px;
    background: linear-gradient(145deg, #ffffff, #faf3eb);
    box-shadow: 0 32px 80px -32px rgba(85, 50, 25, 0.36), 0 10px 24px -18px rgba(85, 50, 25, 0.14);
}

.tooltip-inner {
    background-color: #6b2522;
    border-radius: 9px;
    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;
    }
}