.site-document {
    padding-bottom: 40px;
}

.site-document h2 {
    margin: 1.4em 0 .55em;
    font-size: 1.25em;
}

.site-document p,
.site-document li,
.site-document-links li {
    margin-bottom: .65em;
    line-height: 1.6;
}

.site-document ul,
.site-document-links {
    padding-left: 1.5em;
    list-style: disc;
}

.site-document a,
.site-document-links a,
.cookie-notice a,
.privacy-consent a {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: .6em;
    margin: .75em 0;
    font-size: .875em;
    line-height: 1.45;
    cursor: pointer;
}

.privacy-consent input {
    appearance: auto;
    flex: none;
    width: 1.1em;
    height: 1.1em;
    margin: .18em 0 0;
    accent-color: #234481;
}

.cookie-settings {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.cookie-notice {
    position: fixed;
    z-index: 10000;
    inset: auto auto max(16px, env(safe-area-inset-bottom)) 16px;
    width: min(520px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    box-sizing: border-box;
    padding: 18px 20px;
    border: 1px solid #d2d9e5;
    border-radius: 12px;
    box-shadow: 0 5px 28px #1c2d4f33;
    background: #fff;
    color: #1c2d4f;
    line-height: 1.45;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice h2 {
    margin: 0 0 .4em;
    font-size: 1.125rem;
}

.cookie-notice p {
    margin: 0 0 .75em;
}

.cookie-notice-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-notice-actions button {
    padding: 8px 14px;
    min-height: 44px;
    border: 1px solid #234481;
    border-radius: 6px;
    font: inherit;
    cursor: pointer;
}

.cookie-notice-primary {
    background: #234481;
    color: #fff;
}

.cookie-notice-secondary {
    background: #fff;
    color: #234481;
}
