/*
Theme Name: FinmaxTech
Theme URI: https://www.finmaxtech.com/
Author: FinmaxTech LLC
Author URI: https://www.finmaxtech.com/
Description: Custom theme for FinmaxTech LLC: trade lifecycle and post-trade processing software for capital markets. On activation it creates the Home, Our Team, Blog and five product pages, sets the front page and blog page, and adds a working consultation request form.
Version: 2.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: finmaxtech
*/

@font-face{font-family:'Sora';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/sora-500.woff2') format('woff2')}@font-face{font-family:'Sora';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/sora-600.woff2') format('woff2')}@font-face{font-family:'Sora';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/sora-700.woff2') format('woff2')}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/ibm-plex-sans-400.woff2') format('woff2')}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/ibm-plex-sans-500.woff2') format('woff2')}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/ibm-plex-sans-600.woff2') format('woff2')}@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/ibm-plex-mono-500.woff2') format('woff2')}
/*
Theme Name: FinmaxTech
Theme URI: https://www.finmaxtech.com/
Author: FinmaxTech LLC
Description: Custom theme for FinmaxTech LLC — trade lifecycle and post-trade processing software for capital markets. Homepage, Products, Services, Who we serve, About, Careers and Contact pages, consultation request form, and built-in search metadata and structured data.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: finmaxtech
*/

:root {
	--fmx-blue: #1565C0;
	--fmx-blue-dark: #0B3F82;
	--fmx-link: #1259B3;
	--fmx-orange: #F28C1C;
	--fmx-orange-text: #A85600;
	--fmx-navy: #0A1628;
	--fmx-navy-2: #11223A;
	--fmx-navy-3: #172C49;
	--fmx-navy-line: #22395A;
	--fmx-navy-input: #3A4D66;
	--fmx-ground: #F4F6F9;
	--fmx-white: #FFFFFF;
	--fmx-line: #E1E6EE;
	--fmx-text: #0A1628;
	--fmx-muted: #475569;
	--fmx-muted-dark: #C3CEDC;
	--fmx-muted-dark-2: #9BAEC5;
	--fmx-sky: #7CC4FF;
	--fmx-green: #3DD68C;
	--fmx-display: 'Sora', sans-serif;
	--fmx-body: 'IBM Plex Sans', system-ui, sans-serif;
	--fmx-mono: 'IBM Plex Mono', ui-monospace, monospace;
	--fmx-shadow: 0 1px 2px rgba(10,22,40,.05), 0 8px 24px -12px rgba(10,22,40,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--fmx-ground); color: var(--fmx-text); font-family: var(--fmx-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--fmx-link); text-decoration: none; }
a:hover { color: var(--fmx-blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--fmx-orange); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 6px; }

.fmx-wrap { max-width: 1200px; margin: 0 auto; }
.fmx-section { padding: 64px 24px; }
.fmx-section--white { background: var(--fmx-white); border-top: 1px solid var(--fmx-line); border-bottom: 1px solid var(--fmx-line); }
.fmx-section--dark { background: var(--fmx-navy); color: var(--fmx-white); }
.fmx-stack { display: flex; flex-direction: column; }
.fmx-intro { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.fmx-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 64px; align-items: start; }

.fmx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fmx-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fmx-link); }
.fmx-eyebrow--orange { color: var(--fmx-orange-text); }
.fmx-section--dark .fmx-eyebrow, .fmx-hero .fmx-eyebrow, .fmx-pagehead .fmx-eyebrow { color: var(--fmx-orange); }
.fmx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fmx-green); box-shadow: 0 0 0 4px rgba(61,214,140,.18); flex: none; }
.fmx-h1 { margin: 0; font-family: var(--fmx-display); font-weight: 700; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.fmx-h2 { margin: 0; font-family: var(--fmx-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
.fmx-hl { color: var(--fmx-sky); }
.fmx-lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--fmx-muted); }
.fmx-section--dark .fmx-lead { color: var(--fmx-muted-dark); }

.fmx-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 16px; line-height: 1.2; border: 0; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, transform .15s; }
.fmx-btn--primary { background: var(--fmx-blue); color: #fff; box-shadow: 0 6px 20px -8px rgba(21,101,192,.7); }
.fmx-btn--primary:hover { background: var(--fmx-blue-dark); color: #fff; transform: translateY(-1px); }
.fmx-btn--ghost { color: #fff; border: 1px solid var(--fmx-navy-input); }
.fmx-btn--ghost:hover { color: #fff; border-color: var(--fmx-muted-dark-2); background: rgba(255,255,255,.04); }
.fmx-btn--outline { border: 1px solid var(--fmx-link); }
.fmx-btn--outline:hover { background: #EEF4FC; }

/* Header */
.fmx-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--fmx-line); }
.admin-bar .fmx-header { top: 32px; }
.fmx-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.fmx-logo img, .fmx-logo .custom-logo { height: 40px; width: auto; display: block; }
.fmx-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; font-size: 15px; font-weight: 500; }
.fmx-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.fmx-nav ul > li { display: flex; align-items: center; }
.fmx-nav ul a { display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; color: #253247; padding: 8px 0 6px; border-bottom: 2px solid transparent; }
.fmx-nav ul a:hover, .fmx-nav .current-menu-item > a { color: var(--fmx-link); border-bottom-color: var(--fmx-orange); }
.fmx-nav .fmx-btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Hero */
.fmx-hero { position: relative; overflow: hidden; background: var(--fmx-navy); color: #fff; padding: 64px 24px 72px; }
.fmx-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,196,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,196,255,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); pointer-events: none; }
.fmx-hero > .fmx-wrap { position: relative; }
.fmx-hero .fmx-split { align-items: center; }
.fmx-hero__copy { gap: 26px; }
.fmx-hero__copy > p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--fmx-muted-dark); max-width: 580px; }
.fmx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.fmx-hero__proof { list-style: none; margin: 10px 0 0; padding: 22px 0 0; border-top: 1px solid var(--fmx-navy-line); display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 14px; color: var(--fmx-muted-dark-2); }
.fmx-hero__proof strong { display: block; font-family: var(--fmx-display); font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }

