/*

Theme Name: Pro &ndash; Child Theme
Theme URI: https://theme.co/pro/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/

/* Fix mobile spacing for industry bullets - global block 1771 */
@media (max-width: 767px) {
    .x-global-block-1771 ul li { margin-bottom: 6px !important; }
}

/* ═══════════════════════════════════════════ */
/* VSF HEADER FIX v4.0 — Padding + Sticky + Colors */
/* ═══════════════════════════════════════════ */

/* Seamless Padding */
.e96923-e1.x-bar { padding: 6px 0 !important; }
.e96923-e14.x-bar { padding: 6px 0 !important; }
.e96923-e15.x-bar-container { margin-top: 0 !important; }

/* Sticky Nav — Cornerstone native sticky handles position/top.
   Only add box-shadow for visual polish. */
.e96923-e14.x-bar.x-bar-fixed {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Polished Colors */
.e96923-e1.x-bar,
.e96923-e14.x-bar { background-color: #0a1628 !important; }
.e96923-e1 .x-anchor:hover .x-icon { color: #ff8c42 !important; transition: color 0.2s ease !important; }
.e96923-e14 .x-anchor:hover .x-anchor-text-primary { color: #ff8c42 !important; transition: color 0.2s ease !important; }


/* ═══════════════════════════════════════════ */
/* Contact Page Headline — Orange Brand Color (2026-06-17) */
/* ═══════════════════════════════════════════ */
html body.page-id-1709 #cs-content .e1709-e9.x-text::after,
html body.page-id-1709 #cs-content .e1709-e9.x-content::after,
html body.page-id-1709 .e1709-e9.x-text::after {
    color: #ff8e42 !important;
}
html body.page-id-1709 #cs-content .e1709-e9.x-text::before,
html body.page-id-1709 #cs-content .e1709-e9.x-content::before,
html body.page-id-1709 .e1709-e9.x-text::before {
    color: rgba(255,255,255,0.7) !important;
}

/* ── Hide redundant Email Us card on Contact page (2026-06-17) ── */
/* REMOVED rogue card hide rule */
.page-id-1709 .e1709-e21.x-line { display: none !important; }


/* ── Hide redundant Email Us card + line on Contact page (2026-06-17) ── */
.page-id-1709 .vsf-rc-card:nth-child(2) { display: none !important; }
.page-id-1709 .e1709-e21.x-line { display: none !important; }

/* ── Contact page mobile layout fix (2026-06-17) ── */
@media (max-width: 767px) {
    /* Prevent column wrap that pushes cards off-screen */
    .page-id-1709 .e1709-e7 .x-row-inner {
        flex-wrap: nowrap !important;
        height: auto !important;
    }

    /* Both columns stack vertically at full width */
    .page-id-1709 .e1709-e8,
    .page-id-1709 .e1709-e11 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
    }

    /* Form column: prevent heading/form side-by-side wrap */
    .page-id-1709 .e1709-e8 {
        flex-wrap: nowrap !important;
    }

    /* Cards below form */
    .page-id-1709 .e1709-e11 {
        order: 2 !important;
        margin-top: 24px !important;
    }

    /* Form content full width */
    .page-id-1709 .e1709-e8 .x-col-inner,
    .page-id-1709 .e1709-e8 .x-text,
    .page-id-1709 .e1709-e8 .x-global-block,
    .page-id-1709 .e1709-e8 .x-section,
    .page-id-1709 .e1709-e8 .x-row,
    .page-id-1709 .e1709-e8 .x-row-inner,
    .page-id-1709 .e1709-e8 .x-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Reduce padding to widen form */
    .page-id-1709 .e1709-e8 {
        padding: 16px !important;
    }
    .page-id-1709 .e1791-e5 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Form fields full width */
    .page-id-1709 #vbtEFWrapper-149807,
    .page-id-1709 .e1791-e5 .vbtEFLabel,
    .page-id-1709 .e1791-e5 input,
    .page-id-1709 .e1791-e5 textarea,
    .page-id-1709 .e1791-e5 select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Cards full width */
    .page-id-1709 .vsf-rc-content {
        width: 100% !important;
    }

    /* Cards stack properly */
    .page-id-1709 .vsf-rc-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}
