/* policy.css - Privacy Policy and Terms of Service pages (pages/016-privacy.xjs,
   pages/017-terms.xjs) plus the site footer that links to them. Prose uses the
   member's reading font (--font-ui); nothing here renders CP437. */

.policy-page {
    max-width: 52rem;
    margin: 0 auto;
}

.policy-page .policy-hero .card-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem 1rem;
}

.policy-page .policy-hero h3 {
    margin: 0;
}

.policy-page .policy-meta {
    color: #aaaaaa;
    font-size: .9rem;
}

.policy-page .policy-meta a {
    margin-left: .75rem;
}

.policy-page .policy-body {
    margin-top: 1rem;
}

.policy-page .policy-body .card-body {
    line-height: 1.6;
    font-size: 1rem;
}

.policy-page .policy-lede {
    color: #cccccc;
    margin-bottom: 1.25rem;
}

.policy-page .policy-body h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 .5rem;
    color: var(--cga-bright-cyan, #55ffff);
}

.policy-page .policy-body h4:first-child {
    margin-top: 0;
}

.policy-page .policy-body p,
.policy-page .policy-body ul {
    margin-bottom: .75rem;
}

.policy-page .policy-body ul {
    padding-left: 1.25rem;
}

.policy-page .policy-body li {
    margin-bottom: .3rem;
}

.policy-page .policy-toc {
    columns: 2;
    column-gap: 2rem;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: .95rem;
}

@media (max-width: 575.98px) {
    .policy-page .policy-toc {
        columns: 1;
    }
}

/* Site footer (components/footer.xjs): the last child of the content column,
   inside its scroller (spa.js re-appends it after each page swap). Full-height
   pages that manage their own layout hide it. */
.site-footer {
    margin: 1.5rem 0 .5rem;
    padding: .75rem 1rem;
    text-align: center;
    color: #8a8a8a;
    font-size: .85rem;
}

.site-footer a {
    color: #aaaaaa;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--cga-bright-cyan, #55ffff);
}

.site-footer .site-footer-sep {
    margin: 0 .5rem;
    opacity: .6;
}

body[data-page="chat"] .site-footer,
body[data-page="oneliners"] .site-footer {
    display: none;
}
