/* -----------------------------
   GENERAL
----------------------------- */

.terms-hero {
  padding: 4rem 1rem 3rem;
}

.terms-hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.terms-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.terms-hero p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

/* -----------------------------
   LAYOUT
----------------------------- */

.terms-layout.container {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.terms-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  background: #fafafa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.terms-nav h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.terms-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.terms-nav li {
  margin-bottom: 0.35rem;
}

.terms-nav a {
  font-size: 0.95rem;
  text-decoration: none;
  color: #333;
}

.terms-nav a:hover {
  text-decoration: underline;
}

.terms-note {
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.terms-main {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.03);
}

/* -----------------------------
   SECTIONS & TYPOGRAPHY
----------------------------- */

.terms-section + .terms-section {
  margin-top: 2.5rem;
}

.terms-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.terms-section h3 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.4rem;
}

.terms-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.terms-section ul {
  padding-left: 1.2rem


/* ============================================
   RESPONSIVE TERMS PAGE — CLEAN & STACKED
   ============================================ */

/* Tot 1000px: sidebar smaller, layout fijner */
@media (max-width: 1000px) {
  .terms-layout.container {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 2rem;
  }
}

/* Tot 820px: sidebar onder content (stacked) */
@media (max-width: 820px) {
  .terms-layout.container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .terms-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    order: 2;
  }

  .terms-main {
    order: 1;
  }
}

/* Tot 600px: typografie smaller & rustig */
@media (max-width: 600px) {
  .terms-hero h1 {
    font-size: 1.9rem;
  }

  .terms-main {
    padding: 1.4rem;
  }

  .terms-section h2 {
    font-size: 1.4rem;
  }

  .terms-section p {
    font-size: 0.92rem;
  }

  .terms-nav a {
    font-size: 0.9rem;
  }
}

/* Tot 480px: maximale compactheid */
@media (max-width: 480px) {
  .terms-hero {
    padding: 2.8rem 1rem 2rem;
  }

  .terms-layout.container {
    gap: 1.6rem;
  }

  .terms-sidebar {
    padding: 1.2rem;
  }

  .terms-main {
    border-radius: 10px;
  }
}
