.banner {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--gold);
  text-align: center;
  padding: 10px 40px;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--orange);
  position: relative;
  overflow: hidden;

  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner span {transition: opacity 0.3s ease;}

.banner-slide-text {  display: inline-block;}

.banner-slide-text.slide-in {  animation: slideIn 0.35s ease forwards;}

.banner-slide-text.slide-out {  animation: slideOut 0.3s ease forwards;}

@keyframes slideIn {  
  from {    opacity: 0;
        transform: translateY(120%);
       }  
  to {    
    opacity: 1;    
    transform: translateY(0);  
  }
}

@keyframes slideOut {  
  from {    
    opacity: 1;
    transform: translateY(0);
  }  
  to {    
    opacity: 0;    
    transform: translateY(-120%);
  }
}

@media (max-width: 850px) {
  .banner {
    padding: 10px 16px;
    height: 100px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .banner-slide-text {
    white-space: normal;
    max-width: 100%;
    line-height: 1.3;
  }
}

.event {
  position: relative !important;
  background: #ffffff !important;
  color: var(--dark) !important;
  padding: 52px 18px 18px !important;
  border-left: 6px solid var(--gold) !important;
}

.event-month {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  min-width: 140px !important;
  height: 36px !important;
  background: linear-gradient(135deg, var(--green), var(--green-light)) !important;
  color: #f5d27a !important;
  font-weight: 800 !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10 !important;
}

.event-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--green) !important;
  font-weight: 800 !important;
}

.banner {
  width: 100%;
  background: #111;
  color: white;
  padding: 10px;
  overflow: hidden;
  text-align: center;
  font-weight: bold;
}

.banner-slide-text {
  display: inline-block;
}

.slide-in {
  animation: slideIn 0.3s forwards;
}

.slide-out {
  animation: slideOut 0.3s forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}
