.carousel-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.carousel-section {
  width: 100%;
  display: flex;
  justify-content: flex-start;  
  align-items: flex-start;   
  gap: 20px;              
  margin-top: 20px;   
  flex-wrap: nowrap;
}

.carousel-container {
  max-width: 600px;
  width: 600px; 
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background: #fff;
}

.carousel {
  position: relative;
  width: 100%;
  height: 350px;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.7s ease;
  opacity: 0;
  border-radius: 15px;
}

.carousel-slide {
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide.active {
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f2f2f2;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
  outline: 2px solid gray;
}

.slide-title {
  flex: 1;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #e0e0e0;
}

button.prev, button.next {
  cursor: pointer;
  border: none;
  background: linear-gradient(180deg,rgba(255, 244, 232, 1) 0%, rgba(255, 212, 168, 1) 4%, rgba(247, 150, 52, 1) 42%, rgba(255, 130, 5, 1) 47%, rgba(255, 130, 5, 1) 100%);
  color: white;
  padding: 1px 8px;
  margin-left: 4px;
  margin-right: 4px;
  border-radius: 8px;
  font-size: 16px;
}

button.prev:hover{
        background: #fffbf7;
        background: linear-gradient(180deg,rgba(255, 251, 247, 1) 0%, rgba(255, 237, 217, 1) 5%, rgba(250, 191, 132, 1) 42%, 
          rgba(255, 168, 82, 1) 47%, rgba(252, 165, 78, 1) 100%);
}

button.next:hover{
        background: #fffbf7;
        background: linear-gradient(180deg,rgba(255, 251, 247, 1) 0%, rgba(255, 237, 217, 1) 5%, rgba(250, 191, 132, 1) 42%, rgba(255, 168, 82, 1) 47%, rgba(252, 165, 78, 1) 100%);
}
  
  
.carousel-and-facts {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.fun-facts-container {
  flex: 1;
  display: flex;
  max-height: 60px;
  background: #f4f4f4;
  border: 2px solid #ccc;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 14px;
  overflow: hidden;
}

.fun-facts-container h3 {
  font-size: 14px;
  display: inline-block;
  margin-right: 10px;
  color: #00897B;
  flex-shrink: 0;
}

.ticker {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
  position: relative;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-content span {
  margin-right: 40px;
}

@keyframes ticker-scroll {
  from { transform: translateX(32%); }
  to { transform: translateX(-100%); }
}

.updates-box {
  width: 250px;
  background: #f1f1f1;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-family: akzidenzgroteskpro;
  flex-shrink: 0; 
  align-items: center;
}

.updates-box h2 {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
  background: #fffbf7;
  background: rgba(255, 251, 247, 1);
  padding: 0px;
  border-radius: 8px;
  width: 100%;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
}

.update-display {
  text-align: center;
  font-family: 'akzidenzgroteskpro';
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.update-text {
  font-size: 14px;
  font-weight: bold;
}

.update-controls {
  display: flex;
  gap: 10px;
}

.update-controls button {
  border: none;
  padding: 6px 12px;
  background: #ffebdb;
  background: linear-gradient(180deg,rgba(255, 244, 232, 1) 0%, rgba(255, 212, 168, 1) 4%, rgba(247, 150, 52, 1) 42%, rgba(255, 130, 5, 1) 47%, rgba(255, 130, 5, 1) 100%);
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

update.prev {
  background: #ffebdb;
  background: linear-gradient(180deg,rgba(255, 244, 232, 1) 0%, rgba(255, 212, 168, 1) 4%, rgba(247, 150, 52, 1) 42%, rgba(255, 130, 5, 1) 47%, rgba(255, 130, 5, 1) 100%);
}


update.next {
  background: #ffebdb;
  background: linear-gradient(180deg,rgba(255, 244, 232, 1) 0%, rgba(255, 212, 168, 1) 4%, rgba(247, 150, 52, 1) 42%, rgba(255, 130, 5, 1) 47%, rgba(255, 130, 5, 1) 100%);
}

.update-controls button:hover {
  background: linear-gradient(180deg,rgba(255, 251, 247, 1) 0%, rgba(255, 237, 217, 1) 5%, rgba(250, 191, 132, 1) 42%, rgba(255, 168, 82, 1) 47%, rgba(252, 165, 78, 1) 100%);
}
