/* ==========================================================================
   Sundays Blue Box - Universal Common Pillar Pages Stylesheet
   Strictly scoped to body.single-pillar-pages.
   Ensures any current or new pillar page auto-formats seamlessly.
   ========================================================================== */

:root {
    --pillar-teal: #36B6D1;
    --pillar-teal-light: #58DEFA;
    --pillar-aqua: #79D8CE;
    --pillar-navy: #13384D;
    --pillar-navy-dark: #0F2C3D;
    --pillar-orange: #DB5800;
    --pillar-orange-hover: #E8832B;
    --pillar-dark: #212121;
    --pillar-body-text: #3d4852;
    --pillar-muted: #5a6578;
    --pillar-border: #E2E7EC;
    --pillar-border-light: #EDF2F7;
    --pillar-bg-soft: #F8FAFC;
    --pillar-white: #ffffff;
    --pillar-offwhite: #F3EFE8;
    --pillar-radius: 12px;
    --pillar-shadow: 0 4px 20px rgba(19, 56, 77, 0.06);
    --pillar-font-body: 'Aftika', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --pillar-font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --pillar-banner-height: 80vh;
}

/* --------------------------------------------------------------------------
   1. Page & Layout Structure (NO White Box / Card behind text!)
   -------------------------------------------------------------------------- */
body.single-pillar-pages,
body.single-pillar-pages #container,
body.single-pillar-pages #content,
body.single-pillar-pages .pillar-pages-shell,
body.single-pillar-pages article.pillar-pages,
body.single-pillar-pages article.type-pillar-pages {
    background-color: var(--pillar-offwhite) !important;
    background: var(--pillar-offwhite) !important;
}

