/* Terms & Conditions Page Styles */

/* Section Container */
.section-terms {
  padding-top: 8px;
  position: relative;
  min-height: calc(100vh - 200px);
}

/* Inner Container */
.inner-container-terms {
  padding-top: 80px;
  padding-left: 48px;
  padding-right: 48px;
  position: relative;
}

/* Background decoration */
.inner-container-terms:before {
  content: "";
  background-color: #ececec;
  border-radius: 32px;
  height: 594px;
  width: auto;
  position: absolute;
  top: 8px;
  left: 24px;
  right: 24px;
  z-index: 0;
}

/* Main Title */
.inner-container-terms h1 {
  font-size: 52px;
  line-height: 60px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #414141;
  font-weight: 600;
  margin: 0 0 68px 0;
  z-index: 9;
  position: relative;
}

/* Content Container */
.content-terms {
  z-index: 9;
  position: relative;
  background: #fff;
  max-width: 684px;
  margin: 0 auto;
  box-shadow: 0 12px 48px -8px rgba(0, 0, 0, 0.16);
  border-radius: 32px;
  padding: 48px 48px 20px 48px;
  margin-bottom: 80px;
}

/* Section Headings */
.content-terms h3 {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  color: #171717;
  margin: 0 0 24px 0;
  text-align: left;
}

.content-terms p + h3 {
  margin-top: 48px;
}

/* Paragraphs */
.content-terms p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #414141;
  margin: 0 0 25px 0;
  text-align: left;
}

.content-terms p a {
  color: #4e7efe;
  text-decoration: underline;
}

.content-terms p a:hover {
  color: #3d6bdf;
}

/* Subheadings (h2) */
.content-terms h2 {
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  letter-spacing: -0.01em;
  color: #171717;
  margin-bottom: 48px;
}

/* Lists */
.content-terms ul,
.content-terms ol {
  padding-left: 20px;
  margin: 0 0 25px 0;
  text-align: left;
}

.content-terms li {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #414141;
  margin-bottom: 10px;
  text-align: left;
}

/* Strong/Bold text */
.content-terms strong {
  font-weight: 600;
  color: #171717;
  text-align: left;
}

/* Last update info */
.content-terms .last-update {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .inner-container-terms {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .inner-container-terms {
    padding-left: 0;
    padding-right: 0;
    padding-top: 60px;
  }

  .inner-container-terms h1 {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .content-terms {
    border-radius: 24px;
    padding: 48px 24px 20px 24px;
  }
}

@media (max-width: 480px) {
  .inner-container-terms h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .inner-container-terms:before {
    left: 0;
    right: 0;
    border-radius: 24px;
  }

  .content-terms {
    padding: 32px 20px 20px 20px;
  }

  .content-terms h3 {
    font-size: 18px;
  }

  .content-terms h2 {
    font-size: 24px;
    line-height: 32px;
  }
}
