/* ==============================
   EVENT DETAIL PAGE (Hero + Meta)
   ============================== */
.event-hero {
    position: relative;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}
.event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.6s ease, filter 0.4s ease;
}
.event-hero:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}
.event-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.65));
}
.event-hero-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    z-index: 2;
}
.event-hero-content h1 {
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}
.event-meta i {
    color: #ffc107;
}

/* ==============================
   RELATED / UPCOMING EVENT CARDS
   ============================== */
.related-event-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
}
.related-event-card img {
    transition: transform 0.4s ease;
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.related-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.related-event-card:hover img {
    transform: scale(1.05);
}

/* ==============================
   EVENT / NEWS LISTING CARDS
   ============================== */
.news-card {
    transition: all 0.3s ease;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.news-card-img {
    position: relative;
    overflow: hidden;
}
.news-card-img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    transition: transform 0.5s ease;
}
.news-card-img:hover img {
    transform: scale(1.08);
}
.news-card-img .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}
.news-card-img:hover .overlay {
    opacity: 1;
}
.news-card-img .overlay span {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.4);
    padding: 5px 12px;
    border-radius: 20px;
}

.news-card.past-event {
    opacity: 0.6;
    filter: grayscale(30%);
}

/* ==============================
   RESPONSIVE TOUCHES
   ============================== */
@media (max-width: 767.98px) {
    .event-hero {
        min-height: 220px;
        border-radius: 8px;
    }
    .event-hero-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    .event-hero-content h1 {
        font-size: 1.5rem;
    }
    .news-card-img img {
        height: 160px;
    }
}
