.dcu-all-activities {
  padding: 2rem 0;
}

/* Swiper must be visible so the clip wrapper controls overflow */
.dcu-all-activities__swiper {
  overflow: visible !important;
}

.dcu-all-activities__swiper .swiper-wrapper {
  align-items: stretch;
}

.dcu-all-activities__swiper .swiper-slide {
  height: auto;
}

/* Clip wrapper hides slide overflow in all directions,
   but padding + negative margin carves out room for box-shadow on every side */
.dcu-all-activities__clip {
  overflow: hidden;
  padding: 12px 16px;
  margin: -12px -16px;
}

.dcu-all-activities__prev,
.dcu-all-activities__next {
  position: static;
  margin-top: 0;
}

/* Bootstrap .card handles flex-direction:column — we just add shadow */
.dcu-act-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.dcu-act-card__img {
  position: relative;
  height: 180px;
  background-color: #e0e0e0;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.dcu-act-card--placeholder .dcu-act-card__img {
  animation: dcu-shimmer 1.4s infinite linear;
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 400% 100%;
}

@keyframes dcu-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.dcu-act-card__date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #B11116;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 4px 10px;
  line-height: 1.1;
  min-width: 44px;
}

.dcu-act-card__day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.dcu-act-card__month {
  display: block;
  font-size: 0.7rem;
  text-transform: lowercase;
}

.dcu-act-card .card-body {
  padding: 1rem 1.25rem;
  overflow: hidden;
  min-height: 0;
}

.dcu-act-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  word-wrap: break-word;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dcu-act-card__title {
    font-weight: 800;
  }
}

.dcu-act-card .card-footer {
  padding: 0.75rem 1.25rem;
}

.dcu-act-card__site {
  display: block;
  color: #000;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.dcu-act-card__site:hover {
  color: #000;
  text-decoration: underline;
}

.dcu-act-card__desc {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.dcu-act-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.dcu-act-card__link:hover {
  color: #000;
  text-decoration: underline;
}

.dcu-all-activities__empty {
  padding: 2rem;
  color: #777;
  font-style: italic;
}

.dcu-all-activities__grid .card-band__item-image-wrapper {
  height: 180px;
  overflow: hidden;
}

.dcu-all-activities__grid .card-band__item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