.fmx-window { margin: 0; background: var(--fmx-navy-2); border: 1px solid var(--fmx-navy-line); border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
.fmx-window__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--fmx-line); }
.fmx-window__bar img { height: 28px; width: auto; display: block; }
.fmx-window__dots { display: flex; gap: 6px; }
.fmx-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE6; }
.fmx-window__bar .fmx-pill { margin-left: auto; }
.fmx-window__tabs { list-style: none; margin: 0; padding: 0 18px; display: flex; gap: 22px; overflow-x: auto; background: var(--fmx-navy-3); border-bottom: 1px solid var(--fmx-navy-line); font-size: 13px; color: var(--fmx-muted-dark-2); white-space: nowrap; }
.fmx-window__tabs li { padding: 12px 0; border-bottom: 2px solid transparent; }
.fmx-window__tabs .is-active { color: #fff; border-bottom-color: var(--fmx-orange); }
.fmx-window__body { padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.fmx-window__foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; font-family: var(--fmx-mono); font-size: 11.5px; color: var(--fmx-muted-dark-2); }
.fmx-window__foot span { border: 1px solid var(--fmx-navy-line); border-radius: 4px; padding: 3px 8px; }
.fmx-window__foot span:first-child { border: 0; padding-left: 0; color: var(--fmx-green); }
.fmx-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fmx-panel__head span:first-child { font-family: var(--fmx-display); font-weight: 600; font-size: 15px; color: #fff; }
.fmx-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--fmx-mono); font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.fmx-pill--orange { color: var(--fmx-navy); background: var(--fmx-orange); }
.fmx-pill--blue { color: var(--fmx-link); background: #E7F0FC; }
.fmx-pill--live { color: #0E6B40; background: #E3F8EE; }
.fmx-pill--live .fmx-dot { width: 6px; height: 6px; box-shadow: none; background: #18A35E; }
.fmx-coverage { width: 100%; border-collapse: collapse; font-size: 15px; }
.fmx-coverage thead th { padding: 6px 0 10px; font-weight: 500; font-size: 12.5px; color: var(--fmx-muted-dark-2); text-align: left; }
.fmx-coverage th + th, .fmx-coverage td { text-align: center; }
.fmx-coverage tbody th { text-align: left; font-weight: 500; padding: 13px 0; border-top: 1px solid var(--fmx-navy-line); }
.fmx-coverage td { border-top: 1px solid var(--fmx-navy-line); }
.fmx-coverage small { display: block; color: var(--fmx-muted-dark-2); font-size: 12.5px; font-weight: 400; }
.fmx-tick { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(124,196,255,.12); color: var(--fmx-sky); }

/* Trust strip */
.fmx-trust { background: #fff; border-bottom: 1px solid var(--fmx-line); padding: 26px 24px; }
.fmx-trust__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 48px; }
.fmx-trust__group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--fmx-muted); }
.fmx-trust__label { font-family: var(--fmx-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #64748B; }
.fmx-trust__name { font-family: var(--fmx-display); font-weight: 600; font-size: 17px; color: var(--fmx-text); }

/* Metrics */
.fmx-metrics { background: #fff; border-bottom: 1px solid var(--fmx-line); padding: 32px 24px; }
.fmx-metrics .fmx-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.fmx-metric { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--fmx-blue); padding-left: 16px; }
.fmx-metric:nth-child(even) { border-left-color: var(--fmx-orange); }
.fmx-metric strong { font-family: var(--fmx-display); font-weight: 700; font-size: 36px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fmx-metric span { font-size: 15px; color: var(--fmx-muted); }

/* Lifecycle flow */
.fmx-lifecycle .fmx-wrap { gap: 36px; }
.fmx-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.fmx-flow__step:nth-child(4)::after { display: none; }
/* Return line: Confirmation (04) down, back across, into Commissions (05). */
.fmx-flow__step:nth-child(4)::before { content: ""; position: absolute; top: 100%; left: calc(-250% - 38px); width: calc(300% + 38px); height: 20px; box-sizing: border-box; border-right: 2px solid var(--fmx-orange); border-bottom: 2px solid var(--fmx-orange); border-bottom-right-radius: 10px; margin-left: 1px; }
.fmx-flow__step:nth-child(5)::before { content: ""; position: absolute; top: -24px; left: calc(50% - 1px); width: 26px; height: 24px; box-sizing: border-box; border-left: 2px solid var(--fmx-orange); border-top: 2px solid var(--fmx-orange); border-top-left-radius: 10px; }
.fmx-flow__step { position: relative; background: #fff; border: 1px solid var(--fmx-line); border-radius: 12px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--fmx-shadow); }
.fmx-flow__step::after { content: ""; position: absolute; top: 35px; right: -17px; width: 18px; height: 2px; background: var(--fmx-orange); z-index: 1; }
.fmx-flow__step:last-child::after { display: none; }
.fmx-flow__num { font-family: var(--fmx-mono); font-size: 12px; color: var(--fmx-orange-text); font-weight: 500; }
.fmx-flow__step h3 { margin: 0; font-family: var(--fmx-display); font-size: 18px; font-weight: 600; line-height: 1.25; }
.fmx-flow__step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fmx-muted); }

/* TRAX */
.fmx-trax__copy { gap: 18px; }
.fmx-trax__copy > a { font-weight: 600; font-size: 16px; margin-top: 4px; }
.fmx-checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.fmx-checks li { display: flex; gap: 12px; align-items: baseline; }
.fmx-checks li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2.5px solid var(--fmx-blue); border-bottom: 2.5px solid var(--fmx-blue); transform: rotate(-45deg) translateY(-3px); }
.fmx-feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fmx-feature-list li { background: var(--fmx-ground); border: 1px solid var(--fmx-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.fmx-feature-list__k { font-family: var(--fmx-mono); font-size: 12px; color: var(--fmx-link); font-weight: 500; }
.fmx-feature-list strong { font-family: var(--fmx-display); font-size: 17px; }
.fmx-feature-list li > span:last-child { font-size: 15px; line-height: 1.55; color: var(--fmx-muted); }

/* Products */
.fmx-products .fmx-wrap { gap: 36px; }
.fmx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .fmx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fmx-cards { grid-template-columns: 1fr; } }
.fmx-card { border: 1px solid var(--fmx-line); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 12px; background: #fff; box-shadow: var(--fmx-shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.fmx-card:hover { transform: translateY(-3px); border-color: #C8D4E4; box-shadow: 0 1px 2px rgba(10,22,40,.05), 0 18px 40px -18px rgba(10,22,40,.28); }
.fmx-card--featured { border: 2px solid var(--fmx-blue); }
.fmx-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fmx-icon { width: 46px; height: 46px; border-radius: 10px; background: #E7F0FC; display: flex; align-items: center; justify-content: center; color: var(--fmx-link); }
.fmx-icon--orange { background: #FEF1E3; color: var(--fmx-orange-text); }
.fmx-card h3 { margin: 0; font-family: var(--fmx-display); font-size: 19px; font-weight: 600; line-height: 1.3; }
.fmx-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fmx-muted); }
.fmx-card--cta { grid-column: 1 / -1; background: var(--fmx-navy); border-color: var(--fmx-navy); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'h more' 'p more'; align-items: center; column-gap: 32px; row-gap: 6px; padding: 26px 32px; }
.fmx-card--cta h3 { grid-area: h; }
.fmx-card--cta p { grid-area: p; }
.fmx-card--cta .fmx-card__more { grid-area: more; margin: 0; white-space: nowrap; }
@media (max-width: 700px) { .fmx-card--cta { grid-template-columns: 1fr; grid-template-areas: 'h' 'p' 'more'; } .fmx-card--cta .fmx-card__more { white-space: normal; margin-top: 6px; } }
.fmx-card--cta:hover { color: #fff; border-color: var(--fmx-blue); }
.fmx-card--cta p { color: var(--fmx-muted-dark); }
.fmx-card__more { color: var(--fmx-sky); font-weight: 600; font-size: 15px; margin-top: 4px; }
.fmx-integrations { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 4px; font-size: 14px; color: var(--fmx-muted); }
.fmx-integrations strong { color: var(--fmx-text); margin-right: 8px; }
.fmx-integrations span { background: #fff; border: 1px solid var(--fmx-line); border-radius: 6px; padding: 6px 12px; }

/* Reliability */
.fmx-reliability .fmx-wrap { gap: 36px; }
.fmx-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--fmx-navy-line); border: 1px solid var(--fmx-navy-line); border-radius: 14px; overflow: hidden; }
.fmx-rel { background: var(--fmx-navy); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.fmx-rel__icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(242,140,28,.12); color: var(--fmx-orange); }
.fmx-rel h3 { margin: 0; font-family: var(--fmx-display); font-size: 18px; font-weight: 600; }
.fmx-rel p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fmx-muted-dark); }

/* Services */
.fmx-services .fmx-wrap { gap: 32px; }
.fmx-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.fmx-service { background: #fff; border: 1px solid var(--fmx-line); border-radius: 14px; padding: 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--fmx-shadow); border-top: 3px solid var(--fmx-blue); }
.fmx-service + .fmx-service { border-top-color: var(--fmx-orange); }
.fmx-service h3 { margin: 0; font-family: var(--fmx-display); font-size: 23px; font-weight: 600; }
.fmx-service ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--fmx-muted); }

/* Who we serve */
.fmx-who .fmx-wrap { gap: 32px; }
.fmx-segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.fmx-segments li { background: var(--fmx-navy-2); border: 1px solid var(--fmx-navy-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s; }
.fmx-segments li:hover { border-color: #3B5A85; }
.fmx-segments strong, .fmx-segments h3 { margin: 0; font-family: var(--fmx-display); font-weight: 600; font-size: 18px; }
.fmx-segments span { font-size: 14px; color: var(--fmx-muted-dark-2); }
.fmx-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.fmx-quote { margin: 0; border-top: 2px solid var(--fmx-orange); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.fmx-quote:nth-child(even) { border-top-color: var(--fmx-sky); }
.fmx-quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: #E1E8F0; }
.fmx-quote figcaption { font-size: 14px; color: var(--fmx-muted-dark-2); }

/* About */
.fmx-about__copy { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--fmx-muted); }
.fmx-about__copy p { margin: 0; }

/* FAQ */
.fmx-faq { background: #fff; border-top: 1px solid var(--fmx-line); }
.fmx-faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--fmx-line); }
.fmx-faq details { border-bottom: 1px solid var(--fmx-line); }
.fmx-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-family: var(--fmx-display); font-weight: 600; font-size: 17px; min-height: 44px; }
.fmx-faq summary::-webkit-details-marker { display: none; }
.fmx-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--fmx-line); display: flex; align-items: center; justify-content: center; font-family: var(--fmx-body); font-weight: 400; font-size: 20px; color: var(--fmx-link); }
.fmx-faq details[open] summary::after { content: "–"; background: #EEF4FC; }
.fmx-faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--fmx-muted); max-width: 640px; }
.fmx-faq + .fmx-careers { padding-top: 64px; }

