body.gs-board-page {
  background: #dae0e6;
}

.gs-board {
  display: grid;
  grid-template-columns: 240px minmax(0, 640px) 300px;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  margin: 20px auto 48px;
  padding: 0 16px;
}

.gs-board__rail,
.gs-board__about,
.gs-board__composer,
.gs-post {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.gs-board__rail,
.gs-board__about {
  align-self: start;
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.gs-board__rail {
  padding: 12px 8px;
}

.gs-board__rail-label {
  margin: 0 8px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c7c7c;
}

.gs-board__board {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 4px;
  color: #1a1a1b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.gs-board__board.is-current,
.gs-board__board:hover {
  background: #f6f7f8;
}

.gs-board__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff4500;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.gs-board__composer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  color: #878a8c;
  text-decoration: none;
}

.gs-board__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edeff1;
  flex: none;
}

.gs-board__composer span:last-child {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #edeff1;
  border-radius: 4px;
  background: #f6f7f8;
}

.gs-board__sort {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #878a8c;
}

.gs-board__sort span {
  padding: 6px 10px;
  border-radius: 999px;
}

.gs-board__sort .is-current {
  background: #f6f7f8;
  color: #0079d3;
}

.gs-post {
  display: flex;
  margin-bottom: 10px;
}

.gs-post__vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  padding: 8px 4px 4px;
  background: #f8f9fa;
  color: #878a8c;
}

.gs-post__arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gs-post__score {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1b;
}

.gs-post__body {
  min-width: 0;
  padding: 8px 12px 4px;
}

.gs-post__by {
  margin: 0 0 6px;
  font-size: 12px;
  color: #787c7e;
}

.gs-post__by a {
  color: #1a1a1b;
  font-weight: 700;
  text-decoration: none;
}

.gs-post__body h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.gs-post__body h2 a {
  color: #222;
  text-decoration: none;
}

.gs-post__body h2 a:hover {
  color: #0079d3;
}

.gs-post__excerpt {
  margin: 0 0 8px;
  color: #1a1a1b;
  font-size: 14px;
  line-height: 1.45;
}

.gs-post__actions a {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 2px;
  color: #878a8c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.gs-post__actions a:hover {
  background: #f6f7f8;
}

.gs-board__banner {
  height: 34px;
  padding: 12px 12px 0;
  background: #ff4500;
  color: transparent;
  font-size: 0;
}

.gs-board__about-body {
  padding: 12px;
}

.gs-board__about-body h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.gs-board__about-body p {
  margin: 0 0 12px;
  color: #1a1a1b;
  font-size: 14px;
  line-height: 1.45;
}

.gs-board__create {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ff4500;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .gs-board {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .gs-board__about {
    display: none;
  }
}

@media (max-width: 720px) {
  .gs-board {
    grid-template-columns: 1fr;
  }

  .gs-board__rail {
    position: static;
  }
}
