.tp-events {
  display: grid;
  gap: 18px;
}

.tp-events--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-events--list {
  grid-template-columns: 1fr;
}

@media (max-width: 991px) {
  .tp-events--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .tp-events--grid { grid-template-columns: 1fr; }
}

.tp-event {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}

.tp-event__img {
  display: block;
  background: #f4f4f4;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tp-event__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .35s ease;
}

.tp-event:hover .tp-event__img img {
  transform: scale(1.04);
}

.tp-event__imgPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee, #f7f7f7);
}

.tp-event__body {
  padding: 16px 16px 14px;
}

.tp-event__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.tp-event__title a {
  text-decoration: none;
}

.tp-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: .88;
  margin-bottom: 12px;
}

.tp-event__metaItem {
  white-space: nowrap;
}

.tp-event__excerpt {
  font-size: 14px;
  line-height: 1.55;
  opacity: .92;
}

.tp-event__actions {
  margin-top: 14px;
}

.tp-events-empty {
  padding: 12px 14px;
  border: 1px dashed rgba(0,0,0,.2);
  border-radius: 10px;
  opacity: .85;
}