/* ====================================================
   Gwynn Logistics — Privacy Policy (legal document)
   Loaded conditionally for page-templates/page-privacy.php
   ==================================================== */

.legal-page {
  background: #ffffff;
}

/* ---- Hero / document header ---- */
.legal-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px var(--section-px) 28px;
}

.legal-hero .eyebrow {
  color: var(--color-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.legal-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--color-text);
}

.legal-effective {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-mid);
}

.legal-applies {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-light);
}

/* ---- Document body ---- */
.legal-body {
  padding: 8px var(--section-px) 72px;
}

.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  color: var(--color-text-mid);
  font-size: 16px;
  line-height: 1.7;
}

.legal-doc h2 {
  margin: 40px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.4px;
  color: var(--color-text);
}

.legal-doc h2:first-of-type {
  /* first section already has spacing from the intro paragraphs */
  margin-top: 34px;
}

.legal-doc h3 {
  margin: 26px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--color-text);
}

.legal-doc p {
  margin: 0 0 16px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-doc a {
  color: var(--color-link-blue);
  text-decoration: underline;
}

.legal-doc strong {
  color: var(--color-text);
}

/* ---- Section 9 category table ---- */
.legal-table-wrap {
  overflow-x: auto;
  margin: 8px 0 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border-light);
}

.legal-table thead th {
  background: var(--color-bg-section);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table td:first-child {
  font-weight: 700;
  color: var(--color-text);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .legal-hero h1 {
    font-size: 32px;
  }
}
