/* ============================================================
   Noatum Events — Homepage event tiles
   ============================================================ */

/* Hero banner */
.noatum-homepage-hero {
  background: linear-gradient(135deg, #AF2626 0%, #7a1a1a 100%);
  color: #fff;
  margin-bottom: 0;
}

.noatum-homepage-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.noatum-homepage-subtitle {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 0;
  color: #fff;
}

/* Tile grid */
.noatum-event-tiles {
  /* inherits Bootstrap row-cols-* */
}

/* Individual tile card */
.noatum-event-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  color: inherit;
  height: 100%;
}

.noatum-event-tile:hover {
  box-shadow: 0 6px 24px rgba(175, 38, 38, 0.18);
  transform: translateY(-3px);
  color: inherit;
}

/* Image / logo area */
.noatum-tile-img-wrap {
  position: relative;
  background: #f5f5f5;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.noatum-tile-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.noatum-tile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #bbb;
  font-size: 3rem;
}

/* Status badge overlay */
.noatum-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tile body */
.noatum-tile-body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.noatum-tile-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.1rem;
  line-height: 1.3;
}

.noatum-tile-code {
  font-size: 0.72rem;
  color: #888;
  font-family: monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.noatum-tile-venue,
.noatum-tile-dates {
  font-size: 0.82rem;
  color: #666;
  margin-top: 0.1rem;
}

.noatum-tile-date {
  white-space: nowrap;
}

/* ============================================================
   Event logo on the event view/profile page
   ============================================================ */

.noatum-event-logo-wrap {
  flex-shrink: 0;
}

.noatum-event-logo {
  max-height: 72px;
  max-width: 180px;
  object-fit: contain;
  border-radius: 6px;
  background: #f5f5f5;
  padding: 6px;
  border: 1px solid #e0e0e0;
}

/* ============================================================
   Logo thumbnail in admin events table (Views)
   ============================================================ */

.views-field-field-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
  background: #f5f5f5;
  padding: 3px;
  border: 1px solid #e8e8e8;
}

/* ============================================================
   Logo thumbnail in public events card list
   ============================================================ */

.noatum-card-logo-wrap {
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

.noatum-card-logo img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

/* Placeholder for events without a logo in the thumb */
.noatum-event-thumb-placeholder {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  border-radius: 4px;
  display: inline-block;
}
