:root {
    --st-legal-blue: #25569f;
    --st-legal-blue-deep: #173f7a;
    --st-legal-orange: #f17626;
    --st-legal-ink: #18345e;
    --st-legal-muted: #60718b;
    --st-legal-line: #d8e0ea;
    --st-legal-soft: #f2f6fb;
    --st-legal-white: #fff;
}

.st-cookie-banner,
.st-cookie-dialog,
.st-legal-page,
.st-legal-page * {
    box-sizing: border-box;
}

.st-cookie-banner[hidden] {
    display: none !important;
}

.st-cookie-banner {
    background: var(--st-legal-blue);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 4px solid var(--st-legal-orange);
    bottom: 20px;
    box-shadow: 0 18px 55px rgba(10, 34, 70, 0.3);
    color: var(--st-legal-white);
    left: auto;
    position: fixed;
    right: 20px;
    width: min(520px, calc(100% - 40px));
    z-index: 999999;
}

.st-cookie-banner__inner {
    display: block;
    padding: 17px 18px 16px;
}

.st-cookie-banner__eyebrow,
.st-cookie-dialog__eyebrow {
    color: #ffb17e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.st-cookie-banner h2,
.st-cookie-dialog h2 {
    color: inherit;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(24px, 2.1vw, 34px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0 0 10px;
}

.st-cookie-banner h2 {
    font-size: 21px;
    margin-bottom: 6px;
}

.st-cookie-banner p {
    color: rgba(255, 255, 255, 0.78);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.42;
    margin: 0;
    max-width: 790px;
}

.st-cookie-banner a {
    color: var(--st-legal-white) !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.55);
    text-underline-offset: 3px;
}

.st-cookie-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 13px;
}

.st-cookie-button,
.st-cookie-link-button {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 750;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 8px 10px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.st-cookie-button--accept {
    background: var(--st-legal-orange);
    border-color: var(--st-legal-orange);
    color: var(--st-legal-white);
}

.st-cookie-button--reject {
    background: var(--st-legal-white);
    border-color: var(--st-legal-white);
    color: var(--st-legal-blue);
}

.st-cookie-button--settings {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
    color: var(--st-legal-white);
}

.st-cookie-button:hover,
.st-cookie-button:focus-visible {
    transform: translateY(-2px);
}

.st-cookie-button:focus-visible,
.st-cookie-link-button:focus-visible,
.st-cookie-dialog input:focus-visible {
    outline: 3px solid #ffd1b2;
    outline-offset: 3px;
}

.st-cookie-dialog {
    background: var(--st-legal-white);
    border: 0;
    color: var(--st-legal-ink);
    margin: auto;
    max-height: min(820px, calc(100vh - 32px));
    max-width: 760px;
    overflow: hidden;
    padding: 0;
    width: calc(100% - 32px);
}

.st-cookie-dialog::backdrop {
    background: rgba(10, 31, 63, 0.72);
    backdrop-filter: blur(4px);
}

.st-cookie-dialog[open] {
    display: flex;
    flex-direction: column;
}

.st-cookie-dialog__head {
    background: var(--st-legal-blue);
    color: var(--st-legal-white);
    padding: 34px 38px 30px;
    position: relative;
    flex: 0 0 auto;
}

.st-cookie-dialog__head p:last-child {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0;
    max-width: 620px;
}

.st-cookie-dialog__close {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--st-legal-white);
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 44px;
    justify-content: center;
    position: absolute;
    right: 24px;
    top: 24px;
    width: 44px;
}

.st-cookie-dialog__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 10px 38px 8px;
}

.st-cookie-category {
    border-bottom: 1px solid var(--st-legal-line);
    padding: 24px 0;
}

