/* Vector Integration Systems — site styles.
   Tokens come from theme.json (--wp--preset--*). Keep this file framework-free. */

:root {
	--vx-navy-950: var(--wp--preset--color--navy-950, #06121F);
	--vx-navy-900: var(--wp--preset--color--navy-900, #0A1B30);
	--vx-navy: var(--wp--preset--color--navy, #0C2B4E);
	--vx-navy-600: var(--wp--preset--color--navy-600, #1C4675);
	--vx-orange: var(--wp--preset--color--orange, #EE6A12);
	--vx-orange-700: var(--wp--preset--color--orange-700, #B94A06);
	--vx-ink: var(--wp--preset--color--ink, #16202E);
	--vx-slate: var(--wp--preset--color--slate, #4A5A70);
	--vx-line: var(--wp--preset--color--line, #D9E0E9);
	--vx-mist: var(--wp--preset--color--mist, #F2F5F9);
	--vx-radius: 6px;
	--vx-wide: 1240px;
	--vx-gutter: clamp(1rem, 4vw, 2rem);
	--vx-header-h: 72px;
	--vx-heading: var(--wp--preset--font-family--heading);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--vx-header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
:focus-visible { outline: 2px solid var(--vx-orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.vx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .75rem 1.35rem; border-radius: 4px; font-family: var(--vx-heading); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; }
.vx-btn--primary { background: var(--vx-orange-700); color: #fff; }
.vx-btn--primary:hover { background: var(--vx-navy); color: #fff; }
.vx-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.vx-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.vx-btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.vx-btn--ghost-light:hover { background: #fff; color: var(--vx-navy-900); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid var(--vx-navy); color: var(--vx-navy); background: transparent; padding: calc(.8rem - 2px) calc(1.4rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--vx-navy); color: #fff; }

/* ---------- Header ---------- */
.vx-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--vx-navy-900); color: #fff; padding: .75rem 1rem; border-radius: 4px; }
.vx-skip:focus { top: .75rem; color: #fff; }
.vx-site-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .vx-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vx-site-header { top: 0; } }
.vx-header { background: #fff; border-bottom: 1px solid var(--vx-line); }
.vx-header__inner { max-width: var(--vx-header-wide, 1464px); margin: 0 auto; padding: 0 var(--vx-gutter); min-height: var(--vx-header-h); display: flex; align-items: center; gap: 1.5rem; }
.vx-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.vx-brand img { width: 37px; height: 42px; }
.vx-brand__name { font-family: var(--vx-heading); font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; color: var(--vx-navy); }
.vx-brand__b { color: var(--vx-orange-700); }
/* Header logo: horizontal lockup from the original artwork; height drives width. */
.vx-brand--logo { line-height: 0; }
.vx-brand--logo img { display: block; height: 46px; width: auto; max-width: none; }
.vx-header__cta { display: none; }
.vx-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.vx-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.vx-item { position: relative; display: flex; align-items: center; }
.vx-menu > .vx-item > .vx-link { display: block; padding: .6rem .45rem; white-space: nowrap; font-family: var(--vx-heading); font-weight: 600; font-size: .93rem; color: var(--vx-navy-900); text-decoration: none; border-radius: 4px; }
.vx-menu > .vx-item > .vx-link:hover, .vx-menu > .vx-item.is-current > .vx-link { color: var(--vx-orange-700); }
.vx-sub-toggle { background: none; border: 0; padding: .4rem .3rem; margin-left: -.45rem; color: var(--vx-navy-900); cursor: pointer; display: inline-flex; border-radius: 4px; }
.vx-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.vx-sub { list-style: none; margin: 0; padding: 0; }
.vx-item--d0 > .vx-sub { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--vx-line); border-top: 3px solid var(--vx-orange); border-radius: 0 0 var(--vx-radius) var(--vx-radius); box-shadow: 0 18px 40px rgba(6,18,31,.14); padding: .6rem; display: none; z-index: 20; }
.vx-item--d0.is-open > .vx-sub { display: block; }
@media (hover: hover) and (min-width: 1280px) { .vx-item--d0.has-sub:hover > .vx-sub { display: block; } }
.vx-sub .vx-link { display: block; padding: .5rem .7rem; color: var(--vx-ink); text-decoration: none; font-size: .95rem; border-radius: 4px; line-height: 1.35; }
.vx-sub .vx-link:hover { background: var(--vx-mist); color: var(--vx-orange-700); }
.vx-sub .vx-item { display: block; }
/* Mega menu: add CSS class "vx-mega" to the top-level menu item. */
.vx-item--d0.vx-mega { position: static; }
.vx-item--d0.vx-mega > .vx-sub { left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 2rem)); grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.25rem; }
.vx-item--d0.vx-mega.is-open > .vx-sub { display: grid; }
@media (hover: hover) and (min-width: 1280px) { .vx-item--d0.vx-mega:hover > .vx-sub { display: grid; } }
.vx-mega .vx-item--d1 > .vx-link { font-family: var(--vx-heading); font-weight: 700; font-size: 1.05rem; color: var(--vx-navy); border-bottom: 1px solid var(--vx-line); border-radius: 0; margin-bottom: .35rem; }
.vx-mega .vx-sub--d2 .vx-link { font-size: .92rem; padding: .35rem .7rem; color: var(--vx-slate); }
.vx-nav__extra { display: flex; align-items: center; gap: .75rem; }
.vx-lang { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; font-family: var(--vx-heading); font-weight: 600; font-size: .9rem; }
.vx-lang a, .vx-lang span { display: inline-block; padding: .35rem .45rem; border-radius: 3px; text-decoration: none; color: var(--vx-slate); }
.vx-lang span[aria-current] { color: var(--vx-navy-900); background: var(--vx-mist); }
.vx-lang a:hover { color: var(--vx-orange-700); }
/* Header buttons: 44px total height (box-sizing makes min-height include padding/border). */
.vx-nav__cta, .vx-header__cta { box-sizing: border-box; min-height: 44px; padding: .55rem 1.1rem; white-space: nowrap; }
/* Desktop menu 1280-1535px: tighter spacing so the Spanish labels, Careers/Talento,
   EN/ES and the quote button fit beside the full logo without horizontal scroll. */
@media (min-width: 1280px) and (max-width: 1535px) {
.vx-header__inner { gap: 1rem; }
.vx-brand--logo img { height: 42px; }
.vx-nav { gap: .75rem; }
.vx-menu { gap: 0; }
.vx-menu > .vx-item > .vx-link { padding: .6rem .36rem; font-size: .9rem; }
.vx-sub-toggle { padding: .4rem .2rem; margin-left: -.35rem; }
.vx-nav__extra { gap: .5rem; }
.vx-nav__cta { padding: .5rem .75rem; font-size: .9rem; }
.vx-lang a, .vx-lang span { padding: .35rem .3rem; }
}
.vx-btn { white-space: nowrap; }
.vx-nav-toggle { display: none; margin-left: auto; align-items: center; gap: .5rem; background: none; border: 1px solid var(--vx-line); border-radius: 4px; padding: .55rem .8rem; font: 600 .95rem var(--vx-heading); color: var(--vx-navy-900); cursor: pointer; }
.vx-nav-toggle__bars, .vx-nav-toggle__bars::before, .vx-nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s; }
.vx-nav-toggle__bars::before { position: absolute; top: -6px; }
.vx-nav-toggle__bars::after { position: absolute; top: 6px; }
.vx-nav-toggle[aria-expanded="true"] .vx-nav-toggle__bars { background: transparent; }
.vx-nav-toggle[aria-expanded="true"] .vx-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.vx-nav-toggle[aria-expanded="true"] .vx-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1279px) {
	.vx-header__inner { gap: .75rem; }
	.vx-header__cta { display: inline-flex; margin-left: auto; }
	.vx-header__cta + .vx-nav-toggle { margin-left: 0; }
	.vx-nav-toggle { display: inline-flex; }
	.vx-nav { position: fixed; inset: var(--vx-header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--vx-gutter) 2rem; overflow-y: auto; display: none; border-top: 1px solid var(--vx-line); }
	.admin-bar .vx-nav { top: calc(var(--vx-header-h) + 46px); }
	.vx-nav.is-open { display: flex; }
	.vx-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.vx-item--d0 { flex-wrap: wrap; border-bottom: 1px solid var(--vx-line); }
	.vx-menu > .vx-item > .vx-link { flex: 1; padding: .9rem 0; font-size: 1.1rem; }
	.vx-sub-toggle { margin: 0; padding: .9rem .6rem; }
	.vx-item--d0 > .vx-sub, .vx-item--d0.vx-mega > .vx-sub { position: static; transform: none; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; grid-template-columns: 1fr; }
	.vx-item--d0.is-open > .vx-sub, .vx-item--d0.vx-mega.is-open > .vx-sub { display: block; }
	.vx-mega .vx-sub--d2 { padding-left: .5rem; margin-bottom: .5rem; }
	.vx-nav__extra { flex-direction: column; align-items: stretch; padding-top: 1.25rem; }
	.vx-nav__cta { width: 100%; }
	body.vx-nav-open { overflow: hidden; }
}
/* Phones: the quote button moves into the menu panel; on tablets it stays in the bar. */
@media (min-width: 640px) and (max-width: 1279px) { .vx-nav__cta { display: none; } }
@media (max-width: 639px) { .vx-header__cta { display: none; } .vx-header__cta + .vx-nav-toggle { margin-left: auto; } .vx-brand--logo img { height: 40px; } }
@media (max-width: 420px) { .vx-brand__name { font-size: .95rem; } .vx-brand--logo img { height: 36px; } .vx-nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }

/* ---------- Hero ---------- */
.vx-hero { position: relative; background: var(--vx-navy-900); color: #DCE5F0; overflow: hidden; isolation: isolate; }
.vx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(110deg, transparent 15%, #000 70%); }
.vx-hero__inner { max-width: var(--vx-wide); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--vx-gutter); display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.vx-hero.has-media .vx-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.vx-hero__title { color: #fff; margin: .35rem 0 0; font-size: var(--wp--preset--font-size--display); line-height: 1.08; max-width: 22ch; }
.vx-hero__lead { font-size: var(--wp--preset--font-size--lg); line-height: 1.6; margin: 1.1rem 0 0; max-width: 62ch; color: #C9D5E3; }
.vx-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.vx-hero__media { position: relative; }
.vx-hero__media img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--vx-radius); }
.vx-hero__media::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 88px; height: 88px; border-right: 3px solid var(--vx-orange); border-bottom: 3px solid var(--vx-orange); }
.vx-hero .vx-crumbs { margin-bottom: 1.25rem; }
.vx-hero .vx-crumbs a, .vx-hero .vx-crumbs span { color: #AFC0D4; }
.vx-hero .vx-crumbs span[aria-current] { color: #fff; }
.vx-eyebrow { font-family: var(--vx-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--vx-orange-700); margin: 0; display: flex; align-items: center; gap: .6rem; }
.vx-hero .vx-eyebrow { color: var(--vx-orange); }
.vx-hero .vx-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
@media (max-width: 899px) { .vx-hero.has-media .vx-hero__inner { grid-template-columns: 1fr; } .vx-hero__media::after { display: none; } }

/* Home hero: full-bleed image */
.vx-hero--home { min-height: min(86vh, 760px); display: flex; align-items: center; }
.vx-hero--home .vx-hero__bg { position: absolute; inset: 0; z-index: -2; }
.vx-hero--home .vx-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.vx-hero--home::before { z-index: -1; background: linear-gradient(100deg, rgba(6,18,31,.95) 0%, rgba(6,18,31,.86) 42%, rgba(10,27,48,.45) 100%); mask-image: none; }
.vx-hero--home .vx-hero__inner { width: 100%; grid-template-columns: 1fr !important; padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 9vw, 7rem); }
.vx-hero--home .vx-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 20ch; }
.vx-hero--home .vx-hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.vx-hero--archive { padding: clamp(2.5rem, 5vw, 4rem) var(--vx-gutter); }
.vx-hero--archive .vx-hero__title { margin-top: 0; }
.vx-hero--archive .vx-hero__lead p { margin: 0; color: #C9D5E3; }

/* ---------- Breadcrumbs ---------- */
.vx-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .875rem; }
.vx-crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }
.vx-crumbs a { color: var(--vx-slate); text-decoration: none; }
.vx-crumbs a:hover { text-decoration: underline; }
.vx-crumbs span[aria-current] { color: var(--vx-ink); }

/* ---------- Content sections ---------- */
.vx-content > *:first-child.vx-section { margin-top: 0; }
.vx-content { margin-top: 0 !important; }
.vx-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.vx-section { padding-top: clamp(3rem, 7vw, 5.5rem) !important; padding-bottom: clamp(3rem, 7vw, 5.5rem) !important; }
.vx-section + .vx-section:not(.vx-section--muted):not(.vx-section--dark) { border-top: 1px solid var(--vx-line); }
.vx-section--muted { background: var(--vx-mist); }
.vx-section--dark { background: var(--vx-navy-900); color: #C9D5E3; }
.vx-section--dark :is(h2, h3, h4) { color: #fff; }
.vx-section--dark a:not(.wp-block-button__link) { color: #fff; }
.vx-section--dark .vx-kicker { color: var(--vx-orange); }
.vx-section--dark .wp-block-button.is-style-outline > .wp-block-button__link { border-color: rgba(255,255,255,.6); color: #fff; }
.vx-section--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--vx-navy-900); }
.vx-section .wp-block-buttons { margin-top: 1.75rem; }
.vx-section > h2:first-child, .vx-section > .vx-kicker + h2 { margin-top: 0; }
.vx-section > :is(p, ul, ol, h2, h3, .vx-faq, .vx-note, .wp-block-buttons, .wp-block-table) { margin-left: max(0px, calc((100% - var(--vx-wide)) / 2)) !important; margin-right: auto !important; }
.vx-section > :is(p, ul, ol) { max-width: 76ch; }
.vx-section > h2 { max-width: 34ch; }
.vx-section > .vx-checks--cols, .vx-section > .vx-steps { max-width: var(--vx-wide) !important; margin-left: auto !important; margin-right: auto !important; }
.vx-section .wp-block-column > .vx-steps { grid-template-columns: 1fr; }
.vx-kicker { font-family: var(--vx-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--vx-orange-700); margin-bottom: -.5rem !important; }
.vx-lead { font-size: var(--wp--preset--font-size--lg); color: var(--vx-slate); line-height: 1.6; }
.vx-section--dark .vx-lead { color: #C9D5E3; }
.vx-content p + p { margin-top: 1rem; }

/* Card grid */
.vx-grid { gap: 1.25rem !important; margin-top: 2rem !important; }
.vx-grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr)); }
.vx-grid--2.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr)); }
.vx-card { background: #fff; border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 1.5rem 1.5rem 1.6rem; position: relative; transition: border-color .15s, box-shadow .15s; }
.vx-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 3px; background: var(--vx-orange); border-top-left-radius: var(--vx-radius); }
.vx-card:hover { border-color: #B8C5D6; box-shadow: 0 10px 28px rgba(6,18,31,.08); }
.vx-card > h3 { margin-top: 0 !important; font-size: 1.25rem; }
.vx-card > h3 a { color: var(--vx-navy-900); text-decoration: none; }
.vx-card > h3 a::after { content: ""; position: absolute; inset: 0; }
.vx-card > h3 a:hover { color: var(--vx-orange-700); }
.vx-card > p { font-size: .97rem; color: var(--vx-slate); margin-top: .6rem !important; }
.vx-card > .vx-more { margin-top: 1rem !important; font-weight: 600; color: var(--vx-navy-600); }
.vx-section--dark .vx-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.14); }
.vx-section--dark .vx-card > p { color: #B9C7D8; }
.vx-section--dark .vx-card > h3 a { color: #fff; }
.vx-card--division { padding: 2rem; }
.vx-card--division > h3 { font-size: 1.5rem; }

/* Split rows (text + media) */
.vx-split { gap: clamp(1.5rem, 4vw, 3.5rem) !important; align-items: center !important; margin-top: 2rem !important; }
.vx-split .wp-block-image img, .vx-figure img { border-radius: var(--vx-radius); }
.vx-figure { margin-top: 2rem; }
.vx-figure img[src$=".svg"] { width: 100%; background: #fff; border: 1px solid var(--vx-line); padding: clamp(.75rem, 2vw, 1.5rem); }
.vx-figure figcaption { text-align: left; margin-top: .6rem; }

/* Lists */
.vx-checks { list-style: none; padding-left: 0 !important; display: grid; gap: .55rem; }
.vx-checks li { position: relative; padding-left: 1.7rem; }
.vx-checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--vx-orange); transform: rotate(45deg); }
.vx-checks--cols { grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); column-gap: 2rem; }
.vx-steps { list-style: none; padding-left: 0 !important; counter-reset: vxstep; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); margin-top: 2rem !important; }
.vx-steps > li { counter-increment: vxstep; background: #fff; border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 1.35rem 1.25rem 1.25rem; position: relative; font-size: .97rem; color: var(--vx-slate); }
.vx-steps > li::before { content: counter(vxstep, decimal-leading-zero); display: block; font-family: var(--wp--preset--font-family--mono); font-size: .85rem; font-weight: 700; color: var(--vx-orange-700); margin-bottom: .5rem; letter-spacing: .05em; }
.vx-steps > li strong { display: block; color: var(--vx-navy-900); font-family: var(--vx-heading); font-size: 1.12rem; margin-bottom: .3rem; }
.vx-section--dark .vx-steps > li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: #B9C7D8; }
.vx-section--dark .vx-steps > li strong { color: #fff; }
.vx-section--dark .vx-steps > li::before { color: var(--vx-orange); }

/* Callout */
.vx-note { border-left: 3px solid var(--vx-orange); background: var(--vx-mist); padding: 1.1rem 1.25rem !important; border-radius: 0 var(--vx-radius) var(--vx-radius) 0; margin-top: 1.5rem !important; }
.vx-note > p { margin: 0; font-size: .97rem; }
.vx-note > p + p { margin-top: .5rem; }

/* Tables */
.wp-block-table { overflow-x: auto; margin-top: 1.5rem; }
.wp-block-table table { border-collapse: collapse; width: 100%; min-width: 560px; }
.wp-block-table th { background: var(--vx-navy); color: #fff; text-align: left; font-family: var(--vx-heading); font-weight: 600; font-size: .95rem; }
.wp-block-table th, .wp-block-table td { padding: .7rem .85rem; border: 1px solid var(--vx-line); vertical-align: top; }
.wp-block-table tbody tr:nth-child(even) td { background: var(--vx-mist); }
.wp-block-table figcaption { text-align: left; }

/* FAQ */
.vx-faq { max-width: 860px; }
.vx-section > * + .vx-kicker { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.vx-section > .vx-note { max-width: 860px; }
.vx-section > .wp-block-table { max-width: var(--vx-wide); }
.wp-block-details { border-bottom: 1px solid var(--vx-line); padding: 0 !important; }
.wp-block-details summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--vx-heading); font-weight: 600; font-size: 1.15rem; color: var(--vx-navy-900); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--vx-orange-700); border-bottom: 2px solid var(--vx-orange-700); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wp-block-details > :not(summary) { margin: 0 0 1.1rem; color: var(--vx-slate); }

/* ---------- CTA band ---------- */
.vx-cta-band { background: var(--vx-navy-950); color: #C9D5E3; position: relative; overflow: hidden; }
.vx-cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--vx-orange); }
.vx-cta-band__inner { max-width: var(--vx-wide); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--vx-gutter); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.vx-cta-band__title { color: #fff; margin: 0 0 .6rem; font-size: var(--wp--preset--font-size--xxl); }
.vx-cta-band p { margin: 0; max-width: 62ch; }
.vx-cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .vx-cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.vx-footer { background: var(--vx-navy-950); color: #A9B8CB; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.08); }
.vx-footer__inner { max-width: var(--vx-wide); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--vx-gutter) 2.5rem; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
.vx-footer .vx-brand__name, .vx-footer .vx-brand__a { color: #fff; }
.vx-footer .vx-brand__b { color: var(--vx-orange); }
.vx-footer__tagline { margin: 1rem 0; max-width: 40ch; }
.vx-footer__contact { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .35rem; }
.vx-footer a { color: #DCE5F0; text-decoration: none; }
.vx-footer a:hover { color: var(--vx-orange); text-decoration: underline; }
.vx-footer .vx-btn--primary { color: #fff; }
.vx-footer .vx-btn--primary:hover { background: #fff; color: var(--vx-navy-900); text-decoration: none; }
.vx-footer__title { font-family: var(--vx-heading); font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin: .4rem 0 1rem; }
.vx-footer__menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.vx-footer__menu a { color: #A9B8CB; }
.vx-footer__bottom { max-width: var(--vx-wide); margin: 0 auto; padding: 1.5rem var(--vx-gutter) 2rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; font-size: .875rem; }
.vx-footer__bottom p { margin: 0; }
.vx-footer__legal { list-style: none; display: flex; gap: 1.25rem; padding: 0; margin: 0; }
.vx-lang--footer { margin-left: auto; }
.vx-lang--footer a, .vx-lang--footer span { color: #A9B8CB; }
.vx-lang--footer span[aria-current] { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 1023px) { .vx-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vx-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .vx-footer__inner { grid-template-columns: 1fr; } .vx-lang--footer { margin-left: 0; } }

/* ---------- Articles ---------- */
.vx-article-head { padding: clamp(2.25rem, 5vw, 3.5rem) var(--vx-gutter) 2rem !important; border-bottom: 1px solid var(--vx-line); background: linear-gradient(180deg, var(--vx-mist), #fff); }
.vx-article-title { font-size: var(--wp--preset--font-size--display) !important; margin-top: 1rem !important; }
.vx-article-lead { font-size: var(--wp--preset--font-size--lg); color: var(--vx-slate); margin-top: 1rem !important; }
.vx-article-lead p { margin: 0; }
.vx-post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin-top: 1.25rem !important; font-size: .9rem; color: var(--vx-slate); }
.vx-chip { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--vx-navy); color: #fff !important; font-size: .8rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.vx-article { max-width: var(--vx-wide); margin: 0 auto !important; padding: 2.5rem var(--vx-gutter) 3rem; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.vx-article__aside { position: sticky; top: calc(var(--vx-header-h) + 1.5rem); max-height: calc(100vh - var(--vx-header-h) - 3rem); overflow-y: auto; }
.vx-article__body { max-width: 780px; margin: 0 !important; }
.vx-article__image img { border-radius: var(--vx-radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.vx-toc { border-left: 2px solid var(--vx-line); padding-left: 1rem; font-size: .9rem; }
.vx-toc__title { font-family: var(--vx-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--vx-navy-900); margin: 0 0 .75rem; }
.vx-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.vx-toc a { color: var(--vx-slate); text-decoration: none; line-height: 1.35; display: block; }
.vx-toc a:hover, .vx-toc a.is-active { color: var(--vx-orange-700); }
@media (max-width: 959px) { .vx-article { grid-template-columns: 1fr; } .vx-article__aside { position: static; max-height: none; border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 1rem 1.25rem; } .vx-toc { border: 0; padding: 0; } }
.vx-prose > * + * { margin-top: 1.1rem; }
.vx-prose > h2 { font-size: var(--wp--preset--font-size--xxl); margin-top: 2.75rem; padding-top: .25rem; }
.vx-prose > h3 { font-size: var(--wp--preset--font-size--xl); margin-top: 2rem; }
.vx-prose li + li { margin-top: .35rem; }
.vx-prose .vx-sources { font-size: .9rem; }
.vx-prose .vx-sources li { word-break: break-word; }
.vx-prose .vx-section, .vx-prose .alignfull { margin-left: 0; margin-right: 0; }
.vx-definition { border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: 1rem 1.25rem !important; background: #fff; }
.vx-definition > p:first-child { font-family: var(--vx-heading); font-weight: 700; color: var(--vx-navy); }

/* Related + post grid */
.vx-related { max-width: var(--vx-wide); margin: 0 auto; padding: 2rem var(--vx-gutter) clamp(3rem, 6vw, 4.5rem); }
.vx-related > h2 { font-size: var(--wp--preset--font-size--xxl); }
.vx-post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); margin-top: 1.5rem; }
.vx-post-card { border: 1px solid var(--vx-line); border-radius: var(--vx-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s, border-color .15s; }
.vx-post-card:hover { box-shadow: 0 10px 28px rgba(6,18,31,.09); border-color: #B8C5D6; }
.vx-post-card__media img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.vx-post-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.vx-post-card__title { font-size: 1.2rem; margin: .5rem 0 .5rem; line-height: 1.25; }
.vx-post-card__title a { color: var(--vx-navy-900); text-decoration: none; }
.vx-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.vx-post-card__title a:hover { color: var(--vx-orange-700); }
.vx-post-card__excerpt { margin: 0; font-size: .95rem; color: var(--vx-slate); }
.vx-filter ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.vx-filter a { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--vx-line); border-radius: 999px; text-decoration: none; color: var(--vx-navy-900); font-size: .92rem; font-weight: 500; }
.vx-filter a:hover { border-color: var(--vx-navy); }
.vx-filter a[aria-current] { background: var(--vx-navy); border-color: var(--vx-navy); color: #fff; }
.vx-pagination ul { list-style: none; display: flex; gap: .35rem; padding: 0; margin: 2.5rem 0 0; }
.vx-pagination .page-numbers { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--vx-line); border-radius: 4px; text-decoration: none; }
.vx-pagination .current { background: var(--vx-navy); color: #fff; border-color: var(--vx-navy); }

/* Forms (Fluent Forms) */
.vx-form-wrap { background: #fff; border: 1px solid var(--vx-line); border-radius: var(--vx-radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 10px 30px rgba(6,18,31,.06); }
.vx-form-wrap .ff-el-input--label label { font-weight: 600; color: var(--vx-navy-900); }
.vx-form-wrap .ff-el-form-control { border-radius: 4px !important; border-color: #B8C5D6 !important; min-height: 46px; }
.vx-form-wrap .ff-el-form-control:focus { border-color: var(--vx-navy) !important; box-shadow: 0 0 0 3px rgba(28,70,117,.18) !important; }
.vx-form-wrap .ff-btn-submit { background: var(--vx-orange-700) !important; color: #fff !important; border-radius: 4px !important; font-family: var(--vx-heading); font-weight: 600 !important; font-size: 1.05rem !important; padding: .85rem 1.6rem !important; }
.vx-form-wrap .ff-btn-submit:hover { background: var(--vx-navy) !important; }
.vx-form-wrap .ff-message-success { border-left: 3px solid #1F7A4D; background: #EEF8F2; padding: 1rem 1.25rem; border-radius: 0 4px 4px 0; }

/* Contact aside */
.vx-contact-list { list-style: none; padding: 0 !important; display: grid; gap: 1rem; }
.vx-contact-list strong { display: block; font-family: var(--vx-heading); color: var(--vx-navy-900); }

/* 404 */
.vx-404 { padding: clamp(4rem, 10vw, 7rem) var(--vx-gutter); max-width: 780px; margin: 0 auto; }
.vx-404 .wp-block-search { max-width: 520px; margin-top: 1.5rem; }
.wp-block-search__input { border-radius: 4px; border: 1px solid #B8C5D6; min-height: 46px; padding: 0 .9rem; }
.wp-block-search__button { background: var(--vx-navy); color: #fff; border: 0; border-radius: 4px; padding: 0 1.2rem; font-weight: 600; }
.vx-search-results > li { border-bottom: 1px solid var(--vx-line); padding: 1.25rem 0; }

/* Print */
@media print { .vx-site-header, .vx-site-footer, .vx-cta-band, .vx-article__aside, .vx-related { display: none !important; } }

/* ---------- Cookie preferences ---------- */
.vx-footer__cookies { background: none; border: 0; padding: 0; font: inherit; color: #DCE5F0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vx-footer__cookies:hover { color: var(--vx-orange); }
.vx-consent { position: fixed; z-index: 1000; left: 1rem; bottom: 1rem; max-width: 420px; background: #fff; color: var(--vx-ink); border: 1px solid var(--vx-line); border-top: 3px solid var(--vx-navy); border-radius: var(--vx-radius); box-shadow: 0 10px 30px rgba(6,18,31,.18); padding: 1rem 1.1rem; font-size: .9rem; line-height: 1.5; }
.vx-consent p { margin: 0 0 .8rem; }
.vx-consent a { color: var(--vx-navy-600); }
.vx-consent__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.vx-consent .vx-btn { min-height: 40px; padding: .55rem 1.1rem; font-size: .92rem; }
.vx-consent__decline { border-color: var(--vx-navy); color: var(--vx-navy); background: transparent; }
.vx-consent__decline:hover { background: var(--vx-navy); color: #fff; }
@media (max-width: 600px) { .vx-consent { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } }
@media print { .vx-consent { display: none; } }
