﻿html,
body {
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: #454545;
    background: #fff;
}

main {
    flex: 1;
}

.systemstod-footer {
    margin-top: auto;
}
.page-container {
    width: 100%;
    padding: 35px clamp(24px, 4vw, 70px) 60px;
    box-sizing: border-box;
}

/* Keep migrated pages at a calm reading width. The page itself is not a card:
   colour and separation belong to the content sections, as on the original. */
.page-container:has(.page-html-content) {
    width: min(calc(100% - 2rem), 1170px);
    margin-inline: auto;
    padding: 0;
    overflow: clip;
    background: transparent;
}

.consent-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 2000;
    padding: 1.25rem;
    color: #333;
    background: #fff;
    border: 1px solid #d4d4d4;
    box-shadow: 0 12px 35px rgb(0 0 0 / 18%);
}

.consent-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(100%, 1170px);
    margin-inline: auto;
}

.consent-banner h2 {
    margin: 0 0 .4rem;
    font-size: 1.25rem;
}

.consent-banner p {
    margin: 0 0 .35rem;
}

.consent-banner-actions {
    display: flex;
    flex: 0 0 auto;
    gap: .75rem;
}

.consent-essential {
    border: 1px solid #888;
}

.consent-settings {
    position: fixed;
    bottom: .5rem;
    left: .5rem;
    z-index: 1900;
    padding: .4rem .65rem;
    color: #555;
    background: #fff;
    border: 1px solid #bbb;
    font-size: .75rem;
}

@media (max-width: 700px) {
    .consent-banner-content,
    .consent-banner-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
