/**
 * Contact Us page — light content surfaces on the dark site background.
 * Scoped by page ID (native chrome omits page-{slug} on body) and slug when present.
 */

body.page-id-4219 .online-advisors-description,
body.page-contact-us .online-advisors-description {
    color: #374151;
    margin: 30px 0 0;
    padding: 28px 32px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    max-width: 1200px;
    line-height: 1.75;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

body.page-id-4219 .online-advisors-description::before,
body.page-contact-us .online-advisors-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa, #6d28d9);
    border-radius: 10px 10px 0 0;
}

body.page-id-4219 .online-advisors-description h1,
body.page-contact-us .online-advisors-description h1 {
    color: #5b21b6;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    border-bottom: 2px solid #e9d5ff;
    padding-bottom: 12px;
    margin: 0 0 1.25rem 0;
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: #5b21b6;
    background-clip: border-box;
}

body.page-id-4219 .online-advisors-description h3,
body.page-contact-us .online-advisors-description h3 {
    color: #5b21b6;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1.75rem 0 1rem 0;
    text-align: center;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    line-height: 1.45;
    text-shadow: none;
}

body.page-id-4219 .online-advisors-description .main-content,
body.page-contact-us .online-advisors-description .main-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin: 1.5rem 0;
    padding: 20px 24px;
    color: #374151;
    font-weight: 400;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

body.page-id-4219 .online-advisors-description h1 i,
body.page-id-4219 .online-advisors-description h3 i,
body.page-contact-us .online-advisors-description h1 i,
body.page-contact-us .online-advisors-description h3 i {
    margin-right: 12px;
    color: #6d28d9;
    -webkit-text-fill-color: #6d28d9;
}

body.page-id-4219 .online-advisors-description strong,
body.page-contact-us .online-advisors-description strong {
    color: #111827;
    font-weight: 700;
}

body.page-id-4219 .contact-grid,
body.page-contact-us .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

body.page-id-4219 .contact-category,
body.page-contact-us .contact-category {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #8b5cf6;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

body.page-id-4219 .contact-header,
body.page-contact-us .contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

body.page-id-4219 .contact-header i,
body.page-contact-us .contact-header i {
    color: #8b5cf6;
    font-size: 1.2em;
}

body.page-id-4219 .contact-header h4,
body.page-contact-us .contact-header h4 {
    margin: 0;
    color: #111827;
    font-size: 1.1em;
    font-weight: 700;
}

body.page-id-4219 a.email-link,
body.page-contact-us a.email-link {
    display: block;
    color: #6d28d9 !important;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    margin: 10px 0;
    word-break: break-all;
}

body.page-id-4219 a.email-link:hover,
body.page-contact-us a.email-link:hover {
    color: #5b21b6 !important;
    text-decoration: underline;
}

body.page-id-4219 .contact-category p,
body.page-contact-us .contact-category p {
    color: #374151;
    font-size: 0.95em;
    margin: 10px 0 0 0;
    line-height: 1.6;
}

body.page-id-4219 .category-footer-content,
body.page-contact-us .category-footer-content {
    max-width: 100%;
    margin: 1.5rem 0 0;
    padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.8vw, 2rem);
    color: #1f2937;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    border-top: 3px solid #8b5cf6;
    box-sizing: border-box;
}

body.page-id-4219 .category-footer-content > .category-content,
body.page-contact-us .category-footer-content > .category-content {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.page-id-4219 .category-footer-content p,
body.page-contact-us .category-footer-content p {
    line-height: 1.7;
    margin: 0 0 1rem;
    color: #374151;
    font-size: 1.05rem;
}

body.page-id-4219 .category-footer-content b,
body.page-id-4219 .category-footer-content strong,
body.page-contact-us .category-footer-content b,
body.page-contact-us .category-footer-content strong {
    color: #5b21b6;
    font-weight: 700;
}

body.page-id-4219 .category-footer-content a,
body.page-contact-us .category-footer-content a {
    color: #6d28d9;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

body.page-id-4219 .category-footer-content a:hover,
body.page-contact-us .category-footer-content a:hover {
    color: #5b21b6;
}

body.page-id-4219 .category-footer-content h2,
body.page-id-4219 .category-footer-content h3,
body.page-id-4219 .category-footer-content h4,
body.page-id-4219 .category-footer-content > .category-content h2,
body.page-id-4219 .category-footer-content > .category-content h3,
body.page-id-4219 .category-footer-content > .category-content h4,
body.page-contact-us .category-footer-content h2,
body.page-contact-us .category-footer-content h3,
body.page-contact-us .category-footer-content h4,
body.page-contact-us .category-footer-content > .category-content h2,
body.page-contact-us .category-footer-content > .category-content h3,
body.page-contact-us .category-footer-content > .category-content h4 {
    color: #5b21b6;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.5rem 0 0.65rem;
}

body.page-id-4219 .category-footer-content .category-content h3,
body.page-contact-us .category-footer-content .category-content h3 {
    margin: 2rem 0 0.75rem !important;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    font-size: 1.3rem;
}

body.page-id-4219 .category-footer-content .category-content h3:first-child,
body.page-contact-us .category-footer-content .category-content h3:first-child {
    margin-top: 0 !important;
}

body.page-id-4219 .category-footer-content .category-content ul,
body.page-contact-us .category-footer-content .category-content ul {
    margin: 0.25rem 0 1.5rem !important;
    padding-left: 0 !important;
}

body.page-id-4219 .category-footer-content .category-content ul li,
body.page-contact-us .category-footer-content .category-content ul li {
    padding: 0.4rem 0 0.4rem 0.15rem !important;
    margin-bottom: 0.25rem !important;
    color: #374151;
}

body.page-id-4219 .category-footer-content .category-content ul li::before,
body.page-contact-us .category-footer-content .category-content ul li::before {
    content: none !important;
    display: none !important;
}

body.page-id-4219 .category-footer-content .category-content .faq-item,
body.page-contact-us .category-footer-content .category-content .faq-item {
    margin: 0 0 1rem !important;
    line-height: 1.65 !important;
    color: #374151;
}

@media (max-width: 768px) {
    body.page-id-4219 .online-advisors-description,
    body.page-contact-us .online-advisors-description {
        padding: 30px 25px;
        margin: 0 15px;
        border-radius: 14px;
    }

    body.page-id-4219 .online-advisors-description h1,
    body.page-contact-us .online-advisors-description h1 {
        font-size: 2.3rem;
    }

    body.page-id-4219 .online-advisors-description h3,
    body.page-contact-us .online-advisors-description h3 {
        font-size: 1.7rem;
    }

    body.page-id-4219 .contact-grid,
    body.page-contact-us .contact-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-4219 .contact-header,
    body.page-contact-us .contact-header {
        flex-direction: column;
        gap: 5px;
    }
}
