/* BEXSTAR desktop system, v0.2.1. All artwork is original; no external fonts/assets. */
:root {
    --bex-wide: var(--wp--custom--layout--wide,1440px);
    --bex-gutter: var(--wp--custom--layout--gutter,clamp(20px,4vw,64px));
    --bex-space: var(--wp--custom--spacing--section,clamp(64px,6vw,112px));
    --bex-gap: var(--wp--custom--spacing--grid,clamp(24px,2.5vw,40px));
    --bex-navy: #071E33; --bex-yellow: #FFC400; --bex-line: #d6dfe4;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img,video { max-width: 100%; }
a { text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:where(a,button,summary,input,select,textarea):focus-visible { outline: 3px solid #1177c7; outline-offset: 4px; }
.bex-dark :focus-visible,.bex-footer :focus-visible,.bex-hero :focus-visible,.bex-final :focus-visible { outline-color: #FFC400; }
button,summary { font: inherit; }
button,summary { cursor: pointer; }
.bex-main,.wp-site-blocks > * { margin-block-start: 0; }
.bex-section { width: 100%; max-width: var(--bex-wide); margin: 0 auto; padding: var(--bex-space) var(--bex-gutter); }
.bex-section > :first-child { margin-top: 0; }
.bex-section h2 { max-width: 26ch; margin-block: 1rem 1.75rem; font-size: clamp(2rem,3.2vw,3rem); line-height: 1.12; letter-spacing: -.035em; }
.bex-eyebrow { font-size: .72rem; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.bex-lead { max-width: 52ch; font-size: clamp(1.125rem,1.5vw,1.375rem); line-height: 1.55; }
.bex-small { font-size: .8125rem; line-height: 1.6; }
.bex-cta { background: #F5F7F8; }
.bex-reading { max-width: 840px; min-height: 60vh; }
.bex-reading .wp-block-post-content { overflow-wrap: anywhere; }
.bex-reading .wp-block-table { overflow-x: auto; }
.wp-block-button__link,.bex-button { transition: background-color .16s,color .16s; }
.wp-block-button__link:hover,.bex-button:hover { background: #edb600; color: #071E33; }
.bex-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .8rem 1.2rem; font-size: .8rem; font-weight: 700; color: #071E33; background: #FFC400; text-decoration: none; }
.bex-header { position: relative; z-index: 20; display: grid; grid-template-columns: 156px minmax(0,1fr) auto; grid-template-rows: 30px 76px; column-gap: 24px; padding-inline: max(var(--bex-gutter),calc((100% - var(--bex-wide))/2 + var(--bex-gutter))); background: #fff; border-bottom: 1px solid var(--bex-line); color: #071E33; }
.bex-utility { grid-column: 2/4; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; font-size: .6875rem; }
.bex-utility a { color: #5F6B76; text-decoration: none; }
.bex-utility span { color: #5F6B76; }
.bex-header-row { display: contents; }
.bex-wordmark { grid-column: 1; grid-row: 2; align-self: center; color: #071E33; font-size: 1.8rem; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.bex-logo-image { display: block; width: auto; height: auto; max-width: 156px; max-height: 42px; object-fit: contain; }
.bex-header-actions { grid-column: 3; grid-row: 2; align-self: center; display: flex; align-items: center; gap: 1.3rem; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.bex-header-actions > a:first-child { color: #071E33; text-decoration: none; padding-block: .8rem; }
.bex-nav { grid-column: 2; grid-row: 2; align-self: stretch; min-width: 0; }
.bex-nav ul { list-style: none; margin: 0; padding: 0; }
.bex-top { height: 100%; display: flex; align-items: stretch; justify-content: flex-end; gap: 4px; }
.bex-top > li { display: flex; align-items: stretch; min-width: 0; }
.bex-top > li > a,.bex-mega > summary { display: flex; align-items: center; height: 100%; min-height: 44px; padding: 0 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; list-style: none; color: #071E33; text-decoration: none; }
.bex-mega > summary::-webkit-details-marker { display: none; }
.bex-mega > summary::after { content: "+"; margin-left: 5px; width: .7em; text-align: center; font-weight: 400; }
.bex-mega[open] > summary::after { content: "−"; }
.bex-mega > summary:hover,.bex-mega[open] > summary { box-shadow: inset 0 -3px #FFC400; }
.bex-panel { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1.05fr 1.2fr 1.15fr; gap: var(--bex-gap); padding: 36px max(var(--bex-gutter),calc((100% - var(--bex-wide))/2 + var(--bex-gutter))) 40px; background: #fff; border-top: 1px solid var(--bex-line); border-bottom: 3px solid #FFC400; max-height: min(72vh,690px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 14px 22px rgb(7 30 51 / 8%); }
.bex-mega-editorial .bex-panel { grid-template-columns: 1fr 1.15fr 1.35fr; }
.bex-nav-column { min-width: 0; }
.bex-nav-heading { margin: 0 0 14px; font-size: .73rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #5F6B76; }
.bex-panel a,.bex-pending { display: block; padding: 7px 0; font-size: .9rem; line-height: 1.5; color: #071E33; text-decoration: none; }
.bex-panel a:hover { text-decoration: underline; }
.bex-panel a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.bex-nav-feature { border-left: 1px solid var(--bex-line); padding-left: var(--bex-gap); min-width: 0; }
.bex-nav-feature .bex-eyebrow { margin-top: 0; }
.bex-nav-feature p { font-size: .9rem; line-height: 1.6; }
.bex-nav-feature .bex-nav-title { font-size: 1.7rem; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.bex-nav-feature a { margin-top: 1.25rem; font-weight: 700; }
.bex-nav-media { min-width: 0; align-self: stretch; }
.bex-nav-media .bex-media { aspect-ratio: 8/5; height: auto; min-height: 0; }
.bex-nav-feature-media { margin-top: 20px; }
.bex-nav-feature-media .bex-media { aspect-ratio: 8/5; }
.bex-subnav summary { min-height: 36px; padding: 7px 0; font-size: .9rem; }
.bex-subnav ul,.bex-subpanel { padding-left: 16px; border-left: 1px solid var(--bex-line); }
.bex-panel > ul { grid-column: span 3; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.bex-menu-toggle { min-height: 44px; border: 1px solid #071E33; background: #fff; padding: .5rem 1rem; }
.bex-skip { position: absolute; left: 16px; top: -120px; z-index: 30; background: #FFC400; padding: 16px; color: #071E33; }
.bex-skip:focus { top: 8px; }
.screen-reader-text { position: absolute; border: 0; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; padding: 0; white-space: nowrap; }
.bex-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(560px,40vw,660px); background: #071E33; color: #fff; }
.bex-hero > .bex-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; z-index: -2; }
.bex-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 30 51 / 92%) 0%,rgb(7 30 51 / 80%) 48%,rgb(7 30 51 / 28%) 100%); pointer-events: none; }
.bex-hero-copy { width: 100%; min-width: 0; max-width: var(--bex-wide); margin-inline: auto; padding: 64px var(--bex-gutter); }
.bex-hero h1 { max-width: 24ch; margin-block: 22px 24px; font-size: clamp(40px,4.3vw,66px); line-height: 1.08; letter-spacing: -.04em; }
.bex-headline-line { white-space: nowrap; }
.bex-hero .bex-lead { max-width: 570px; color: #e4eaee; }
.bex-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.bex-hero-actions > * { margin: 0; }
.bex-hero-actions .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; }
.bex-hero .is-style-outline .wp-block-button__link { color: #fff; border: 1px solid #fff; background: transparent; }
.bex-hero .is-style-outline .wp-block-button__link:hover { color: #071E33; background: #fff; }
.bex-quick { background: #fff; border-bottom: 1px solid var(--bex-line); }
/* Compose the cinematic hero and action panel without changing mobile flow. */
@media (min-width: 768px) {
    .bex-main > .bex-hero + .bex-quick {
        position: relative;
        z-index: 1;
        width: 90%;
        margin: -48px auto 24px;
        border: 1px solid var(--bex-line);
        box-shadow: 0 12px 32px rgb(7 30 51 / 12%);
    }
}
@media (min-width: 1240px) {
    .bex-main > .bex-hero + .bex-quick { margin-top: -60px; margin-bottom: 32px; }
}
.bex-action-hub { display: grid; grid-template-columns: minmax(0,23fr) minmax(0,54fr) minmax(0,23fr); width: 100%; max-width: var(--bex-wide); margin: 0 auto; padding: 32px var(--bex-gutter); color: var(--bex-navy); }
.bex-hub-section { min-width: 0; padding-inline: 24px; }
.bex-hub-customers { grid-column: 1; grid-row: 1; padding-left: 0; }
.bex-hub-quote { display: flex; flex-direction: column; grid-column: 2; grid-row: 1; border-inline: 1px solid var(--bex-line); }
.bex-hub-tracking { grid-column: 3; grid-row: 1; padding-right: 0; }
.bex-hub-section h2 { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }
.bex-hub-quote h2 { font-size: 1.35rem; }
.bex-hub-form { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bex-hub-routes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.bex-hub-route .bex-hub-fields { grid-template-columns: 1fr; gap: 26px; }
.bex-hub-route .bex-hub-fields input { margin-top: 8px; }
.bex-hub-section p,.bex-hub-section li { font-size: .875rem; line-height: 1.55; }
.bex-hub-section > p { margin: 0 0 16px; }
.bex-hub-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bex-hub-fields label { min-width: 0; font-size: .78rem; font-weight: 700; }
.bex-hub-fields input,.bex-hub-fields select { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 6px; padding: 10px; border: 1px solid #7b8995; border-radius: 0; background: #fff; color: var(--bex-navy); font: inherit; font-size: 1rem; }
.bex-hub-form fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.bex-hub-form legend { margin-bottom: 10px; padding: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.bex-hub-form .bex-hub-modes { margin-bottom: 28px; }
.bex-hub-form .bex-hub-route legend { margin-bottom: 18px; }
.bex-hub-mode-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.bex-hub-mode-options label { position: relative; min-width: 0; cursor: pointer; }
.bex-hub-mode-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bex-hub-mode-options span { display: flex; align-items: center; justify-content: center; min-height: 48px; height: 100%; padding: 8px 6px; border: 1px solid #7b8995; font-size: .78rem; font-weight: 700; text-align: center; }
.bex-hub-mode-options input:checked + span { background: var(--bex-yellow); border-color: var(--bex-navy); color: var(--bex-navy); box-shadow: inset 0 -3px var(--bex-navy); }
.bex-hub-mode-options input:focus-visible + span { outline: 3px solid #1177c7; outline-offset: 3px; }
.bex-hub-next { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: auto; padding-top: 4px; }
.bex-hub-next p { margin: 0; font-size: .78rem; color: #485869; }
.bex-hub-section .bex-button { border: 0; }
.bex-hub-next .bex-button { min-width: 120px; }
.bex-hub-section .bex-hub-disabled { background: #e8edf0; color: #485869; cursor: not-allowed; margin-top: 8px; }
.bex-hub-customers .bex-hub-disabled:disabled,
.bex-hub-customers .bex-hub-disabled:disabled:hover { background: #f1f4f6; color: #34485a; border: 1px solid #a5b2bd; opacity: 1; box-shadow: none; transition: none; }
.bex-hub-fields input:disabled { background: #f4f6f8; cursor: not-allowed; }
.bex-hub-tracking .bex-hub-fields input:disabled:not([aria-invalid="true"]) { border-color: #7b8995; box-shadow: none; }
.bex-hub-section .bex-hub-status { margin: 8px 0 0; font-size: .75rem; color: #485869; }
.bex-hub-tracking .bex-hub-fields { grid-template-columns: 1fr; }
.bex-hub-secondary { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bex-line); }
.bex-hub-secondary h3 { margin: 0 0 12px; font-size: 1.05rem; }
.bex-hub-secondary ul { margin: 0 0 16px; padding-left: 18px; }
.bex-hub-secondary li + li { margin-top: 6px; }
.bex-hub-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; background: var(--bex-navy); color: #fff; font-size: .75rem; font-weight: 700; text-decoration: none; }
.bex-hub-contact:hover { background: #173b59; color: #fff; }
@media (min-width: 768px) and (max-width: 1239px) {
    .bex-action-hub { grid-template-columns: 1fr 1fr; }
    .bex-hub-quote { grid-column: 1/-1; grid-row: 1; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--bex-line); }
    .bex-hub-customers { grid-column: 1; grid-row: 2; padding: 24px 24px 0 0; }
    .bex-hub-tracking { grid-column: 2; grid-row: 2; padding: 24px 0 0 24px; border-left: 1px solid var(--bex-line); }
}
@media (max-width: 767px) {
    .bex-action-hub { grid-template-columns: 1fr; }
    .bex-hub-section { grid-column: auto; grid-row: auto; padding: 24px 0; border: 0; }
    .bex-hub-quote { padding-top: 0; }
    .bex-hub-customers,.bex-hub-tracking { border-top: 1px solid var(--bex-line); }
    .bex-hub-tracking { padding-bottom: 0; }
    .bex-hub-routes { grid-template-columns: 1fr; gap: 0; }
    .bex-hub-fields { grid-template-columns: 1fr; }
    .bex-hub-mode-options { grid-template-columns: 1fr 1fr; }
}
.bex-media { margin: 0; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: var(--bex-ratio,3/2); background: #dce4e8; }
.bex-media-fallback { position: absolute; inset: 0; background: #dce4e8 url("../images/placeholders/logistics-neutral.svg") center/cover no-repeat; }
.bex-media[data-bex-slot="sourcing-menu"] .bex-media-fallback,
.bex-media[data-bex-slot="sourcing"] .bex-media-fallback,
.bex-media[data-bex-slot="more-than-freight"] .bex-media-fallback { background-image: url("../images/placeholders/sourcing-neutral.svg"); }
.bex-media[data-bex-slot="supply-chain-menu"] .bex-media-fallback,
.bex-media[data-bex-slot="supply-chain"] .bex-media-fallback { background-image: url("../images/placeholders/supply-chain-neutral.svg"); }
.bex-media[data-bex-slot="fba-menu"] .bex-media-fallback,
.bex-media[data-bex-slot="fba"] .bex-media-fallback { background-image: url("../images/placeholders/fba-neutral.svg"); }
.bex-media[data-bex-slot="resources-menu"] .bex-media-fallback { background-image: url("../images/placeholders/resources-neutral.svg"); }
.bex-media[data-bex-slot="about-menu"] .bex-media-fallback { background-image: url("../images/placeholders/about-neutral.svg"); }
.bex-media[data-bex-slot="industries-menu"] .bex-media-fallback { background-image: url("../images/placeholders/industries-neutral.svg"); }
.bex-media img,.bex-media video { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: var(--bex-position,50% 50%); }
.bex-media video { z-index: 1; }
.bex-media-label { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; background: #071E33; color: #fff; font-size: .7rem; padding: .5rem; overflow-wrap: anywhere; }
.bex-video-toggle { position: absolute; top: 16px; right: 16px; z-index: 3; background: #fff; color: #071E33; border: 0; padding: .6rem 1rem; min-height: 44px; font-size: .8rem; }
.bex-editorial { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px,5vw,80px); }
.bex-editorial > * { min-width: 0; }
/* Grid gap owns spacing; WordPress flow margins must not offset grid items. */
.bex-main .bex-editorial > *,
.bex-main .bex-solutions-grid > *,
.bex-main .bex-solution > * { margin-block: 0; }
.bex-editorial-copy > :first-child { margin-top: 0; }
.bex-editorial-copy > p:not(.bex-eyebrow) { max-width: 46ch; }
.bex-editorial-copy .wp-block-buttons { margin-top: 28px; }
.bex-intro-layout { grid-template-columns: 1fr 1.08fr; }
.bex-intro-layout > .bex-media { aspect-ratio: 8/5; }
.bex-intro-layout h2 { max-width: 18ch; }
.bex-intro-layout .bex-editorial-copy > p:last-child a { display: inline-block; padding-block: 10px; font-size: .875rem; font-weight: 700; }
.bex-scope { font-size: .875rem; color: #5F6B76; line-height: 1.9; border-top: 1px solid var(--bex-line); padding-top: 20px; }
.bex-services-primary { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--bex-gap); margin-top: 40px; }
.bex-service-feature { margin: 0; min-width: 0; }
.bex-service-feature:nth-child(2) { padding-top: 64px; }
.bex-service-copy { padding-top: 20px; }
.bex-service-copy h3 { margin: 0 0 12px; font-size: 1.75rem; }
.bex-service-copy p { margin-block: 12px; max-width: 43ch; }
.bex-service-copy a { font-weight: 700; font-size: .875rem; }
.bex-services-secondary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--bex-line); margin-top: 40px; padding-top: 20px; }
.bex-services-secondary p { margin: 0; }
.bex-services-secondary a { font-weight: 700; font-size: .9rem; text-decoration: none; }
.bex-service-note { margin-top: 28px; color: #5F6B76; }
.bex-media-break { position: relative; margin: 0; }
.bex-media-break > .bex-media { aspect-ratio: 21/9; max-height: 720px; }
.bex-media-break-caption { position: absolute; left: var(--bex-gutter); bottom: 28px; padding: 8px 16px; background: #071E33; color: #fff; }
.bex-destinations-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 24px; margin-top: 40px; }
.bex-destination { min-width: 0; margin: 0; }
.bex-destination:nth-child(-n+2) { grid-column: span 2; }
.bex-destination:nth-child(-n+2) .bex-media { aspect-ratio: 16/9; }
.bex-destination-copy { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-top: 14px; }
.bex-destination h3 { font-size: 1.4rem; margin: 0; }
.bex-destination-copy p { margin: 0; font-size: .78rem; }
.bex-supply-section { background: #F5F7F8; }
.bex-editorial-reverse { grid-template-columns: 1fr 1.1fr; }
.bex-process { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bex-line); }
.bex-process p { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.bex-process-number { display: block; margin-bottom: 10px; font-size: .85rem; font-weight: 400; color: #5F6B76; }
.bex-fba-layout { grid-template-columns: 1.2fr 1fr; }
.bex-fba-layout > .bex-media { aspect-ratio: 4/5; }
.bex-fba-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-block: 24px; }
.bex-fba-links p { margin: 0; font-size: .85rem; }
.bex-fba-questions { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--bex-line); }
.bex-fba-questions li { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--bex-line); }
.bex-fba-questions strong { font-size: .94rem; line-height: 1.35; }
.bex-fba-questions span { color: #526273; font-size: .83rem; line-height: 1.5; }
.bex-fba-implication { margin-top: 18px; font-weight: 700; line-height: 1.5; }
.bex-fba-market-nav { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bex-line); }
.bex-fba-market-nav span { margin-right: auto; color: #526273; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bex-fba-market-nav a,.bex-fba-other-markets a { font-size: .88rem; font-weight: 700; }
.bex-fba-other-markets { margin: 16px 0 0; color: #526273; font-size: .88rem; }
.bex-industries-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 24px; margin-top: 40px; }
.bex-industry { margin: 0; min-width: 0; }
.bex-industry:nth-child(-n+2) { grid-column: span 2; }
.bex-industry:nth-child(-n+2) .bex-media { aspect-ratio: 16/9; }
.bex-industry h3 { font-size: 1.15rem; margin-top: 16px; }
.bex-industry h3 a { text-decoration: none; }
.bex-dark { background: #071E33; color: #fff; max-width: none; padding-inline: max(var(--bex-gutter),calc((100% - var(--bex-wide))/2 + var(--bex-gutter))); }
.bex-dark a { color: #fff; }
/* Editorial solution cards reuse the shared media block and its fallback. */
.bex-solutions-intro { max-width: 850px; margin-bottom: 40px; }
.bex-solutions-intro h2 { margin: 16px 0 20px; }
.bex-solutions-intro .bex-lead { color: #d5dfe6; }
.bex-solutions-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.bex-solution { display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--bex-navy); }
.bex-digital-solutions .bex-solution > .bex-media { width: 100%; aspect-ratio: 4/3; flex: none; }
.bex-solution .bex-media img { object-fit: cover; }
.bex-solution-body { display: flex; flex: 1; flex-direction: column; padding: 24px 20px; }
.bex-solution-body h3 { margin: 0 0 16px; font-size: 1.3rem; line-height: 1.25; min-height: 2.5em; }
.bex-solution-body > p { margin: 0 0 24px; font-size: 1rem; line-height: 1.6; }
.bex-solution-action { margin-top: auto; padding-top: 18px; border-top: 2px solid var(--bex-yellow); }
.bex-solution-action p { margin: 0; }
.bex-digital-solutions .bex-solution-action a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bex-navy); font-size: .75rem; font-weight: 700; line-height: 1.5; text-underline-offset: 4px; }
.bex-solution-action a:hover { text-decoration-thickness: 2px; }
.bex-solution-unavailable { font-size: .75rem; font-weight: 700; line-height: 1.5; color: #53616e; }
.bex-status { font-size: .75rem !important; letter-spacing: .06em; text-transform: uppercase; }
.bex-solution-action .bex-status { margin-top: 8px; color: #53616e; }
@media (min-width: 768px) and (max-width: 1239px) {
    .bex-solutions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
}
@media (min-width: 1000px) and (max-width: 1239px) {
    .bex-solutions-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .bex-solutions-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .bex-solution-body h3 { min-height: 0; }
}
.bex-case-empty { border-top: 1px solid var(--bex-line); margin-top: 36px; padding-top: 20px; color: #5F6B76; }
.bex-case-grid,.bex-reasons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--bex-gap); margin-top: 40px; }
.bex-case-item { min-width: 0; }
.bex-case-item h3 { font-size: 1.35rem; }
.bex-case-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.bex-case-image img { width: 100%; height: 100%; object-fit: cover; }
.bex-reason { margin: 0; border-top: 1px solid var(--bex-line); padding-top: 20px; }
.bex-reason-number { color: #5F6B76; font-size: .875rem; }
.bex-reason h3 { font-size: 1.35rem; }
.bex-reason > p:last-child { font-size: .95rem; max-width: 36ch; }
.bex-final { position: relative; isolation: isolate; min-height: 480px; background: #071E33; color: #fff; display: flex; align-items: center; }
.bex-final > .bex-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; z-index: -2; }
.bex-final::before { content: ""; position: absolute; inset: 0; background: rgb(7 30 51 / 80%); z-index: -1; pointer-events: none; }
.bex-final-copy { width: 100%; max-width: var(--bex-wide); margin: auto; padding: 72px var(--bex-gutter); }
.bex-final h2 { font-size: clamp(2rem,3.5vw,3.4rem); line-height: 1.1; letter-spacing: -.03em; }
.bex-contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.bex-contact-actions > :nth-child(2) { background: transparent; color: #fff; border: 1px solid #c4d3dc; }
.bex-unavailable { flex-direction: column; gap: 3px; cursor: default; }
.bex-unavailable small { font-weight: 400; font-size: .7rem; text-transform: none; }
.bex-unavailable:hover { background: #FFC400; }
.bex-contact-actions > .bex-unavailable:nth-child(2):hover { background: transparent; color: #fff; }
.bex-footer { background: #071E33; color: #fff; padding: 64px max(var(--bex-gutter),calc((100% - var(--bex-wide))/2 + var(--bex-gutter))) 32px; border-top: 1px solid #355064; }
.bex-footer-brand { font-size: 1.8rem; font-weight: 700; letter-spacing: -.055em; margin: 0 0 12px; }
.bex-footer .bex-eyebrow { color: #b7c9d4; font-size: .65rem; }
.bex-footer-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px; padding-top: 36px; margin-block: 36px; border-top: 1px solid #355064; }
.bex-footer-column { margin: 0; }
.bex-footer h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 18px; }
.bex-footer-column p { margin: 8px 0; }
.bex-footer a { color: #d4dfe6; font-size: .82rem; text-decoration: none; }
.bex-footer a:hover { text-decoration: underline; color: #fff; }
.bex-footer > .bex-small { color: #b7c9d4; }
.bex-legal { display: flex; gap: 24px; flex-wrap: wrap; padding: 0 max(var(--bex-gutter),calc((100% - var(--bex-wide))/2 + var(--bex-gutter))) 28px; background: #071E33; }
.bex-legal a { color: #d4dfe6; font-size: .8rem; }
.bex-legal:empty { display: none; }
@media (min-width: 1240px) {
    /* The approved panoramic poster keeps its full width and bow intact. */
    .bex-hero > .bex-media[data-bex-slot="hero"] img {
        width: calc(100% - clamp(100px,9vw,176px));
        height: auto;
        max-height: 100%;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        object-fit: contain;
        object-position: 50% 50%;
        mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
    }
    .bex-hero > .bex-media[data-bex-slot="hero"]:has(img:not([hidden])) .bex-media-fallback {
        background: #071E33;
    }
    .bex-hero:has(> .bex-media[data-bex-slot="hero"] img:not([hidden]))::before {
        background: linear-gradient(90deg, rgb(7 30 51 / 20%), transparent 62%);
    }
    .bex-panel { min-height: min(420px,72vh); align-items: start; gap: clamp(20px,2vw,32px); padding-block: 32px; }
    .bex-nav-column + .bex-nav-column { border-left: 1px solid var(--bex-line); padding-left: 24px; }
    .bex-nav-media { align-self: start; padding-left: 24px; border-left: 1px solid var(--bex-line); }
    .bex-nav-feature .bex-eyebrow { font-size: .72rem; letter-spacing: .12em; }
    .bex-nav-feature .bex-nav-title { margin-block: 16px; }
    .bex-nav-feature a { display: inline-block; border-bottom: 2px solid #FFC400; padding-bottom: 7px; }
}
@media (min-width: 1240px) and (max-width: 1399px) {
    .bex-header { grid-template-columns: 140px minmax(0,1fr) auto; column-gap: 12px; }
    .bex-top > li > a,.bex-mega > summary { padding-inline: 5px; font-size: .68rem; }
    .bex-header-actions { gap: 12px; }
}
@media (max-width: 1239px) {
    .bex-header { display: block; padding-inline: var(--bex-gutter); }
    .bex-utility { min-height: 30px; }
    .bex-header-row { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
    .bex-wordmark { margin-right: auto; }
    .bex-header-actions { margin-left: auto; }
    .bex-nav { width: 100%; }
    .bex-top { display: block; padding-block: 12px; }
    .bex-top > li { display: block; border-top: 1px solid var(--bex-line); }
    .bex-mega > summary { padding: 16px 0; }
    .bex-panel,.bex-mega-editorial .bex-panel { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); box-shadow: none; padding: 20px 0; max-height: none; overflow: visible; border-bottom: 0; }
    .bex-panel a { min-height: 44px; }
    .bex-panel > ul { grid-column: auto; display: block; }
    .bex-nav-media,.bex-nav-feature-media { display: none; }
    .bex-mega-editorial .bex-nav-feature { border-left: 1px solid var(--bex-line); }
}
@media (min-width: 768px) and (max-width: 1239px) {
    .bex-main .bex-services-primary > .bex-service-feature { margin-block: 0; }
    .bex-service-feature:nth-child(2) { padding-top: 0; }
}
@media (max-width: 767px) {
    .bex-header-row { flex-wrap: wrap; gap: 12px; }
    .bex-header-actions { order: 3; width: 100%; justify-content: space-between; }
    .bex-menu-toggle { margin-left: auto; }
    .bex-hero { min-height: 600px; }
    .bex-hero::before { background: rgb(7 30 51 / 84%); }
    .bex-hero-copy { padding-block: 56px; }
    .bex-hero h1 { font-size: clamp(30px,6vw,46px); }
    .bex-headline-line { white-space: normal; }
    .bex-panel,.bex-mega-editorial .bex-panel { grid-template-columns: 1fr; }
    .bex-nav-feature,.bex-mega-editorial .bex-nav-feature { border-left: 0; border-top: 1px solid var(--bex-line); padding: 20px 0 0; }
    .bex-editorial,.bex-services-primary { grid-template-columns: 1fr; gap: 32px; }
    .bex-service-feature:nth-child(2) { padding-top: 0; }
    .bex-services-secondary { grid-template-columns: 1fr 1fr; }
    .bex-destinations-grid,.bex-industries-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .bex-destination:nth-child(-n+2),.bex-industry:nth-child(-n+2) { grid-column: span 1; }
    .bex-destination-copy { display: block; }
    .bex-destination-copy p { margin-top: 8px; }
    .bex-destination h3 { font-size: 1.2rem; }
    .bex-process { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 12px; }
    .bex-process p { min-width: 0; overflow-wrap: anywhere; }
    .bex-media { aspect-ratio: var(--bex-mobile-ratio,4/5); }
    .bex-media img,.bex-media video { object-position: var(--bex-mobile-position,50% 50%); }
    .bex-media-break > .bex-media { aspect-ratio: 4/3; }
    .bex-case-grid,.bex-reasons { grid-template-columns: 1fr; }
    .bex-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bex-final { min-height: 420px; }
}
@media (max-width: 379px) {
    .bex-destinations-grid,.bex-industries-grid { grid-template-columns: 1fr; }
    .bex-fba-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
    .bex-mega[open] > .bex-panel { animation: bex-enter .16s ease-out; }
    @keyframes bex-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Verified Contact page only; shared header, footer and homepage stay unchanged. */
.bex-contact-page > section { margin-block-start: 0; }
.bex-contact-page .bex-contact-intro { background: var(--bex-navy); color: #fff; }
.bex-contact-page h1 { max-width: 18ch; font-size: clamp(2.5rem,5vw,4.5rem); line-height: 1.08; letter-spacing: -.035em; margin-block: 1rem 1.75rem; }
.bex-contact-page .bex-contact-intro .bex-eyebrow { color: var(--bex-yellow); }
.bex-contact-page .bex-contact-intro p { max-width: 65ch; }
.bex-contact-page .bex-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 48px; }
.bex-contact-page .bex-contact-detail { margin-block-start: 0; min-width: 0; padding-top: 20px; border-top: 1px solid var(--bex-line); }
.bex-contact-page .bex-contact-detail h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.4; }
.bex-contact-page .bex-contact-detail p { margin: 0; overflow-wrap: anywhere; }
.bex-contact-page .bex-contact-detail a { display: inline-block; padding-block: 6px; text-underline-offset: .2em; }
.bex-contact-page .bex-contact-quote { background: #f4f6f8; }
.bex-contact-page .bex-contact-quote p { max-width: 60ch; }
.bex-contact-page .wp-block-buttons { margin-top: 28px; }
@media (max-width: 640px) {
    .bex-contact-page .bex-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
/* Route FAQs stay close to the final enquiry action and read as a compact
   reference section rather than another image-led panel. */
.bex-route-tax-note {
  max-width: 66ch;
  margin-top: .65rem;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.45;
}
.bex-uk2-hero .bex-route-tax-note,
.bex-eu-hero .bex-route-tax-note,
.bex-ca-hero .bex-route-tax-note,
.bex-au-hero .bex-route-tax-note,
.bex-me-hero .bex-route-tax-note,
.bex-uk-hero .bex-route-tax-note { color: #e3ebf1; }
.bex-uk-page .bex-uk-faq,
.bex-ca-page .bex-ca-faq,
.bex-eu-page .bex-eu-faq,
.bex-au-page .bex-au-faq,
.bex-me-page .bex-me-faq {
  max-width: 1040px;
  padding-block: clamp(52px, 6vw, 88px);
}
.bex-uk-page .bex-uk-faq h2,
.bex-ca-page .bex-ca-faq h2,
.bex-eu-page .bex-eu-faq h2,
.bex-au-page .bex-au-faq h2,
.bex-me-page .bex-me-faq h2 { margin-bottom: 1.5rem; }
.bex-uk-page .bex-uk-faq .wp-block-details,
.bex-ca-page .bex-ca-faq .wp-block-details,
.bex-eu-page .bex-eu-faq .wp-block-details,
.bex-au-page .bex-au-faq .wp-block-details,
.bex-me-page .bex-me-faq .wp-block-details {
  border-top: 1px solid var(--bex-line);
  padding: 1.15rem 0;
}
.bex-uk-page .bex-uk-faq .wp-block-details:last-child,
.bex-ca-page .bex-ca-faq .wp-block-details:last-child,
.bex-eu-page .bex-eu-faq .wp-block-details:last-child,
.bex-au-page .bex-au-faq .wp-block-details:last-child,
.bex-me-page .bex-me-faq .wp-block-details:last-child { border-bottom: 1px solid var(--bex-line); }
.bex-uk-page .bex-uk-faq .wp-block-details summary,
.bex-ca-page .bex-ca-faq .wp-block-details summary,
.bex-eu-page .bex-eu-faq .wp-block-details summary,
.bex-au-page .bex-au-faq .wp-block-details summary,
.bex-me-page .bex-me-faq .wp-block-details summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
}
.bex-uk-page .bex-uk-faq .wp-block-details p,
.bex-ca-page .bex-ca-faq .wp-block-details p,
.bex-eu-page .bex-eu-faq .wp-block-details p,
.bex-au-page .bex-au-faq .wp-block-details p,
.bex-me-page .bex-me-faq .wp-block-details p {
  max-width: 75ch;
  margin: .85rem 0 0;
  color: var(--bex-muted, #5f6b76);
}

/* Editorial audience panel: meaningful distinctions without repeated warehouse photos. */
.bex-audiences-intro { max-width: 64ch; color: var(--bex-muted, #5f6b76); }
.bex-audiences-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2.5rem; background: #cbd5dc; border: 1px solid #cbd5dc; }
.bex-audience { display: flex; flex-direction: column; min-width: 0; min-height: 20rem; padding: clamp(1.4rem, 3vw, 2.5rem); background: #f6f8f9; }
.bex-audience-number { color: #34536b; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.bex-audience h3 { max-width: 18ch; margin: 1.25rem 0 .7rem; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.15; }
.bex-audience > p:not(.bex-audience-number) { max-width: 37ch; line-height: 1.55; }
.bex-audience > p:last-child { margin-top: auto; padding-top: 1.6rem; }
.bex-audience a { border-bottom: 2px solid #ffc400; color: #071e33; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.bex-audience a:hover, .bex-audience a:focus-visible { border-color: #071e33; }

/* Warehouse service pages share a quiet, readable visual system. */
.bex-reading:has(.bex-fba-page) { max-width: none; padding: 0; }
.bex-reading:has(.bex-fba-page) .wp-block-post-content,
.bex-reading:has(.bex-fba-page) .wp-block-html { width: 100%; max-width: none; margin: 0; }
.bex-fba-page { width: 100%; margin: 0; color: #071e33; }
.bex-fba-page > section, .bex-fba-jump { padding-inline: max(6vw, calc((100vw - 1180px)/2)); }
.bex-fba-hero { padding-block: clamp(4rem, 7vw, 7rem); background: #071e33; color: white; }
.bex-fba-hero h1 { max-width: 15ch; margin: 1rem 0; color: white; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: 1.02; }
.bex-fba-hero > p:not(.bex-eyebrow) { max-width: 67ch; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.55; }
.bex-fba-button { display: inline-block; margin-top: .9rem; padding: 1rem 1.45rem; background: #ffc400; color: #071e33; font-size: .86rem; font-weight: 800; text-decoration: none; }
.bex-fba-button:hover, .bex-fba-button:focus-visible { background: white; outline: 2px solid #ffc400; }
.bex-fba-jump { display: flex; flex-wrap: wrap; gap: 0 1.8rem; border-bottom: 1px solid #d3dce2; background: white; }
.bex-fba-jump a { display: inline-block; padding: 1.15rem 0; color: #071e33; font-size: .82rem; font-weight: 700; text-decoration: none; }
.bex-fba-jump a:hover, .bex-fba-jump a:focus-visible { box-shadow: inset 0 -3px #ffc400; }
.bex-fba-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.bex-fba-section h2, .bex-fba-cta h2 { max-width: 20ch; margin: .7rem 0 1.15rem; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.1; }
.bex-fba-section > p:not(.bex-eyebrow), .bex-fba-cta p { max-width: 75ch; line-height: 1.7; }
.bex-fba-shade { background: #f4f6f7; }
.bex-fba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2rem; }
.bex-fba-card { min-width: 0; padding: clamp(1.25rem, 2vw, 2rem); border-top: 3px solid #ffc400; background: #fff; box-shadow: 0 1px 0 #dce3e8; }
.bex-fba-card h3 { margin: .8rem 0; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; }
.bex-fba-card p { line-height: 1.6; }
.bex-fba-card small, .bex-fba-card > span { color: #49647a; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.bex-fba-note { margin-top: 1.6rem; padding-left: 1rem; border-left: 3px solid #ffc400; font-size: .92rem; }
.bex-fba-cta { padding-block: 4rem; background: #0b2a42; color: white; }
.bex-fba-cta h2 { color: white; }
@media (max-width: 800px) {
  .bex-audiences-grid, .bex-fba-grid { grid-template-columns: 1fr; }
  .bex-audience { min-height: 0; }
  .bex-fba-page > section, .bex-fba-jump { padding-inline: 1.4rem; }
}
