/* =========================================================
   TERMS OF USE PAGE
   ========================================================= */

.terms-section {
  padding: 80px 0 90px;
  background: #ffffff;
}

.terms-section .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}


/* Page heading */
.terms-header {
  margin-bottom: 45px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--blue-500);
}

.terms-header h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-950);
}


/* Main terms content */
.terms-content {
  max-width: 1000px;
}

.terms-content h2 {
  margin: 42px 0 14px;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.terms-content h2:first-child {
  margin-top: 0;
}

.terms-content p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate-600);
}

.terms-content ul {
  margin: 10px 0 25px;
  padding-left: 24px;
}

.terms-content li {
  margin-bottom: 10px;
  padding-left: 4px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate-600);
}

.terms-content li::marker {
  color: var(--navy-900);
}


/* Links */
.terms-content a {
  color: var(--blue-500);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.terms-content a:hover {
  color: var(--navy-900);
  text-decoration: underline;
}


/* Liability disclaimer text */
.terms-uppercase {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  text-transform: uppercase;
}


/* Better separation between sections */
.terms-content h2:not(:first-child) {
  padding-top: 10px;
}

/* =========================================================
   RESOURCES PAGE
   ========================================================= */
.resource-support {
  margin: 45px 0 55px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-500);
  border-radius: 8px;
  background: var(--fog);
   display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.resource-support-content {
  flex: 1;
}

.resource-support h2 {
  margin: 0 0 12px;
  padding: 0;
}

.resource-support a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
}

.resource-support img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Resource links */
.resource-links {
  list-style: none;
  margin: 0;
  padding: 0 !important;
}

.resource-links li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 20px !important;
}

.resource-links li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy-900);
  font-weight: 700;
}

.resource-links a {
  font-weight: 500;
}

.resource-separator {
  display: inline-block;
  margin: 0 10px;
  color: var(--slate-400);
}


/* Mobile */
@media (max-width: 600px) {

  .resource-support {
    margin: 30px 0 40px;
    padding: 25px 20px;
  }

  .resource-links li {
    margin-bottom: 18px;
  }

  .resource-separator {
    display: none;
  }

  .resource-links li a {
    display: block;
    margin-bottom: 6px;
  }

}


/* Tablet */
@media (max-width: 768px) {

  .terms-section {
    padding: 115px 0 65px;
  }

  .terms-section .wrap {
    padding: 0 20px;
  }

  .terms-header {
    margin-bottom: 32px;
  }

  .terms-content h2 {
    margin-top: 34px;
    font-size: 1.05rem;
  }

  .terms-content p,
  .terms-content li {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .terms-section {
    padding: 100px 0 50px;
  }

  .terms-section .wrap {
    padding: 0 16px;
  }

  .terms-header h1 {
    font-size: 2rem;
  }

  .terms-content h2 {
    margin-top: 30px;
    font-size: 1rem;
  }

  .terms-content p,
  .terms-content li {
    font-size: 0.92rem;
  }

  .terms-content ul {
    padding-left: 20px;
  }
  
}