:root {
  --we-bg: #f3f0ea;
  --we-surface: #fffdf9;
  --we-text: #1e1b18;
  --we-muted: #6a645e;
  --we-accent: #c7613b;
  --we-accent-strong: #a94725;
  --we-radius: 18px;
  --we-shadow: 0 20px 50px rgba(26, 19, 14, 0.12);
}

.we-events,
.we-detail {
  font-family: "Fraunces", "DM Sans", sans-serif;
  color: var(--we-text);
}

.we-events {
  background: radial-gradient(circle at top right, #ece4d5 0%, var(--we-bg) 40%, #f5f2ee 100%);
  padding: 32px;
  border-radius: 24px;
}

.we-events__header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.we-filter {
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: 1fr 160px 160px 120px;
  gap: 8px;
}

.we-filter input,
.we-filter select,
.we-filter button {
  border: 1px solid #d4ccc1;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.95rem;
}

.we-filter button,
.we-btn {
  background: var(--we-accent);
  color: #fff;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-height: 44px;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.we-btn:hover,
.we-filter button:hover {
  transform: translateY(-1px);
  background: var(--we-accent-strong);
}

.we-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.we-card {
  background: var(--we-surface);
  border-radius: var(--we-radius);
  overflow: hidden;
  box-shadow: var(--we-shadow);
}

.we-card__media {
  display: block;
  background: #d7cfbf;
  min-height: 180px;
}

.we-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.we-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  letter-spacing: 0.08em;
}

.we-card__body {
  padding: 16px;
}

.we-meta {
  color: var(--we-muted);
}

.we-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.we-hero {
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #5f564c;
}

.we-hero__overlay {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(27, 20, 14, 0.2) 0%, rgba(27, 20, 14, 0.8) 100%);
  color: #fff;
}

.we-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0;
  opacity: 0.85;
}

.we-detail__layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.we-detail__content,
.we-detail__meta {
  background: var(--we-surface);
  border-radius: var(--we-radius);
  box-shadow: var(--we-shadow);
  padding: 20px;
}

.we-detail__meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.we-detail__meta li {
  margin-bottom: 10px;
}

.we-btn--ghost {
  background: transparent;
  color: var(--we-accent);
  border: 1px solid var(--we-accent);
}

.we-sticky-cta {
  position: sticky;
  bottom: 12px;
  margin-top: 18px;
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid #dfd6c9;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(8px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .we-filter {
    grid-template-columns: 1fr 1fr;
  }

  .we-detail__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .we-events,
  .we-detail {
    padding: 16px;
  }

  .we-filter {
    grid-template-columns: 1fr;
  }

  .we-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
  }
}
