/* Legal / policy pages — same 80rem shell as support & verify-bet */

.legal-main .wrapper__game {
    max-width: 80rem;
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.legal-intro .h5 {
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: normal;
}

.legal-lede {
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #0D0C07;
}

.legal-intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--foreground, #0D0C07);
    border-radius: 0.75rem;
    background: var(--background-alt, #FFFACD);
}

.legal-intro .section-title {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-body {
    padding: 1.5rem;
    border: 1px solid var(--foreground, #0D0C07);
    border-radius: 0.75rem;
    background: var(--background-alt, #FFFACD);
    box-shadow: none;
}

.legal-content {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 162%;
    color: #0D0C07;
}

.legal-content b {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    color: #0D0C07;
}

.legal-content b:first-child {
    margin-top: 0;
}

.legal-content a {
    color: #0D0C07;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-content a:hover {
    text-decoration: none;
}

.legal-aside {
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(13, 12, 7, 0.2);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #0D0C07;
}

.legal-aside a {
    color: #0D0C07;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-aside a:hover {
    text-decoration: none;
}

:root[data-theme="dark"] .legal-intro,
:root[data-theme="dark"] .legal-body {
    background: #1a1a19;
    border-color: rgba(251, 226, 75, 0.35);
}

:root[data-theme="dark"] .legal-intro .h5 {
    color: #FFE233;
}

:root[data-theme="dark"] .legal-lede,
:root[data-theme="dark"] .legal-content,
:root[data-theme="dark"] .legal-aside {
    color: rgba(255, 255, 255, 0.82);
}

:root[data-theme="dark"] .legal-content b {
    color: #FFE233;
}

:root[data-theme="dark"] .legal-content a,
:root[data-theme="dark"] .legal-aside a {
    color: #FFE233;
}

:root[data-theme="dark"] .legal-aside {
    border-top-color: rgba(251, 226, 75, 0.2);
}
