/* =========================================================================
   Legal pages (privacy policy, terms of use, accessibility statement).
   Self-contained — depends on NO parent-theme CSS: these are the most
   "pure PHP"-ready pages on the site. Linked explicitly by each legal page
   file. Brand palette: menu blue #0272b2, teal #1bb5b7, pink #f66282.
   The pages are text-heavy, so readability and accessibility lead:
   generous line-height, high contrast, real anchors, one H1.
   ========================================================================= */

.ct-legal-page #Content { padding: 0 !important; }

/* ---- slim hero (no photo, no counters — legal pages stay calm) ---------- */
.ct-legal-hero {
    background: linear-gradient(115deg, #032447 0%, #024a82 55%, #0272b2 100%);
    padding: 46px 20px 40px;
    color: #fff;
}
.ct-legal-hero-inner { max-width: 860px; margin: 0 auto; }
.ct-legal-kicker {
    display: flex; align-items: center;
    font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82); margin-bottom: 12px;
}
.ct-legal-kicker span { display: inline-block; width: 26px; height: 3px; background: #f66282; margin-right: 10px; }
.ct-legal-hero h1 {
    color: #fff; margin: 0; font-size: 38px; line-height: 1.15; font-weight: 700;
    font-family: Trebuchet, Arial, Tahoma, sans-serif;
}
.ct-legal-updated { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---- body column -------------------------------------------------------- */
.ct-legal-body { max-width: 860px; margin: 0 auto; padding: 44px 20px 60px; }
.ct-legal-body p,
.ct-legal-body li { font-size: 15.5px; line-height: 1.72; color: #33404d; }
.ct-legal-body p { margin: 0 0 16px; }
.ct-legal-body strong { color: #1f2a36; }
.ct-legal-body a { color: #0272b2; text-decoration: underline; }
.ct-legal-body a:hover { color: #024a82; }

.ct-legal-intro { font-size: 16.5px; line-height: 1.7; color: #2f3e4e; }

/* Table of contents */
.ct-legal-toc {
    background: #f5f8fb; border: 1px solid #dce6ef; border-radius: 8px;
    padding: 22px 26px; margin: 30px 0 40px;
}
.ct-legal-toc h2 {
    font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
    color: #6b7885; margin: 0 0 14px; font-weight: 700;
}
.ct-legal-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 34px; }
.ct-legal-toc li { margin: 0 0 9px; font-size: 14.5px; line-height: 1.4; break-inside: avoid; }
.ct-legal-toc a { color: #0272b2; text-decoration: none; }
.ct-legal-toc a:hover { text-decoration: underline; }
.ct-legal-toc li::marker { color: #98a4b0; }

/* Sections */
.ct-legal-section { padding-top: 14px; margin-top: 30px; border-top: 1px solid #edf1f5; scroll-margin-top: 20px; }
.ct-legal-section:first-of-type { border-top: 0; margin-top: 0; }
.ct-legal-section h2 {
    font-size: 23px; color: #0272b2; margin: 0 0 16px; line-height: 1.25;
    font-family: Trebuchet, Arial, Tahoma, sans-serif;
}
.ct-legal-section h3 { font-size: 17px; color: #1f2a36; margin: 22px 0 10px; }
.ct-legal-body ul { margin: 0 0 18px; padding: 0; list-style: none; }
.ct-legal-body ul > li { position: relative; padding: 0 0 0 24px; margin-bottom: 9px; }
.ct-legal-body ul > li::before {
    content: ""; position: absolute; left: 4px; top: 11px;
    width: 6px; height: 6px; border-radius: 50%; background: #1bb5b7;
}

/* Highlighted callout for the most important clauses (retention, no-refund,
   arbitration) — a pink-accented panel that a court/reader can't miss. */
.ct-legal-callout {
    background: #fff6f8; border: 1px solid #f8d3dc; border-left: 4px solid #f66282;
    border-radius: 6px; padding: 18px 22px; margin: 4px 0 20px;
}
.ct-legal-callout p:last-child { margin-bottom: 0; }
.ct-legal-callout strong { color: #c23a58; }

/* Emphasis panel used for legal disclaimers written in near-caps (as-is,
   limitation of liability) — grey, uppercase-friendly, clearly "the legalese". */
.ct-legal-emphasis {
    background: #f5f7f9; border: 1px solid #e2e8ee; border-radius: 6px;
    padding: 16px 20px; margin: 4px 0 20px; font-size: 14px; line-height: 1.65; color: #45525f;
}

/* Contact box at the foot of every legal page */
.ct-legal-contact {
    margin-top: 44px; background: #0272b2; border-radius: 8px; padding: 28px 30px; color: #fff;
}
.ct-legal-contact h2 { color: #fff; margin: 0 0 10px; font-size: 20px; }
.ct-legal-contact p { color: rgba(255, 255, 255, 0.92); margin: 0 0 6px; font-size: 15px; }
.ct-legal-contact a { color: #fff; font-weight: 700; }

.ct-legal-toplink { display: inline-block; margin-top: 6px; font-size: 13px; color: #98a4b0; text-decoration: none; }
.ct-legal-toplink:hover { color: #0272b2; }

@media (max-width: 767px) {
    .ct-legal-hero h1 { font-size: 28px; }
    .ct-legal-toc ol { columns: 1; }
    .ct-legal-body { padding: 34px 18px 50px; }
}
