/*
Theme Name: FreightXO
Description: A lightweight custom WordPress theme for FreightXO pages, resources and tools.
Version: 2.6.6
Author: FreightXO
Text Domain: freightxo
*/

:root {
    --fxo-navy: #050505;
    --fxo-navy-soft: #141414;
    --fxo-blue: #050505;
    --fxo-blue-dark: #242424;
    --fxo-cyan: #ffffff;
    --fxo-ink: #111111;
    --fxo-slate: #555555;
    --fxo-line: #dedede;
    --fxo-soft: #f7f7f7;
    --fxo-white: #ffffff;
    --fxo-header-background: #ffffff;
    --fxo-header-text: #050505;
    --fxo-footer-background: #050505;
    --fxo-footer-base: #050505;
    --fxo-footer-text: #d6d6d6;
    --fxo-primary-button-background: #050505;
    --fxo-primary-button-text: #ffffff;
    --fxo-footer-fade-color: #4b0c0e;
    --fxo-footer-fade-opacity: 0;
    --fxo-footer-tagline-size: 22px;
    --fxo-footer-tagline-weight: 400;
    --fxo-footer-category-size: 22px;
    --fxo-footer-category-weight: 400;
    --fxo-footer-menu-size: 22px;
    --fxo-footer-menu-weight: 400;
    --fxo-shell: 1320px;
    --fxo-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background: var(--fxo-white);
    color: var(--fxo-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body.fxo-nav-open {
    overflow: hidden;
    padding-top: 72px;
}

body.admin-bar .fxo-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .fxo-site-header {
        top: 46px;
    }
}

a {
    color: inherit;
}

.fxo-glossary-link {
    color: var(--fxo-blue);
    text-decoration-color: rgba(0, 0, 0, 0.38);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.fxo-glossary-link:hover,
.fxo-glossary-link:focus-visible {
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
}

img,
svg {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.fxo-site-main,
.fxo-site-main > article,
.fxo-site-main > .page,
.fxo-site-main .entry-content,
.fxo-site-main .wp-block-post-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.fxo-header-shell,
.fxo-footer-shell {
    width: min(var(--fxo-shell), calc(100% - 64px));
    margin-inline: auto;
}

.fxo-skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--fxo-white);
    color: var(--fxo-navy);
    font-weight: 700;
    transform: translateY(-160%);
}

.fxo-skip-link:focus {
    transform: translateY(0);
}

.fxo-site-header {
    position: sticky;
    z-index: 999;
    top: 0;
    background: var(--fxo-header-background);
    color: var(--fxo-header-text);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 180ms ease;
    will-change: transform;
}

.fxo-site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.fxo-site-header.is-hidden {
    transform: translateY(-100%);
}

.fxo-site-header.is-menu-open,
.fxo-site-header:focus-within {
    transform: translateY(0);
}

.fxo-rank-math-breadcrumbs {
    border-bottom: 1px solid var(--fxo-line);
    background: var(--fxo-white);
}

.fxo-breadcrumb-shell {
    width: min(var(--fxo-shell), calc(100% - 64px));
    margin-inline: auto;
    padding-block: 12px;
    color: var(--fxo-slate);
    font-size: 13px;
}

.fxo-rank-math-breadcrumbs p {
    margin: 0;
}

.fxo-rank-math-breadcrumbs a {
    color: var(--fxo-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.fxo-header-main {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.fxo-brand-wrap,
.fxo-brand-wrap .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.fxo-brand-wrap .custom-logo {
    width: auto;
    max-width: 190px;
    height: 48px;
    object-fit: contain;
}

.fxo-wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--fxo-header-text);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1;
    text-decoration: none;
}

.fxo-wordmark strong {
    color: inherit;
    font-weight: 800;
}

.fxo-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.fxo-header-contact {
    color: var(--fxo-header-text);
    font-size: 13px;
    font-weight: 750;
    text-decoration-color: var(--fxo-line);
    text-underline-offset: 4px;
}

.fxo-header-contact:hover,
.fxo-header-contact:focus-visible {
    color: var(--fxo-blue);
}

.fxo-nav-row {
    position: relative;
    border-top: 1px solid var(--fxo-line);
    border-bottom: 1px solid var(--fxo-line);
    background: var(--fxo-header-background);
}

.fxo-primary-nav {
    position: relative;
    min-width: 0;
}

.fxo-primary-menu,
.fxo-primary-menu ul,
.fxo-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fxo-primary-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(22px, 3vw, 48px);
}

.fxo-primary-menu .menu-item {
    position: relative;
}

.fxo-primary-menu > .menu-item {
    display: flex;
    min-height: 58px;
    align-items: center;
}

.fxo-primary-menu > .menu-item-has-children {
    position: relative;
}

.fxo-primary-menu a {
    display: inline-flex;
    align-items: center;
    color: var(--fxo-header-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.fxo-primary-menu > .menu-item > a {
    position: relative;
    min-height: 44px;
    padding: 0 3px;
}

.fxo-primary-menu a:hover,
.fxo-primary-menu a:focus-visible,
.fxo-primary-menu .current-menu-item > a,
.fxo-primary-menu .current-menu-ancestor > a {
    color: var(--fxo-primary-button-background);
}

.fxo-primary-menu > .menu-item > a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--fxo-primary-button-background);
    content: "";
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 160ms ease, transform 160ms ease;
}

.fxo-primary-menu > .menu-item:hover > a::after,
.fxo-primary-menu > .menu-item:focus-within > a::after,
.fxo-primary-menu > .current-menu-item > a::after,
.fxo-primary-menu > .current-menu-ancestor > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.fxo-submenu-toggle {
    display: inline-grid;
    width: 28px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fxo-header-text);
    cursor: pointer;
}

