/* Event detail: content left, practical information right. */
.ovaev-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  align-items: start;
  gap: 36px;
  margin: 28px 0;
  width: 100%;
}
.ovaev-detail-layout:not(:has(> .ovaev-detail-sidebar)) { grid-template-columns: minmax(0, 1fr); }
.ovaev-detail-main, .ovaev-detail-sidebar { min-width: 0; }
.ovaev-detail-main > .ovaev-event-content { margin-top: 0; }
.ovaev-detail-sidebar .ovaev-detail-section { margin: 0 0 28px; }
.ovaev-detail-sidebar .ovaev-detail-section h2 { font-size: 1.25em; margin: 0 0 16px; }
.ovaev-detail-sidebar p, .ovaev-contact-list dd { overflow-wrap: anywhere; }
.ovaev-contact-list { margin: 0; }
.ovaev-contact-list dt { font-weight: 600; margin: 0 0 4px; }
.ovaev-contact-list dd { margin: 0 0 16px; }
.ovaev-detail-map { width: 100%; height: 300px; z-index: 0; }
.ovaev-detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ovaev-detail-gallery img { width: 100%; height: auto; display: block; }
.ovaev-ended-badge {
  display: inline-block;
  color: #fff;
  background: #555b62;
  padding: 5px 10px;
  margin: 8px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.ovaev-ended-badge[hidden] { display: none !important; }
.ovaev-default-image { object-fit: cover; }
.date-event .month { white-space: normal; }
@media (max-width: 767px) {
  .ovaev-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Date intervals wrap inside narrow cards and sidebar widgets. */
.ovaev-date-range, .ovaev-date-range .time-date-child, .ovaev-date-range .date-child { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.ovaev-date-range .icon-time { flex-shrink: 0; }
