/* Rooftop DJ schedule */
body.page-id-1161 .dj-event-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
}

body.page-id-1161 .dj-event-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  gap: 0 0.75rem;
  width: auto;
  min-width: 0;
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  color: #fff;
  background-color: #c92578;
  background-image:
    linear-gradient(135deg, rgba(91, 5, 50, 0.16), rgba(78, 2, 43, 0.34)),
    url("../images/rosarios-pink-floral-bg.png");
  background-repeat: no-repeat;
  background-position: center, center top;
  background-size: auto, cover;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-top-width: 0.25rem;
  border-radius: 1rem;
  box-shadow:
    0 1rem 2.5rem rgba(108, 10, 62, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body.page-id-1161 .dj-event-card:nth-child(even) {
  background-position: center, center bottom;
}

body.page-id-1161 .dj-event-card:hover {
  transform: translateY(-0.35rem) scale(1.005);
  box-shadow:
    0 1.25rem 3rem rgba(108, 10, 62, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.page-id-1161 .dj-event-card > h3 {
  grid-column: 1 / -1;
  margin: 0 0 1.4rem;
  padding: 0;
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 8px rgba(67, 0, 35, 0.2);
  text-wrap: balance;
}

body.page-id-1161 .dj-event-card > p {
  margin: 0;
  padding: 0.8rem 1rem;
  color: #fff;
  background: rgba(75, 3, 41, 0.24);
  border-block: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.95rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

body.page-id-1161 .dj-event-card > p:first-of-type {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.45rem 0 0 0.45rem;
}

body.page-id-1161 .dj-event-card > p:nth-of-type(2) {
  border-radius: 0 0.45rem 0.45rem 0;
}

body.page-id-1161 .dj-event-card > p strong {
  display: block;
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.page-id-1161 .dj-description {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

body.page-id-1161 .dj-description h3 {
  margin: 0;
  padding: 0;
  max-width: 34rem;
  color: #fff;
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(67, 0, 35, 0.18);
  text-wrap: pretty;
}

@media (max-width: 767px) {
  body.page-id-1161 .dj-event-cards {
    grid-template-columns: 1fr;
  }

  body.page-id-1161 .dj-event-card {
    min-height: 17rem;
  }

  body.page-id-1161 .dj-event-card > p {
    padding: 0.7rem 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  body.page-id-1161 .dj-event-card > p strong {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-1161 .dj-event-card {
    transition: none;
  }

  body.page-id-1161 .dj-event-card:hover {
    transform: none;
  }
}
