/*
 * File: public_html/public/assets/css/website-privacy-policy.css
 * Info: Theme-aware compact document styling for MAC LMS website-only Privacy Policy page.
 */

.mln-website-policy-main {
    background: var(--mln-bg);
}

.mln-website-policy-hero {
    padding: 2.3rem 1.5rem 1.1rem;
}

.mln-website-policy-hero-inner {
    width: min(100%, 1120px);
    margin-inline: auto;
    padding: 1.35rem 1.45rem;
    border: 1px solid var(--mln-border);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            var(--mln-card),
            var(--mln-bg-soft)
        );
    box-shadow: var(--mln-shadow-soft);
}

.mln-website-policy-hero h1 {
    max-width: 820px;
    margin: 0.28rem 0 0;
    color: var(--mln-text);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.mln-website-policy-hero p {
    max-width: 860px;
    margin: 0.85rem 0 0;
    color: var(--mln-text-soft);
    font-size: 0.94rem;
    line-height: 1.7;
}

.mln-website-policy-scope {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 1rem;
    padding: 0.62rem 0.82rem;
    border: 1px solid rgba(14, 165, 233, 0.28);
    border-radius: 15px;
    background: rgba(14, 165, 233, 0.07);
    color: var(--mln-text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.mln-website-policy-scope strong {
    flex: 0 0 auto;
    color: var(--mln-accent);
    font-weight: 900;
}

.mln-website-policy-updated {
    margin-top: 0.85rem;
    color: var(--mln-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.mln-website-policy-updated strong {
    color: var(--mln-text);
    font-weight: 800;
}

.mln-website-policy-section {
    padding: 0 1.5rem 3rem;
}

.mln-website-policy-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
    gap: 1.2rem;
    width: min(100%, 1120px);
    margin-inline: auto;
}

.mln-website-policy-summary,
.mln-website-policy-card {
    border: 1px solid var(--mln-border);
    background: var(--mln-card);
    box-shadow: var(--mln-shadow-soft);
}

.mln-website-policy-summary {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 1.05rem;
    border-radius: 20px;
}

.mln-website-policy-summary h2 {
    margin: 0;
    color: var(--mln-text);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.3;
}

.mln-website-policy-summary ul,
.mln-website-policy-card ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: var(--mln-text-soft);
}

.mln-website-policy-summary li,
.mln-website-policy-card li {
    margin-top: 0.45rem;
    line-height: 1.6;
}

.mln-website-policy-summary li {
    font-size: 0.84rem;
}

.mln-website-policy-card {
    padding: 1.35rem;
    border-radius: 22px;
}

.mln-website-policy-card section + section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--mln-border);
}

.mln-website-policy-card h2 {
    margin: 0;
    color: var(--mln-text);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.012em;
    line-height: 1.35;
}

.mln-website-policy-card p {
    margin: 0.65rem 0 0;
    color: var(--mln-text-soft);
    font-size: 0.88rem;
    line-height: 1.75;
}

.mln-website-policy-card li {
    font-size: 0.88rem;
}

.mln-website-policy-card a {
    color: var(--mln-accent);
    font-weight: 800;
    text-decoration: none;
}

.mln-website-policy-card a:hover {
    text-decoration: underline;
}

/* Mobile: up to 599px */
@media (max-width: 599px) {
    .mln-website-policy-hero {
        padding: 1.4rem 0.85rem 0.85rem;
    }

    .mln-website-policy-hero-inner {
        padding: 1rem;
        border-radius: 20px;
    }

    .mln-website-policy-hero h1 {
        font-size: 1.85rem;
    }

    .mln-website-policy-hero p {
        font-size: 0.86rem;
    }

    .mln-website-policy-scope {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        font-size: 0.78rem;
    }

    .mln-website-policy-section {
        padding: 0 0.85rem 2.5rem;
    }

    .mln-website-policy-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
    }

    .mln-website-policy-summary {
        position: static;
        padding: 0.95rem;
        border-radius: 18px;
    }

    .mln-website-policy-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .mln-website-policy-card h2 {
        font-size: 0.96rem;
    }

    .mln-website-policy-card p,
    .mln-website-policy-card li {
        font-size: 0.84rem;
    }
}

/* Tablet: 600px to 1023px */
@media (min-width: 600px) and (max-width: 1023px) {
    .mln-website-policy-hero {
        padding: 1.8rem 1.2rem 1rem;
    }

    .mln-website-policy-section {
        padding: 0 1.2rem 3rem;
    }

    .mln-website-policy-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .mln-website-policy-summary {
        position: static;
    }
}

/* Desktop/Laptop: 1024px and above */
@media (min-width: 1024px) {
    .mln-website-policy-card {
        min-height: 480px;
    }
}