:root {
    --bm-shell-orange: var(--gcid-2b000116-9595-43e1-bfc1-7df2c2cb8188, #f26a21);
    --bm-shell-charcoal: var(--gcid-f671a901-43b6-4254-8381-d82e49576624, #111315);
    --bm-shell-cream: var(--gcid-cb9b00d8-d0ee-40e4-aaff-1d0b63fdfbb6, #fff8f2);
    --bm-shell-light: var(--gcid-3e49f93b-a8f6-4cee-aa71-f8ad31520970, #f3f4f6);
    --bm-shell-teal: var(--gcid-321f23b5-bc13-4c72-b8e7-cc8dabfc8c61, #137c78);
    --bm-shell-text: var(--gcid-b771f93c-c668-4a3a-8cc9-257befd50966, #202428);
    --bm-shell-muted: var(--gcid-978ce8d1-9904-4fe1-9e88-8654ad53e4e4, #667085);
    --bm-shell-width: 1280px;
}

.bm-shell-header,
.bm-shell-footer {
    box-sizing: border-box;
    color: var(--bm-shell-text);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
}

.bm-shell-header *,
.bm-shell-footer * {
    box-sizing: border-box;
}

.bm-shell-header {
    background: rgba(255, 248, 242, 0.97);
    border-bottom: 1px solid rgba(17, 19, 21, 0.1);
    position: relative;
    z-index: 999;
}

.bm-shell-header__inner {
    align-items: center;
    display: flex;
    gap: 38px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--bm-shell-width);
    min-height: 88px;
    width: 90%;
}

.bm-shell-header__brand {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
}

.bm-shell-header__brand img {
    height: auto;
    max-width: 215px;
    width: 100%;
}

.bm-shell-header__navigation {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 34px;
    justify-content: flex-end;
}

.bm-shell-header__nav {
    display: flex;
    justify-content: center;
}

.bm-shell-menu,
.bm-shell-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bm-shell-menu li::before,
.bm-shell-footer li::before {
    content: none !important;
    display: none !important;
}

.bm-shell-menu li::marker,
.bm-shell-footer li::marker {
    content: "";
}

.bm-shell-menu {
    align-items: center;
    display: flex;
    gap: 30px;
}

.bm-shell-menu > li {
    margin: 0;
    position: relative;
}

.bm-shell-menu a {
    color: var(--bm-shell-charcoal);
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    padding: 16px 0;
    text-decoration: none;
    transition: color 160ms ease;
    white-space: nowrap;
}

.bm-shell-menu > li > a::after {
    background: var(--bm-shell-orange);
    bottom: 9px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
    width: 100%;
}

.bm-shell-menu > li:hover > a,
.bm-shell-menu > li:focus-within > a,
.bm-shell-menu .current-menu-item > a,
.bm-shell-menu .current-menu-ancestor > a {
    color: var(--bm-shell-orange);
}

.bm-shell-menu > li:hover > a::after,
.bm-shell-menu > li:focus-within > a::after,
.bm-shell-menu > .current-menu-item > a::after,
.bm-shell-menu > .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.bm-shell-menu .menu-item-has-children > a {
    padding-right: 16px;
    position: relative;
}

.bm-shell-menu .menu-item-has-children > a::before {
    border-bottom: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: "";
    height: 6px;
    position: absolute;
    right: 1px;
    top: 19px;
    transform: rotate(45deg);
    width: 6px;
}

.bm-shell-menu .sub-menu {
    background: #fff;
    border: 1px solid rgba(17, 19, 21, 0.1);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(17, 19, 21, 0.12);
    left: -22px;
    min-width: 230px;
    opacity: 0;
    padding: 12px 20px;
    pointer-events: none;
    position: absolute;
    top: calc(100% - 4px);
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.bm-shell-menu .sub-menu a {
    font-size: 13px;
    padding: 10px 0;
    white-space: normal;
}

.bm-shell-menu li:hover > .sub-menu,
.bm-shell-menu li:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.bm-shell-button {
    align-items: center;
    background: var(--bm-shell-orange);
    border: 2px solid var(--bm-shell-orange);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 18px;
    justify-content: center;
    line-height: 1;
    min-height: 48px;
    padding: 0 18px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.bm-shell-button:hover,
.bm-shell-button:focus-visible {
    background: var(--bm-shell-charcoal);
    border-color: var(--bm-shell-charcoal);
    color: #fff;
    transform: translateY(-1px);
}

.bm-shell-header__toggle {
    align-items: center;
    appearance: none;
    background: var(--bm-shell-charcoal);
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    height: 46px;
    justify-content: center;
    padding: 0;
    width: 46px;
}

.bm-shell-header__toggle span {
    background: #fff;
    border-radius: 2px;
    display: block;
    height: 2px;
    transition: transform 160ms ease, opacity 160ms ease;
    width: 20px;
}

.bm-shell-header.is-open .bm-shell-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.bm-shell-header.is-open .bm-shell-header__toggle span:nth-child(2) {
    opacity: 0;
}

.bm-shell-header.is-open .bm-shell-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.bm-shell-header a:focus-visible,
.bm-shell-footer a:focus-visible,
.bm-shell-header button:focus-visible {
    outline: 3px solid var(--bm-shell-teal);
    outline-offset: 4px;
}

.bm-shell-footer {
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        var(--bm-shell-charcoal);
    background-size: 72px 72px;
    color: rgba(255, 255, 255, 0.76);
    padding: 70px 0 0;
}

.bm-shell-footer__inner,
.bm-shell-footer__legal {
    margin: 0 auto;
    max-width: var(--bm-shell-width);
    width: 90%;
}

.bm-shell-footer__inner {
    display: grid;
    gap: 62px;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.1fr);
}

.bm-shell-footer__brand {
    max-width: 280px;
}

.bm-shell-footer__logo {
    background: var(--bm-shell-cream);
    border-radius: 10px;
    display: inline-flex;
    line-height: 0;
    margin-bottom: 24px;
    padding: 11px 14px;
}

.bm-shell-footer__logo img {
    height: auto;
    width: 185px;
}

.bm-shell-footer p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.bm-shell-footer a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    transition: color 160ms ease;
}

.bm-shell-footer a:hover {
    color: var(--bm-shell-orange);
}

.bm-shell-footer__navigation {
    display: grid;
    gap: 34px 24px;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.bm-shell-footer__column {
    margin: 0;
}

.bm-shell-footer__heading {
    color: #fff !important;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.bm-shell-footer__column ul,
.bm-shell-footer__meta {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bm-shell-footer__column li {
    margin: 0 0 7px;
}

.bm-shell-footer__column li a {
    font-size: 13px;
}

.bm-shell-footer__legal {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 52px;
    min-height: 72px;
}

.bm-shell-footer__legal p {
    margin: 0;
}

.bm-shell-footer__meta {
    display: flex;
    gap: 26px;
}

.bm-shell-footer__meta a {
    font-size: 12px;
}

@media (max-width: 1180px) {
    .bm-shell-header__inner {
        gap: 24px;
    }

    .bm-shell-menu {
        gap: 20px;
    }

    .bm-shell-header__navigation {
        gap: 22px;
    }
}

/* Matches Divi 5 Tablet Wide: the optional 1024 px layout stress point. */
@media (max-width: 1024px) {
    .bm-shell-header__inner {
        min-height: 80px;
    }

    .bm-shell-header__toggle {
        display: flex;
    }

    .bm-shell-header__navigation {
        align-items: stretch;
        background: var(--bm-shell-cream);
        border-top: 1px solid rgba(17, 19, 21, 0.1);
        box-shadow: 0 20px 35px rgba(17, 19, 21, 0.1);
        display: none;
        flex-direction: column;
        gap: 20px;
        left: 0;
        padding: 20px 5% 28px;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .bm-shell-header.is-open .bm-shell-header__navigation {
        display: flex;
    }

    .bm-shell-header__nav,
    .bm-shell-menu {
        align-items: stretch;
        display: block;
        width: 100%;
    }

    .bm-shell-menu > li {
        border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    }

    .bm-shell-menu a {
        font-size: 16px;
        padding: 13px 0;
        white-space: normal;
    }

    .bm-shell-menu > li > a::after {
        display: none;
    }

    .bm-shell-menu .menu-item-has-children > a::before {
        top: 17px;
    }

    .bm-shell-menu .sub-menu {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: block;
        left: auto;
        min-width: 0;
        opacity: 1;
        padding: 0 0 10px 18px;
        pointer-events: auto;
        position: static;
        transform: none;
    }

    .bm-shell-menu .sub-menu a {
        color: var(--bm-shell-muted);
        font-size: 14px;
        padding: 8px 0;
    }

    .bm-shell-header__cta {
        align-self: flex-start;
    }

    .bm-shell-footer__inner {
        grid-template-columns: 1fr;
    }

    .bm-shell-footer__brand {
        max-width: 440px;
    }
}

/* Matches Divi 5 Phone: the default 767 px boundary. */
@media (max-width: 767px) {
    .bm-shell-header__inner,
    .bm-shell-footer__inner,
    .bm-shell-footer__legal {
        width: 88%;
    }

    .bm-shell-header__brand img {
        max-width: 178px;
    }

    .bm-shell-header__toggle {
        height: 42px;
        width: 42px;
    }

    .bm-shell-header__navigation {
        padding-left: 6%;
        padding-right: 6%;
    }

    .bm-shell-footer {
        padding-top: 54px;
    }

    .bm-shell-footer__navigation {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }

    .bm-shell-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        justify-content: center;
        padding: 20px 0;
    }

    .bm-shell-footer__meta {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-shell-header *,
    .bm-shell-footer * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
