/* certificate */
.certificate {
  padding: 10px 0 30px;
}

/* 左边 */
.certificate .lt-nav {
  margin-bottom: 30px;
}

.certificate .nav-title {
  padding: 0 14px;
  text-align: left;
  line-height: 40px;
  background: #EEE;
  font-weight: normal;
  font-family: 'MicrosoftYahei-Regular';
  border-left: 10px solid var(--style-color);
}

.certificate .item-list {
  margin-top: 10px;
}

.certificate .item-list li a {
  width: 100%;
  display: inline-block;
  padding: 0 10px;
  background: #EEE;
  line-height: 40px;
}

.certificate .item-list li.active a {
  color: #fff;
  background: var(--style-color);
}

.certificate .item-list li:not(:last-child) {
  margin-bottom: 2px;
}

/* 右边 */
.certificate .row {
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: -20px;
}

.certificate .row>div {
  padding: 0 10px;
  margin-bottom: 20px;
}

.certificate .row img {
  width: 100%;
  aspect-ratio: 205 / 292;
}

@media (min-width: 992px) {
  .certificate .container {
    display: flex;
  }

  .certificate .lt-nav {
    width: 285px;
    margin-bottom: 0;
  }

  .certificate .rt-content {
    flex: 0 0 calc(100% - 285px);
    max-width: calc(100% - 285px);
    padding-left: 20px;
  }
}

@media (min-width: 1200px) {
  .certificate {
    padding-bottom: 40px;
  }

  .certificate .item-list li a:hover {
    color: #fff;
    background: var(--style-color);
  }

  .certificate .row {
    margin-left: calc(-25px / 2);
    margin-right: calc(-25px / 2);
    margin-bottom: -25px;
  }

  .certificate .row>div {
    padding: 0 calc(25px / 2);
    margin-bottom: 25px;
  }
}