/* Careers */
.fmx-careers { padding: 0 24px 64px; }
.fmx-careers__box { max-width: 1200px; margin: 0 auto; background: #fff; border: 1px solid var(--fmx-line); border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--fmx-shadow); }
.fmx-careers__box h2 { margin: 0 0 8px; font-family: var(--fmx-display); font-weight: 700; font-size: 28px; }
.fmx-careers__box p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fmx-muted); max-width: 640px; }

/* Contact */
.fmx-contact { padding: 0 24px 64px; }
.fmx-section--dark + .fmx-contact, .fmx-trust + .fmx-contact, .fmx-section--dark + .fmx-careers { padding-top: 64px; }
.fmx-contact__box { position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; background: var(--fmx-navy); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.fmx-contact__box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--fmx-blue) 0 60%, var(--fmx-orange) 60% 100%); }
.fmx-contact__info { display: flex; flex-direction: column; gap: 22px; }
.fmx-contact__info h2 { margin: 0; font-family: var(--fmx-display); font-weight: 700; font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; }
.fmx-contact__info > p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fmx-muted-dark); }
.fmx-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; font-size: 15px; line-height: 1.6; color: var(--fmx-muted-dark); font-style: normal; }
.fmx-offices strong { color: #fff; display: block; margin-bottom: 4px; }
.fmx-offices a { color: var(--fmx-muted-dark); }
.fmx-contact__email { color: var(--fmx-sky); font-weight: 600; font-size: 16px; }
.fmx-contact__email:hover { color: #fff; }
.fmx-form { display: flex; flex-direction: column; gap: 14px; }
.fmx-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--fmx-muted-dark); }
.fmx-form input, .fmx-form textarea { padding: 13px 14px; border-radius: 8px; border: 1px solid var(--fmx-navy-input); background: var(--fmx-navy-2); color: #fff; font: inherit; font-size: 16px; }
.fmx-form input:focus, .fmx-form textarea:focus { border-color: var(--fmx-sky); }
.fmx-form textarea { resize: vertical; min-height: 96px; }
.fmx-form .fmx-hp { position: absolute; left: -9999px; }
.fmx-form .fmx-btn { justify-content: center; }
.fmx-notice { padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.fmx-notice--ok { background: #123A2A; color: #CFF5E2; border: 1px solid #2E7D5B; }
.fmx-notice--err { background: #3A1A12; color: #FFD9CC; border: 1px solid #A0482E; }

/* Page title band + generic content */
.fmx-pagehead { position: relative; overflow: hidden; background: var(--fmx-navy); color: #fff; padding: 52px 24px 56px; }
.fmx-pagehead::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,196,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,196,255,.06) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.fmx-pagehead .fmx-wrap { position: relative; display: flex; flex-direction: column; gap: 16px; }
.fmx-pagehead .fmx-h1 { max-width: 900px; font-size: clamp(32px, 4vw, 50px); }
.fmx-pagehead__intro { margin: 0; max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--fmx-muted-dark); }
.fmx-pagehead + .fmx-section--dark { border-top: 1px solid var(--fmx-navy-line); }
.fmx-content { max-width: 820px; margin: 0 auto; padding: 64px 24px; font-size: 17px; line-height: 1.7; color: var(--fmx-muted); }
.fmx-content h2, .fmx-content h3 { color: var(--fmx-text); font-family: var(--fmx-display); }
.fmx-content > :first-child { margin-top: 0; }
.fmx-spacer { height: 48px; }

/* Footer */
.fmx-footer { background: #fff; border-top: 1px solid var(--fmx-line); padding: 56px 24px 40px; }
.fmx-footer__top { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 15px; color: var(--fmx-muted); }
.fmx-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.fmx-footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.fmx-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.fmx-footer__col { display: flex; flex-direction: column; gap: 9px; }
.fmx-footer__col strong { color: var(--fmx-text); }
.fmx-footer__bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--fmx-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #64748B; }
.fmx-footer__bottom span { display: flex; gap: 20px; }

@media (max-width: 900px) {
	.fmx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fmx-flow { row-gap: 16px; }
	.fmx-flow__step::after, .fmx-flow__step:nth-child(4)::before, .fmx-flow__step:nth-child(5)::before { display: none; }
}
@media (max-width: 520px) {
	.fmx-flow { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.fmx-section { padding: 48px 20px; }
	.fmx-hero { padding: 44px 20px 52px; }
	.fmx-careers__box { padding: 28px; }
	.fmx-header { position: static; }
}

/* Products by line of business: one full-width panel each */
.fmx-solutions .fmx-wrap { gap: 36px; }
.fmx-sol-grid { display: flex; flex-direction: column; gap: 20px; }
.fmx-sol { display: flex; flex-direction: column; gap: 22px; padding: 32px 36px; background: var(--fmx-ground); border: 1px solid var(--fmx-line); border-left: 4px solid var(--fmx-blue); border-radius: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.fmx-sol:hover { background: #fff; box-shadow: var(--fmx-shadow); }
.fmx-sol--compliance { border-left-color: var(--fmx-orange); }
.fmx-sol__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--fmx-line); }
.fmx-sol h3 { margin: 0; font-family: var(--fmx-display); font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.fmx-sol__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; counter-reset: fmx-sol; font-size: 15px; line-height: 1.5; color: var(--fmx-text); }
.fmx-sol__list li { counter-increment: fmx-sol; display: flex; gap: 12px; align-items: baseline; padding: 14px 16px; background: #fff; border: 1px solid var(--fmx-line); border-radius: 10px; }
.fmx-sol__list li::before { content: counter(fmx-sol); flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--fmx-mono); font-size: 11.5px; font-weight: 500; background: #E7F0FC; color: var(--fmx-link); transform: translateY(-1px); }
.fmx-sol--compliance .fmx-sol__list li::before { background: #FEF1E3; color: var(--fmx-orange-text); }
.fmx-sol-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border: 1px dashed #C8D4E4; border-radius: 14px; font-family: var(--fmx-display); font-weight: 600; font-size: 19px; }
.fmx-sol__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
	.fmx-sol { padding: 28px; }
	.fmx-sol__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fmx-sol__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.fmx-sol__list, .fmx-sol__list--4 { grid-template-columns: 1fr; }
}

/* Header dropdown */
.fmx-nav .menu-item-has-children { position: relative; }
.fmx-nav .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.fmx-nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.fmx-nav .menu-item-has-children:hover > a::after, .fmx-nav .menu-item-has-children:focus-within > a::after { transform: translateY(1px) rotate(-135deg); }
.fmx-nav ul.sub-menu { position: absolute; top: 100%; left: -22px; align-items: stretch; z-index: 60; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; width: 320px; padding: 8px; margin-top: 10px; background: #fff; border: 1px solid var(--fmx-line); border-radius: 12px; box-shadow: 0 18px 48px -16px rgba(10,22,40,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.fmx-nav ul.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.fmx-nav .menu-item-has-children:hover > .sub-menu, .fmx-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.fmx-nav .sub-menu li { display: block; }
.fmx-nav .sub-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; line-height: 1.35; border-radius: 8px; border-bottom: 0; color: var(--fmx-text); }
.fmx-nav .sub-menu a:hover, .fmx-nav .sub-menu a:focus-visible { background: var(--fmx-ground); color: var(--fmx-link); border-bottom: 0; }
.fmx-dd__text { display: flex; flex-direction: column; gap: 1px; }
.fmx-dd__title { font-weight: 600; font-size: 14.5px; }
.fmx-dd__note { font-weight: 400; font-size: 12.5px; color: var(--fmx-muted); }
@media (max-width: 640px) {
	.fmx-nav ul.sub-menu { left: 0; width: min(340px, calc(100vw - 40px)); }
}

/* About → Our Team link */
.fmx-about__team { align-self: flex-start; margin-top: 4px; }

/* Our Team: one compact grid; click a card to zoom into the full profile */
.fmx-team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.fmx-team__grid > li { display: flex; }
.fmx-person { width: 100%; padding: 0; margin: 0; font: inherit; text-align: left; color: inherit; cursor: zoom-in; background: #fff; border: 1px solid var(--fmx-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--fmx-shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.fmx-person:hover, .fmx-person:focus-visible { transform: translateY(-3px); border-color: #C8D4E4; box-shadow: 0 1px 2px rgba(10,22,40,.05), 0 16px 32px -16px rgba(10,22,40,.3); }
.fmx-person__photo { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: 50% 20%; background: #E7ECF3; }
.fmx-person__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.fmx-person__name { font-family: var(--fmx-display); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.fmx-person__role { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--fmx-link); }
.fmx-person__in { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; font-weight: 600; }

.fmx-bio { padding: 0; border: 0; border-radius: 16px; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--fmx-text); box-shadow: 0 40px 100px -30px rgba(10,22,40,.6); }
.fmx-bio::backdrop { background: rgba(10,22,40,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fmx-bio[open] { animation: fmx-zoom .22s cubic-bezier(.2,.8,.2,1); }
.fmx-bio[open]::backdrop { animation: fmx-fade .22s ease; }
@keyframes fmx-zoom { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes fmx-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fmx-bio[open], .fmx-bio[open]::backdrop { animation: none; } }
.fmx-bio__inner { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.fmx-bio__photo { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: 50% 20%; background: #E7ECF3; }
.fmx-bio__body { padding: 32px 32px 24px; display: flex; flex-direction: column; gap: 10px; }
.fmx-bio__body h2, .fmx-bio__body h3 { margin: 0; padding-right: 36px; font-family: var(--fmx-display); font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.fmx-bio__body .fmx-person__role { font-size: 14.5px; }
.fmx-bio__text { margin: 6px 0 0; font-size: 16px; line-height: 1.65; color: var(--fmx-muted); }
.fmx-bio__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fmx-line); background: #fff; color: var(--fmx-text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fmx-bio__close:hover { background: var(--fmx-ground); }
@media (max-width: 640px) {
	.fmx-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fmx-bio__inner { grid-template-columns: 1fr; }
	.fmx-bio__photo { height: auto; aspect-ratio: 1 / 1; min-height: 0; max-height: 50vh; }
	.fmx-bio__body { padding: 22px; }
}

.fmx-na { color: #4A5F7D; font-size: 15px; }

/* Learn more on product panels */
.fmx-sol__foot { display: flex; justify-content: flex-end; padding-top: 4px; }
.fmx-sol__more { min-height: 44px; padding: 10px 18px; font-size: 15px; background: #fff; }

/* Product pages */
.fmx-pd__stack { gap: 32px; }
.fmx-pd__overview { align-items: start; }
.fmx-pd__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.fmx-pd__keys { background: #fff; border: 1px solid var(--fmx-line); border-left: 4px solid var(--fmx-blue); border-radius: 14px; padding: 28px 30px; box-shadow: var(--fmx-shadow); }
.fmx-pd__keys h3 { margin: 0 0 16px; font-family: var(--fmx-display); font-size: 18px; font-weight: 600; }
.fmx-pd__keys .fmx-checks { font-size: 15.5px; line-height: 1.5; gap: 12px; }
.fmx-pd__caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.fmx-pd__caps li { background: var(--fmx-ground); border: 1px solid var(--fmx-line); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.fmx-pd__caps h3 { margin: 0; font-family: var(--fmx-display); font-size: 17px; font-weight: 600; line-height: 1.3; }
.fmx-pd__caps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fmx-muted); }
.fmx-pd__flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.fmx-pd__flow li:not(:last-child)::after { content: "→"; margin-left: 4px; color: var(--fmx-orange-text); font-weight: 600; }
.fmx-pd__flow li { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--fmx-line); border-radius: 999px; padding: 10px 18px 10px 10px; font-weight: 600; font-size: 15px; box-shadow: var(--fmx-shadow); }
.fmx-pd__n { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--fmx-mono); font-size: 12px; font-weight: 500; background: var(--fmx-blue); color: #fff; }
.fmx-pd__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fmx-pd__shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fmx-pd__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--fmx-line); border-radius: 12px; box-shadow: var(--fmx-shadow); }
.fmx-pd__ph { aspect-ratio: 2 / 1; border: 2px dashed #C8D4E4; border-radius: 12px; background: repeating-linear-gradient(135deg, #F7F9FC 0 14px, #F1F4F9 14px 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #64748B; font-size: 14px; font-weight: 500; }
.fmx-pd__shot figcaption { font-size: 14.5px; font-weight: 600; color: var(--fmx-text); }
.fmx-pd__integr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--fmx-muted); }
.fmx-pd__integr > span:first-child { font-family: var(--fmx-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-right: 4px; }
.fmx-pd__chip { background: #fff; border: 1px solid var(--fmx-line); border-radius: 6px; padding: 6px 12px; color: var(--fmx-text); }
.fmx-pd__others { padding-top: 0; }
.fmx-faq.fmx-pd + .fmx-pd__others { background: #fff; }
.fmx-pd__others-title { margin: 0; font-family: var(--fmx-display); font-size: 22px; font-weight: 700; }
.fmx-pd__olist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.fmx-pd__olist a { height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; border: 1px solid var(--fmx-line); border-radius: 12px; background: var(--fmx-ground); color: var(--fmx-text); transition: border-color .2s, background .2s; }
.fmx-pd__olist a:hover { border-color: var(--fmx-blue); background: #fff; color: var(--fmx-text); }
.fmx-pd__olist strong { font-family: var(--fmx-display); font-size: 16px; font-weight: 600; }
.fmx-pd__arrow { color: var(--fmx-link); font-weight: 600; }
.fmx-pd__others + .fmx-contact { padding-top: 0; background: #fff; }
@media (max-width: 700px) {
	.fmx-pd__shots { grid-template-columns: 1fr; }
	.fmx-pd__flow { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Floating back-to-top button */
.fmx-totop { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: var(--fmx-blue); color: #fff; font: 600 11px/1 var(--fmx-body); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 28px -8px rgba(10,22,40,.55); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, background .15s; }
.fmx-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.fmx-totop:hover { background: var(--fmx-blue-dark); }
.fmx-totop:focus-visible { outline: 3px solid var(--fmx-orange); outline-offset: 3px; }
@media (max-width: 640px) { .fmx-totop { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* Product brand logos before panel titles */
.fmx-sol__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.fmx-sol__logo { display: block; height: 20px; width: auto; flex: none; }
.fmx-sol__logo--trams { height: 30px; }

/* FAQ: heading full width, questions below */
.fmx-faq__wrap { gap: 28px; }
.fmx-faq__wrap > .fmx-intro { max-width: none; }
.fmx-faq__wrap .fmx-faq__list details p { max-width: 900px; }

/* Blog */
.fmx-blog__wrap { gap: 28px; }
.fmx-blog__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.fmx-post { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fmx-line); border-radius: 14px; overflow: hidden; box-shadow: var(--fmx-shadow); }
.fmx-post__img img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.fmx-post__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fmx-post__date { font-family: var(--fmx-mono); font-size: 12px; color: var(--fmx-orange-text); letter-spacing: .06em; text-transform: uppercase; }
.fmx-post__title { margin: 0; font-family: var(--fmx-display); font-size: 20px; font-weight: 600; line-height: 1.3; }
.fmx-post__title a { color: var(--fmx-text); }
.fmx-post__title a:hover { color: var(--fmx-link); }
.fmx-post__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fmx-muted); flex: 1; }
.fmx-post__more { font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.fmx-blog__pages { display: flex; flex-wrap: wrap; gap: 8px; }
.fmx-blog__pages .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--fmx-line); border-radius: 8px; background: #fff; font-weight: 600; }
.fmx-blog__pages .current { background: var(--fmx-blue); border-color: var(--fmx-blue); color: #fff; }
.fmx-blog__empty { background: #fff; border: 1px dashed #C8D4E4; border-radius: 14px; padding: 40px; text-align: center; }
.fmx-blog__empty h2 { margin: 0 0 8px; font-family: var(--fmx-display); font-size: 22px; }
.fmx-blog__empty p { margin: 0 auto; max-width: 560px; color: var(--fmx-muted); line-height: 1.6; }
.fmx-article__img { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 28px; }
.fmx-article__back { margin-top: 40px; }

/* Right-most dropdown opens leftwards so it never overflows the screen */
.fmx-nav > ul > li:last-child > .sub-menu { left: auto; right: -14px; }
.fmx-nav ul.sub-menu { max-width: calc(100vw - 32px); }
/* Keep the 7-item menu on one row on narrower desktops */
@media (max-width: 1240px) {
	.fmx-nav { gap: 10px 20px; font-size: 14.5px; }
	.fmx-nav > ul { gap: 8px 18px; }
	.fmx-nav .fmx-btn { padding: 9px 14px; font-size: 14px; }
	.fmx-logo img, .fmx-logo .custom-logo { height: 34px; }
}

/* Screenshot zoom */
.fmx-pd__zoom { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.fmx-pd__zoom img { display: block; width: 100%; height: auto; border: 1px solid var(--fmx-line); border-radius: 12px; box-shadow: var(--fmx-shadow); }
.fmx-pd__zoomhint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(10,22,40,.82); color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transition: opacity .15s; }
.fmx-pd__zoom:hover .fmx-pd__zoomhint, .fmx-pd__zoom:focus-visible .fmx-pd__zoomhint { opacity: 1; }
@media (hover: none) { .fmx-pd__zoomhint { opacity: 1; } }
.fmx-lightbox { padding: 16px 16px 12px; border: 0; border-radius: 14px; width: min(1400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; box-shadow: 0 40px 100px -30px rgba(10,22,40,.6); }
.fmx-lightbox::backdrop { background: rgba(10,22,40,.7); }
.fmx-lightbox[open] { animation: fmx-zoom .22s cubic-bezier(.2,.8,.2,1); }
.fmx-lightbox img { display: block; width: 100%; height: auto; border-radius: 8px; }
.fmx-lightbox p { margin: 10px 4px 0; font-weight: 600; font-size: 14.5px; }
.fmx-lightbox .fmx-bio__close { top: 22px; right: 22px; box-shadow: var(--fmx-shadow); }

/* Blurred blotter screenshot behind the hero coverage panel */
.fmx-hero__visual { position: relative; }
.fmx-hero__ghost { position: absolute; top: -56px; right: -88px; width: 100%; height: auto; border-radius: 14px; filter: blur(2.5px) saturate(.9); opacity: .42; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); pointer-events: none; user-select: none; z-index: 0; }
.fmx-hero__visual .fmx-window { position: relative; z-index: 1; }
@media (max-width: 900px) { .fmx-hero__ghost { top: -32px; right: -24px; } }
@media (max-width: 560px) { .fmx-hero__ghost { display: none; } }

/* Headings promoted for SEO: keep their original look */
.fmx-faq summary .fmx-faq__q { margin: 0; font: inherit; color: inherit; }
.fmx-panel__head .fmx-panel__title { margin: 0; font-family: var(--fmx-display); font-weight: 600; font-size: 15px; color: #fff; }
.fmx-card--cta .fmx-card__ctatitle { grid-area: h; margin: 0; color: #fff; font-family: var(--fmx-display); font-size: 19px; font-weight: 600; line-height: 1.3; }


/* WordPress additions */
.fmx-content img { max-width: 100%; height: auto; }
.fmx-content .alignleft { float: left; margin: 0 24px 16px 0; }
.fmx-content .alignright { float: right; margin: 0 0 16px 24px; }
.fmx-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.fmx-content a { text-decoration: underline; }
.wp-caption-text, .fmx-content figcaption { font-size: 14px; color: var(--fmx-muted); }
.fmx-form .fmx-notice { margin: 0; }
@media screen and (max-width: 782px) { .admin-bar .fmx-header { top: 46px; } }

/* Keep the theme's buttons as designed when a plugin (e.g. Elementor's global
   button styles) colours every <button> on the site. */
body button.fmx-person { background: #fff !important; color: var(--fmx-text) !important; border: 1px solid var(--fmx-line) !important; border-radius: 10px !important; padding: 0 !important; text-transform: none !important; letter-spacing: normal !important; font: inherit !important; line-height: 1.5 !important; }
body button.fmx-person .fmx-person__body { background: #fff !important; }
body button.fmx-pd__zoom { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 12px !important; }
body button.fmx-bio__close { background: #fff !important; color: var(--fmx-text) !important; border: 1px solid var(--fmx-line) !important; border-radius: 50% !important; padding: 0 !important; }
body button.fmx-bio__close:hover { background: var(--fmx-ground) !important; }
body button.fmx-totop { background: var(--fmx-blue) !important; color: #fff !important; border: 0 !important; border-radius: 50% !important; padding: 0 !important; }
body button.fmx-totop:hover { background: var(--fmx-blue-dark) !important; }
body button.fmx-btn--primary { background: var(--fmx-blue) !important; color: #fff !important; text-transform: none !important; }
body button.fmx-btn--primary:hover { background: var(--fmx-blue-dark) !important; }

/* Team cards grow when pointed at */
.fmx-team__grid > li { position: relative; }
body button.fmx-person { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
body button.fmx-person:hover, body button.fmx-person:focus-visible { position: relative; z-index: 3; transform: scale(1.08); background: #fff !important; border-color: #C8D4E4 !important; box-shadow: 0 2px 4px rgba(10,22,40,.06), 0 24px 48px -16px rgba(10,22,40,.35); }
@media (prefers-reduced-motion: reduce) { body button.fmx-person:hover, body button.fmx-person:focus-visible { transform: none; } }
