/* =====================================================
   LEGAL PAGES (Privacy, Terms, Cookies, etc.)
   Loads AFTER css/style.css.
   Classes use the "lg-" prefix.
===================================================== */

/* ---------- Hero ---------- */

.lg-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 20px 0;
    text-align: center;
}

.lg-badge {
    display: inline-block;
    padding: 6px 22px;

    background: #FDFCF9;
    border: 1px solid #D9D6CE;
    border-radius: 999px;

    font-family: 'Comic Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;

    margin-bottom: 22px;
}

.lg-title {
    font-family: 'Sniglet', cursive;
    font-weight: 400;
    font-size: clamp(36px, 4.4vw, 60px);
    line-height: 1.2;
    letter-spacing: -1px;
    color: #1a1a1a;

    margin-bottom: 14px;
}

.lg-sub {
    font-family: 'Comic Neue', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: .3px;
    color: #666;
}

/* ---------- Layout ---------- */

.lg-main {
    padding: 60px 0 120px;
}

.lg-wrap {
    width: min(1285px, 100% - 40px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 44px;
    align-items: start;
}

/* ---------- Sidebar ---------- */

.lg-side {
    position: sticky;
    top: 100px;
}

.lg-side-label {
    display: block;
    padding-left: 16px;
    margin-bottom: 24px;

    font-family: 'Comic Neue', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #111;
}

.lg-side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lg-side-nav a {
    display: flex;
    align-items: center;

    min-height: 51px;
    padding: 0 16px;

    border-radius: 14px;

    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #6B6B6B;

    transition: background .25s ease, color .25s ease;
}

.lg-side-nav a:hover {
    color: #111;
    background: rgba(0, 0, 0, .04);
}

.lg-side-nav a.active {
    background: #111;
    color: #fff;
}

/* ---------- Content card ---------- */

.lg-card {
    background: #FEFDF9;
    border: 1px solid #E8E4DA;
    border-radius: 36px;
    padding: 54px;
}

.lg-intro {
    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 34px;
    color: #111;

    margin-bottom: 28px;
}

/* Section */

.lg-section {
    margin-bottom: 38px;
}

.lg-section:last-child {
    margin-bottom: 0;
}

.lg-h2 {
    display: flex;
    align-items: center;
    gap: 14px;

    font-family: 'Sniglet', cursive;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.3;
    color: #111;

    margin-bottom: 22px;
}

/* the small pink ring before each main heading */
.lg-h2::before {
    content: "";
    flex: 0 0 15px;
    width: 15px;
    height: 15px;

    background: #F9D2E3;
    border: 1.5px solid #5B2A40;
    border-radius: 50%;
}

.lg-h3 {
    font-family: 'Comic Neue', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.4;
    color: #111;

    margin-bottom: 18px;
}

.lg-p {
    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #111;

    margin-bottom: 18px;
}

.lg-list {
    list-style: disc;
    padding-left: 28px;
    margin-bottom: 18px;
}

.lg-list li {
    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #111;

    margin-bottom: 10px;
}

.lg-list li::marker {
    color: #111;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {

    .lg-wrap {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    /* sidebar becomes a scrolling row of pills above the card */
    .lg-side {
        position: static;
    }

    .lg-side-label {
        margin-bottom: 14px;
    }

    .lg-side-nav {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .lg-side-nav::-webkit-scrollbar {
        display: none;
    }

    .lg-side-nav a {
        flex: 0 0 auto;
        min-height: 44px;
        white-space: nowrap;
        font-size: 16px;
    }

    .lg-card {
        padding: 40px 32px;
        border-radius: 28px;
    }
}

@media (max-width: 600px) {

    .lg-hero {
        padding-top: 36px;
    }

    .lg-sub {
        font-size: 16px;
    }

    .lg-main {
        padding: 40px 0 80px;
    }

    .lg-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .lg-intro {
        font-size: 17px;
        line-height: 29px;
    }

    .lg-h2 {
        font-size: 23px;
    }

    .lg-h3 {
        font-size: 17px;
    }

    .lg-p,
    .lg-list li {
        font-size: 16px;
        line-height: 26px;
    }
}