.capsai-city-events {
  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  margin: 30px auto 46px;
  padding-right: clamp(20px, 5vw, 80px);
  padding-left: clamp(20px, 5vw, 80px);
  color: inherit;
  font-family: inherit;
}

.capsai-city-wrap .capsai-city-events {
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.capsai-city-events *,
.capsai-city-events *::before,
.capsai-city-events *::after {
  box-sizing: border-box;
}

.capsai-city-events__inner,
.capsai-city-events__grid {
  width: 100%;
}

.capsai-city-events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.capsai-city-events__extra[hidden] {
  display: none;
}

.capsai-event-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(40, 30, 26, 0.18);
  border-radius: 8px;
  background: #fff;
}

.capsai-event-card--priority {
  border-color: rgba(156, 28, 28, 0.32);
}

.capsai-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  min-height: 112px;
  border-radius: 6px;
  background: #9f1f1f;
  color: #fff;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.capsai-event-date span {
  display: block;
  font-size: var(--text-l, 2.025rem);
  font-weight: 700;
}

.capsai-event-date strong {
  display: block;
  margin-top: 9px;
  font-size: var(--text-xs, 1.26rem);
  font-weight: 700;
  text-transform: none;
}

.capsai-event-date--evergreen {
  background: #3d332e;
}

.capsai-event-date--evergreen span {
  font-size: var(--text-s, 1.42rem);
  text-transform: none;
}

.capsai-event-card__meta {
  margin: 0 0 9px;
  color: #7a6258;
  font-size: var(--text-xs, 1.26rem);
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.capsai-event-card h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: var(--text-m, 1.8rem);
  line-height: 1.35;
}

.capsai-event-card p {
  margin: 0;
  color: #555;
  font-size: clamp(0.95em, 1.5vw, 1em);
  line-height: 1.75;
}

.capsai-city-events__toggle:focus-visible {
  outline: 3px solid rgba(159, 31, 31, 0.35);
  outline-offset: 3px;
}

.capsai-city-events__toggle {
  display: block;
  margin: 24px auto 0;
  padding: 12px 20px;
  border: 1px solid rgba(40, 30, 26, 0.28);
  border-radius: 6px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.capsai-city-events__toggle:hover {
  border-color: #9f1f1f;
  color: #8f1b1b;
}

@media (max-width: 760px) {
  .capsai-city-events {
    max-width: 100%;
    margin: 28px auto 40px;
  }

  .capsai-event-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .capsai-event-date {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: baseline;
    justify-content: start;
    width: 100%;
    min-height: 0;
    padding: 12px 14px;
    text-align: left;
  }

  .capsai-event-date span {
    font-size: var(--text-m, 1.8rem);
  }

  .capsai-event-date strong {
    margin-top: 0;
  }
}
