/* t014: Styles for the /events/ page event cards (page 49).
 *
 * WordPress kses sanitizes inline styles on save (strips box-shadow,
 * list-style, border-color, etc.), so card styling lives in this enqueued
 * stylesheet (mirrors the calendar page pattern). The page content markup
 * references these classes from a wp:html block.
 *
 * Design tokens match the Real Impact brand (navy/red/gold/cream).
 */

#ri-events {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ri-event-card {
  display: flex;
  gap: 0;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.ri-event-side {
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  text-align: center;
  flex-shrink: 0;
}

.ri-event-side--gold {
  background: #C5A55A;
  color: #0A1628;
}

.ri-event-side--navy {
  background: #0A1628;
  color: #fff;
}

.ri-event-side .ri-event-side-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  display: block;
  margin-bottom: 4px;
}

.ri-event-side .ri-event-side-sub {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
}

.ri-event-side .ri-event-side-icon {
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.ri-event-body {
  padding: 24px 28px;
  flex: 1;
}

.ri-event-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ri-event-tag {
  background: #C5A55A;
  color: #0A1628;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.ri-event-location {
  color: #4B5563;
  font-size: 13px;
}

.ri-event-title {
  font-family: Merriweather, Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #0A1628;
  margin: 0 0 8px;
  line-height: 1.3;
}

.ri-event-desc {
  color: #4B5563;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.ri-event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
}

.ri-event-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}

.ri-event-list li:last-child {
  border-bottom: 0;
}

.ri-event-list strong {
  color: #111827;
}

.ri-event-cta {
  color: #B12601;
  font-weight: 700;
}

.ri-event-org-line {
  color: #4B5563;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 6px;
}

.ri-event-org-line strong {
  color: #111827;
}

.ri-event-btn {
  background: #0A1628;
  color: #fff;
  border-radius: 100px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}
