/* ==========================================================================
   Legal pages (Privacy Policy, Terms & Conditions) — restyled to match the
   MI Casinos LP design system

   Loaded on page-privacy-policy.php AND page-terms-conditions.php (via
   cb_legal_page_styles() in functions.php), AFTER assets/css/mi-casinos.css
   (which supplies the shared tokens, header, footer and base reset via the
   .mi-casinos-page wrapper). This file adds only the legal-content layer.

   All rules are scoped under .mi-casinos-page so they inherit the same
   cascade guarantees as the base stylesheet.
   ========================================================================== */

/* Legal content column */
.mi-casinos-page .mic-legal {
    padding: 44px 0 8px;
}

/* H1 — reuse the hero display treatment */
.mi-casinos-page .mic-legal__title {
    font-style: italic;
    font-weight: 900;
    font-size: 32px;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
}

.mi-casinos-page .mic-legal__title-accent {
    color: var(--mic-red);
}

/* Effective date — centred between hairline rules (echoes the source doc) */
.mi-casinos-page .mic-legal__effective {
    margin: 24px 0 28px;
    padding: 14px 0;
    border-top: 1px solid var(--mic-hairline);
    border-bottom: 1px solid var(--mic-hairline);
    text-align: center;
    font-style: italic;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mic-muted);
}

.mi-casinos-page .mic-legal__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mic-body);
    margin: 0 0 8px;
}

.mi-casinos-page .mic-legal__intro strong {
    color: var(--mic-ink);
}

/* Sections */
.mi-casinos-page .mic-legal__section {
    margin-top: 40px;
}

.mi-casinos-page .mic-legal__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-style: italic;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--mic-ink);
}

/* Red section-number chip — same language as the offer-row rank badge */
.mi-casinos-page .mic-legal__num {
    flex: none;
    width: 30px;
    height: 30px;
    background: var(--mic-red-cta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    font-weight: 900;
    font-size: 16px;
    transform: skewX(var(--mic-skew));
}

.mi-casinos-page .mic-legal__section p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--mic-body);
    margin: 0 0 14px;
}

.mi-casinos-page .mic-legal__section p:last-child {
    margin-bottom: 0;
}

/* Lists — square red markers, no default bullets */
.mi-casinos-page .mic-legal__list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.mi-casinos-page .mic-legal__list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--mic-body);
    margin-bottom: 10px;
}

.mi-casinos-page .mic-legal__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--mic-red);
    transform: skewX(var(--mic-skew));
}

.mi-casinos-page .mic-legal a {
    color: var(--mic-red);
    text-decoration: none;
    border-bottom: 1px solid var(--mic-red);
}

.mi-casinos-page .mic-legal a:hover {
    color: var(--mic-red-hover);
    border-bottom-color: var(--mic-red-hover);
}

.mi-casinos-page .mic-legal__note {
    margin-top: 32px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--mic-body);
}

/* Contact — highlighted surface box (same pattern as hero disclaimer) */
.mi-casinos-page .mic-legal__contact {
    margin-top: 24px;
    background: var(--mic-surface);
    border: 1px solid var(--mic-hairline);
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mic-body);
}

/* Back to home — primary red skewed CTA (same as the offer-list CTA).
   Selector is qualified with a.mic-legal__back so it outranks the generic
   `.mic-legal a` link rule above (which would otherwise paint the label
   red-on-red and add an underline). */
.mi-casinos-page .mic-legal a.mic-legal__back {
    display: inline-block;
    margin: 36px 0 8px;
    padding: 14px 24px;
    background: var(--mic-red-cta);
    color: #fff;
    border-bottom: none;
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transform: skewX(var(--mic-skew));
    min-height: 48px;
    box-sizing: border-box;
}

.mi-casinos-page .mic-legal a.mic-legal__back:hover {
    background: var(--mic-red-cta-hover);
    color: #fff;
}
