h1#post-title {
  margin-bottom: 1rem;
  text-align: center;
}

#post-header {
  margin-bottom: 1rem;

  img {
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
  }
}

.breadcrumbs {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;

  a {
    text-decoration: none;
    color: var(--color-main);
    font-weight: bold;

    img {
      vertical-align: bottom;
      width: 24px;
      height: 24px;
    }
  }
}

div#post-content {
  p {
    margin: 0 0 1rem 0;

    &:last-of-type {
      margin-bottom: 0;
    }
  }

  h2 {
    margin-top: 1rem;
  }

  & > img {
    display: block;
    max-width: 100%;
    margin: 0 auto 1rem;
  }

  .screenshots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;

    img.screenshot {
      max-width: 100%;
      max-height: 100%;
    }
  }

  .downloads {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .password {
    display: block;
    text-align: center;
    margin-bottom: 0.25rem;

    span:first-of-type {
      font-weight: bold;
    }
  }

  a {
    text-align: center;
    transition: opacity 0.2s;

    &:not(.button) {
      color: var(--color-main);
      font-weight: bold;
    }

    &.button {
      display: block;
      padding: 0.5rem 1rem;
      background-color: var(--color-main);
      color: var(--color-contrast);
      text-decoration: none;
      border-radius: 4px;

      @media (hover: hover) {
        &:hover {
          opacity: 0.8;
          cursor: pointer;
        }
      }
    }
  }

  details {
    background-color: var(--color-light-gray);
    border-radius: 4px;

    summary {
      background-color: var(--color-main);
      color: var(--color-contrast);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      transition: opacity 0.2s;

      @media (hover: hover) {
        &:hover {
          opacity: 0.8;
          cursor: pointer;
        }
      }
    }
  }

  .comic-compilation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;

    img {
      max-width: 100%;
      max-height: 100%;
      margin: 0 auto;
    }
  }
}

#post-last-modified {
  font-style: italic;
  font-size: 0.875rem;
}
