/* Hypermicron typography layer — Metropolis, locally hosted. */
@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-300-normal.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-300-italic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-400-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Metropolis";
    src: url("../fonts/metropolis/metropolis-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --title-family: "Metropolis", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --common-family: "Metropolis", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --outline-text: "Metropolis", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body,
button,
input,
optgroup,
select,
textarea {
    font-family: var(--common-family);
}

body {
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--title-family);
}

strong,
b {
    font-weight: 600;
}

/* Normalize editor-authored content while leaving icon-font classes alone. */
.sx-post-text div,
.sx-post-text p,
.sx-post-text span:not([class]),
.sx-post-text a,
.sx-post-text li,
.sx-post-text table,
.sx-post-text thead,
.sx-post-text tbody,
.sx-post-text tr,
.sx-post-text th,
.sx-post-text td,
.sx-post-text blockquote,
.sx-post-text figcaption,
.sx-post-text label {
    font-family: var(--common-family) !important;
}

.sx-post-text h1,
.sx-post-text h2,
.sx-post-text h3,
.sx-post-text h4,
.sx-post-text h5,
.sx-post-text h6 {
    font-family: var(--title-family) !important;
}

/* Policy hero currently contains legacy inline Arial declarations. */
.policy-hero h1 {
    font-family: var(--title-family) !important;
}

.policy-crumb,
.policy-crumb a {
    font-family: var(--common-family) !important;
}

/* Policy index: deliberately image-free and aligned with the corporate palette. */
.policy-index-hero {
    padding: 80px 0 55px;
    background: #f6f8fb;
    border-bottom: 1px solid #e6ebf2;
}

.policy-index-hero .policy-index-kicker {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.policy-index-hero h1 {
    margin: 0 0 18px;
    color: var(--title-color);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.08;
}

.policy-index-hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: #5f6670;
    font-size: 17px;
    line-height: 1.7;
}

.policy-index-list .sx-latest-post-st-1 {
    padding: 32px;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    background: #fff;
}

.policy-index-list .sx-post-info {
    padding-top: 0 !important;
}

/* Responsive guardrails for long product names and editor-authored content. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

.sx-post-title,
.sx-post-title .post-title,
.sx-post-text,
.sx-post-text * {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media only screen and (max-width: 991px) {
    .header-style1 .main-bar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-style1 .logo-header {
        float: none;
        flex: 0 0 auto;
    }

    .header-style1 .navbar-toggler {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        float: none;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        padding: 10px !important;
    }

    .header-style1 .navbar-toggler .icon-bar {
        flex: 0 0 auto;
    }

    .header-style1 .header-nav {
        flex: none !important;
    }

    .sx-bnr-inr-entry .banner-title-outer {
        max-width: 100%;
    }

    .sx-breadcrumb {
        display: flex;
        max-width: 100%;
        padding: 12px 16px;
        border-radius: 28px;
        white-space: normal;
    }

    .sx-breadcrumb li {
        min-width: 0;
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        max-width: 100%;
    }

    .sx-bnr-inr {
        height: 320px;
    }

    .sx-bnr-inr-entry .banner-title-name h1,
    .sx-bnr-inr-entry .banner-title-name h2,
    .sx-bnr-inr-entry .banner-title-name h3 {
        font-size: clamp(28px, 9vw, 38px);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .sx-bnr-inr-entry .banner-title-outer > div:last-child {
        max-width: 100%;
    }

    .sx-breadcrumb {
        width: fit-content;
        max-width: 100%;
    }

    .sx-bnr-outline-text {
        max-width: 100%;
        overflow: hidden;
    }

    .policy-index-hero {
        padding: 55px 0 40px;
    }

    .policy-index-hero p:last-child {
        font-size: 15px;
    }

    .policy-index-list .sx-latest-post-st-1 {
        padding: 24px;
    }

    .single-blog-post .post-title,
    .blog-detail .post-title {
        font-size: clamp(26px, 8vw, 38px);
        line-height: 1.18;
    }

    /* The rich-text editor may persist fixed pixel widths. On phones those
       values must yield to the content column instead of being clipped. */
    .sx-post-text div,
    .sx-post-text p,
    .sx-post-text ul,
    .sx-post-text ol,
    .sx-post-text li,
    .sx-post-text figure,
    .sx-post-text blockquote {
        min-width: 0 !important;
        max-width: 100% !important;
        width: auto !important;
    }

    .sx-post-text img,
    .sx-post-text video,
    .sx-post-text iframe {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .sx-post-text [style*="display:grid"],
    .sx-post-text [style*="display: grid"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Wide data tables remain fully readable via local horizontal scrolling
       without widening or clipping the entire page. */
    .sx-post-text table {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
