/* Privacy page — styled to match terms.css look & feel */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #f9f7f4;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main container (parity with terms) */
main.privacy-container {
  flex: 1;
  max-width: 1000px;
  margin: auto;
  padding: 30px;
  line-height: 1.6;
}

/* Header */
.privacy-header h1 {
  font-size: 2.4rem;
  color: #7a4e2d;
  margin-bottom: 10px;
  border-bottom: 3px solid #d9b382;
  display: inline-block;
  padding-bottom: 5px;
}

.privacy-header p,
.intro {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Section cards (match terms) */
.privacy-container section {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #d9b382;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 6px;
  scroll-margin-top: 80px; /* better anchor scrolling with fixed nav */
}

.privacy-container section h2 {
  margin-top: 0;
  color: #7a4e2d;
}

.privacy-container section ul {
  padding-left: 20px;
}

.privacy-container section ul li {
  margin-bottom: 8px;
}

/* Breadcrumb (if present) */
.crumbs {
  font-size: 0.95rem;
  color: #5b4a3f;
  margin: 6px 0 14px;
}
.crumbs a {
  color: #5b4a3f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.crumbs a:hover { color: #7a4e2d; }

/* Table of contents (if present in privacy.php) */
.toc {
  background: #fff;
  padding: 16px;
  margin-bottom: 20px;
  border-left: 5px solid #d9b382;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 6px;
}
.toc h2 {
  margin: 0 0 8px;
  color: #7a4e2d;
  font-size: 1.1rem;
}
.toc ul {
  columns: 2;
  gap: 16px;
  margin: 0;
  padding-left: 18px;
}
.toc li { break-inside: avoid; margin: 6px 0; }
@media (max-width: 720px) { .toc ul { columns: 1; } }

/* Back-to-top utility (if used) */
.back-top { margin-top: 12px; }
.back-top a {
  color: #7a4e2d;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* Skip link (if you add it to markup) */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: static; width: auto; height: auto;
  margin: 8px; padding: 8px 12px;
  background: #000; color: #fff; border-radius: 8px;
}

/* Mobile tweaks */
@media (max-width: 680px) {
  main.privacy-container { padding: 22px; }
  .privacy-header h1 { font-size: 2rem; }
}

/* Print: simple, readable */
@media print {
  body { background: #fff; color: #000; }
  .privacy-container section,
  .privacy-header,
  .toc { box-shadow: none; border-left: none; }
  a { color: #000; text-decoration: underline; }
}
