.terms-hero {
  background-color: var(--color-bg-secondary);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(114, 47, 55, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--color-bg-primary) 100%);
  padding: var(--space-24) 0 var(--space-16);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  margin-bottom: var(--space-6);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumb__link {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: var(--color-gold);
}

.breadcrumb__item--current {
  color: var(--color-gold);
}

.terms-hero__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.terms-hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.terms-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  padding-top: var(--space-12);
  padding-bottom: var(--space-24);
}

.terms-sidebar {
  position: relative;
}

.terms-nav {
  position: sticky;
  top: var(--space-8);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  border-radius: var(--radius-md);
}

.terms-nav__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-weight: 600;
}

.terms-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.terms-nav__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-2) 0;
  border-left: 2px solid transparent;
  padding-left: var(--space-3);
  margin-left: calc(-1 * var(--space-3));
  transition: all var(--transition-fast);
}

.terms-nav__link:hover {
  color: var(--color-gold);
  border-left-color: var(--color-gold-dark);
}

.terms-nav__link.active {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
  background-color: rgba(201, 169, 97, 0.05);
}

.terms-content {
  max-width: 720px;
}

.terms-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.terms-meta__date {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  font-family: var(--font-mono);
}

.terms-meta__print {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.terms-section {
  margin-bottom: var(--space-12);
  scroll-margin-top: var(--space-8);
}

.terms-section__title {
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-burgundy);
  display: inline-block;
}

.terms-section__content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

.terms-section__content p:last-child {
  margin-bottom: 0;
}

.terms-footer {
  margin-top: var(--space-16);
  padding: var(--space-8);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.terms-footer p {
  margin: 0;
  color: var(--color-text-muted);
}

.terms-footer a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .terms-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .terms-sidebar {
    order: -1;
  }
  
  .terms-nav {
    position: static;
    padding: var(--space-4);
  }
  
  .terms-nav__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2);
  }
  
  .terms-nav__link {
    margin: 0;
    padding: var(--space-2) var(--space-3);
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  
  .terms-nav__link:hover,
  .terms-nav__link.active {
    border-left: none;
    border-bottom-color: var(--color-gold);
    background-color: transparent;
  }
}

@media (max-width: 640px) {
  .terms-hero {
    padding: var(--space-16) 0 var(--space-12);
  }
  
  .terms-hero__title {
    font-size: var(--text-4xl);
  }
  
  .terms-hero__subtitle {
    font-size: var(--text-lg);
  }
  
  .terms-nav__list {
    grid-template-columns: 1fr;
  }
  
  .terms-section__title {
    font-size: var(--text-xl);
  }
  
  .terms-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .terms-sidebar,
  .terms-meta__print,
  .breadcrumb {
    display: none;
  }
  
  .terms-container {
    display: block;
    padding: 0;
  }
  
  .terms-content {
    max-width: 100%;
  }
  
  .terms-section {
    page-break-inside: avoid;
    margin-bottom: var(--space-8);
  }
  
  body {
    background: white;
    color: black;
  }
  
  .terms-section__title {
    border-bottom-color: #000;
    color: #000;
  }
  
  .terms-section__content p {
    color: #333;
  }
}