.home-galleries {
  margin: 2.5rem auto;
  padding: 0 1rem;
  max-width: 1100px;
}

.home-galleries__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.home-galleries__list {
  display: grid;
  gap: 1.5rem;
}

.home-gallery-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.home-gallery-card__title {
  margin: 0;
  font-size: 1.15rem;
}

.home-gallery-card__title a {
  color: inherit;
  text-decoration: none;
}

.home-gallery-card__title a:hover {
  text-decoration: underline;
}

.home-gallery-card__covers {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.home-gallery-card__cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.home-gallery-card__empty,
.home-galleries__empty {
  margin: 0.75rem 0 0;
  opacity: 0.75;
}

html, body { background-color: #f6f1eb; }

body { line-height: 1.55; }
p { line-height: 1.65; }

.home-gallery-card,
.gallery-item {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: box-shadow 160ms ease, background-color 160ms ease;
}

.home-gallery-card:hover,
.gallery-item:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.gallery-item img,
.gallery-item:hover img {
  transform: none;
}
