/* Scoped additions: preserve the existing header, menus and fruit layout. */
.legal-footer [hidden],
.cookie-notice[hidden],
.cookie-notice [hidden] {
    display: none !important;
}

.site-footer {
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 10px;
}

.site-footer > nav:not(.legal-footer) {
    gap: 2px 10px;
}

.site-footer > nav:not(.legal-footer) a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 2px;
    color: #eaf1fb;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.site-footer .legal-footer {
    gap: 0 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgb(234 241 251 / 18%);
}

.site-footer .legal-footer a,
.site-footer .legal-footer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    min-width: 24px;
    max-width: 100%;
    padding: 4px 2px;
    border: 0;
    border-radius: 2px;
    color: #cad6e8;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    text-underline-offset: 3px;
    text-transform: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.site-footer .legal-footer a:hover,
.site-footer .legal-footer button:hover,
.site-footer .legal-footer a:focus-visible,
.site-footer .legal-footer button:focus-visible {
    color: #eaf1fb;
    text-decoration: underline;
}

.site-footer .legal-footer a:focus-visible,
.site-footer .legal-footer button:focus-visible {
    outline: 2px solid #eaf1fb;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .site-footer > nav:not(.legal-footer) a {
        font-size: 13px;
    }

    .site-footer > nav:not(.legal-footer) a,
    .site-footer .legal-footer a,
    .site-footer .legal-footer button {
        min-height: 44px;
    }
}

@media (max-width: 460px) {
    .site-footer .legal-footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 12px;
    }

    .site-footer .legal-footer [data-cookie-withdraw] {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (pointer: coarse) {
    .site-footer > nav:not(.legal-footer) a,
    .site-footer .legal-footer a,
    .site-footer .legal-footer button {
        min-height: 44px;
    }
}

.page-content-legal {
    color: #343434;
    overflow-wrap: anywhere;
}

.page-content-legal .article-content {
    font-size: 15px;
    line-height: 1.7;
}

.page-content-legal h2 {
    margin-top: 1.8em;
    color: #2f599f;
    font-size: 1.2em;
    line-height: 1.4;
}

.page-content-legal a {
    color: #284a7e;
    text-decoration: underline;
}

.page-content-legal a:focus-visible,
.cookie-notice a:focus-visible {
    outline: 3px solid #284a7e;
    outline-offset: 2px;
}

.page-content-legal table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 14px;
}

.page-content-legal caption {
    padding: 8px 0;
    text-align: left;
    font-weight: bold;
}

.page-content-legal th,
.page-content-legal td {
    min-width: 130px;
    padding: 10px;
    border: 1px solid #b5c5df;
    text-align: left;
    vertical-align: top;
}

.page-content-legal th {
    background: #eaf0fa;
}

body.cookie-notice-open {
    padding-bottom: var(--cookie-notice-height, 320px);
}

.cookie-notice {
    position: fixed;
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 1100;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    border: 2px solid #2f599f;
    border-radius: 6px;
    color: #222;
    background: #fff;
    box-shadow: 0 4px 24px #0003;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-notice-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 20px;
}

.cookie-notice h2 {
    margin: 0 0 8px;
    color: #284a7e;
    font-size: 20px;
    line-height: 1.3;
}

.cookie-notice p {
    margin: 8px 0;
}

.cookie-notice a {
    color: #284a7e;
    text-decoration: underline;
}

.cookie-policy-links,
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.cookie-actions {
    margin-top: 12px;
}

.cookie-actions button {
    flex: 1 1 200px;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid #284a7e;
    border-radius: 4px;
    color: #fff;
    background: #284a7e;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.cookie-actions button:hover {
    background: #1a345c;
}

.cookie-actions button:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
}

.cookie-notice [data-cookie-error] {
    color: #8d1b1b;
}

.cookie-noscript {
    color: #fff;
    font-size: 13px;
}

@media (max-width: 460px) {
    .cookie-notice-inner {
        padding: 12px;
    }

    .cookie-actions button {
        flex-basis: 100%;
    }
}
