.custom-sidebar-note p,
.custom-footer {
  margin: 0;
}

/* Keep overview-only sidebars compact instead of stretching into a tall empty block. */
.sidebar-inner.sidebar-overview-active:not(.sidebar-nav-active) {
  background: transparent;
  box-shadow: none;
  max-height: none;
  padding: 0;
}

.sidebar-inner.sidebar-overview-active:not(.sidebar-nav-active) .sidebar-panel-container {
  flex: 0 0 auto;
  overflow: visible;
}

.sidebar-inner.sidebar-overview-active:not(.sidebar-nav-active) .site-overview-wrap {
  background: var(--content-bg-color);
  border-radius: 12px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .12), 0 3px 1px -2px rgba(0, 0, 0, .06), 0 1px 5px 0 rgba(0, 0, 0, .12), 0 -1px .5px 0 rgba(0, 0, 0, .09);
  padding: 18px 14px;
}

.footer #i18n-translate {
  display: none;
}

.links-of-social-item a,
.custom-sidebar-title,
.custom-sidebar-link,
.custom-sidebar-date,
.custom-sidebar-more {
  font-size: 14px;
}

.links-of-social-item a {
  line-height: 1.6;
}

.custom-sidebar-block {
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: inherit;
  font-size: .8125em;
  margin-top: 18px;
  padding-top: 16px;
  text-align: left;
}

.custom-sidebar-block,
.custom-sidebar-title,
.custom-sidebar-list,
.custom-sidebar-item,
.custom-sidebar-link,
.custom-sidebar-date,
.custom-sidebar-more {
  font-family: inherit;
}

.custom-sidebar-title {
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.custom-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-sidebar-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-sidebar-item + .custom-sidebar-item {
  margin-top: 14px;
}

.custom-sidebar-link,
.custom-sidebar-more {
  border-bottom: 0;
}

.custom-sidebar-link {
  color: var(--text-color);
  display: block;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: normal;
}

.custom-sidebar-link:hover,
.custom-sidebar-more:hover {
  color: #8ab4f8;
}

.custom-sidebar-date {
  display: block;
  font-size: .92em;
  line-height: 1.5;
  margin-top: 6px;
  opacity: .72;
}

.custom-sidebar-more {
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  margin-top: 12px;
  opacity: .85;
}

@media (min-width: 992px) {
  .header-inner,
  .sidebar {
    width: 360px;
  }

  .main-inner {
    width: calc(100% - 372px);
  }

  .footer-inner {
    padding-left: 372px;
  }
}

.links-of-social-item {
  min-width: 0;
}

.links-of-social-item a {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

.footer {
  padding: 32px 0 44px;
}

.footer-inner {
  row-gap: 10px;
}

.footer-inner > * {
  margin: 0;
}

.copyright,
.powered-by,
.beian,
.custom-footer {
  line-height: 1.9;
}

.beian {
  padding-bottom: 4px;
}

.custom-footer {
  display: none;
}

@media (max-width: 767px) {
  .footer {
    padding: 24px 0 32px;
  }

  .footer-inner {
    row-gap: 8px;
  }
}

.home .post-body .post-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.85;
  margin: 0;
  max-height: calc(1.85em * 3);
  min-height: calc(1.85em * 3);
  overflow: hidden;
}

.post-body {
  text-align: left !important;
  text-justify: auto;
}

@media (min-width: 1200px) {
  .main {
    width: 1280px;
  }
}

@media (min-width: 1600px) {
  .main {
    width: 78%;
    max-width: 1480px;
  }
}