/* Scoped to CMS pages: keep rich text in normal document flow. */
.content-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    min-width: 0;
    margin: 0 auto;
    padding: 72px 32px 88px;
    color: #e5e7eb;
}
.content-page__header { margin-bottom: 32px; }
.content-page__header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.content-page__body {
    display: block;
    min-width: 0;
    padding: 32px;
    border: 1px solid #262626;
    border-radius: 16px;
    background: #101010;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.content-page__body > :first-child { margin-top: 0; }
.content-page__body > :last-child { margin-bottom: 0; }
.content-page__body p { margin: 0 0 18px; }
.content-page__body h1,
.content-page__body h2,
.content-page__body h3,
.content-page__body h4,
.content-page__body h5,
.content-page__body h6 {
    margin: 30px 0 14px;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
}
.content-page__body h1 { font-size: 28px; }
.content-page__body h2 { font-size: 24px; }
.content-page__body h3 { font-size: 20px; }
.content-page__body h4,
.content-page__body h5,
.content-page__body h6 { font-size: 18px; }
.content-page__body ul,
.content-page__body ol { margin: 0 0 20px; padding-left: 26px; }
.content-page__body ul { list-style: disc; }
.content-page__body ol { list-style: decimal; }
.content-page__body li { margin: 6px 0; }
.content-page__body a { color: #ff7777; text-decoration: underline; text-underline-offset: 3px; }
.content-page__body a:hover { color: #ffaaaa; }
.content-page__body a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.content-page__body strong,
.content-page__body b { font-weight: 700; }
.content-page__body blockquote { margin: 24px 0; padding: 12px 20px; border-left: 3px solid #e50000; background: #191919; }
.content-page__body img,
.content-page__body video { max-width: 100%; height: auto; }
.content-page__body iframe { max-width: 100%; }
.content-page__body figure { max-width: 100%; margin: 24px 0; }
.content-page__body figure.table { overflow-x: auto; }
.content-page__body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 20px 0; }
.content-page__body th,
.content-page__body td { padding: 12px; border: 1px solid #404040; text-align: left; }
.content-page__body pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.content-page__body hr { margin: 28px 0; border: 0; border-top: 1px solid #333; }
@media (max-width: 640px) {
    .content-page { padding: 40px 16px 56px; }
    .content-page__header { margin-bottom: 24px; }
    .content-page__body { padding: 24px 18px; border-radius: 12px; font-size: 15px; }
}
