.horizontal-slider-wrapper{
    flex-direction: column;
}

/*Scroll - end*/

.form-title{
    color: #c54d3a !important;
    font-weight: bold !important;
}

.form-second-title{
    letter-spacing: 10px;
}

.event-block-map{
    width: 70%;
    margin: 0 auto;
}

.aemsty{
    background: url('https://blue-hedgehog-897300.hostingersite.com/wp-content/uploads/2025/10/5747802-scaled.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.hide-on-desktop{
    display: none;
}

.event-block.hide-on-desktop{
    display: none;
}
.aems-header{
      font-size: clamp(1.6rem, 2vw + 0.5rem, 2.4rem) !important;
  font-weight: 700;
  line-height: 1.2;
    text-align: center;
        display: flex;
    align-items: center;
    justify-content: center;
    color: #cd6a6a;
}
.horizontal-slider-container {
  width: 90%;
  /*max-width: 900px;*/
  margin: auto;
  overflow: hidden;
  //height: 480px;
  position: relative;
  padding: 10px 0;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
  pointer-events: auto;
}

.horizontal-slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.horizontal-slider-wrapper {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
}

.horizontal-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 10px 20px;
}

.event-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin: 5px 0;
  background-color: #f7f7f7;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stage-title {
  font-weight: 600;
  font-size: 0.95em;
  color: #222;
  margin-right: 10px;
  flex-shrink: 0;
  min-width: 80px;
}

.event-name {
  font-size: 0.9em;
  color: #444;
  margin-right: 10px;
  flex: 1;
}

.event-time {
  font-size: 0.8em;
  background: #e6f0ff;
  padding: 4px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  color: #1e3a8a;
  white-space: nowrap;
}

.event-time .dashicons {
  margin-right: 4px;
  font-size: 1em;
  line-height: 1;
}

.event-category {
  font-size: 0.7em;
  background-color: #e0f2f1;
  color: #00796b;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  white-space: nowrap;
}

.aems-header{
    height: 10%;
}

.score{
    height: 80% !important;
}

.score .dashicons:before{
    line-height: 20px;
}


.news-ticker-container {
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: #cd6a6a;
  display: flex;
  align-items: center;
  color: white;
  font-size: 14px;
}

.news-ticker-wrapper {
display: flex;
  white-space: nowrap;
  animation: scroll-ticker 350s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 50px;
}

.ticker-item .dashicons {
  margin-right: 6px;
}

@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


    .event-room {
      font-size: 0.8em;
      background: #fce4ec;
      padding: 4px 6px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      color: #880e4f;
      white-space: nowrap;
      margin-right: 6px;
    }
    
    .event-room .dashicons {
      margin-right: 4px;
      font-size: 1em;
      line-height: 1;
    }
    
    .event-reporting-room {
  font-size: 0.6em;
  background: #fff3e0;
  padding: 4px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  color: #ef6c00;
  margin-right: 6px;
}

.event-reporting-room .dashicons {
  margin-right: 4px;
  font-size: 1em;
}

.stage-title{
    /*border: 1px solid red;*/
    margin-right: 20px;
}

.event-name{
    /*border: 1px solid red;*/
    width: 50%;
}

.event-room{
    /*border: 1px solid red;*/
    width: 10%;
    margin-right: 15px;
}

.event-reporting-room{
    /*border: 1px solid red;*/
    width: 15%;
}

.event-time{
    /*border: 1px solid red;*/
    width: 15%;
    margin-right: 15px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .horizontal-slider-container {
    height: auto;
  }

  .horizontal-slide {
    flex: 0 0 100%;
  }

  .event-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage-title, .event-name, .event-time {
    margin: 3px 0;
  }
}

