/* Readable long-form layout for the new terms and privacy pages and /uudistus. */

/* style_rekry.css turns .simple-content into a two-column grid on wide screens; keep a single centred column. */
.simple-content.doc-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-page .simple-title p {
    max-width: 640px;
    text-wrap: balance;
}

.legal-doc {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.legal-doc h2 {
    margin: 56px 0 14px;
    font-size: 21px;
    font-weight: 700;
    line-height: 29px;
    color: #ffc8a3;
    text-align: left;
}

.legal-doc h3 {
    margin: 30px 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: #fff;
    text-align: left;
}

.legal-doc p,
.legal-doc li {
    font-size: 17px;
    line-height: 28px;
    font-weight: 300;
    color: #fff;
}

.legal-doc p {
    margin-bottom: 16px;
}

.legal-doc ul,
.legal-doc ol {
    margin: 0 0 16px 22px;
}

.legal-doc ul {
    list-style: disc outside;
}

.legal-doc ol {
    list-style: decimal outside;
}

.legal-doc li {
    margin-bottom: 8px;
}

.legal-doc strong {
    font-weight: 700;
}

.legal-doc a {
    color: #fff;
    overflow-wrap: anywhere;
}

.legal-doc .preview-note {
    padding: 18px 22px;
    border: 1px solid #ffc8a3;
    border-radius: 14px;
    background-color: #2c3a2d;
}

.legal-doc .preview-note h2 {
    margin-top: 0;
}

.legal-doc .preview-note p:last-child {
    margin-bottom: 0;
}
