/* =========================
   SIDEBAR EVENTS (same classes as KADAR)
========================= */

.sidebar-events {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.sidebar-events__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #111;
}

.sidebar-events__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-events__item {
  margin-bottom: 18px;
}

.sidebar-events__link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: #1b1b1b;
  transition: transform 0.2s ease;
}

.sidebar-events__link:hover {
  transform: translateY(-4px);
}

.sidebar-events__date {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #000;
}

.sidebar-events__thumb {
  width: 100%;
  aspect-ratio: 308 / 147;
  background: #d8d8d8;
  overflow: hidden;
  margin: 0 0 10px;
}

.sidebar-events__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-events__location-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px;
}

.sidebar-events__location-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.sidebar-events__location {
  font-size: 11px;
  color: #555;
  line-height: 1.2;
}

.sidebar-events__item .sidebar-events__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .sidebar-events__item {
    margin-bottom: 16px;
  }
}

/* hide events on mobile (your PHP uses: hide-on-mobile) */
@media (max-width: 900px) {
  .hide-on-mobile {
    display: none !important;
  }
}

.sidebar-events__thumb {
  position: relative;
}

.sidebar-events__tag-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: var(--wp--preset--gradient--midnight);
  white-space: nowrap;
}