/* ==========================================================================
   EcomHolistic Terms and Conditions Page
   Clean legal text page: centered column, generous spacing, quiet typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero: Page title + last updated
   -------------------------------------------------------------------------- */
.eh-terms-hero {
  padding: 140px 24px 48px;
  background-color: var(--eh-drip-cream);
  text-align: center;
}

.eh-terms-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.eh-terms-hero h1 {
  font-family: var(--eh-font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Fade-in on load */
.eh-terms-fade-in {
  animation: eh-terms-fade 0.5s ease-out both;
}

@keyframes eh-terms-fade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-terms-fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Content Body: Single centered column
   -------------------------------------------------------------------------- */
.eh-terms-content {
  padding: 60px 24px 100px;
  background-color: var(--eh-drip-cream);
}

.eh-terms-content-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Intro paragraph (before numbered sections) */
.eh-terms-intro {
  font-family: var(--eh-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--eh-folk-dark);
  margin-bottom: 40px;
}

/* Section headings */
.eh-terms-content h2 {
  font-family: var(--eh-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Body paragraphs */
.eh-terms-content p {
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--eh-folk-mid);
  margin-bottom: 16px;
}

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

/* Bold text within paragraphs */
.eh-terms-content strong {
  font-weight: 600;
  color: var(--eh-folk-dark);
}

/* Links */
.eh-terms-content a {
  color: var(--eh-sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Lists */
.eh-terms-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.eh-terms-content ul li {
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--eh-folk-mid);
  padding-left: 24px;
  margin-bottom: 10px;
  position: relative;
}

.eh-terms-content ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--eh-sage);
}

.eh-terms-content ul li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768-1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .eh-terms-hero {
    padding: 120px 24px 40px;
  }

  .eh-terms-content {
    padding: 48px 24px 80px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .eh-terms-hero {
    padding: 100px 20px 36px;
  }

  .eh-terms-hero h1 {
    font-size: 30px;
  }

  .eh-terms-content {
    padding: 40px 20px 64px;
  }

  .eh-terms-content h2 {
    font-size: 19px;
    margin-top: 40px;
  }

}

/* --------------------------------------------------------------------------
   Responsive: Small Mobile (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .eh-terms-hero {
    padding: 100px 20px 32px;
  }

  .eh-terms-hero h1 {
    font-size: 28px;
  }

  .eh-terms-content {
    padding: 36px 20px 56px;
  }

  .eh-terms-content h2 {
    font-size: 19px;
  }

  .eh-terms-content p,
  .eh-terms-content ul li {
    font-size: 15px;
  }

  .eh-terms-intro {
    font-size: 16px;
  }
}