/* Strictly prevent any white card/box or shadow behind text, columns, and rows */
body.single-pillar-pages .pillar-pages-shell,
body.single-pillar-pages .pillar-pages-content,
body.single-pillar-pages .pillar-pages-content .wpb-content-wrapper,
body.single-pillar-pages .pillar-pages-content .vc_row,
body.single-pillar-pages .pillar-pages-content .wpb_column,
body.single-pillar-pages .pillar-pages-content .vc_column-inner,
body.single-pillar-pages .pillar-pages-content .wpb_wrapper,
body.single-pillar-pages .pillar-pages-content .wpb_text_column,
body.single-pillar-pages .pillar-pages-content .wpb_text_column .wpb_wrapper,
body.single-pillar-pages article.type-pillar-pages .entry-content,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb-content-wrapper,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_row,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb_column,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_column-inner,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb_wrapper,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb_text_column,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb_text_column .wpb_wrapper {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Neutralize Visual Composer background utility classes on pillar pages */
body.single-pillar-pages [class*="vc_custom_"] {
    background-color: transparent !important;
}

/* Page shell padding & width */
body.single-pillar-pages .pillar-pages-shell {
    background: var(--pillar-offwhite) !important;
    padding: 2.5rem 0 4rem;
}

body.single-pillar-pages .pillar-pages-content,
body.single-pillar-pages article.type-pillar-pages .entry-content,
body.single-pillar-pages article.pillar-pages > .entry-content {
    width: 80%;
    max-width: 80%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body.single-pillar-pages .pillar-pages-content .vc_row,
body.single-pillar-pages .pillar-pages-content .wpb-content-wrapper > .vc_row,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 2rem;
}

body.single-pillar-pages .pillar-pages-content .vc_column-inner,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.single-pillar-pages .pillar-pages-content > img.wp-post-image,
body.single-pillar-pages .pillar-pages-content > .wpb-content-wrapper > img.wp-post-image,
body.single-pillar-pages article.pillar-pages > .entry-content > img.wp-post-image:first-child,
body.single-pillar-pages article.pillar-pages .entry-content > img.wp-post-image:first-child,
body.single-pillar-pages .entry-header {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. Hero Banner Section
   -------------------------------------------------------------------------- */
body.single-pillar-pages header .BannerImageInnerpage,
body.single-pillar-pages header .BannerImage.Innerpage {
    position: relative;
    overflow: hidden;
    max-height: var(--pillar-banner-height) !important;
}

body.single-pillar-pages header .BannerImageInnerpage > img.BannerMainIMage,
body.single-pillar-pages header .BannerImageInnerpage > img.BannerImage,
body.single-pillar-pages header .BannerImage.Innerpage > img.BannerMainIMage,
body.single-pillar-pages header .BannerImage.Innerpage > img.BannerImage {
    display: block;
    width: 100%;
    height: var(--pillar-banner-height);
    max-height: var(--pillar-banner-height);
    object-fit: cover;
    object-position: center center;
}

body.single-pillar-pages header .BannerImageInnerpage::after,
body.single-pillar-pages header .BannerImage.Innerpage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--pillar-banner-height);
    background: linear-gradient(180deg, rgba(20,20,20,0.28) 0%, rgba(20,20,20,0.42) 55%, rgba(20,20,20,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

body.single-pillar-pages header .BannerImageInnerpage .banner-content,
body.single-pillar-pages header .BannerImage.Innerpage .banner-content {
    position: absolute !important;
    z-index: 5;
    left: 50% !important;
    right: auto !important;
    bottom: 50% !important;
    transform: translate(-50%, 50%) !important;
    width: 78%;
}

body.single-pillar-pages header .BannerImageInnerpage .banner-content h1,
body.single-pillar-pages header .BannerImageInnerpage .banner-content p,
body.single-pillar-pages header .BannerImage.Innerpage .banner-content h1,
body.single-pillar-pages header .BannerImage.Innerpage .banner-content p {
    color: #ffffff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   3. Typography & Headings (DM Sans + Hierarchy)
   -------------------------------------------------------------------------- */
body.single-pillar-pages .pillar-pages-content h1,
body.single-pillar-pages .pillar-pages-content h2,
body.single-pillar-pages .pillar-pages-content h3,
body.single-pillar-pages .pillar-pages-content h4,
body.single-pillar-pages .pillar-pages-content h5,
body.single-pillar-pages .pillar-pages-content h6,
body.single-pillar-pages .pillar-pages-content .vc_custom_heading,
body.single-pillar-pages .pillar-pages-content .pillarheading,
body.single-pillar-pages article.type-pillar-pages .entry-content h1,
body.single-pillar-pages article.type-pillar-pages .entry-content h2,
body.single-pillar-pages article.type-pillar-pages .entry-content h3,
body.single-pillar-pages article.type-pillar-pages .entry-content h4,
body.single-pillar-pages article.type-pillar-pages .entry-content h5,
body.single-pillar-pages article.type-pillar-pages .entry-content h6,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_custom_heading,
body.single-pillar-pages article.type-pillar-pages .entry-content .pillarheading {
    font-family: var(--pillar-font-heading) !important;
    line-height: 1.35;
    margin-top: 0;
}

/* H1 - Primary Title */
body.single-pillar-pages .pillar-pages-content h1,
body.single-pillar-pages article.type-pillar-pages .entry-content h1 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 400;
    color: var(--pillar-orange) !important;
    margin-bottom: 1.5rem;
}

/* H2 - Major Section Heading with Signature Orange Accent Underline */
body.single-pillar-pages .pillar-pages-content h2,
body.single-pillar-pages .pillar-pages-content .pillarheading,
body.single-pillar-pages article.type-pillar-pages .entry-content h2,
body.single-pillar-pages article.type-pillar-pages .entry-content .pillarheading {
    font-size: clamp(1.4rem, 3vw, 1.95rem);
    font-weight: 400;
    color: var(--pillar-orange) !important;
    margin: 2.75rem 0 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 3px solid var(--pillar-orange);
}

/* H3 - Secondary Subheading */
body.single-pillar-pages .pillar-pages-content h3,
body.single-pillar-pages article.type-pillar-pages .entry-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--pillar-navy) !important;
    margin: 2rem 0 0.85rem;
}

/* H4 - Feature Subheading (excluding FAQ accordion questions) */
body.single-pillar-pages .pillar-pages-content h4:not(.vc_toggle_title *),
body.single-pillar-pages article.type-pillar-pages .entry-content h4:not(.vc_toggle_title *),
body.single-pillar-pages .pillar-pages-content .vc_custom_heading:is(h4):not(.vc_toggle_title *),
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_custom_heading:is(h4):not(.vc_toggle_title *) {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--pillar-navy) !important;
    margin: 1.5rem 0 0.65rem;
}

/* H5, H6 */
body.single-pillar-pages .pillar-pages-content h5,
body.single-pillar-pages .pillar-pages-content h6,
body.single-pillar-pages article.type-pillar-pages .entry-content h5,
body.single-pillar-pages article.type-pillar-pages .entry-content h6 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--pillar-navy) !important;
    margin: 1.25rem 0 0.5rem;
}

