/* ════════════════════════════════════════════════════════════════════════════
 *  BRIGHT SPARKS — POLICY PAGES
 *
 *  Shared by privacy-policy.html and editorial-policy.html. The styling is
 *  taken from the cookies policy page so all three read as one set; that page
 *  still carries its own copy inline and can be moved onto this file whenever
 *  it is next touched.
 *
 *  Page furniture — the menu bar, the footer — comes from styles.css, exactly
 *  as it does on the cookies policy page.
 * ════════════════════════════════════════════════════════════════════════════ */

.policy-hero {
  background: linear-gradient(135deg, #1A2E6E, #203580);
  padding: 110px 6% 60px;
  text-align: center;
  border-bottom: 4px solid #D32F2F;
}
.policy-hero .section-tag { display: inline-block; margin-bottom: 14px; }
.policy-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.policy-hero h1 span { color: #F5C252; }
.policy-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.policy-body { max-width: 820px; margin: 0 auto; padding: 56px 6% 80px; }

.policy-updated {
  display: inline-block;
  background: rgba(26,46,110,0.07);
  color: #1A2E6E;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 36px;
  border: 1px solid rgba(26,46,110,0.15);
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1A2E6E;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  margin-bottom: 32px;
  padding: 8px 16px;
  background: rgba(26,46,110,0.07);
  border-radius: 8px;
  border: 1px solid rgba(26,46,110,0.15);
  transition: background 0.2s;
}
.policy-back:hover { background: rgba(26,46,110,0.13); }

/* A short list of the sections, so a parent can reach the one they came for
   without scrolling through the rest. */
.policy-toc {
  background: #f5f7ff;
  border: 1px solid rgba(26,46,110,0.1);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 44px;
}
.policy-toc h2 {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1A2E6E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.policy-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.policy-toc li { font-size: 0.82rem; margin-bottom: 7px; break-inside: avoid; }
.policy-toc a { color: #1A2E6E; text-decoration: none; font-weight: 600; }
.policy-toc a:hover { color: #D32F2F; text-decoration: underline; }

.policy-section { margin-bottom: 40px; scroll-margin-top: 90px; }
.policy-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1A2E6E;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E8A020;
  display: inline-block;
}
.policy-section h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1A2E6E;
  margin: 22px 0 8px;
}
.policy-section p {
  color: #5A6480;
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 10px;
}
.policy-section p a, .policy-section li a { color: #1A2E6E; font-weight: 600; }
.policy-section p a:hover, .policy-section li a:hover { color: #D32F2F; }

.policy-section ul { list-style: none; padding: 0; margin: 10px 0; }
.policy-section ul li {
  padding: 10px 14px;
  background: #f5f7ff;
  border-left: 3px solid #1A2E6E;
  border-radius: 0 6px 6px 0;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #1A1A2E;
  line-height: 1.6;
}
.policy-section ul li strong { color: #1A2E6E; }

/* Numbered steps — used for "how to ask for a correction". */
.policy-section ol.policy-steps { margin: 12px 0 12px 20px; padding: 0; }
.policy-section ol.policy-steps li {
  font-size: 0.86rem;
  color: #5A6480;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
}
.policy-section ol.policy-steps li strong { color: #1A2E6E; }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 14px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,46,110,0.08);
}
.policy-table thead tr { background: #1A2E6E; color: #fff; }
.policy-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.policy-table tbody tr:nth-child(even) { background: #f5f7ff; }
.policy-table tbody tr:nth-child(odd) { background: #fff; }
.policy-table td {
  padding: 10px 14px;
  color: #5A6480;
  border-bottom: 1px solid rgba(26,46,110,0.07);
  vertical-align: top;
  line-height: 1.55;
}
.policy-table td:first-child { font-weight: 600; color: #1A2E6E; }
.policy-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* For the things that matter most — safeguarding, children's data. */
.policy-callout {
  background: #FFF8E1;
  border: 1px solid rgba(232,160,32,0.4);
  border-left: 4px solid #E8A020;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 18px 0;
}
.policy-callout p { color: #6b5410; font-size: 0.85rem; margin-bottom: 0; }
.policy-callout strong { color: #8a6608; }

.policy-contact-box {
  background: linear-gradient(135deg, #1A2E6E, #203580);
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  margin-top: 48px;
  text-align: center;
}
.policy-contact-box h3 { font-size: 1rem; font-weight: 800; color: #F5C252; margin-bottom: 10px; }
.policy-contact-box p { color: rgba(255,255,255,0.8); font-size: 0.83rem; line-height: 1.7; margin-bottom: 0; }
.policy-contact-box a { color: #F5C252; font-weight: 600; }

/* Cross-links between the three policies. */
.policy-siblings {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.policy-siblings a {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1A2E6E;
  text-decoration: none;
  padding: 9px 18px;
  background: rgba(26,46,110,0.07);
  border: 1px solid rgba(26,46,110,0.15);
  border-radius: 8px;
  transition: background 0.2s;
}
.policy-siblings a:hover { background: rgba(26,46,110,0.14); color: #D32F2F; }

@media (max-width: 640px) {
  .policy-toc ol { columns: 1; }
  .policy-hero { padding: 100px 6% 48px; }
  .policy-body { padding: 40px 6% 60px; }
}
