/**
 * Legal Document Entry-Type Styles — PJV (Projektvereinbarungen) and future legal texts.
 *
 * Overlay/animation is handled by scroll-text.css (universal).
 * This file contains ONLY legal-document-specific entry type styles.
 * Prefix: .mm-legal-*
 */

/* --- Legal inner container (wider than credits for readable text) --- */

.mm-legal-inner {
    width: 80vw;
}

/* --- Document Title (large, centered, uppercase) --- */

.mm-legal-title {
    text-align: center;
    font-size: 26px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

/* --- Subtitle --- */

.mm-legal-subtitle {
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

/* --- Version identifier --- */

.mm-legal-version {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 10px;
}

/* --- Section heading (e.g., "1 — Monetarisierung...") --- */

.mm-legal-heading {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ase-mm-ring-color);
    opacity: 0.7;
    margin-top: 28px;
    margin-bottom: 14px;
    padding-top: 10px;
}

/* --- Subsection heading (e.g., "Abs 1. Crowd Funding") --- */

.mm-legal-subsection {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 20px;
    margin-bottom: 10px;
}

/* --- Body paragraph (justified, readable) --- */

.mm-legal-paragraph {
    text-align: justify;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

/* --- Emphasis paragraph (italic) --- */

.mm-legal-emphasis {
    text-align: justify;
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
    padding: 0 20px;
}

/* --- Copyright footer --- */

.mm-legal-copyright {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    padding: 2px 0;
}

/* --- Spacer --- */

.mm-legal-spacer {
    height: 40px;
}

/* --- Responsive: Tablet (<=767px) — slightly narrower, reduce font sizes --- */

@media (max-width: 767px) {
    .mm-legal-inner {
        width: 88vw;
    }

    .mm-legal-title {
        font-size: 22px;
    }

    .mm-legal-subtitle {
        font-size: 14px;
    }

    .mm-legal-heading {
        font-size: 14px;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    .mm-legal-subsection {
        font-size: 13px;
        margin-top: 16px;
        margin-bottom: 8px;
    }

    .mm-legal-paragraph,
    .mm-legal-emphasis {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .mm-legal-emphasis {
        padding: 0 12px;
    }

    .mm-legal-copyright {
        font-size: 10px;
    }

    .mm-legal-spacer {
        height: 30px;
    }
}

/* --- Responsive: Mobile (<=639px) — near-fullwidth, compact type --- */

@media (max-width: 639px) {
    .mm-legal-inner {
        width: 94vw;
    }

    .mm-legal-title {
        font-size: 18px;
        letter-spacing: 0.15em;
    }

    .mm-legal-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .mm-legal-version {
        font-size: 10px;
    }

    .mm-legal-heading {
        font-size: 13px;
        letter-spacing: 0.12em;
        margin-top: 18px;
        margin-bottom: 8px;
    }

    .mm-legal-subsection {
        font-size: 12px;
        margin-top: 14px;
        margin-bottom: 6px;
    }

    .mm-legal-paragraph,
    .mm-legal-emphasis {
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .mm-legal-emphasis {
        padding: 0 8px;
    }

    .mm-legal-copyright {
        font-size: 9px;
    }

    .mm-legal-spacer {
        height: 24px;
    }
}