/* --------------------------------------------------------------------------
   4. Paragraphs, Body Text, Bold & Links
   -------------------------------------------------------------------------- */
body.single-pillar-pages .pillar-pages-content,
body.single-pillar-pages article.type-pillar-pages .entry-content {
    font-family: var(--pillar-font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 300;
    color: var(--pillar-body-text);
}

body.single-pillar-pages .pillar-pages-content p,
body.single-pillar-pages article.type-pillar-pages .entry-content p {
    font-family: var(--pillar-font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 300;
    color: var(--pillar-body-text);
    margin: 0 0 1.35rem;
}

body.single-pillar-pages .pillar-pages-content strong,
body.single-pillar-pages .pillar-pages-content b,
body.single-pillar-pages article.type-pillar-pages .entry-content strong,
body.single-pillar-pages article.type-pillar-pages .entry-content b {
    font-weight: 600;
    color: var(--pillar-dark);
}

/* In-text Links */
body.single-pillar-pages .pillar-pages-content a:not(.vc_btn3):not(.vc_toggle_title):not(.button),
body.single-pillar-pages article.type-pillar-pages .entry-content a:not(.vc_btn3):not(.vc_toggle_title):not(.button) {
    color: var(--pillar-teal) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-weight: 400;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.single-pillar-pages .pillar-pages-content a:not(.vc_btn3):not(.vc_toggle_title):not(.button):hover,
body.single-pillar-pages article.type-pillar-pages .entry-content a:not(.vc_btn3):not(.vc_toggle_title):not(.button):hover {
    color: var(--pillar-orange) !important;
    text-decoration-color: var(--pillar-orange) !important;
}

/* --------------------------------------------------------------------------
   5. Lists (ul, ol, li)
   -------------------------------------------------------------------------- */
body.single-pillar-pages .pillar-pages-content ul,
body.single-pillar-pages article.type-pillar-pages .entry-content ul {
    margin: 0 0 1.5rem;
    padding-left: 1.75rem;
    list-style-type: disc;
    color: var(--pillar-body-text);
}

body.single-pillar-pages .pillar-pages-content ol,
body.single-pillar-pages article.type-pillar-pages .entry-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.75rem;
    list-style-type: decimal;
    color: var(--pillar-body-text);
}

body.single-pillar-pages .pillar-pages-content ul li,
body.single-pillar-pages .pillar-pages-content ol li,
body.single-pillar-pages article.type-pillar-pages .entry-content ul li,
body.single-pillar-pages article.type-pillar-pages .entry-content ol li {
    font-family: var(--pillar-font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 0.65rem;
    padding-left: 0.35rem;
}

body.single-pillar-pages .pillar-pages-content ul li::marker,
body.single-pillar-pages article.type-pillar-pages .entry-content ul li::marker {
    color: var(--pillar-teal);
    font-size: 1.15em;
}

body.single-pillar-pages .pillar-pages-content ol li::marker,
body.single-pillar-pages article.type-pillar-pages .entry-content ol li::marker {
    color: var(--pillar-teal);
    font-weight: 600;
    font-family: var(--pillar-font-heading);
}

/* --------------------------------------------------------------------------
   6. Tables (NO Gradient, Solid Sundays Deep Navy #13384D, Mobile Scroll)
   -------------------------------------------------------------------------- */
/* Responsive scroll wrapper (NO background, NO border, NO box-shadow) */
body.single-pillar-pages .pillar-table-responsive,
body.single-pillar-pages div:has(> table),
body.single-pillar-pages .wpb_text_column:has(> .wpb_wrapper > table) {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 2rem 0 2.5rem !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    scrollbar-width: thin;
    scrollbar-color: var(--pillar-teal) #EDF2F7;
}

body.single-pillar-pages .pillar-table-responsive::-webkit-scrollbar,
body.single-pillar-pages div:has(> table)::-webkit-scrollbar,
body.single-pillar-pages .wpb_text_column:has(> .wpb_wrapper > table)::-webkit-scrollbar {
    height: 7px;
}

body.single-pillar-pages .pillar-table-responsive::-webkit-scrollbar-track,
body.single-pillar-pages div:has(> table)::-webkit-scrollbar-track,
body.single-pillar-pages .wpb_text_column:has(> .wpb_wrapper > table)::-webkit-scrollbar-track {
    background: #EDF2F7;
    border-radius: 8px;
}

body.single-pillar-pages .pillar-table-responsive::-webkit-scrollbar-thumb,
body.single-pillar-pages div:has(> table)::-webkit-scrollbar-thumb,
body.single-pillar-pages .wpb_text_column:has(> .wpb_wrapper > table)::-webkit-scrollbar-thumb {
    background: var(--pillar-teal);
    border-radius: 8px;
}

/* Base table */
body.single-pillar-pages table {
    width: 100% !important;
    min-width: 580px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(54, 182, 209, 0.25) !important;
    box-shadow: 0 4px 18px rgba(19, 56, 77, 0.07) !important;
    font-family: var(--pillar-font-body) !important;
    font-size: 0.975rem !important;
    line-height: 1.6 !important;
    color: var(--pillar-dark) !important;
    margin: 0 !important;
}

/* Cells */
body.single-pillar-pages table td,
body.single-pillar-pages table th {
    padding: 1rem 1.25rem !important;
    border: none !important;
    border-bottom: 1px solid var(--pillar-border) !important;
    vertical-align: middle !important;
    text-align: left !important;
    font-size: 0.975rem !important;
    color: #4a5568 !important;
    background: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Header Row: Solid Sundays Navy #13384D (NO GRADIENT) with Teal bottom accent */
body.single-pillar-pages table thead th,
body.single-pillar-pages table thead td,
body.single-pillar-pages table > tr:first-child th,
body.single-pillar-pages table > tr:first-child td,
body.single-pillar-pages table > tbody > tr:first-child th,
body.single-pillar-pages table > tbody > tr:first-child td {
    background: #13384D !important;
    background-color: #13384D !important;
    background-image: none !important;
    color: #ffffff !important;
    font-family: var(--pillar-font-heading) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.35px !important;
    text-transform: capitalize !important;
    vertical-align: middle !important;
    padding: 1.15rem 1.25rem !important;
    border: none !important;
    border-bottom: 3px solid var(--pillar-teal) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.single-pillar-pages table thead th:last-child,
body.single-pillar-pages table thead td:last-child,
body.single-pillar-pages table > tr:first-child th:last-child,
body.single-pillar-pages table > tr:first-child td:last-child,
body.single-pillar-pages table > tbody > tr:first-child th:last-child,
body.single-pillar-pages table > tbody > tr:first-child td:last-child {
    border-right: none !important;
}

body.single-pillar-pages table thead th b,
body.single-pillar-pages table thead th strong,
body.single-pillar-pages table thead td b,
body.single-pillar-pages table thead td strong,
body.single-pillar-pages table > tr:first-child th b,
body.single-pillar-pages table > tr:first-child th strong,
body.single-pillar-pages table > tr:first-child td b,
body.single-pillar-pages table > tr:first-child td strong,
body.single-pillar-pages table > tbody > tr:first-child th b,
body.single-pillar-pages table > tbody > tr:first-child th strong,
body.single-pillar-pages table > tbody > tr:first-child td b,
body.single-pillar-pages table > tbody > tr:first-child td strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Header Top Corner Rounding */
body.single-pillar-pages table thead tr:first-child th:first-child,
body.single-pillar-pages table thead tr:first-child td:first-child,
body.single-pillar-pages table > tr:first-child th:first-child,
body.single-pillar-pages table > tr:first-child td:first-child,
body.single-pillar-pages table > tbody > tr:first-child th:first-child,
body.single-pillar-pages table > tbody > tr:first-child td:first-child {
    border-top-left-radius: 11px !important;
}

body.single-pillar-pages table thead tr:first-child th:last-child,
body.single-pillar-pages table thead tr:first-child td:last-child,
body.single-pillar-pages table > tr:first-child th:last-child,
body.single-pillar-pages table > tr:first-child td:last-child,
body.single-pillar-pages table > tbody > tr:first-child th:last-child,
body.single-pillar-pages table > tbody > tr:first-child td:last-child {
    border-top-right-radius: 11px !important;
}

/* Zebra Striping */
body.single-pillar-pages table:not(:has(thead)) > tbody > tr:nth-child(odd):not(:first-child) td,
body.single-pillar-pages table:not(:has(thead)) > tbody > tr:nth-child(odd):not(:first-child) th,
body.single-pillar-pages table thead + tbody tr:nth-child(even) td,
body.single-pillar-pages table thead + tbody tr:nth-child(even) th,
body.single-pillar-pages table:has(thead) > tbody > tr:nth-child(even) td,
body.single-pillar-pages table:has(thead) > tbody > tr:nth-child(even) th {
    background-color: #F8FAFC !important;
}

/* First Column: Semi-bold Deep Navy Label */
body.single-pillar-pages table thead + tbody tr td:first-child,
body.single-pillar-pages table thead + tbody tr th:first-child,
body.single-pillar-pages table > tbody > tr:not(:first-child) td:first-child,
body.single-pillar-pages table > tbody > tr:not(:first-child) th:first-child {
    font-weight: 600 !important;
    color: var(--pillar-navy) !important;
    border-right: 1px solid var(--pillar-border) !important;
    background-color: rgba(19, 56, 77, 0.025);
}

body.single-pillar-pages table:not(:has(thead)) > tbody > tr:nth-child(odd):not(:first-child) td:first-child,
body.single-pillar-pages table thead + tbody tr:nth-child(even) td:first-child,
body.single-pillar-pages table:has(thead) > tbody > tr:nth-child(even) td:first-child {
    background-color: rgba(19, 56, 77, 0.05) !important;
}

/* Row Hover */
body.single-pillar-pages table thead + tbody tr:hover td,
body.single-pillar-pages table thead + tbody tr:hover th,
body.single-pillar-pages table > tbody > tr:not(:first-child):hover td,
body.single-pillar-pages table > tbody > tr:not(:first-child):hover th {
    background-color: rgba(54, 182, 209, 0.08) !important;
    color: var(--pillar-navy) !important;
}

body.single-pillar-pages table thead + tbody tr:hover td:first-child,
body.single-pillar-pages table > tbody > tr:not(:first-child):hover td:first-child {
    background-color: rgba(54, 182, 209, 0.14) !important;
}

/* Last Row Bottom Corners */
body.single-pillar-pages table tbody tr:last-child td,
body.single-pillar-pages table tbody tr:last-child th {
    border-bottom: none !important;
}

body.single-pillar-pages table tbody tr:last-child td:first-child,
body.single-pillar-pages table tbody tr:last-child th:first-child {
    border-bottom-left-radius: 11px !important;
}

body.single-pillar-pages table tbody tr:last-child td:last-child,
body.single-pillar-pages table tbody tr:last-child th:last-child {
    border-bottom-right-radius: 11px !important;
}

/* --------------------------------------------------------------------------
   7. FAQ Accordion (.vc_toggle, .vc_do_toggle)
   -------------------------------------------------------------------------- */
body.single-pillar-pages .pillar-pages-content .vc_do_toggle,
body.single-pillar-pages .pillar-pages-content .vc_toggle,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_do_toggle,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle {
    margin: 0 0 0.85rem;
    border: 1px solid var(--pillar-border);
    border-radius: var(--pillar-radius);
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(33, 33, 33, 0.04);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.single-pillar-pages .pillar-pages-content .vc_do_toggle:hover,
body.single-pillar-pages .pillar-pages-content .vc_toggle:hover,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_do_toggle:hover,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle:hover {
    border-color: var(--pillar-teal-light);
    box-shadow: 0 4px 16px rgba(54, 182, 209, 0.15);
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_title,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_title {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem !important;
    cursor: pointer;
    background: #F8FAFC;
    position: relative;
    transition: background 0.2s ease;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_title:hover,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_title:hover {
    background: rgba(88, 222, 250, 0.12);
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_title h4,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_title h4 {
    display: block !important;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-family: var(--pillar-font-heading) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: var(--pillar-dark) !important;
    line-height: 1.45 !important;
    text-transform: none;
}

/* Circular Teal Badge with White '+' */
body.single-pillar-pages .pillar-pages-content .vc_toggle_icon,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    order: -1;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex: 0 0 1.85rem;
    width: 1.85rem !important;
    height: 1.85rem !important;
    min-width: 1.85rem;
    margin: 0 !important;
    border: none !important;
    border-radius: 50%;
    background: var(--pillar-teal) !important;
    box-shadow: none !important;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_icon::before,
body.single-pillar-pages .pillar-pages-content .vc_toggle_icon::after,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_icon::before,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_icon::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_icon::before,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_icon::before {
    content: '+' !important;
    display: block !important;
    font-family: var(--pillar-font-heading);
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
    color: #ffffff;
}

/* Active FAQ Item: Turns Orange with '–' */
body.single-pillar-pages .pillar-pages-content .vc_toggle_active .vc_toggle_icon,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_active .vc_toggle_icon {
    background: var(--pillar-orange) !important;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_active .vc_toggle_icon::before,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_active .vc_toggle_icon::before {
    content: '–' !important;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_active .vc_toggle_title,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_active .vc_toggle_title {
    background: rgba(219, 88, 0, 0.06);
    border-bottom: 1px solid var(--pillar-border);
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_content,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_content {
    padding: 0 1.25rem 0 calc(1.25rem + 1.85rem + 0.9rem) !important;
    margin: 0 !important;
    background: #ffffff !important;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_active .vc_toggle_content,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_active .vc_toggle_content {
    padding: 1rem 1.25rem 1.25rem calc(1.25rem + 1.85rem + 0.9rem) !important;
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_content p,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_content p {
    margin-bottom: 0.85rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pillar-body-text);
}

body.single-pillar-pages .pillar-pages-content .vc_toggle_content p:last-child,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_content p:last-child {
    margin-bottom: 0;
}

body.single-pillar-pages .pillar-pages-content .pillarheading + .vc_do_toggle,
body.single-pillar-pages .pillar-pages-content .pillarheading + .vc_toggle,
body.single-pillar-pages .pillar-pages-content h2.pillarheading {
    margin-top: 2rem;
}

body.single-pillar-pages .pillar-pages-content .vc_do_toggle:first-of-type,
body.single-pillar-pages .pillar-pages-content .vc_toggle:first-of-type {
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   8. Buttons, Blockquotes, Images & Media
   -------------------------------------------------------------------------- */
body.single-pillar-pages .pillar-pages-content .vc_btn3-container,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_btn3-container {
    margin: 1.75rem 0 2rem;
    text-align: center;
}

body.single-pillar-pages .pillar-pages-content .vc_btn3,
body.single-pillar-pages .pillar-pages-content a.vc_general.vc_btn3,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_btn3,
body.single-pillar-pages article.type-pillar-pages .entry-content a.vc_general.vc_btn3 {
    display: inline-block;
    padding: 0.85rem 2.2rem !important;
    font-family: var(--pillar-font-heading) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    background: var(--pillar-teal) !important;
    color: #ffffff !important;
    border: 2px solid var(--pillar-teal) !important;
    box-shadow: 0 4px 14px rgba(54, 182, 209, 0.25);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

body.single-pillar-pages .pillar-pages-content .vc_btn3:hover,
body.single-pillar-pages .pillar-pages-content a.vc_general.vc_btn3:hover,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_btn3:hover,
body.single-pillar-pages article.type-pillar-pages .entry-content a.vc_general.vc_btn3:hover {
    background: var(--pillar-orange) !important;
    border-color: var(--pillar-orange) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(219, 88, 0, 0.3);
}

body.single-pillar-pages .pillar-pages-content .blue-btn .vc_btn3,
body.single-pillar-pages .pillar-pages-content .vc_btn3-color-blue,
body.single-pillar-pages article.type-pillar-pages .entry-content .blue-btn .vc_btn3,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_btn3-color-blue {
    background: var(--pillar-teal-light) !important;
    border-color: var(--pillar-teal-light) !important;
}

body.single-pillar-pages .pillar-pages-content blockquote,
body.single-pillar-pages article.type-pillar-pages .entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--pillar-teal);
    background: rgba(54, 182, 209, 0.05);
    border-radius: 0 var(--pillar-radius) var(--pillar-radius) 0;
    font-style: italic;
    color: var(--pillar-muted);
}

body.single-pillar-pages .pillar-pages-content img,
body.single-pillar-pages article.type-pillar-pages .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pillar-radius);
}

body.single-pillar-pages .pillar-pages-content .wpb_single_image,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb_single_image {
    margin: 1.5rem 0 2rem;
    text-align: center;
}

body.single-pillar-pages .pillar-pages-content .wpb_single_image img,
body.single-pillar-pages article.type-pillar-pages .entry-content .wpb_single_image img {
    box-shadow: var(--pillar-shadow);
}

body.single-pillar-pages .pillar-pages-content iframe,
body.single-pillar-pages .pillar-pages-content video,
body.single-pillar-pages article.type-pillar-pages .entry-content iframe,
body.single-pillar-pages article.type-pillar-pages .entry-content video {
    max-width: 100%;
    border-radius: var(--pillar-radius);
}

body.single-pillar-pages .pillar-pages-content .vc_empty_space,
body.single-pillar-pages article.type-pillar-pages .entry-content .vc_empty_space {
    max-height: 2rem;
}

/* --------------------------------------------------------------------------
   9. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    body.single-pillar-pages header .BannerImageInnerpage,
    body.single-pillar-pages header .BannerImage.Innerpage {
        max-height: none !important;
        overflow: visible;
    }

    body.single-pillar-pages header .BannerImageInnerpage > img.BannerMainIMage,
    body.single-pillar-pages header .BannerImageInnerpage > img.BannerImage,
    body.single-pillar-pages header .BannerImage.Innerpage > img.BannerMainIMage,
    body.single-pillar-pages header .BannerImage.Innerpage > img.BannerImage,
    body.single-pillar-pages header .BannerImageInnerpage::after,
    body.single-pillar-pages header .BannerImage.Innerpage::after {
        height: 70vh;
        max-height: 70vh;
    }

    body.single-pillar-pages .pillar-pages-shell {
        padding: 1.75rem 0 3rem;
    }

    body.single-pillar-pages .pillar-pages-content,
    body.single-pillar-pages article.type-pillar-pages .entry-content {
        width: 85%;
        max-width: 85%;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    body.single-pillar-pages .pillar-table-responsive,
    body.single-pillar-pages div:has(> table),
    body.single-pillar-pages .wpb_text_column:has(> .wpb_wrapper > table) {
        margin: 1.5rem 0 2rem !important;
    }

    body.single-pillar-pages table {
        min-width: 500px !important;
        font-size: 0.9rem !important;
    }

    body.single-pillar-pages table thead th,
    body.single-pillar-pages table thead td,
    body.single-pillar-pages table > tr:first-child th,
    body.single-pillar-pages table > tr:first-child td,
    body.single-pillar-pages table > tbody > tr:first-child th,
    body.single-pillar-pages table > tbody > tr:first-child td {
        padding: 0.95rem 1rem !important;
        font-size: 0.95rem !important;
    }

    body.single-pillar-pages table td,
    body.single-pillar-pages table th {
        padding: 0.85rem 1rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 575px) {
    body.single-pillar-pages header .BannerImageInnerpage > img.BannerMainIMage,
    body.single-pillar-pages header .BannerImageInnerpage > img.BannerImage,
    body.single-pillar-pages header .BannerImage.Innerpage > img.BannerMainIMage,
    body.single-pillar-pages header .BannerImage.Innerpage > img.BannerImage,
    body.single-pillar-pages header .BannerImageInnerpage::after,
    body.single-pillar-pages header .BannerImage.Innerpage::after {
        height: 60vh;
        max-height: 60vh;
    }

    body.single-pillar-pages header .BannerImageInnerpage .banner-content,
    body.single-pillar-pages header .BannerImage.Innerpage .banner-content {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100%;
        padding: 1.5rem 1rem;
    }

    body.single-pillar-pages .pillar-pages-shell {
        padding: 1.25rem 0 2.5rem;
    }

    body.single-pillar-pages .pillar-pages-content,
    body.single-pillar-pages article.type-pillar-pages .entry-content {
        width: 92%;
        max-width: 92%;
    }

    body.single-pillar-pages .pillar-pages-content .vc_toggle_title,
    body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_title {
        padding: 0.95rem 1rem !important;
        gap: 0.7rem;
    }

    body.single-pillar-pages .pillar-pages-content .vc_toggle_title h4,
    body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_title h4 {
        font-size: 0.975rem !important;
    }

    body.single-pillar-pages .pillar-pages-content .vc_toggle_content,
    body.single-pillar-pages .pillar-pages-content .vc_toggle_active .vc_toggle_content,
    body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_content,
    body.single-pillar-pages article.type-pillar-pages .entry-content .vc_toggle_active .vc_toggle_content {
        padding: 0.75rem 1rem 1rem calc(1rem + 1.85rem + 0.7rem) !important;
    }
}
