@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,500;1,300&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f6f3;
  --white: #ffffff;
  --ink: #0a0908;
  --ink-soft: #2e2c2a;
  --ink-muted: #6b6760;
  --red: #c0392b;
  --red-2: #e74c3c;
  --border: rgba(15,14,12,0.08);
}

.events-section {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  min-height: calc(100vh - 60px);
  padding: 5rem 2rem;
}

.events-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.e-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.e-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.e-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  display: block;
}

.e-eyebrow span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.e-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
}

.e-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.e-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(15,14,12,0.08);
  line-height: 1;
  white-space: nowrap;
}

.e-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.e-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.e-card:hover { background: #fdfcfc; }

.e-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
}

.e-card:hover::before { transform: scaleX(1); }

.e-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.e-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.e-card:hover .e-img-wrap img { transform: scale(1.02); }

.e-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.e-date-badge {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 1rem;
}

.e-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: #1a1916;
  line-height: 1;
  transition: color 0.25s;
}

.e-card:hover .e-day { color: var(--red); }

.e-month {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}

.e-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.e-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.8;
  font-weight: 300;
  flex: 1;
}

.e-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.e-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.e-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: all 0.2s;
}

.e-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--ink-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.2s;
}

.e-card:hover .e-arrow {
  border-color: rgba(192,57,43,0.3);
  background: rgba(192,57,43,0.05);
}

.e-card:hover .e-arrow svg {
  stroke: var(--red);
  transform: translate(2px, -2px);
}

@media (max-width: 650px) {
  .events-section { padding: 3rem 1.25rem; }
  .e-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .e-count { font-size: 2.5rem; }
  .e-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .e-body { padding: 1.25rem; }
  .e-card-title { font-size: 1.2rem; }
}