/* ==========================================================================
   Industry Page 2026 — common middle-section styles (all industry pages)
   Ported from the standalone prototypes (Banks, Credit Unions, FinTechs,
   Financial Services, Investment/Wealth, MSBs, Mortgage Bankers).
   Every rule is parent-locked to the single root .ind26 so nothing matches an
   element outside the page content. Keyframes are prefixed ind26-. !important
   is used only where the legacy theme (or the scoped reset below) would
   otherwise win on equal-or-higher specificity — the same approach as the
   .h26 home / .p26 product / .ip26 inner-page templates. Purely visual
   properties (transform, transition, box-shadow, gradients) carry no
   !important.
   ========================================================================== */

/* ---------- Scoped reset ---------- */
.ind26, .ind26 *, .ind26 *::before, .ind26 *::after { box-sizing: border-box; }
.ind26 {
    overflow: hidden;
    font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
    color: #14243f;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.ind26 h1, .ind26 h2, .ind26 h3, .ind26 h4, .ind26 h5, .ind26 h6, .ind26 p, .ind26 ul, .ind26 ol, .ind26 figure { margin: 0 !important; padding: 0 !important; }
.ind26 ul, .ind26 ol, .ind26 li { list-style: none !important; }
.ind26 li::before, .ind26 li::after { content: none !important; }
.ind26 a { color: #23a58b; text-decoration: none !important; background: none !important; }
.ind26 a:hover { color: #1c8d76; }
.ind26 img { display: block; max-width: 100%; height: auto; border: 0 !important; }
.ind26 button, .ind26 input, .ind26 select, .ind26 textarea { font: inherit; margin: 0; color: inherit; letter-spacing: normal; }
.ind26 button { cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
.ind26 h1, .ind26 h2, .ind26 h3 { font-family: 'Archivo', 'Public Sans', system-ui, sans-serif; font-weight: 800 !important; color: #0a1e3c; }
.ind26 a:focus-visible, .ind26 button:focus-visible { outline: 2px solid #206ea9 !important; outline-offset: 2px; }
/* Keep the [hidden] attribute authoritative even where a component sets display (tabs/accordion) */
.ind26 [hidden] { display: none !important; }

/* ---------- WordPress the_content() hardening ----------
   The section markup is pasted into the page editor, where wpautop injects
   empty <p> and stray <br> between block-level elements. This template's
   markup uses none intentionally, so neutralise them (prevents phantom grid
   cells and rogue gaps — the issue first seen on the About page overview). */
.ind26 p:empty { display: none !important; }
.ind26 br { display: none !important; }

/* ---------- Keyframes ---------- */
@keyframes ind26-fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ind26-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Shared eyebrow ---------- */
.ind26 .ind26-eyebrow { font-family: 'Archivo', sans-serif; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .16em !important; color: #8695ae !important; text-transform: uppercase; }
.ind26 .ind26-eyebrow.teal { color: #0e7c86 !important; }

/* ---------- Buttons ---------- */
.ind26 .ind26-btn { background: #206ea9 !important; color: #fff !important; font-family: 'Public Sans', sans-serif; font-size: 14.5px !important; font-weight: 700 !important; padding: 14px 26px !important; border-radius: 8px; display: inline-flex; align-items: center; min-height: 46px; transition: background .16s, transform .16s, box-shadow .16s; box-shadow: 0 6px 13px rgba(32,110,169,.16); }
.ind26 .ind26-btn:hover { background: #185f92 !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 18px rgba(32,110,169,.25); }
.ind26 .ind26-btn-teal { background: #23a58b !important; color: #fff !important; font-family: 'Public Sans', sans-serif; font-size: 13.5px !important; font-weight: 700 !important; padding: 12px 22px !important; border-radius: 8px; display: inline-flex; align-items: center; align-self: flex-start; transition: background .2s, transform .2s; }
.ind26 .ind26-btn-teal:hover { background: #1c8d76 !important; color: #fff !important; transform: translateY(-2px); }
.ind26 .ind26-textlink { color: #23a58b !important; font-size: 13px !important; font-weight: 700 !important; white-space: nowrap; }
.ind26 .ind26-textlink:hover { color: #1c8d76 !important; }

/* ---------- Breadcrumb ---------- */
.ind26 .ind26-breadcrumb { background: #fff; border-bottom: 1px solid #e4e9f2; }
.ind26 .ind26-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 1280px; margin: 0 auto !important; padding: 11px 44px !important; font-size: 12px; color: #7b89a3; }
.ind26 .ind26-breadcrumb a { color: #7b89a3; }
.ind26 .ind26-breadcrumb a:hover { color: #206ea9; }
.ind26 .ind26-breadcrumb li[aria-current] { color: #1b2c49; font-weight: 600; }

/* ---------- Hero ---------- */
.ind26 .ind26-hero { background: #f4f6fa; border-bottom: 1px solid #e4e9f2; padding: 52px max(44px, calc((100vw - 1192px) / 2)); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: stretch; }
.ind26 .ind26-hero-content { min-width: 0; animation: ind26-fadeUp .7s ease both; }
.ind26 .ind26-flag { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; background: #fff; border: 1px solid #dce3ef; padding: 6px 12px; border-radius: 24px; font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #0a1e3c; }
.ind26 .ind26-flag-dot { width: 18px; height: 18px; border-radius: 5px; background: #0e7c86; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ind26 .ind26-flag-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.ind26 .ind26-hero .ind26-eyebrow { display: block; margin-bottom: 10px; }
.ind26 .ind26-hero h1 { font-family: 'Archivo', sans-serif; font-size: clamp(30px, 3.6vw, 44px) !important; line-height: 1.06 !important; letter-spacing: -.02em !important; margin-bottom: 16px !important; text-wrap: pretty; }
.ind26 .ind26-hero-sub { font-size: 15px !important; line-height: 1.5 !important; color: #3f4e68 !important; margin-bottom: 24px !important; letter-spacing: -.005em; text-wrap: balance; max-width: 640px; }
.ind26 .ind26-hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ind26 .ind26-hero-visual { height: 100%; min-height: 330px; width: 100%; place-self: center end; border-radius: 14px; overflow: hidden; border: 1px solid #dce3ef; background: #eef2f8; box-shadow: 0 22px 50px -22px rgba(10,30,60,.4); }
.ind26 .ind26-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Customer logos (marquee) ---------- */
.ind26 .ind26-logos { padding: 40px 0 34px; background: #fff; border-bottom: 1px solid #e4e9f2; overflow: hidden; }
.ind26 .ind26-logos-title { font-family: 'Archivo', sans-serif; font-size: 10.5px !important; font-weight: 800 !important; letter-spacing: .18em !important; color: #8695ae !important; text-transform: uppercase; text-align: center; padding: 0 44px; }
.ind26 .ind26-logos-mask { position: relative; margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ind26 .ind26-logos-track { display: flex; width: max-content; animation: ind26-marquee 34s linear infinite; }
.ind26 .ind26-logos-mask:hover .ind26-logos-track { animation-play-state: paused; }
.ind26 .ind26-logos-item { flex: 0 0 auto; width: 216px; height: 64px; display: flex; align-items: center; justify-content: center; padding: 0 22px; }
.ind26 .ind26-logos-item img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%) brightness(.62) contrast(1.15); }
/* [clients-logos-carousel-html-2026] shortcode support: it outputs a bare
   <div class="p26-logos-track"> (product-page markup) with no animation CSS.
   Give it the same marquee behaviour when dropped inside the .ind26-logos
   section so the carousel runs on industry pages too. For a seamless loop,
   duplicate the logo <img> list in the shortcode's source page. */
.ind26 .ind26-logos .p26-logos-track { display: flex; width: max-content; align-items: center; gap: 44px; flex: 0 0 auto; animation: ind26-marquee 60s linear infinite; }
.ind26 .ind26-logos:hover .p26-logos-track { animation-play-state: paused; }
/* Match the product-page treatment: grayscale + opacity (no brightness/contrast,
   which turns the logos' white JPEG backgrounds into grey boxes); colour on hover. */
.ind26 .ind26-logos .p26-logos-track img { flex: 0 0 auto; height: 44px !important; width: auto !important; max-height: 44px; object-fit: contain; background: none !important; filter: grayscale(1) opacity(.7); transition: filter .35s ease, transform .35s ease; }
.ind26 .ind26-logos .p26-logos-track img:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }

/* ---------- Proof band ---------- */
.ind26 .ind26-proof { padding: 56px 44px; background: linear-gradient(#eaf1fc 0%, #dce8fa 100%); border-bottom: 1px solid #e4e9f2; }
.ind26 .ind26-proof-inner { max-width: 1112px; margin: 0 auto; }
.ind26 .ind26-proof-head { display: flex; align-items: center; gap: 14px; }
.ind26 .ind26-proof-head .ind26-eyebrow { font-size: 10.5px !important; letter-spacing: .18em !important; white-space: nowrap; }
.ind26 .ind26-proof-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #b9cdec, rgba(185,205,236,0)); }
.ind26 .ind26-proof-grid { display: flex; flex-wrap: nowrap; gap: 0; margin-top: 30px; }
.ind26 .ind26-stat { flex: 1 1 0; min-width: 0; padding: 6px 20px 4px 0; }
.ind26 .ind26-stat::before { content: ''; display: block; width: 34px; height: 4px; border-radius: 2px; background: #23a58b; }
.ind26 .ind26-stat strong { display: block; font-family: 'Archivo', sans-serif; font-size: 44px; font-weight: 800; color: #0a1e3c; letter-spacing: -.03em; line-height: 1; margin-top: 16px; }
.ind26 .ind26-stat span { display: block; font-size: 13px; line-height: 1.55; color: #59698a; margin-top: 12px; }

/* ---------- Personas (tabbed) ---------- */
.ind26 .ind26-personas { padding: 48px max(44px, calc((100vw - 1192px) / 2)); background: #fff; border-bottom: 1px solid #e4e9f2; }
.ind26 .ind26-personas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.ind26 .ind26-personas-head > div { max-width: 560px; }
.ind26 .ind26-personas-head h2 { font-size: 26px !important; margin-top: 9px !important; line-height: 1.2 !important; }
.ind26 .ind26-tablist { display: flex; gap: 6px; background: #f1f4f9; border: 1px solid #e4e9f2; padding: 5px; border-radius: 10px; }
.ind26 .ind26-tab { font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 7px; background: transparent; color: #59698a; transition: background .2s, color .2s; }
.ind26 .ind26-tab[aria-selected="true"] { background: #0a1e3c; color: #fff; }
.ind26 .ind26-persona-panel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: stretch; animation: ind26-fadeUp .4s ease both; }
.ind26 .ind26-persona-panel[hidden] { display: none; }
.ind26 .ind26-persona-card { grid-column: span 2; background: linear-gradient(150deg, #0a1e3c, #123059); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; }
.ind26 .ind26-persona-role { font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #5fd3bc; margin-bottom: 12px; }
.ind26 .ind26-persona-card h3 { font-size: 23px !important; color: #fff !important; line-height: 1.2 !important; margin-bottom: 12px !important; text-wrap: pretty; }
.ind26 .ind26-persona-card p { font-size: 14.5px !important; line-height: 1.65 !important; color: rgba(255,255,255,.72) !important; flex: 1 1 0; margin-bottom: 22px !important; }
.ind26 .ind26-persona-stats { display: flex; flex-direction: column; gap: 12px; }
.ind26 .ind26-persona-stat { border: 1px solid #dce3ef; border-radius: 12px; padding: 18px; background: #fbfcfe; flex: 1 1 0; }
.ind26 .ind26-persona-stat strong { display: block; font-family: 'Archivo', sans-serif; font-size: 22px; font-weight: 800; color: #0a1e3c; line-height: 1; margin-bottom: 7px; }
.ind26 .ind26-persona-stat span { display: block; font-size: 12.5px; line-height: 1.5; color: #59698a; font-weight: 600; }

/* ---------- Evaluation FAQ (dark) ---------- */
.ind26 .ind26-faq { padding: 64px 44px; background: #0a1e3c; }
.ind26 .ind26-faq-inner { max-width: 1112px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 44px; align-items: start; }
.ind26 .ind26-faq-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Archivo', sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: #5fd3bc; text-transform: uppercase; }
.ind26 .ind26-faq-eyebrow::before { content: ''; width: 22px; height: 2px; background: #23a58b; display: inline-block; }
.ind26 .ind26-faq-left h2 { font-size: 32px !important; color: #fff !important; margin-top: 13px !important; line-height: 1.12 !important; letter-spacing: -.018em !important; text-wrap: balance; }
.ind26 .ind26-faq-left p { font-size: 14.5px !important; line-height: 1.7 !important; color: #a9bad6 !important; margin-top: 14px !important; }
.ind26 .ind26-faq-list { display: flex; flex-direction: column; }
.ind26 .ind26-faq-item { border-top: 1px solid rgba(255,255,255,.13); }
.ind26 .ind26-faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.ind26 .ind26-faq-btn { width: 100%; padding: 20px 0; display: grid; grid-template-columns: 40px 1fr 26px; gap: 12px; align-items: start; text-align: left; }
.ind26 .ind26-faq-num { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 11.5px; font-weight: 600; color: #5fd3bc; padding-top: 3px; }
.ind26 .ind26-faq-q { font-family: 'Archivo', sans-serif; font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.35; text-wrap: balance; }
.ind26 .ind26-faq-icon { font-family: 'Archivo', sans-serif; font-size: 20px; font-weight: 700; color: #5fd3bc; line-height: 1; justify-self: end; }
.ind26 .ind26-faq-panel { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 0 0 22px; }
.ind26 .ind26-faq-panel > span { display: block; }
.ind26 .ind26-faq-panel p { font-size: 13.5px !important; line-height: 1.72 !important; color: #c6d4ea !important; border-left: 2px solid #23a58b; padding-left: 16px !important; }

/* ---------- Related resources ---------- */
.ind26 .ind26-related { padding: 48px max(44px, calc((100vw - 1192px) / 2)); background: #fff; border-bottom: 1px solid #e4e9f2; }
.ind26 .ind26-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ind26 .ind26-related-head h2 { font-size: 24px !important; }
.ind26 .ind26-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind26 .ind26-res-card { border: 1px solid #e4e9f2; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.ind26 .ind26-res-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(10,30,60,.1); border-color: #cbdae8; }
.ind26 .ind26-res-thumb { height: 248px; background: repeating-linear-gradient(135deg, #f4f6fa, #f4f6fa 9px, #edf1f7 9px, #edf1f7 18px); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e4e9f2; overflow: hidden; }
.ind26 .ind26-res-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ind26 .ind26-res-body { padding: 18px; }
.ind26 .ind26-res-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ind26 .ind26-res-badge { font-family: 'Archivo', sans-serif; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; color: #0e7c86; background: #e6f3f4; padding: 3px 8px; border-radius: 4px; }
.ind26 .ind26-res-meta em { font-style: normal; font-size: 10.5px; color: #8695ae; }
.ind26 .ind26-res-card b { display: block; font-family: 'Archivo', sans-serif; font-size: 15.5px; font-weight: 700; color: #0a1e3c; line-height: 1.3; text-wrap: pretty; }

/* ---------- Sticky CTA bar (Financial Services) ---------- */
.ind26 .ind26-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #0a1e3c; border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 -12px 30px -12px rgba(10,30,60,.45); padding: 14px clamp(16px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.ind26 .ind26-sticky.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.ind26 .ind26-sticky-copy { min-width: 0; flex: 1 1 260px; }
.ind26 .ind26-sticky-copy strong { display: block; font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.25; }
.ind26 .ind26-sticky-copy span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.ind26 .ind26-sticky-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ind26 .ind26-sticky-actions .ind26-btn { font-size: 13.5px !important; padding: 11px 22px !important; min-height: 44px; border-radius: 7px; box-shadow: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media only screen and (max-width: 991px) {
    .ind26 .ind26-proof-grid { flex-wrap: wrap; }
    .ind26 .ind26-stat { flex: 1 1 42%; }
    .ind26 .ind26-persona-panel { grid-template-columns: 1fr 1fr; }
    .ind26 .ind26-persona-card { grid-column: span 2; }
    .ind26 .ind26-persona-stats { flex-direction: row; }
}
@media only screen and (max-width: 900px) {
    .ind26 .ind26-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; padding-bottom: 44px; }
    .ind26 .ind26-hero-visual { place-self: stretch; min-height: 240px; }
}
@media only screen and (max-width: 768px) {
    .ind26 .ind26-hero, .ind26 .ind26-personas, .ind26 .ind26-related { padding-left: 20px; padding-right: 20px; }
    .ind26 .ind26-proof, .ind26 .ind26-faq { padding-left: 20px; padding-right: 20px; }
    .ind26 .ind26-breadcrumb ol { padding: 11px 20px !important; }
    .ind26 .ind26-personas-head { align-items: stretch; }
    .ind26 .ind26-related-grid { grid-template-columns: 1fr 1fr; }
    .ind26 .ind26-tablist { overflow-x: auto; }
}
@media only screen and (max-width: 600px) {
    .ind26 .ind26-proof-grid { flex-direction: column; gap: 24px; }
    .ind26 .ind26-stat { flex: 1 1 auto; padding-right: 0; }
    .ind26 .ind26-persona-panel { grid-template-columns: 1fr; }
    .ind26 .ind26-persona-card { grid-column: span 1; }
    .ind26 .ind26-persona-stats { flex-direction: column; }
    .ind26 .ind26-related-grid { grid-template-columns: 1fr; }
    .ind26 .ind26-faq-btn { grid-template-columns: 28px 1fr 22px; }
    .ind26 .ind26-faq-panel { grid-template-columns: 28px 1fr; }
    .ind26 .ind26-sticky-actions { width: 100%; }
    .ind26 .ind26-sticky-actions .ind26-btn { flex: 1; justify-content: center; }
}

/* ---------- Reduced motion (WCAG 2.3.3 / 2.2.2) ---------- */
@media (prefers-reduced-motion: reduce) {
    .ind26 *, .ind26 *::before, .ind26 *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
