/* Terms of Service module — scoped under .scm-mod-VenueTerms
 *
 * The whole legal page (Terms of Service, or Privacy Policy in its Privacy mode): one readable column with the theme's
 * text and heading colors, from the theme's variables. The Edit view's editor, preview and token list below.
 */

.scm-mod-VenueTerms {
    display: block;
}

.scm-mod-VenueTerms .vc-terms {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.8;
    color: var(--default-color, inherit);
}

.scm-mod-VenueTerms .vc-terms h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--heading-color, inherit);
    margin-bottom: 1.5rem;
}

.scm-mod-VenueTerms .vc-terms h2,
.scm-mod-VenueTerms .vc-terms h3 {
    margin-top: 2rem;
    color: var(--heading-color, inherit);
}

.scm-mod-VenueTerms .vc-terms__list {
    padding-left: 1.25rem;
}

.scm-mod-VenueTerms .vc-terms__list li + li {
    margin-top: 0.25rem;
}

/* ── The Edit view ─────────────────────────────────────────────────────────────────────────────────────────────────── */

.scm-mod-VenueTerms .vc-terms-editor {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

.scm-mod-VenueTerms .vc-terms-editor__note,
.scm-mod-VenueTerms .vc-terms-editor__status {
    margin-bottom: 0.75rem;
}

.scm-mod-VenueTerms .vc-terms-editor__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.scm-mod-VenueTerms .vc-terms-editor__heading {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.scm-mod-VenueTerms .vc-terms-editor__group {
    font-size: 1rem;
    margin-top: 1rem;
}

.scm-mod-VenueTerms .vc-terms-editor__preview {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
    margin-top: 1rem;
}

.scm-mod-VenueTerms .vc-terms-editor__table code {
    white-space: nowrap;
}

.scm-mod-VenueTerms .vc-terms-editor__value ul {
    margin: 0;
    padding-left: 1rem;
}

.scm-mod-VenueTerms .vc-terms-editor__help {
    margin-top: 1.5rem;
}

@media (max-width: 576px) {
    .scm-mod-VenueTerms .vc-terms-editor__table code {
        white-space: normal;
        word-break: break-word;
    }
}
