/* Use-case and compare pages. Loaded after styles.css and pages.css. */

a.lang-toggle {
  text-decoration: none;
}

.doc .uc-crumb {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey);
  margin: 0 0 18px;
}

.doc .uc-crumb a {
  color: var(--grey);
  text-decoration: none;
}

.doc .uc-crumb a:hover,
.doc .uc-crumb a:focus-visible {
  color: var(--white);
}

.doc .uc-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--grey);
}

.doc ul.uc-cards,
.doc ul.uc-related,
.doc ul.uc-facts {
  list-style: none;
  padding-left: 0;
}

.uc-card {
  border: 1px solid rgba(246, 246, 244, 0.16);
  border-radius: 12px;
  padding: 18px 20px 16px;
  margin: 12px 0;
}

.uc-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--white);
}

.uc-card p {
  margin: 0;
  color: var(--grey);
}

.doc .uc-faq h3 {
  color: var(--white);
  font-size: 17px;
}

.uc-cta {
  margin-top: 36px;
  font-size: 18px;
  line-height: 1.45;
}

.uc-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 8px;
  font-size: 15px;
  line-height: 1.55;
}

.uc-compare caption {
  caption-side: top;
  text-align: left;
  color: var(--grey);
  font-size: 13px;
  padding: 0 0 12px;
}

.uc-compare th,
.uc-compare td {
  text-align: left;
  vertical-align: top;
  padding: 16px 14px;
  border-top: 1px solid rgba(246, 246, 244, 0.12);
}

.uc-compare thead th {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  border-top: 0;
}

html[lang="zh-Hans"] .uc-compare thead th,
html[lang="zh-Hans"] .uc-aspect,
html[lang="zh-Hans"] .uc-who {
  letter-spacing: 0.06em;
}

.uc-compare td:first-child {
  color: #7d7d7b;
}

.uc-compare td:last-child {
  color: var(--white);
  background: rgba(246, 246, 244, 0.045);
}

.uc-aspect,
.uc-who {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}

.uc-who {
  display: none;
}

.uc-note {
  font-size: 13px;
  line-height: 1.6;
  color: #8a8a88;
  margin-top: 28px;
}

@media (max-width: 700px) {
  .uc-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .uc-compare,
  .uc-compare tbody,
  .uc-compare tr,
  .uc-compare td {
    display: block;
    width: 100%;
  }

  .uc-compare tr {
    margin: 0 0 16px;
    border-top: 1px solid rgba(246, 246, 244, 0.12);
    padding-top: 12px;
  }

  .uc-compare td {
    border-top: 0;
    padding: 8px 0;
  }

  .uc-compare td:last-child {
    border-radius: 12px;
    padding: 14px;
  }

  .uc-who {
    display: block;
  }
}
