/* Terms of Use Page Styles.
   Faithful port of the original Acepay negotiate-used page: blue page-header
   (#00B0FF), breadcrumb, long-form legal document, and sidebar nav-list. */

/* Page header band (original custom.css: .page-header background #00B0FF, no border) */
.terms-page__header {
  background-color: #00b0ff;
  border: none;
  margin: 0 0 35px 0;
  min-height: 50px;
  padding: 20px 0;
  position: relative;
  text-align: left;
}

.terms-page__header .breadcrumb {
  background: none;
  margin: -3px 0 0;
  padding: 0;
}

.terms-page__header .breadcrumb > li,
.terms-page__header .breadcrumb > li a,
.terms-page__header .breadcrumb > li a:visited,
.terms-page__header .breadcrumb > li.active,
.terms-page__header .breadcrumb > li + li::before {
  color: #f8f8f8;
}

.terms-page__header .breadcrumb > li + li::before {
  content: "/";
  padding: 0 8px;
}

.terms-page__header .breadcrumb > li a {
  opacity: 0.92;
  transition: opacity 0.15s ease;
}

.terms-page__header .breadcrumb > li a:hover {
  opacity: 1;
  color: #fff;
}

.terms-page__header h1 {
  border-bottom: 0;
  color: #fff;
  display: inline-block;
  font-weight: 200;
  margin: 0;
  min-height: 37px;
  font-size: clamp(1.9rem, 4vw, 2.6em);
  line-height: 1.2;
  padding: 0;
  position: relative;
}

/* Body layout */
.terms-page__body {
  padding-bottom: 4rem;
}

/* Legal document typography */
.terms-document {
  background: #fff;
}

.terms-document p {
  margin: 1rem 0;
  color: #3d4f5f;
  font-size: 0.95rem;
  line-height: 1.8;
}

.terms-document ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #3d4f5f;
  font-size: 0.95rem;
  line-height: 1.8;
}

.terms-document li {
  margin-bottom: 0.6rem;
}

.terms-document strong {
  color: #1f344f;
  font-weight: 600;
}

.terms-document a {
  color: #00a8e6;
  font-weight: 500;
  transition: color 0.2s ease;
}

.terms-document a:hover {
  color: #008fca;
}

/* Sidebar nav list (original theme-elements ul.nav-list) */
.terms-page__sidebar ul.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-page__sidebar ul.nav-list li {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}

.terms-page__sidebar ul.nav-list li a {
  -webkit-transition: background 0.1s;
  -moz-transition: background 0.1s;
  transition: background 0.1s;
  border-bottom: 1px solid #ededde;
  padding: 8px 0 8px 18px;
  display: block;
  color: #666;
  font-size: 0.9em;
  text-decoration: none;
  line-height: 20px;
}

.terms-page__sidebar ul.nav-list li a:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #333;
  margin: 7px 0 0 -9px;
  position: absolute;
}

.terms-page__sidebar ul.nav-list li a:hover {
  background-color: #eee;
  text-decoration: none;
}

.terms-page__sidebar ul.nav-list li.active > a {
  font-weight: bold;
}

@media (max-width: 991.98px) {
  .terms-page__sidebar {
    margin-top: 3rem;
  }
}

@media (max-width: 575.98px) {
  .terms-page__header {
    padding: 14px 0;
    margin-bottom: 25px;
  }
}
