.root {
  font-size: 16px;

  a {
    color: inherit;
  }
}

.block {
  margin-bottom: 15px;
}

.blockTitle {
  font-weight: bold;
  margin-bottom: 8px;
}

.title {
  font-weight: bold;
  font-size: rfs(48px);
  margin: 0;
  margin-bottom: 20px;
  letter-spacing: -0.03em;

  @media (width > 900px) {
    margin-bottom: 10px;
  }
}

.description {
  color: var(--light-body-color);
  font-size: rfs(23px);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  display: inline-block !important;
  vertical-align: middle;
  margin-right: 6px;
  border: 1px solid var(--border-color);
}

.badge {
  vertical-align: super;
  letter-spacing: 0;
  background: #f4cf58;
  padding: 0.2em 0.8em 0.1em;
  border-radius: 40px;
  letter-spacing: -0.02em;
  font-size: min(0.7em, 14px);
  white-space: nowrap;
  font-weight: bold;
  color: var(--base-body-color);
}

.header {
  margin-bottom: rfs(50px);
  text-align: center;

  @media (width > 900px) {
    text-align: left;
  }
}

.gallery {
  margin-top: rfs(50px);
  overflow-x: auto;
  background: var(--light-bg-color);
  margin-left: calc(var(--page-margin) * -1);
  margin-right: calc(var(--page-margin) * -1);

  @media (width > 900px) {
    border-radius: 5px;
    margin-left: 0;
    margin-right: 0;
  }
}

.galleryInner {
  white-space: nowrap;
  padding: rfs(40px);
  text-align: center;
}

.galleryImage {
  display: inline-block;
  margin-right: 30px;
  border-radius: 5px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  width: 600px;

  &:first-child:last-child {
    margin-right: 0px;
  }

  svg {
    height: 40vh !important;
    width: auto !important;
  }

  mux-player {
    display: block;
  }
}

.announce {
  padding: 20px;
  margin: rfs(40px) 0;
  background: linear-gradient(45deg, #fefbe4, #fdf0eb);
  font-size: 15px;
  border-radius: 5px;
  margin-bottom: 40px;
  position: relative;
  padding-left: 50px;
  display: block;
  color: inherit;
  text-decoration: none;
  line-height: 1.1;
  transition: box-shadow 200ms ease-in-out;

  &:hover {
    box-shadow: 0 0.6px 3.6px rgba(0, 0, 0, 0.024),
      0 1.6px 10px rgba(0, 0, 0, 0.035), 0 3.9px 24.1px rgba(0, 0, 0, 0.046),
      0 13px 80px rgba(0, 0, 0, 0.07);
  }

  svg {
    position: absolute;
    left: 20px;
    top: 20px;
  }
}

.announceCenter {
  padding-left: 20px;
  text-align: center;

  svg {
    position: relative;
    left: auto;
    top: auto;
    display: inline-block;
    margin-right: 8px;
  }
}

.split {
  @media (width > 900px) {
    display: flex;
  }
}

.content {
  margin-bottom: 30px;

  @media (width > 900px) {
    margin-right: rfs(70px);
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
  }
}

.sidebar {
  @media (width > 900px) {
    width: 300px;
  }
}

.sidebarInner {
  @media (width > 900px) {
    position: sticky;
    top: 30px;
  }
}

.info {
  margin-top: rfs(40px);
}

.readme {
  font-size: 15px;
  font-family: var(--font-mono);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-top: rfs(60px);
  border-radius: 4px;
  color: #444;
  word-break: break-word;

  @media (width > 900px) {
    box-shadow: var(--box-shadow);
    padding: 40px;
  }

  a {
    color: inherit;

    &:hover {
      color: var(--accent-color);
    }
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 140%;
    line-height: 1.25;
    margin: 1.5em 0 0.5em;
    font-weight: bold;
    font-family: var(--font-sans);
    color: var(--base-body-color);

    &:first-child {
      margin-top: 0;
    }
  }

  h1,
  h2,
  h3 {
    font-size: 170%;
  }

  hr {
    margin: 60px 0;
    width: 90%;
    height: 1px;
    background: var(--border-color);
    border: 0;
  }

  p,
  ul,
  ol {
    margin: 0 0 1em;
  }

  ul,
  ol {
    padding: 0 0 0 15px;
  }

  li {
    margin: 0 0 5px;
  }

  figure {
    text-align: center;
    margin: 2.5em 0;
  }

  figcaption {
    color: var(--light-body-color);
    font-size: 0.8em;
    margin-top: 15px;
  }

  code {
    background-color: #f4f4f4;
    margin: 0 0.1em;
    padding: 0 0.25em;
    font-family: var(--font-mono);
    border-radius: 0.25em;
  }

  pre,
  img {
    border-radius: 5px;
    overflow: hidden;
    display: inline-block;
    box-shadow: var(--box-shadow);
  }

  pre {
    padding: 30px;
    font-family: var(--font-mono);
    margin: 1.5em 0;
    tab-size: 2;
    width: 100%;
    overflow: auto;
    line-height: 1.3;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .responsiveImage {
    margin: 0;
  }

  table {
    width: 100%;
    margin: 2.5em 0;
  }

  th {
    font-weight: normal;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    text-align: left;
    font-size: 0.8em;
    color: var(--light-body-color);
  }

  td {
    font-weight: normal;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    text-align: left;
  }

  tr:first-child {
    td {
      border-top: 1px solid var(--border-color);
    }
  }

  th,
  td {
    &:first-child {
      padding-left: 0;
    }

    &:last-child {
      padding-right: 0;
    }
  }
}

.action {
  margin-top: rfs(40px);

  @media (width > 900px) {
    display: none;
  }
}

.pluginBox {
  @media (width <= 900px) {
    display: none;
  }
}

.info {
  text-align: center;

  @media (width > 900px) {
    text-align: left;
  }
}

.kicker {
  font-size: rfs(18px);
  margin: 0;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--extra-light-body-color);
  text-transform: uppercase;
}
