.white-g-btn:hover .button__label,
.white-g-btn:focus-visible .button__label {
    color: #fff;
}
.blue-g-btn:hover .button__label,
.blue-g-btn:focus-visible .button__label {
    color: #fff;
}
/* Global white button styles */
.white-g-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 100px;
    background: #fff;
    color: #00357a;
    text-decoration: none;
    font-weight: 600;
    font-size: 19.2px;
    border: none;
    box-shadow: none;
    transition: color 0.2s, background 0.2s;
}

.white-g-btn .button__flair {
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0);
    transform-origin: 0 0;
    will-change: transform;
}

.white-g-btn .button__flair:before {
    aspect-ratio: 1/1;
    background-color: #D81D25;
    border-radius: 50%;
    content: "";
    display: block;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    width: 280%;
}

.white-g-btn .button__label {
    position: relative;
    text-align: center;
    transition: color 50ms cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
    color: #00357a;
}

.white-g-btn::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.24 7.07C9.96 6.53 9.96 5.47 9.24 4.93L3.02 0.27C2.15 -0.39 0.89 0.24 0.89 1.33V10.66C0.89 11.76 2.15 12.39 3.02 11.73L9.24 7.07Z" fill="%2300357a"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    transition: background-image 0.2s ease;
    z-index: 2;
}

.white-g-btn:hover::after,
.white-g-btn:focus-visible::after {
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.24 7.07C9.96 6.53 9.96 5.47 9.24 4.93L3.02 0.27C2.15 -0.39 0.89 0.24 0.89 1.33V10.66C0.89 11.76 2.15 12.39 3.02 11.73L9.24 7.07Z" fill="white"/></svg>');
}
/* Efficient global blue button styles */
.blue-g-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 100px;
    background: #00357a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 19.2px;
    border: none;
    box-shadow: none;
    transition: color 0.2s;
}


.blue-g-btn .button__flair {
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0);
    transform-origin: 0 0;
    will-change: transform;
}

.blue-g-btn .button__flair:before {
    aspect-ratio: 1/1;
    background-color: #D81D25;
    border-radius: 50%;
    content: "";
    display: block;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    width: 280%;
}

.blue-g-btn .button__label {
    position: relative;
    text-align: center;
    transition: color 50ms cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 3; /* bring label above the flair */
}

.blue-g-btn::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.24 7.07C9.96 6.53 9.96 5.47 9.24 4.93L3.02 0.27C2.15 -0.39 0.89 0.24 0.89 1.33V10.66C0.89 11.76 2.15 12.39 3.02 11.73L9.24 7.07Z" fill="white"/></svg>') center/contain no-repeat;
    vertical-align: middle;
    transition: background 0.2s;
    z-index: 3;
}

/* Ensure the flair sits under label/icon */
.blue-g-btn .button__flair {
    z-index: 1;
}

