/* events-style.css */
.events-horizontal-container {
    position: relative;
    width: calc(100% + 100px);
    max-width: calc(100% + 100px);
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 50px;
    margin-left: -50px;
}

.events-horizontal-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 10px 5px;
    cursor: grab;
}

.events-horizontal-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.events-horizontal-scroll:active {
    cursor: grabbing;
}

.event-card {
    flex: 0 0 auto;
    width: 270px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}
.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 0 0 auto;
}


.event-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.event-image:after{
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg,rgb(13, 64, 106) 0%,rgba(13,64,106,0.8) 100%);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.event-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #81bd41;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 9999;
    line-height: 14px;
}


.event-title {
    color: #fff;
  font-weight: 800;
  font-size: 25px;
  line-height: 38px;
  position: absolute;
  top: 40px;
  width: 270px;
  padding-left: 20px;
  padding-right: 20px;
}

.event-date {
    color: #fff;
    font-weight: 600;
    position: absolute;
    bottom: 20px;
    padding-left: 20px;
    font-size: 16px;
}

.event-day {
    font-weight: 800;
    font-size: 22px;
}


.event-location {
    color: #fff;
  position: absolute;
  bottom: 20px;
  font-weight: 600;
  font-size: 16px;
  margin-left: 60px;
  max-width: 190px;
  border-left: 1px solid #fff;
  padding-left: 10px;
    
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #0D406A;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    line-height: 40px;
    display: flex;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.scroll-btn:hover {
    background: #81bd41;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.no-events {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Responsividade */

@media (max-width: 767px) {
    .events-horizontal-container{
        padding: 0 70px;
    }
    .event-card{
        width: 250px;
    }
    
    .event-title {
        font-size: 22px;
    line-height: 30px;
    width: 250px;
    }
    .event-location{
        max-width: 170px;
    }
    
    .scroll-right {
      right: 20px;
    }
    .scroll-left {
      left: 20px;
    }
}