.st-cookie-category__row {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.st-cookie-category h3 {
    color: var(--st-legal-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    margin: 0 0 5px;
}

.st-cookie-category p {
    color: var(--st-legal-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.st-cookie-toggle {
    appearance: none;
    background: #c4ceda;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 28px;
    position: relative;
    transition: background-color 160ms ease;
    width: 50px;
}

.st-cookie-toggle::after {
    background: var(--st-legal-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(10, 34, 70, 0.2);
    content: "";
    height: 22px;
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform 160ms ease;
    width: 22px;
}

.st-cookie-toggle:checked {
    background: var(--st-legal-orange);
}

.st-cookie-toggle:checked::after {
    transform: translateX(22px);
}

.st-cookie-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.st-cookie-dialog__footer {
    align-items: center;
    background: var(--st-legal-soft);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px 38px;
    flex: 0 0 auto;
}

.st-cookie-dialog__footer .st-cookie-button--settings {
    border-color: var(--st-legal-blue);
    color: var(--st-legal-blue);
}

.st-cookie-dialog__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    grid-column: 1 / -1;
}

.st-cookie-dialog__links a {
    color: var(--st-legal-blue);
    font-size: 13px;
}

.st-cookie-link-button {
    background: none;
    border: 0;
    color: inherit;
    min-height: 0;
    padding: 0;
}

.st-site-footer__legal .st-cookie-link-button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--st-footer-muted, rgba(255, 255, 255, 0.72));
    font: inherit;
    min-height: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.st-site-footer__legal .st-cookie-link-button:hover,
.st-site-footer__legal .st-cookie-link-button:focus-visible {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--st-footer-orange, #f17626);
    transform: none !important;
}

body.st-cookie-dialog-open {
    overflow: hidden;
}

.st-legal-page {
    background: var(--st-legal-soft);
    color: var(--st-legal-ink);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.st-legal-page #masthead {
    position: relative;
    z-index: 20;
    background: #25569f;
}

.st-legal-page #masthead .header-absolute {
    position: relative !important;
}

.st-legal-header {
    background: var(--st-legal-blue);
    border-top: 5px solid var(--st-legal-orange);
    color: var(--st-legal-white);
}

.st-legal-header__inner,
.st-legal-main,
.st-legal-footer__inner {
    margin: 0 auto;
    max-width: 1160px;
    width: calc(100% - 48px);
}

.st-legal-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 106px;
}

.st-legal-header .st-brand-logo {
    color: var(--st-legal-white);
    font-size: 29px;
    max-width: 290px;
}

.st-legal-back {
    color: var(--st-legal-white);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.st-legal-main {
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1fr) 250px;
    padding-bottom: 100px;
    padding-top: 88px;
}

.st-legal-content {
    background: var(--st-legal-white);
    box-shadow: 0 18px 55px rgba(18, 59, 119, 0.08);
    max-width: 100%;
    min-width: 0;
    padding: clamp(34px, 5vw, 72px);
    width: 100%;
}

.st-legal-content__eyebrow {
    color: var(--st-legal-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.st-legal-content h1 {
    color: var(--st-legal-blue);
    font-size: clamp(42px, 6vw, 72px);
    hyphens: manual;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0 0 44px;
    overflow-wrap: normal;
    word-break: normal;
}

.st-legal-content h2 {
    border-top: 1px solid var(--st-legal-line);
    color: var(--st-legal-blue);
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 50px 0 18px;
    padding-top: 34px;
}

.st-legal-content h3 {
    color: var(--st-legal-ink);
    font-size: 20px;
    margin: 28px 0 10px;
}

.st-legal-content p,
.st-legal-content li,
.st-legal-content address {
    color: var(--st-legal-muted);
    font-size: 17px;
    line-height: 1.72;
}

.st-legal-content address {
    font-style: normal;
}

.st-legal-content a {
    color: var(--st-legal-blue);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.st-legal-content strong {
    color: var(--st-legal-ink);
}

.st-legal-required {
    background: #fff4ed;
    border-left: 5px solid var(--st-legal-orange);
    color: #7b3b15 !important;
    margin: 24px 0;
    padding: 18px 20px;
}

.st-legal-note {
    background: var(--st-legal-soft);
    border-left: 5px solid var(--st-legal-blue);
    margin: 24px 0;
    padding: 18px 20px;
}

.st-legal-nav {
    align-self: start;
    position: sticky;
    top: 28px;
}

.st-legal-nav p {
    color: var(--st-legal-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.st-legal-nav a,
.st-legal-nav button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--st-legal-line);
    color: var(--st-legal-blue);
    cursor: pointer;
    display: block;
    font: 700 15px/1.35 Arial, Helvetica, sans-serif;
    padding: 14px 0;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.st-legal-footer {
    background: var(--st-legal-blue);
    color: rgba(255, 255, 255, 0.74);
}

.st-legal-footer__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    justify-content: space-between;
    min-height: 110px;
}

.st-legal-footer p {
    margin: 0;
}

.st-legal-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
}

.st-legal-footer a,
.st-legal-footer button {
    background: none;
    border: 0;
    color: var(--st-legal-white);
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: none;
}

@media (max-width: 980px) {
    .st-legal-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-legal-nav {
        order: -1;
        position: static;
    }
}

@media (max-width: 680px) {
    .st-cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: auto;
    }

    .st-cookie-banner__inner {
        max-height: calc(100vh - 16px);
        overflow: auto;
        padding: 14px 14px 12px;
    }

    .st-cookie-banner__eyebrow {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .st-cookie-banner h2 {
        font-size: 19px;
        margin-bottom: 4px;
    }

    .st-cookie-banner p {
        font-size: 12px;
        line-height: 1.35;
    }

    .st-cookie-actions {
        gap: 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 10px;
    }

    .st-cookie-actions .st-cookie-button {
        font-size: 11.5px;
        line-height: 1.05;
        min-height: 42px;
        padding: 5px 4px;
    }

    .st-cookie-dialog__head,
    .st-cookie-dialog__body,
    .st-cookie-dialog__footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .st-cookie-dialog__head {
        padding-right: 76px;
    }

    .st-cookie-dialog__head p:last-child {
        font-size: 14px;
        line-height: 1.45;
    }

    .st-cookie-dialog__footer {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .st-cookie-dialog__links {
        grid-column: 1;
    }

    .st-cookie-dialog__footer .st-cookie-button {
        width: 100%;
    }

    .st-legal-header__inner,
    .st-legal-main,
    .st-legal-footer__inner {
        width: calc(100% - 32px);
    }

    .st-legal-header .st-brand-logo {
        font-size: 21px;
        max-width: 210px;
    }

    .st-legal-main {
        gap: 28px;
        padding-bottom: 64px;
        padding-top: 48px;
    }

    .st-legal-content {
        padding: 30px 22px 48px;
    }

    .st-legal-content p,
    .st-legal-content li,
    .st-legal-content address {
        font-size: 16px;
    }

    .st-legal-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 28px 0;
    }
}

@media (max-width: 420px) {
    .st-legal-header__inner,
    .st-legal-main,
    .st-legal-footer__inner {
        width: calc(100% - 24px);
    }

    .st-legal-main {
        gap: 22px;
        padding-bottom: 52px;
        padding-top: 36px;
    }

    .st-legal-content {
        padding: 26px 16px 40px;
    }

    .st-legal-content h1 {
        font-size: clamp(30px, 9vw, 35px);
        letter-spacing: -0.045em;
        line-height: 1.02;
        margin-bottom: 34px;
    }

    .st-legal-content h2 {
        font-size: clamp(24px, 7.5vw, 30px);
        margin-top: 42px;
        padding-top: 28px;
    }

    .st-legal-required,
    .st-legal-note {
        margin-left: 0;
        margin-right: 0;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-cookie-button,
    .st-cookie-toggle {
        transition: none;
    }
}
