/* Pattern-family landing pages: extends the About page style (/about/about.css). */
main {
  max-width: 920px;
}
.crumbs {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.crumbs a {
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 20px 0;
}
.btn.big {
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 10px;
}
.ghost {
  font-size: 15px;
  text-decoration: none;
}
.ghost::after {
  content: ' ↓';
}
.hero {
  margin: 8px -12px 28px;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--bg);
}
main section {
  margin-top: 8px;
}
main section p {
  max-width: 68ch;
}
.gallery-block {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.gallery {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery li {
  margin: 0;
  display: flex;
}
.gallery a {
  display: block;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery a:hover,
.gallery a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px #0000002e;
  outline: none;
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery .cap {
  display: block;
  padding: 10px 12px 12px;
}
.gallery .cap b {
  display: block;
  font-size: 15px;
}
.gallery .cap small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.gallery.three {
  grid-template-columns: repeat(3, 1fr);
}
.related {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .gallery.three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .hero {
    margin-left: 0;
    margin-right: 0;
  }
  .gallery,
  .gallery.three {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery a {
    transition: none;
  }
}
