.rb-index-intro {
  max-width: 52rem;
  padding-bottom: 1.5rem;
}

.rb-index-intro h1 {
  white-space: normal;
}

.rb-index-intro p {
  margin-block: .6rem 0;
}

.rb-category-index,
.rb-category-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rb-category-card,
.rb-category-game {
  min-width: 0;
  background: #fff;
  border: 1px solid #e6def1;
  border-radius: 16px;
  overflow: hidden;
}

.rb-category-card {
  padding: 1rem;
}

.rb-category-card a {
  display: flex;
  gap: .8rem;
  align-items: center;
}

.rb-category-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3eff8;
}

.rb-category-card h2,
.rb-category-game h2 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.rb-category-card p,
.rb-category-game p {
  margin: .65rem 0 0;
  color: #51496a;
  font-size: .92rem;
  line-height: 1.55;
}

.rb-category-card a span {
  color: #51496a;
  font-size: .85rem;
}

.rb-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
}

.rb-category-links a {
  padding: .45rem .75rem;
  border: 1px solid #dcd1ef;
  border-radius: 20px;
}

.rb-category-links [aria-current="page"] {
  background: #eee6ff;
  color: #453094;
  font-weight: 700;
}

.rb-category-game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-category-game a {
  display: block;
  height: 100%;
}

.rb-category-game img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3eff8;
}

.rb-category-game h2,
.rb-category-game p {
  margin-inline: .8rem;
}

.rb-category-game h2 {
  margin-top: .8rem;
}

.rb-category-game p {
  margin-bottom: .8rem;
}

.rb-category-card a:hover h2,
.rb-category-game a:hover h2,
.rb-author-profile a:hover,
.rb-byline-author:hover {
  color: #5d37bf;
  text-decoration: underline;
}

.rb-author-archive .rb-author-profile {
  margin: 0 0 2rem;
}

.rb-author-archive .rb-author-profile h1 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.3rem);
  white-space: normal;
}

@media (max-width: 850px) {
  .rb-category-index,
  .rb-category-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 495px) {
  .rb-category-index {
    grid-template-columns: minmax(0, 1fr);
  }
  .rb-category-game-grid {
    gap: .6rem;
  }
}
