/* ------------------------------------------------------------------ *
 * Shared styling for legal pages (Terms, Privacy, Cookie,
 * Accessibility) and the Legal Centre hub.
 * Loaded alongside terms.css / privacy.css — light theme.
 * ------------------------------------------------------------------ */

/* --- Reusable two-office contact block --- */
.legal-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 8px 0 20px;
  padding: 22px 24px;
  background: #f8f8f8;
  border: 1px solid #ececec;
  border-radius: 12px;
}
.legal-contact-meta { grid-column: 1 / -1; border-top: 1px solid #e6e6e6; padding-top: 14px; }
.legal-contact p {
  margin: 0 0 6px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
}
.legal-contact-org { font-weight: 700; color: #111; }
.legal-contact a { color: #e63946; text-decoration: underline; text-underline-offset: 2px; }
.legal-contact a:hover { color: #c1121f; }

@media (max-width: 640px) {
  .legal-contact { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
}

/* --- "Manage cookie preferences" inline button --- */
.legal-cookie-settings {
  display: inline-flex;
  align-items: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #e63b3b;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.legal-cookie-settings:hover { background: #cf2f2f; }

/* --- Legal Centre hub --- */
.legal-hub-intro {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 0 24px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
}

.legal-hub-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.legal-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.legal-card:hover {
  border-color: #e63b3b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}
.legal-card-title {
  margin: 0 0 8px;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}
.legal-card-desc {
  margin: 0 0 16px;
  font-family: Inter, sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6b7280;
  flex: 1 1 auto;
}
.legal-card-cta {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #e63b3b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .legal-hub-grid { grid-template-columns: 1fr; }
}