@media screen and (max-width: 600px) {
    
    .news-ticker-wrapper{
        animation-duration: 180s !important;
    }
  body {
    /*background: #ffcccc !important;*/
  }
  .hide-on-mob{
      display: none !important;
  }
  .hide-on-desktop{
      display: flex;
      justify-content: center;
      flex-direction: row;
  }
  .aems-header {
    font-size: 1.6rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
            padding: 0px 25px;
        margin-top: 10px;
  }
  
  .aems-header p{
      line-height: 120%;
  }
  
  .event-block{
      position: relative !important;
      margin-bottom: 20px;
      padding: 8 14px;
  }
  
  .stage-title{
      font-size: 0.65em !important;
      font-weight: bold;
          /*position: absolute;*/
    /*top: -18px;*/
    background-color: #fff8e1;
    padding: 0px 10px;
    border-radius: 4px;
    color: #ff6f00;
  }
  
  .event-name{
      font-size: 0.7em !important;
      margin-bottom: 3px;
      font-weight: bold;
  }
  
  .event-time{
    font-size: 0.6em !important;
    /*position: absolute !important;*/
    /*left: 0px !important;*/
    /*bottom: -3px !important;*/
  }
  
  .news-ticker-container{
      font-size: 0.7em;
      height: 8%;
  }
  
  .news-ticker, .news-ticker-container{
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .event-room {
    font-size: 0.6em !important;
    /*position: absolute !important;*/
    /*right: -6px !important;*/
    /*bottom: 0px !important;*/
  }
  
  .event-meta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2%;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
  }
  
  .event-block.show-in-mob{
      display: flex;
      flex-direction: column;
  }
  
  .event-meta-bar, .event-title-bar{
          display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .event-meta-bar{
      position: absolute;
      top: -21px;
      left: 0;
      gap: 0.5em;
      width: 100%;;
  }
  
  .event-title-bar{
      margin-top: 8px;
      width: 100%;
  }
  
  .event-meta-bar .event-room{
      margin-right: 0;
      width: auto;
  }
  
  .event-meta-bar .event-time{
      width: auto;
  }
  
 .event-reporting-room{
      width: auto !important;
      margin-left: auto;
      margin-right: 0;
  }
  
  .horizontal-slider-container{
      width: 100%;
      margin-top: 50px;
  }
  
  .score{
      padding: 0 10px;
      position: relative;
  }

  /* Stage Map button */
.stage-map-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
        width: calc(100% - 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stage-map-wrapper button,
.stage-map-wrapper .location-link-button{
    background-color: #cd6a6a !important;
  color: #fff;
  border: none;
  padding: 4px 6px;
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0px;
  pointer-events: auto;
  text-decoration: none;
}

.stage-map-wrapper button .dashicons,
.stage-map-wrapper a .dashicons{
    font-size: 16px;
}


/* Popup overlay */
.stage-map-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

/*.stage-map-popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}
*/
.stage-map-container {
    overflow: auto;              /* allow scroll when zoomed */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    max-width: 95%;
    max-height: 95vh;
    position: relative;
    touch-action: none;
}

.stage-map-container img {
    width: 100%;
    height: auto;
    max-width: none;  /* allow zooming beyond container width */
     transform-origin: center center;
    touch-action: none;
    user-select: none;
}

/* Close button */
.stage-map-popup .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
}

#downloadBtn{
    pointer-events: auto;
    position: relative;
    z-index: 9999;

}

.download-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    pointer-events: auto;
}

.download-btn:hover {
    background: rgba(0,0,0,0.8);
}
}

@media screen and (min-width: 1025px){
.event-block .dashicons{
    margin-right: 9px;
}
    .event-room,
    .event-time,
    .event-name,
    .event-reporting-room{
        font-weight: bold;
    }
    
    .event-room,
    .event-time,
    .event-reporting-room{
        font-size: 1.2em;
    }
    
    .event-reporting-room{
        width: 26%;
        margin-right: 0;
    }
    
    .event-time{
        width: 22%;
    }
    
    .event-name{
        width: 45%;
        font-size: 1.2em;
    }
    
    .event-room{
        width: 13%;
    }
    
    .score{
        height: 80%;
    }
    
    .news-ticker-container{
        height: 10%;
        font-size: 1.3em;
        font-weight: bold;
    }
    
    .event-block-map{
        width: 80%;
    }
    
    .horizontal-slider-container{
        width: 99%;
    }
    
    .aems-header p{
        font-size: 1.3em;
    }
}















