.sidebar {
  left: -8rem;
  width: 8rem;
}
.sidebar.on {
  left: 0;
}
.content.on {
  margin-left: 0 !important;
}
.content {
  display: flex;
  flex-direction: column;
}
.content > .outer {
  flex: 1 0 auto;
}
.content > .cover + #main {
  flex: 1 0 auto;
}
.content > .footer {
  flex: 0 0 6rem;
}
.navbar-toggle {
  left: 9.5rem;
}
.search-form-wrap {
  right: 8rem;
}
@media (min-width: 768px) {
  .outer,
  .wrap {
    width: 80rem !important;
  }
}
@media (max-width: 768px) {
  .tocbot {
    display: none !important;
  }
  .content.on {
    transform: translateX(8rem);
  }
}

/* Friends page */
.friends-page {
  width: 100%;
  clear: both;
}

.friends-page .page-type-title {
  margin: 0;
  padding: 3rem 0 2rem;
}

.friends-page .friend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}

.friends-page .friend-card {
  width: 180px;
  float: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.friends-page .friend-card a {
  width: 180px;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-size: 17px;
  text-decoration: none;
  background-color: rgba(6, 129, 208, 0.1);
  color: #000;
  border-radius: 6px;
}

.friends-page .friend-card a:hover {
  background-color: rgba(6, 129, 208, 0.15);
}

.friends-page .friend-icon-wrap {
  width: 50px;
  height: 36px;
  flex: 0 0 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.friends-page .friend-icon-wrap img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 50px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.friends-page .friend-section {
  clear: both;
  margin-top: 36px;
}

.friends-page .friends-subtitle {
  margin: 0 0 16px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-header .about-title {
  width: max-content;
  margin: 0 auto 3rem;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

.article-type-about {
  padding-bottom: 1rem;
}

.article-type-about .article-entry {
  margin-bottom: 0;
}

/* Hide only the comment area. */
#vcomments-box {
  display: none !important;
}

.footer {
  box-sizing: border-box;
  min-height: 6rem;
  max-height: 6rem;
  height: 6rem;
  padding: 0.55rem 0 1rem;
  font-size: 1.2rem;
  line-height: 1.45;
  overflow: hidden;
}

.footer .outer {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.footer .outer > ul {
  margin: 0;
}

.footer .outer > ul li {
  padding: 0;
  line-height: 1.45;
}

.footer .outer > ul:has(li:empty) {
  display: none;
}

.footer .footer-spacer {
  display: none;
}

.footer .footer-record {
  margin-top: 0.45em;
  transform: none;
}

.footer img {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}
