/* A legal page - Terms & Conditions, Privacy & Cookies Policy, Modern Slavery
   Statement (urlbodies/) - set to be read clause by clause: a narrow column,
   text ranged left, body size text, a rule between sections.

   A FILE OF ITS OWN, AND IT NEEDS NOTHING ELSE. A visitor and a signed-in
   customer get different <head>s (include/head.php): the visitor site's
   assets/css/style-custom.css, or the portal's assets/theme/css. These rules
   lived in style-custom.css on top of its article layout (.blog-*), so a
   signed-in customer - sent here from "Read the full Terms & Conditions" -
   got none of them and the text ran edge to edge (staging feedback
   2026-11-18). Both heads link this file, every rule starts .legal-page, and
   whatever the article layout supplied is said here outright. Colours carry
   their own fallback: the portal has no --text-black.

   Heading sizes are !important because the portal's theme sets every h1 and h2
   that way (assets/theme/css/style.css: 36px and 32px), which made each clause
   heading as large as the page's name. The values are what a visitor already saw. */
.legal-page.blog-post-section {
    padding: 56px 0 72px;
}

.legal-page .blog-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-page .blog-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
    text-align: left;
}

/* The page's name, for a signed-in customer: the visitor banner that carries
   it is not shown to them. */
.legal-page .legal-title {
    font-size: 30px !important;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-black, #000);
    margin: 0 0 14px;
}

.legal-page .blog-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.legal-page .blog-meta span i {
    color: var(--accent-color, #F9010E);
    margin-right: 5px;
}

.legal-page .blog-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.legal-page .blog-content p {
    text-align: left;
    margin: 0 0 14px;
}

.legal-page .blog-content strong {
    color: var(--text-black, #000);
}

/* The document's own title, where it says more than the banner does. */
.legal-page .blog-content h1 {
    font-size: 26px !important;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text-black, #000);
    margin: 0 0 14px;
}

/* Bullets: both sites reset `ul` to none, which left lists looking like loose lines. */
.legal-page .blog-content ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 14px;
}

.legal-page .blog-content li {
    margin-bottom: 8px;
}

/* Links in the text: the site-wide `a` has no underline and the text's colour. */
.legal-page .blog-content a {
    text-decoration: underline;
}

.legal-page .blog-content h2 {
    font-size: 22px !important;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-black, #000);
    margin: 36px 0 16px;
    padding-top: 30px;
    border-top: 1px solid #e2e2e2;
    scroll-margin-top: 110px;
}

.legal-page .blog-content h3 {
    color: var(--text-black, #000);
    margin: 40px 0 20px;
}

.legal-page .blog-content > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal-page .legal-contact {
    margin-top: 32px;
    padding: 22px 26px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.legal-page .legal-contact h2 {
    font-size: 18px !important;
    margin: 0 0 10px;
    padding-top: 0;
    border-top: 0;
}

.legal-page .legal-contact p {
    margin-bottom: 2px;
}

.legal-page .blog-content .legal-after-contact {
    margin-top: 24px;
}

.legal-page .blog-footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e2e2e2;
}

.legal-page .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-black, #000);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-page .btn-back:hover {
    color: var(--accent-color, #F9010E);
}

@media (max-width: 768px) {
    .legal-page.blog-post-section {
        padding: 32px 0 48px;
    }

    .legal-page .blog-content h2 {
        font-size: 20px !important;
        margin-top: 28px;
        padding-top: 24px;
    }

    .legal-page .legal-title {
        font-size: 24px !important;
    }
}
