#cookie-consent-root, .cookie-footer, .cookie-policy, .consent-embed {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
}
#cookie-consent-root *, .cookie-policy *, .consent-embed * { box-sizing: border-box; }
#cookie-consent-root [hidden], .consent-embed [hidden], .cookie-footer [hidden], .cookie-policy [hidden] { display: none !important; }
#cookie-consent-root { color: #17283f; }
#cookie-consent-root p { margin: 0; padding: 0; }
#cookie-consent-root a, .cookie-policy a { color: #004063; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner {
    position: fixed;
    z-index: 1000000;
    left: 10px;
    bottom: 10px;
    width: min(520px, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid #ae8d5c;
    border-radius: 12px;
    background: #c7a979;
    box-shadow: 0 8px 24px rgba(14, 31, 54, 0.28);
    font-size: 15px;
}
.cookie-banner-heading {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    margin-bottom: 14px;
}
#cookie-consent-root .cookie-banner-heading h2 {
    grid-column: 2;
    margin: 0;
    color: #17283f;
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
}
#cookie-consent-root .cookie-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #17283f;
    font-size: 24px;
    cursor: pointer;
}
.cookie-actions { display: flex; gap: 9px; margin: 20px 0 8px; }
#cookie-consent-root .cookie-action {
    appearance: none;
    flex: 1 1 0;
    min-height: 44px;
    padding: 8px 9px;
    border: 1px solid #082d70;
    border-radius: 6px;
    background: #082d70;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}
#cookie-consent-root .cookie-action:hover { background: #153d80; }
#cookie-consent-root .cookie-action-secondary { background: #fff; color: #082d70; }
#cookie-consent-root .cookie-action-secondary:hover { background: #f1f4f8; }
#cookie-consent-root .cookie-action:disabled { opacity: 0.65; cursor: wait; }
#cookie-consent-root .cookie-policy-link { display: block; color: #112c54; text-align: center; font-size: 13px; }
#cookie-consent-root :focus-visible, .cookie-footer :focus-visible, .consent-embed :focus-visible, .cookie-policy :focus-visible {
    outline: 3px solid #153d80;
    outline-offset: 3px;
}
#cookie-preferences { display: grid; gap: 6px; margin-top: 18px; }
.cookie-category { background: #f2e7d5; border-radius: 4px; }
.cookie-category summary { padding: 10px; cursor: pointer; font-weight: 600; }
.cookie-category summary span { float: right; color: #344456; font-size: 12px; font-weight: 500; }
#cookie-consent-root .cookie-category p { padding: 0 12px 10px; font-size: 13px; }
#cookie-consent-root .cookie-category label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-top: 1px solid #d6c4a9;
    color: #17283f;
    cursor: pointer;
}
#cookie-consent-root .cookie-category label :is(span, strong, small) { color: #17283f; }
.cookie-category strong, .cookie-category small { display: block; }
.cookie-category small { font-size: 12px; }
.cookie-category input[type="checkbox"] { appearance: auto; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #082d70; cursor: pointer; }
#cookie-consent-root #cookie-error { margin-top: 10px; color: #651c16; font-weight: 600; }
#cookie-consent-root .cookie-settings-launcher {
    position: fixed;
    z-index: 999990;
    left: 10px;
    bottom: 10px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #ae8d5c;
    border-radius: 6px;
    background: #c7a979;
    color: #17283f;
    font: inherit;
    font-size: 13px;
    box-shadow: 0 3px 16px rgba(0, 35, 53, 0.14);
    cursor: pointer;
}
#cookie-consent-root .cookie-status {
    position: fixed;
    z-index: 1000001;
    left: 10px;
    bottom: 60px;
    max-width: min(460px, calc(100vw - 20px));
    padding: 12px 18px;
    border-radius: 8px;
    background: #082d70;
    color: #fff;
    box-shadow: 0 3px 16px rgba(0, 35, 53, 0.14);
    font-size: 14px;
}
#footer-outer .cookie-footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 26px; padding: 22px 24px 70px; background: #004063; color: #fff; }
#footer-outer .cookie-footer a, #footer-outer .cookie-footer-settings { color: #fff; text-decoration: underline; text-underline-offset: 4px; font: inherit; font-size: 14px; }
#footer-outer .cookie-footer-settings { min-height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.consent-embed { position: relative; width: 100%; overflow: hidden; background: #10213b; }
.consent-embed-video { aspect-ratio: 16 / 9; }
.consent-embed-map { height: 450px; }
#ajax-content-wrap .consent-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.consent-placeholder { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; width: 100%; height: 100%; min-height: 180px; padding: 22px; color: #fff; text-align: center; }
.consent-embed-video .consent-placeholder {
    background: linear-gradient(rgba(6, 24, 43, 0.5), rgba(6, 24, 43, 0.5)),
        url('/images/molecular-recycling-video-poster.png') center / cover;
}
#ajax-content-wrap .consent-placeholder p { margin: 0; padding: 0; color: #fff; font-size: 15px; }
.consent-placeholder button, .cookie-policy button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: #fff;
    color: #004063;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#ajax-content-wrap .consent-placeholder a { color: #fff; text-decoration: underline; font-size: 13px; }
.consent-placeholder svg { width: 40px; height: 40px; }
.cookie-policy { max-width: 1000px; margin: 0 auto; padding: 64px 0 80px; color: #17354a; }
.cookie-policy .cookie-policy-intro { font-size: 20px; line-height: 1.6; }
#ajax-content-wrap .cookie-policy h2 { margin: 40px 0 16px; font-size: 26px; line-height: 1.3; color: #004063; }
.cookie-policy ul { padding-left: 24px; margin: 0 0 24px; }
.cookie-policy li { margin-bottom: 10px; }
.cookie-policy-table-wrap { overflow-x: auto; margin: 20px 0 28px; }
.cookie-policy table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 14px; }
.cookie-policy th, .cookie-policy td { padding: 14px 16px; border: 1px solid #dce6e8; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.cookie-policy th { background: #edf5f5; color: #004063; }
.cookie-policy button { border-color: #004063; background: #004063; color: #fff; }
@media (max-width: 600px) {
    .cookie-banner { padding: 13px; }
    .cookie-actions { flex-direction: column; gap: 8px; margin-top: 18px; }
    #cookie-consent-root .cookie-action { flex: none; width: 100%; }
    .consent-placeholder { gap: 7px; padding: 12px; min-height: 0; }
    #ajax-content-wrap .consent-embed-video .consent-placeholder p { display: none; }
    .consent-embed-video .consent-placeholder a { font-size: 12px; }
    .cookie-policy { padding: 40px 0 60px; }
    .cookie-policy .cookie-policy-intro { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    #cookie-consent-root .cookie-action { transition: none; }
}
