.category-description {
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.events-view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 25px;
  margin-bottom: 30px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    font-size: 1.2rem;
    color: #666;
    min-height: calc(100vh - 400px); /* Adjust 400px based on header/footer/other fixed heights */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Адаптация */
@media (max-width: 991px) {
  .events-view-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
  }
}

@media (max-width: 767px) {
  .events-view-grid {
    grid-template-columns: 1fr; /* 1 колонка */
    gap: 20px;
    margin-left: 15%;
    margin-right: 15%;
  }
}
@media (max-width: 500px) {
  .events-view-grid {
    margin-left: 10%;
    margin-right: 10%;
  }
}

#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #fff url('../assets/images/ajax-loader.gif') no-repeat center center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#preloader .logo {
    margin-bottom: 20px;
    max-width: 179px; /* Match header logo max width */
    height: auto; /* Let height adjust automatically */
    object-fit: contain;
}
.container .events-view-grid .speaker-layout3{
  padding-bottom: 0px;
}
.fade-list-item {
  transition: opacity 0.6s, transform 0.6s;
}
.fade-list-enter-from, .fade-list-leave-to {
  opacity: 0;
  transform: translateY(30px);
}
.fade-list-enter-active, .fade-list-leave-active {
  transition: opacity 0.6s, transform 0.6s;
}
.fade-list-enter-to, .fade-list-leave-from {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    min-height: calc(100vh - 400px); /* Adjust 400px based on header/footer/other fixed heights */
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-danger {
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
}

.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    font-size: 1.2rem;
    color: #666;
    min-height: calc(100vh - 400px); /* Adjust 400px based on header/footer/other fixed heights */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.no-events-message p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}