/* ---------- Events page (layout via Bootstrap grid) ---------- */
.events-page {
  background:
    radial-gradient(circle at 0 18%, rgba(212,160,23,.08) 0 70px, transparent 71px),
    radial-gradient(circle at 100% 50%, rgba(212,160,23,.07) 0 80px, transparent 81px),
    #fffdf8;
  padding-bottom: 16px;
}

/* Page title */
.events-title { text-align: center; position: relative; margin: 6px 0 16px; }
.events-title h1 {
  font-family: "Merriweather", serif; font-weight: 900;
  font-size: 42px; line-height: 1.15; color: var(--green);
}
.events-title p { font-size: 13px; color: #555; margin-top: 4px; }
.events-title .divider { display: inline-flex; margin-top: 4px; }
.events-title .divider::before, .events-title .divider::after { width: 46px; }
.events-title .temple {
  position: absolute; right: 0; top: -14px; font-size: 92px;
  color: rgba(212,160,23,.22); pointer-events: none;
}
.events-title .palm {
  position: absolute; right: 120px; top: -4px; font-size: 52px;
  color: rgba(212,160,23,.18); pointer-events: none;
}

/* Event rows */
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-row {
  padding: 10px 18px; border-radius: 8px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #fffaf0, #fdf6e8);
}
.event-row:nth-child(even) { background: linear-gradient(90deg, #f1f6f7, #f5f8f8); }
.event-photo {
  width: 100%; height: 152px; object-fit: cover; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.event-info { display: grid; grid-template-columns: 70px 1fr; gap: 8px; position: relative; z-index: 1; }
.event-num { position: relative; width: 36px; height: 36px; margin-top: 4px; }
.event-num span {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green);
  color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
.event-num i {
  position: absolute; left: 34px; top: -6px; font-size: 32px;
  color: var(--gold); transform: rotate(18deg);
}
.event-info h2 {
  font-family: "Merriweather", serif; font-weight: 700;
  font-size: 20px; color: var(--green); line-height: 1.25;
}
.event-info .telugu {
  font-family: "Noto Sans Telugu", sans-serif; font-weight: 800;
  font-size: 16px; color: var(--red); margin: 2px 0 8px;
}
.event-info p { font-size: 12px; color: #444; line-height: 1.5; }
.event-info .btn { margin-top: 12px; padding: 8px 22px; font-size: 12px; }

/* Faint leaf at the outer edge of each row (desktop only) */
@media (min-width: 992px) {
  .event-row { padding-right: 62px; }
  .event-row:nth-child(even) { padding-right: 18px; padding-left: 62px; }
  .event-row::after {
    content: "\f06c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; font-size: 56px; color: rgba(212,160,23,.16);
    right: 10px; top: 50%; transform: translateY(-50%) rotate(-20deg);
    pointer-events: none;
  }
  .event-row:nth-child(even)::after { right: auto; left: 6px; transform: translateY(-50%) rotate(20deg); }
}

/* Tablet / phone */
@media (max-width: 991.98px) {
  .event-row { padding: 14px; }
  .event-photo { height: 220px; }
}
@media (max-width: 575.98px) {
  .events-title h1 { font-size: 30px; }
  .event-photo { height: 170px; }
  .event-info { grid-template-columns: 52px 1fr; }
  .event-num i { display: none; }
}
