/* =========================================================
   policy.css — Shared styles for privacy.html and terms.html
   ========================================================= */

/* Override gradient text on page-header headings */
.hero-section h1 {
  color: #ff4d2e !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

.section-heading h2 {
  color: #ff4d2e !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

/* Policy content card */
.policy-content {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

/* Individual policy sections */
.policy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Headings inside policy content */
.policy-content h2 {
  color: #ff4d2e;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.policy-content h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Lists inside policy content */
.policy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Last-updated banner */
.last-updated {
  background: #e3f2fd;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #2196f3;
  margin-bottom: 2rem;
}

/* Table of contents box */
.table-of-contents {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.table-of-contents h3 {
  color: #ff4d2e;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0;
  column-count: 2;
  column-gap: 2rem;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.table-of-contents a {
  color: #333;
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
  font-size: 0.9rem;
}

.table-of-contents a:hover {
  color: #ff4d2e;
}

/* Important-notice callout (terms.html) */
.important-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-left: 4px solid #f39c12;
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.important-notice .fa-exclamation-triangle {
  color: #f39c12;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .table-of-contents ul {
    column-count: 1;
  }

  .policy-content {
    padding: 1.5rem;
  }
}
