/* Photographic bat collections. Only the four bat categories use these cards. */
.rs-bat-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  overflow: hidden;
  background: #291035;
  border-radius: 14px;
  margin-bottom: 24px;
  color: #f0e5f8;
}
.rs-bat-category-copy { padding: 28px; }
.rs-bat-category-label {
  margin: 0 0 12px;
  color: #d7afea;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
#box-category .rs-bat-category-header h1 {
  color: #fff;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  font-size: clamp(27px, 2.8vw, 38px);
  line-height: 1.12;
}
.rs-bat-category-header .description { color: #f0e5f8; font-size: 15px; }
.rs-bat-category-header .description p:last-child { margin-bottom: 0; }
.rs-bat-category-header > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
@media (max-width: 767px) {
  .rs-bat-category-header { grid-template-columns: 1fr; }
  .rs-bat-category-copy { padding: 24px; }
  .rs-bat-category-header > img { max-height: 320px; }
}
.listing.categories.rs-bat-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 32px !important;
}
.listing.categories .rs-bat-card {
  border: 0;
  border-radius: 14px;
  background: #301039;
  box-shadow: 0 7px 20px rgb(46 12 63 / 10%);
  isolation: isolate;
}
.rs-bat-card .link {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 300px;
  overflow: hidden;
}
.rs-bat-card .link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(27 5 40 / 14%), transparent 28%, rgb(27 5 40 / 20%) 45%, rgb(27 5 40 / 94%));
  pointer-events: none;
}
.rs-bat-card img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: top;
  transition: transform 250ms ease;
}
.rs-bat-card:hover img {
  transform: scale(1.035);
}
.rs-bat-card-tag {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 22px;
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 24px;
  background: rgb(37 8 51 / 40%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.rs-bat-card-caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 23px;
  color: #fff;
  text-align: left;
}
.listing.categories .rs-bat-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.6px;
}
.rs-bat-card-caption p {
  margin: 0 0 13px;
  color: #ecdff6;
  font-size: 13px;
}
.rs-bat-card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgb(255 255 255 / 25%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.rs-bat-card-action span {
  font-size: 23px;
  line-height: 1;
}
@media (max-width: 1100px) {
  .rs-bat-card .link { min-height: 280px; }
  .rs-bat-card-caption { left: 20px; right: 20px; bottom: 20px; }
  .rs-bat-card-caption p { font-size: 12px; }
}
@media (max-width: 767px) {
  .listing.categories.rs-bat-category-grid { grid-template-columns: 1fr; gap: 16px; }
  .rs-bat-card .link { min-height: 275px; }
  .listing.categories .rs-bat-card h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-bat-card img { transition: none; }
}
