/* Page module - Content (Editor): readable page text, e.g. Privacy Policy and Terms. */
.el-content .container {
    max-width: 960px;
}

/* Plain editor content */
.el-content-body {
    font-size: clamp(17px, 1.1vw, 19px);
    color: var(--el-color-muted);
}

.el-content-body > :first-child {
    margin-top: 0;
}

.el-content-body > :last-child {
    margin-bottom: 0;
}

.el-content-body h2,
.el-content-body h3,
.el-content-body h4 {
    margin: clamp(32px, 2.6vw, 48px) 0 14px;
    color: var(--el-color-heading);
}

/* Section headings in long text use the h3 size (design). */
.el-content-body h2 {
    font-size: clamp(26px, 1.875vw, 36px);
    line-height: 1.15;
}

.el-content-body p {
    margin: 0 0 14px;
}

.el-content-body strong {
    font-weight: 600;
    color: var(--el-color-navy);
}

.el-content-body ul,
.el-content-body ol {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
}

.el-content-body ol {
    padding-left: 1.4em;
}

/* Legal tables (cookie and data tables): wrap a table in .el-legal-table-wrap so it scrolls sideways on phones. */
.el-legal-table-wrap {
    margin: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #e3e7eb;
}

.el-legal-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.el-legal-table th,
.el-legal-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e3e7eb;
}

.el-legal-table th {
    font-family: var(--el-font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--el-color-heading);
    background: #f1f5f8;
    white-space: nowrap;
}

.el-legal-table tr:last-child td {
    border-bottom: none;
}

.el-legal-table tr:hover td {
    background: #f8fafc;
}

/* Bullets: small orange dots. */
.el-content-body ul {
    list-style: none;
}

.el-content-body ul li {
    position: relative;
    padding-left: 26px;
}

.el-content-body ul li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--el-color-orange);
}

.el-content-body a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Legal pages: intro block, numbered sections, office boxes (classes used in the editor HTML). */
.el-legal-intro {
    margin: 0 0 clamp(32px, 2.6vw, 48px);
    padding-bottom: clamp(28px, 2.2vw, 40px);
    border-bottom: 1px solid #e3e7eb;
}

.el-legal-intro p:last-child {
    margin-bottom: 0;
}

.el-legal-section {
    margin: 0 0 clamp(32px, 2.6vw, 48px);
}

.el-legal-section:last-child {
    margin-bottom: 0;
}

.el-content-body .el-legal-section h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 0;
}

.el-legal-num {
    flex: none;
    font-size: 0.8em;
    color: var(--el-color-orange);
}

.el-legal-entities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.el-legal-entity {
    padding: 22px 24px;
    border-radius: 16px;
    background: #f1f5f8;
    font-size: 16px;
    line-height: 1.55;
}

.el-legal-entity p {
    margin: 0;
}

.el-content-body .el-legal-entity strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--el-font-heading);
    font-size: clamp(20px, 1.35vw, 24px);
    font-weight: 400;
    color: var(--el-color-heading);
}

.el-legal-entity a {
    text-decoration: none;
    overflow-wrap: break-word;
}

@media (max-width: 767px) {
    .el-legal-entities {
        grid-template-columns: 1fr;
    }
}
