.kit-collection-08 .items-gallery { gap: 1.25rem; text-align: start; }
.kit-collection-08 .items-gallery .night-card {
  --night: color-mix(in srgb, var(--primary) 58%, var(--text));
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 1.5rem 1.4rem 1.4rem;
  overflow: hidden;
  color: var(--background);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--primary) 55%, var(--night)) 0%, transparent 62%),
    var(--night);
  border: 1px solid color-mix(in srgb, var(--background) 14%, var(--night));
  border-left: 1px solid color-mix(in srgb, var(--background) 14%, var(--night));
  border-radius: 1.4rem;
  box-shadow: 0 22px 44px -28px color-mix(in srgb, var(--text) 62%, transparent);
  text-align: start;
  overflow-wrap: break-word;
  hyphens: manual;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.kit-collection-08 .items-gallery .night-card:hover,
.kit-collection-08 .items-gallery .night-card:focus-within {
  color: var(--background);
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--secondary) 60%, var(--night));
  box-shadow: 0 32px 54px -28px color-mix(in srgb, var(--text) 70%, transparent);
}
.kit-collection-08 .items-gallery .night-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  color: var(--secondary);
  border: 1.5px solid color-mix(in srgb, var(--secondary) 75%, transparent);
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.kit-collection-08 .items-gallery .night-glyph { width: 1.5rem; height: 1.5rem; }
.kit-collection-08 .items-gallery .night-card:hover .night-badge,
.kit-collection-08 .items-gallery .night-card:focus-within .night-badge {
  color: var(--text);
  background: var(--secondary);
  border-color: var(--secondary);
}
.kit-collection-08 .items-gallery .night-card h3 {
  margin: 0;
  color: var(--background);
  font-size: 1.18rem;
  line-height: 1.25;
}
.kit-collection-08 .items-gallery .night-card .prose { margin-top: 0.55rem; }
.kit-collection-08 .items-gallery .night-card .prose p {
  margin: 0;
  color: color-mix(in srgb, var(--background) 90%, transparent);
  font-size: 0.93rem;
  line-height: 1.6;
}
.kit-collection-08 .items-gallery .night-card .prose p + p { margin-top: 0.5rem; }
.kit-collection-08 .items-gallery .night-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--background);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.kit-collection-08 .items-gallery .night-more > span {
  padding-bottom: 3px;
  background: linear-gradient(var(--secondary), var(--secondary)) left bottom / 100% 2px no-repeat;
}
.kit-collection-08 .items-gallery .night-more svg { width: 1rem; height: 1rem; color: var(--secondary); transition: transform 0.3s ease; }
.kit-collection-08 .items-gallery .night-card:hover .night-more svg,
.kit-collection-08 .items-gallery .night-card:focus-within .night-more svg { transform: translateX(4px); }
.kit-collection-08 .items-gallery .night-cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.kit-collection-08 .items-gallery .night-cover:focus-visible { outline: 2px solid var(--secondary); outline-offset: -4px; }
@container (max-width: 640px) {
.kit-collection-08 .items-gallery.is-two-mobile { gap: 0.8rem; }
.kit-collection-08 .items-gallery.is-two-mobile .night-card { padding: 1.1rem 0.95rem 1.05rem; border-radius: 1.1rem; }
.kit-collection-08 .items-gallery.is-two-mobile .night-badge { width: 2.7rem; height: 2.7rem; margin-bottom: 0.9rem; }
.kit-collection-08 .items-gallery.is-two-mobile .night-glyph { width: 1.25rem; height: 1.25rem; }
.kit-collection-08 .items-gallery.is-two-mobile .night-card h3 { font-size: 1.18rem; }
.kit-collection-08 .items-gallery.is-two-mobile .night-card .prose p { font-size: 0.86rem; line-height: 1.5; }
.kit-collection-08 .items-gallery.is-two-mobile .night-more { padding-top: 0.85rem; font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
.kit-collection-08 .items-gallery .night-card,
.kit-collection-08 .items-gallery .night-badge,
.kit-collection-08 .items-gallery .night-more svg { transition: none; }
.kit-collection-08 .items-gallery .night-card:hover,
.kit-collection-08 .items-gallery .night-card:focus-within,
.kit-collection-08 .items-gallery .night-card:hover .night-more svg,
.kit-collection-08 .items-gallery .night-card:focus-within .night-more svg { transform: none; }
}
