body {
  background: #f6f7f8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 12px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #18356b;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -1px;
}

.events-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
}

/* Κάθε event ως box */
.event {
  background: linear-gradient(135deg, #f1f7ff 0%, #fff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 86, 166, 0.10), 0 1.5px 3px rgba(0,0,0,0.03);
  border: 1px solid #e2ecfa;
  padding: 28px 24px 22px 24px;
  min-width: 0;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.event::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 72px;
  height: 72px;
  background: radial-gradient(circle at 40% 40%, #e6f2ff 55%, transparent 70%);
  opacity: 0.7;
  z-index: 0;
}

.event:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,86,166,0.17), 0 3px 8px rgba(0,0,0,0.06);
}

.event h3 {
  font-size: 1.18rem;
  margin-bottom: 14px;
  line-height: 1.45;
  z-index: 1;
  position: relative;
}

.event h3 a {
  color: #0056a6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.event h3 a:hover {
  color: #ff6600;
  text-decoration: underline;
}

.event p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
  z-index: 1;
  position: relative;
}

@media (max-width: 900px) {
  main {
    max-width: 100vw;
    padding: 22px 2vw 0 2vw;
  }
  .events-container {
    max-width: 100vw;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .event {
    max-width: 100%;
    padding: 18px 10px 16px 10px;
    border-radius: 12px;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
}