/* Open, image-led category navigation. Keeps the six existing destinations and assets. */
.catalogue {
  background: #f6f9fa;
}

.catalogue-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 78px);
  row-gap: clamp(62px, 6vw, 98px);
  margin-top: 64px;
  border: 0;
  background: transparent;
  align-items: start;
}

.catalogue-grid > a {
  display: block;
  min-width: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.catalogue-grid > a:nth-child(3n + 2) { margin-top: 42px; }
.catalogue-grid > a:nth-child(3n + 3) { margin-top: 18px; }

.catalogue-grid > a:hover,
.catalogue-grid > a:focus-visible {
  transform: none;
  box-shadow: none;
}

.catalogue-grid figure {
  display: grid;
  place-items: center;
  height: clamp(235px, 23vw, 340px);
  margin: 0 0 22px;
  overflow: visible;
  background: transparent;
}

.catalogue-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 21px 20px rgba(16, 45, 58, .13));
  transition: transform .45s ease, filter .45s ease;
}

.catalogue-grid > a:hover img,
.catalogue-grid > a:focus-visible img {
  transform: translateY(-9px) scale(1.025);
  filter: drop-shadow(0 26px 23px rgba(16, 45, 58, .17));
}

.catalogue-grid span { font-size: 10px; }
.catalogue-grid h3 {
  margin-top: 9px;
  font-size: clamp(2.1rem, 2.6vw, 2.85rem);
  line-height: 1.02;
}
.catalogue-grid p {
  min-height: 0;
  max-width: 34ch;
  margin-top: 10px;
  color: #526b77;
  font-size: 13px;
  line-height: 1.6;
}
.catalogue-grid > a > b {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid #8297a1;
  color: #123a4a;
  font-size: 10px;
}
.catalogue-grid > a:hover h3,
.catalogue-grid > a:focus-visible h3,
.catalogue-grid > a:hover > b,
.catalogue-grid > a:focus-visible > b { color: #087fba; }

@media (max-width: 1100px) {
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-grid > a:nth-child(n) { margin-top: 0; }
  .catalogue-grid > a:nth-child(even) { margin-top: 36px; }
  .catalogue-grid figure { height: clamp(230px, 31vw, 320px); }
}

@media (max-width: 760px) {
  .catalogue-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
    margin-top: 38px;
  }
  .catalogue-grid > a:nth-child(n) { margin-top: 0; }
  .catalogue-grid figure { height: min(65vw, 300px); margin-bottom: 14px; }
  .catalogue-grid h3 { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .catalogue-grid img { transition: none; }
}