.blue-g-btn .button__icon {
    position: relative;
    z-index: 3; /* make inline icons sit above the flair */
}
@font-face {
    font-family: 'Greycliff CF';
    src: url('fonts/Greycliff_CF_Regular.woff2') format('woff2'),
         url('fonts/Greycliff_CF_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('fonts/Greycliff_CF_Bold.woff2') format('woff2'),
         url('fonts/Greycliff_CF_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --remark-font-title: 'Greycliff CF', 'Montserrat', 'Poppins', sans-serif;
    --remark-font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    --remark-color-primary: #00357A;
    --remark-color-primary-dark: #001f45;
    --remark-color-accent: #00357A;
    --remark-color-highlight-start: #EE2D95;
    --remark-color-highlight-end: #DA2E35;
    --remark-color-bg: #ffffff;
    --remark-color-bg-alt: #EFEFEF;
    --remark-color-text: #161D29;
    --remark-color-text-muted: #34404F;
    --remark-color-white: #ffffff;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--remark-font-body);
    color: var(--remark-color-text);
    background-color: var(--remark-color-bg);
}

h1, h2, h3, h4, h5, h6,
.remark-heading {
    font-weight: 400;
    font-style: normal;
    font-family: var(--remark-font-title);
    color: var(--remark-color-text);
    margin-top: 0;
}

.remark-subtitle {
    font-family: var(--remark-font-body);
    color: var(--remark-color-text-muted);
}

.remark-section {
    padding: 80px 20px;
    background-color: var(--remark-color-bg-alt);
}

.remark-section:nth-of-type(even) {
    background-color: var(--remark-color-bg);
}

/* Specific override for the home global factory section */
.remark-home-global-factory.remark-section.remark-section--home-global {
    background-color: #00357A;
}

/* Ensure key text inside the home global factory section is readable on dark bg */
.remark-home-global-factory .remark-home-global-factory__title,
.remark-home-global-factory .remark-home-global-factory__subtitle,
.remark-home-global-factory .remark-home-global-factory__description {
    color: #ffffff;
}

.remark-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.remark-section__title {
    margin-bottom: 24px;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
    font-family: var(--remark-font-title);
    color: var(--remark-color-accent);
}

.remark-section__content {
    line-height: 1.65;
    color: var(--remark-color-text-muted);
    font-family: var(--remark-font-body);
}

.remark-highlight-text,
.remark-home-bd-hero__highlight {
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Global generic badge that mirrors Home BD hero badge styles.
   Use `class="g-badge"` on any element. JS will wrap inner text in
   `.g-badge__text` automatically (optional) so the animated gradient works.
*/
.g-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: var(--remark-color-white);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--remark-font-body);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* Ensure the badge sizes to the text content + padding and is not stretched by parent flex containers */
    flex: 0 0 auto; /* don't grow or shrink */
    width: auto;
    max-width: -moz-max-content;
    max-width: -webkit-max-content;
    max-width: max-content;
}

.g-badge__text {
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    background-size: 200% 100%;
    background-position: 200% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* If badge sits on a white background/container, use a subtle off-white
   so it reads against white surfaces. JS auto-detects and sets
   `data-on-white="true"` on .g-badge when appropriate. */
.g-badge[data-on-white="true"] {
    background-color: #F4F4F4;
}

.remark-media {
    margin-top: 24px;
}

.remark-grid {
    display: grid;
    gap: 24px;
}

.remark-grid--columns {
    grid-template-columns: repeat(var(--remark-grid-columns, auto-fit), minmax(240px, 1fr));
}

.remark-grid--two-column {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.remark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background-color: var(--remark-color-primary);
    color: var(--remark-color-white);
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-weight: 600;
    font-family: var(--remark-font-body);
}

/* Global blue gradient button, inherits all .remark-button styles */
.blue-g-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 100px;
    background-color: #00357a;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-weight: 600;
    font-size: 19.2px;
    border: none;
    box-shadow: none;
}


.remark-button:hover,
.remark-button:focus-visible {
    background-color: var(--remark-color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 53, 122, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.remark-button::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 2px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMCcgaGVpZ2h0PScxMicgdmlld0JveD0nMCAwIDEwIDEyJz48cGF0aCBmaWxsLXJ1bGU9J2V2ZW5vZGQnIGNsaXAtcnVsZT0nZXZlbm9kZCcgZD0nTTkuMjQ0NDcgNy4wNjYyNEM5Ljk1NTI5IDYuNTMzMTIgOS45NTUyOSA1LjQ2Njg4IDkuMjQ0NDcgNC45MzM3NkwzLjAyNDc2IDAuMjY4OTc4QzIuMTQ2MTMgLTAuMzg5OTkyIDAuODkyMjg1IDAuMjM2OTI5IDAuODkyMjg1IDEuMzM1MjFMMC44OTIyODUgMTAuNjY0OEMwLjg5MjI4NSAxMS43NjMxIDIuMTQ2MTMgMTIuMzkgMy4wMjQ3NiAxMS43MzFMOS4yNDQ0NyA3LjA2NjI0WicgZmlsbD0nI0ZGRkZGRicvPjwvc3ZnPg==');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Remove decorative arrow added via .button__label::after across the theme */
.button__label::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

/* Constrain Home BD brand logos to a safe max size while preserving aspect ratio.
   This prevents stretching/distortion and ensures SVGs/raster logos fit into a
   100px x 80px box. Adjust if you want different site-wide constraints. */
.remark-home-bd-brands__logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* stronger selector + !important to override inline or later rules that set explicit px sizes */
.remark-home-bd-brands__logo-link .remark-home-bd-brands__logo-wrapper .remark-home-bd-brands__logo-item {
    max-width: 100px !important; /* enforce width cap */
    max-height: 80px !important; /* enforce height cap */
    width: auto !important;      /* preserve aspect ratio */
    height: auto !important;     /* preserve aspect ratio */
    display: block;              /* avoid inline-gap issues */
    object-fit: contain;         /* for replaced elements (images/SVGs) */
}

/* Apply the same constraints to the Home USA brands marquee so logos
   there also fit within a 100px x 80px box while preserving aspect ratio. */
.remark-home-usa-brands__logo-link .remark-home-usa-brands__logo-wrapper .remark-home-usa-brands__logo-item {
    max-width: 100px !important; /* enforce width cap */
    max-height: 80px !important; /* enforce height cap */
    width: auto !important;      /* preserve aspect ratio */
    height: auto !important;     /* preserve aspect ratio */
    display: block;              /* avoid inline-gap issues */
    object-fit: contain;         /* for replaced elements (images/SVGs) */
}

/* Hide contact locations on mobile */
@media (max-width: 767px) {
    #content > div.page-content > div > div.elementor-element.elementor-element-cbd3298.e-con-full.e-flex.e-con.e-parent.e-lazyloaded .remark-contact-layout__locations {
        display: none !important;
    }
}