body {
  font-size: 1rem;

  @media (max-width: 1024px) {
    font-size: 0.8rem;
    flex-direction: column;
  }
}

main {
  @media (max-width: 1024px) {
    max-height: none;
  }
}

aside {
  font-size: 0.85rem;

  @media (max-width: 1024px) {
    margin-top: 1rem;
  }
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;

  @media (max-width: 1024px) {
    font-size: 1.1rem;
  }
}

h2 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem 0;
  color: #ffcb6b;

  @media (max-width: 1024px) {
    font-size: 0.9rem;
  }
}

p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

ul li {
  padding: 0.2rem 0;
  line-height: 1.6;
}

ul li::before {
  content: "• ";
  color: #ffcb6b;
}

.meta-label {
  color: #ffcb6b;
}

.meta-item {
  margin: 0.4rem 0;
}

.back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #1d99f3;
  text-decoration: none;

  &:hover {
    color: #ffcb6b;
  }
}

.switcher {
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.switcher-toggle {
  cursor: pointer;
  user-select: none;
}

.switcher-arrow {
  display: inline-block;
  margin-left: 0.4rem;
  color: #1d99f3;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.switcher.open .switcher-arrow {
  transform: rotate(180deg);
}

.switcher-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background-color: #2a2d2e;
  border: 1px solid #3d3d3d;
  border-radius: 0.25rem;
  padding: 0.25rem 0;
  min-width: 140px;
  z-index: 10;
}

.switcher.open .switcher-dropdown {
  display: block;
}

.switcher-dropdown a {
  display: block;
  padding: 0.4rem 0.75rem;
  color: #1abc9c;
  text-decoration: none;
  font-size: 0.8rem;

  &:hover {
    background-color: #3d3d3d;
    color: #ffcb6b;
  }
}

.switcher-dropdown a.active {
  color: #ffcb6b;
}

.ext-icon {
  display: block;
  margin-bottom: 1rem;
}
