* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #111827;
}

/* HERO */

.public-event-hero {
  position: relative;
  min-height: 430px;
  background:
    linear-gradient(rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.35)),
    url("../img/event-bg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.public-event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.92),
    rgba(17, 135, 201, 0.62)
  );
}

.public-event-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  padding: 80px 0;
}

.public-event-label {
  max-width: 1200px;
  margin: 0 auto 25px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.public-moving-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}

.public-moving-track {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  font-size: 54px;
  font-weight: 800;
  animation: publicMoveLeft 18s linear infinite;
}

.public-location-wrapper {
  margin-top: 10px;
}

.public-location-track {
  font-size: 24px;
  font-weight: 600;
  color: #e0f2fe;
  animation-duration: 25s;
}

@keyframes publicMoveLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* MAIN SECTION */

.public-event-section {
  padding: 70px 20px;
}

.public-event-container {
  max-width: 1200px;
  margin: auto;
}

.public-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.public-section-head span {
  display: inline-block;
  color: #1187c9;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.public-section-head h2 {
  font-size: 38px;
  margin-bottom: 12px;
  color: #0f172a;
}

.public-section-head p {
  max-width: 650px;
  margin: auto;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.public-event-card {
  background: #fff;
  border-radius: 26px;
  padding: 35px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
}

.public-location-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  margin-bottom: 28px;
  border: 1px solid #dbeafe;
}

.public-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: #1187c9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.public-location-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0f172a;
}

.public-location-box p {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
}

.public-event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.public-event-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.public-event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border-color: #1187c9;
}

.event-number {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #1187c9;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-text h4 {
  font-size: 18px;
  line-height: 1.6;
  color: #1e293b;
}

.public-empty-text {
  grid-column: 1 / -1;
  text-align: center;
  padding: 25px;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .public-moving-track {
    font-size: 42px;
  }

  .public-event-list {
    grid-template-columns: 1fr;
  }

  .public-section-head h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .public-event-hero {
    min-height: 340px;
  }

  .public-event-content {
    padding: 55px 0;
  }

  .public-moving-track {
    font-size: 32px;
  }

  .public-location-track {
    font-size: 18px;
  }

  .public-event-section {
    padding: 45px 15px;
  }

  .public-event-card {
    padding: 22px;
    border-radius: 20px;
  }

  .public-location-box {
    padding: 20px;
  }

  .public-section-head h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .public-event-hero {
    min-height: 300px;
  }

  .public-event-label {
    font-size: 14px;
  }

  .public-moving-track {
    font-size: 25px;
  }

  .public-location-track {
    font-size: 16px;
  }

  .public-section-head h2 {
    font-size: 24px;
  }

  .public-section-head p {
    font-size: 14px;
  }

  .public-location-box {
    flex-direction: column;
  }

  .public-event-item {
    padding: 18px;
  }

  .event-text h4 {
    font-size: 16px;
  }
}