.fxo-submenu-toggle svg {
    width: 11px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease;
}

.fxo-primary-menu .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% - 1px);
    left: -12px;
    display: block;
    width: min(380px, calc(100vw - 40px));
    max-height: calc(100vh - 165px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--fxo-line);
    border-top: 3px solid var(--fxo-blue);
    border-radius: 0 0 14px 14px;
    background: var(--fxo-white);
    box-shadow: var(--fxo-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.fxo-primary-menu > .menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fxo-primary-menu .menu-item.is-open > .fxo-submenu-toggle svg {
    transform: rotate(180deg);
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu > .menu-item {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    border-bottom: 1px solid var(--fxo-line);
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu > .menu-item:last-child {
    border-bottom: 0;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu > .menu-item > a {
    display: flex;
    min-height: 46px;
    padding: 10px 11px;
    border-radius: 8px;
    color: var(--fxo-navy);
    font-size: 13px;
    font-weight: 750;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu > .menu-item:not(.menu-item-has-children) > a {
    grid-column: 1 / -1;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu a:hover,
.fxo-primary-menu > .menu-item-has-children > .sub-menu a:focus-visible {
    background: var(--fxo-soft);
    color: var(--fxo-blue);
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu .sub-menu {
    position: static;
    display: none;
    width: auto;
    grid-column: 1 / -1;
    margin: 0 0 6px 11px;
    padding: 4px 0 4px 10px;
    border-left: 1px solid var(--fxo-line);
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu .sub-menu .menu-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu .sub-menu a {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 7px;
    color: var(--fxo-slate);
    font-size: 12px;
    font-weight: 650;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu .menu-item:not(.menu-item-has-children) > a {
    grid-column: 1 / -1;
}

.fxo-primary-menu > .menu-item-has-children > .sub-menu .fxo-submenu-toggle {
    display: inline-grid;
    width: 38px;
    height: 42px;
    justify-self: end;
}

.fxo-primary-menu .sub-menu .menu-item.is-open > .sub-menu {
    display: block;
}

.fxo-header-quote,
.fxo-footer-quote {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--fxo-primary-button-background);
    background: var(--fxo-primary-button-background);
    color: var(--fxo-primary-button-text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.fxo-header-quote:hover,
.fxo-header-quote:focus-visible,
.fxo-footer-quote:hover,
.fxo-footer-quote:focus-visible {
    background: var(--fxo-primary-button-background);
    filter: brightness(0.88);
    transform: translateY(-1px);
}

.fxo-header-quote svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.fxo-menu-toggle {
    display: none;
}

.fxo-site-footer {
    position: relative;
    background: var(--fxo-footer-background);
    color: var(--fxo-footer-text);
    overflow: hidden;
}

.fxo-site-footer::before {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 48%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    opacity: 0.25;
    pointer-events: none;
    transform: perspective(520px) rotateX(58deg);
    transform-origin: bottom;
}

.fxo-site-footer::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(circle at 92% 18%, var(--fxo-footer-fade-color) 0, transparent 36%),
        linear-gradient(145deg, transparent 0%, transparent 42%, var(--fxo-footer-fade-color) 100%);
    content: "";
    opacity: var(--fxo-footer-fade-opacity);
    pointer-events: none;
    transition: opacity 180ms ease;
}

.fxo-site-footer > * {
    position: relative;
    z-index: 2;
}

.fxo-footer-font-rounded {
    font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fxo-footer-font-inter {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fxo-footer-tagline-regular .fxo-footer-brand p {
    font-weight: 400 !important;
}

.fxo-footer-tagline-bold .fxo-footer-brand p {
    font-weight: 700 !important;
}

.fxo-footer-category-regular .fxo-footer-nav h2,
.fxo-footer-category-regular .fxo-footer-sitemap > .menu-item > a {
    font-weight: 400 !important;
}

.fxo-footer-category-bold .fxo-footer-nav h2,
.fxo-footer-category-bold .fxo-footer-sitemap > .menu-item > a {
    font-weight: 700 !important;
}

.fxo-footer-menu-regular .fxo-footer-menu a,
.fxo-footer-menu-regular .fxo-footer-menu .sub-menu a,
.fxo-footer-menu-regular .fxo-footer-sitemap > .menu-item > .sub-menu > .menu-item > a,
.fxo-footer-menu-regular .fxo-footer-menu .sub-menu .sub-menu a {
    font-weight: 400 !important;
}

.fxo-footer-menu-bold .fxo-footer-menu a,
.fxo-footer-menu-bold .fxo-footer-menu .sub-menu a,
.fxo-footer-menu-bold .fxo-footer-sitemap > .menu-item > .sub-menu > .menu-item > a,
.fxo-footer-menu-bold .fxo-footer-menu .sub-menu .sub-menu a {
    font-weight: 700 !important;
}

.fxo-footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(310px, 0.95fr) minmax(0, 3fr);
    gap: clamp(36px, 5vw, 78px);
    padding-block: clamp(72px, 8vw, 118px) clamp(58px, 7vw, 92px);
}

.fxo-footer-brand p {
    max-width: 360px;
    margin: 0 0 20px;
    color: var(--fxo-footer-text);
    font-size: var(--fxo-footer-tagline-size);
    font-weight: var(--fxo-footer-tagline-weight) !important;
    line-height: 1.45;
}

.fxo-footer-nav h2,
.fxo-footer-social h2 {
    margin: 4px 0 22px;
    color: var(--fxo-footer-text);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.fxo-footer-nav h2 {
    font-size: var(--fxo-footer-category-size);
    font-weight: var(--fxo-footer-category-weight) !important;
}

.fxo-footer-menu {
    display: grid;
    gap: 14px;
}

.fxo-footer-sitemap-nav {
    min-width: 0;
}

.fxo-footer-sitemap.fxo-footer-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(30px, 4.6vw, 66px);
    row-gap: clamp(34px, 4vw, 54px);
}

.fxo-footer-sitemap > .menu-item {
    min-width: 0;
}

.fxo-footer-menu a {
    color: var(--fxo-footer-text);
    font-size: var(--fxo-footer-menu-size);
    font-weight: var(--fxo-footer-menu-weight) !important;
    text-decoration: none;
}

.fxo-footer-menu a:hover,
.fxo-footer-menu a:focus-visible {
    color: var(--fxo-white);
}

.fxo-footer-sitemap > .menu-item > a {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    color: var(--fxo-footer-text);
    font-size: var(--fxo-footer-category-size);
    font-weight: var(--fxo-footer-category-weight) !important;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: none;
}

.fxo-footer-sitemap > .menu-item > a::before {
    content: none;
}

.fxo-footer-sitemap > .menu-item > a:hover,
.fxo-footer-sitemap > .menu-item > a:focus-visible {
    color: var(--fxo-white);
}

.fxo-footer-menu .sub-menu,
.fxo-contact-social-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fxo-footer-menu .sub-menu {
    display: grid;
    gap: 10px;
    padding: 12px 0 2px 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.fxo-footer-sitemap > .menu-item > .sub-menu {
    gap: 12px;
    padding: 14px 0 0;
    border-left: 0;
}

.fxo-footer-menu .sub-menu a {
    color: var(--fxo-footer-text);
    font-size: var(--fxo-footer-menu-size);
    font-weight: var(--fxo-footer-menu-weight) !important;
    line-height: 1.28;
}

.fxo-footer-sitemap > .menu-item > .sub-menu > .menu-item > a {
    color: var(--fxo-footer-text);
    font-size: var(--fxo-footer-menu-size);
    font-weight: var(--fxo-footer-menu-weight) !important;
    line-height: 1.28;
}

.fxo-footer-menu .sub-menu .sub-menu {
    gap: 8px;
    padding-top: 9px;
    padding-left: 14px;
}

.fxo-footer-menu .sub-menu .sub-menu a {
    color: var(--fxo-footer-text);
    font-size: max(12px, calc(var(--fxo-footer-menu-size) - 3px));
    font-weight: var(--fxo-footer-menu-weight) !important;
}

.fxo-contact-social-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fxo-contact-social-menu a {
    color: var(--fxo-white);
    font-size: 13px;
    font-weight: 600;
    text-underline-offset: 4px;
}

.fxo-contact-social-menu .fxo-social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.fxo-contact-social-menu .fxo-social-link:hover,
.fxo-contact-social-menu .fxo-social-link:focus-visible {
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.fxo-contact-social-menu .fxo-social-link-email {
    color: #ea4335;
}

.fxo-contact-social-menu .fxo-social-link-phone {
    color: #34a853;
}

.fxo-contact-social-menu .fxo-social-link-whatsapp {
    color: #25d366;
}

.fxo-contact-social-menu .fxo-social-link-youtube {
    color: #ff0000;
}

.fxo-contact-social-menu .fxo-social-link-facebook {
    color: #1877f2;
}

.fxo-contact-social-menu .fxo-social-link-instagram {
    color: #e4405f;
}

.fxo-contact-social-menu .fxo-social-link-x-twitter {
    color: #ffffff;
}

.fxo-contact-social-menu .fxo-social-link-linkedin {
    color: #0a66c2;
}

.fxo-contact-social-menu .fxo-social-link-wechat {
    color: #07c160;
}

.fxo-contact-social-menu .fxo-social-link-reddit {
    color: #ff4500;
}

.fxo-social-icon,
.fxo-social-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.fxo-social-icon svg {
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.fxo-social-icon .fxo-icon-fill {
    fill: currentColor;
    stroke: none;
}

.fxo-social-icon .fxo-icon-cutout {
    fill: var(--fxo-white);
    stroke: none;
}

.fxo-social-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fxo-footer-social {
    margin-top: 26px;
}

.fxo-footer-social h2 {
    margin-bottom: 12px;
}

.fxo-footer-wordmark {
    display: inline-flex;
    color: var(--fxo-white);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.fxo-footer-bottom {
    position: relative;
    display: grid;
    min-height: 130px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 12px;
    padding-block: 34px 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--fxo-footer-text);
    font-size: 13px;
    text-align: center;
}

.fxo-footer-bottom p {
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.fxo-footer-newsletter {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 0.85fr);
    align-items: start;
    gap: clamp(32px, 6vw, 86px);
    padding-block: clamp(38px, 5vw, 68px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.fxo-footer-newsletter h2 {
    margin: 0 0 14px;
    color: var(--fxo-white);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.2;
}

.fxo-footer-newsletter p {
    max-width: 620px;
    margin: 0;
    color: var(--fxo-footer-text);
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.45;
}

.fxo-footer-newsletter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.fxo-footer-newsletter input[type="email"] {
    width: 100%;
    min-height: 60px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--fxo-white);
    font-size: 17px;
}

.fxo-footer-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.fxo-footer-newsletter button {
    min-height: 60px;
    padding: 14px 26px;
    border: 0;
    border-radius: 8px;
    background: var(--fxo-primary-button-background);
    color: var(--fxo-primary-button-text);
    cursor: pointer;
    font-size: 17px;
    font-weight: 750;
}

.fxo-footer-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    color: var(--fxo-footer-text);
    font-size: 14px;
    line-height: 1.35;
}

.fxo-footer-newsletter-consent input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--fxo-white);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fxo-loop-entry,
.fxo-empty-state {
    width: min(860px, calc(100% - 48px));
    margin: 60px auto;
}

@media (max-width: 1260px) {
    .fxo-header-shell {
        width: min(var(--fxo-shell), calc(100% - 40px));
    }

    .fxo-primary-menu {
        gap: clamp(18px, 2.4vw, 34px);
    }

    .fxo-primary-menu a {
        font-size: 13px;
    }

    .fxo-header-quote {
        padding-inline: 16px;
    }
}

@media (max-width: 900px) {
    .fxo-site-header.is-menu-open {
        position: fixed;
        right: 0;
        left: 0;
    }

    .fxo-header-main {
        min-height: 72px;
    }

    .fxo-header-contact {
        display: none;
    }

    .fxo-menu-toggle {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border: 1px solid var(--fxo-line);
        border-radius: 10px;
        background: var(--fxo-header-background);
        color: var(--fxo-header-text);
        cursor: pointer;
        font-size: 13px;
        font-weight: 800;
    }

    .fxo-menu-toggle-icon {
        display: grid;
        width: 19px;
        gap: 4px;
    }

    .fxo-menu-toggle-icon i {
        display: block;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .is-menu-open .fxo-menu-toggle-icon i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .is-menu-open .fxo-menu-toggle-icon i:nth-child(2) {
        opacity: 0;
    }

    .is-menu-open .fxo-menu-toggle-icon i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .fxo-nav-row {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        border-top: 1px solid transparent;
        background: var(--fxo-header-background);
        opacity: 0;
        transition: max-height 280ms ease, opacity 180ms ease;
    }

    .is-menu-open .fxo-nav-row {
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        border-top-color: var(--fxo-line);
        box-shadow: var(--fxo-shadow);
        opacity: 1;
    }

    body.admin-bar .is-menu-open .fxo-nav-row {
        max-height: calc(100vh - 104px);
        max-height: calc(100dvh - 104px);
    }

    .fxo-primary-menu {
        display: block;
        padding: 16px 0 28px;
    }

    .fxo-primary-menu > .menu-item,
    .fxo-primary-menu .sub-menu .menu-item {
        display: grid;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) 48px;
        border-bottom: 1px solid var(--fxo-line);
    }

    .fxo-primary-menu > .menu-item > a,
    .fxo-primary-menu .sub-menu a {
        min-height: 50px;
        padding: 12px 6px;
        font-size: 14px;
    }

    .fxo-primary-menu > .menu-item > a::after {
        display: none;
    }

    .fxo-submenu-toggle {
        width: 48px;
        height: 50px;
    }

    .fxo-primary-menu > .menu-item-has-children > .sub-menu .fxo-submenu-toggle {
        display: inline-grid;
    }

    .fxo-primary-menu .sub-menu,
    .fxo-primary-menu .sub-menu .sub-menu,
    .fxo-primary-menu .sub-menu .sub-menu .sub-menu {
        position: static;
        display: none;
        width: auto;
        grid-column: 1 / -1;
        padding: 0 0 10px 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .fxo-primary-menu .menu-item.is-open > .sub-menu {
        display: block;
    }

    .fxo-primary-menu .sub-menu .menu-item:last-child {
        border-bottom: 0;
    }

    .fxo-header-quote {
        margin-left: auto;
    }
}

@media (max-width: 782px) {
    body.admin-bar .is-menu-open .fxo-nav-row {
        max-height: calc(100vh - 118px);
        max-height: calc(100dvh - 118px);
    }
}

@media (max-width: 820px) {
    .fxo-footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fxo-footer-brand {
        grid-column: auto;
    }

    .fxo-footer-sitemap.fxo-footer-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 34px;
        row-gap: 36px;
    }

    .fxo-footer-newsletter {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fxo-header-shell,
    .fxo-footer-shell,
    .fxo-breadcrumb-shell {
        width: calc(100% - 32px);
    }

    .fxo-header-main {
        gap: 12px;
    }

    .fxo-wordmark {
        font-size: 25px;
    }

    .fxo-header-actions {
        gap: 8px;
    }

    .fxo-menu-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .fxo-header-quote {
        display: inline-flex;
        min-height: 42px;
        padding: 8px 13px;
        font-size: 12px;
    }

    .fxo-header-quote span {
        font-size: 0;
    }

    .fxo-header-quote span::after {
        content: "Rates";
        font-size: 12px;
    }

    .fxo-header-quote svg {
        display: none;
    }

    .fxo-primary-menu {
        width: calc(100% - 32px);
    }

    .fxo-footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 56px 44px;
    }

    .fxo-footer-sitemap.fxo-footer-menu {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fxo-footer-sitemap > .menu-item > .sub-menu {
        padding-top: 10px;
    }

    .fxo-footer-bottom {
        align-items: center;
        justify-content: center;
        padding-block: 28px 32px;
    }

    .fxo-footer-newsletter {
        padding-block: 34px 42px;
    }

    .fxo-footer-newsletter-row {
        grid-template-columns: 1fr;
    }

    .fxo-footer-newsletter button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .fxo-site-header {
        will-change: auto;
    }
}
