.events-container {
  margin: 0 auto;
  margin-bottom: 100px;
}

.events-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: bold;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.event-day {
  /* background-color: #1a3a5f; */
  color: #153749;
  /* padding: 20px; */
  min-width: 170px;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  /* align-self: stretch; */
}

.event-content {
  flex: 1;
  /* padding: 20px; */
}

.event-name {
  color: #1a3a5f;
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0px;
  text-transform: uppercase;
}

.event-description {
  font-size: 20px;
  line-height: 1.5;
  color: #3f3f3f;
}

.event-time {
  background-color: #153749;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  /* margin: 20px; */
  min-width: 100px;
  text-align: center;
  /* align-self: flex-start; */
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.admin-edit-container {
  text-align: right;
  margin-bottom: 20px;
}

.admin-edit-button {
  display: block;
  max-width: max-content;
  margin: auto;
  margin-bottom: 80px;
  background-color: #1a3a5f;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.admin-edit-button:hover {
  background-color: #0f2a4f;
}

.no-events {
  text-align: center;
  font-style: italic;
  color: #666;
}

.events-edit-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.back-button-container {
  margin-bottom: 20px;
}

.back-button {
  display: inline-block;
  background-color: #f0f0f0;
  color: #333;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #e0e0e0;
}

@media (max-width: 1200px) {
  .event-item {
    flex-direction: column;
  }

  .event-day {
    width: 100%;
    /* padding: 10px; */
    font-size: 22px;
    font-weight: 700;
  }

  .event-time {
    margin-top: -25px;
    font-size: 20px;
    font-weight: 600;
  }
  .event-item:after {
    content: "";
    width: 100%;
    position: absolute;
    height: 1px;
    background: #73737352;
    bottom: -25px;
  }

  h3.event-name {
    font-size: 20px;
  }

  .events-list {
    gap: 90px;
  }

  .event-item:after {
    bottom: -45px;
  }
}
