/* ===== TERMS & CONDITIONS PAGE ===== */

/* Remove default padding */
body.page-template-terms-conditions .site-main {
  padding: 0 !important;
  max-width: none !important;
}

/* Hero Section */
.terms-hero {
  background: var(--gb-navy);
  color: var(--gb-white);
  padding: 4rem 2rem;
  text-align: center;
}

.terms-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--gb-white);
}

/* Table of Contents Section */
.terms-toc {
  background: var(--gb-gray);
  padding: 2rem;
}

.terms-toc h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gb-navy);
  margin: 0 0 1rem;
}

.terms-toc ol {
  margin: 0;
  padding-left: 1.5rem;
  columns: 2;
  column-gap: 2rem;
}

.terms-toc li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--gb-text);
}

.terms-toc a {
  color: var(--gb-navy);
  text-decoration: none;
}

.terms-toc a:hover {
  color: var(--gb-gold);
  text-decoration: underline;
}

/* Main Content Section */
.terms-content {
  background: var(--gb-white);
  padding: 4rem 2rem;
}

.terms-content-inner {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gb-text);
}

.terms-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gb-border);
}

.terms-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.terms-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gb-navy);
  margin: 1.5rem 0 0.75rem;
}

.terms-content p {
  margin-bottom: 1rem;
}

.terms-content ul,
.terms-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .terms-hero h1 {
    font-size: 1.75rem;
  }

  .terms-hero,
  .terms-toc,
  .terms-content {
    padding: 3rem 1.5rem;
  }

  .terms-toc ol {
    columns: 1;
  }

  .terms-content h2 {
    font-size: 1.25rem;
  }
}
