@charset "utf-8";
/* CSS Document */
/* ============================
   EVENTS PAGE HERO (STATIC)
============================= */

.hero-events {
    position: relative;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 100px 20px;
}

.hero-events__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-events__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-events__title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-events__tagline {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-events {
        min-height: 280px;
        padding: 80px 20px;
    }

    .hero-events__title {
        font-size: 2.2rem;
    }

    .hero-events__tagline {
        font-size: 1.05rem;
    }
}



/* ============================
   EVENT BOXES
============================= */
.event-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.event-box {
    flex: 1 1 300px;
    text-align: center;
    padding: 0 0 20px;
}


/* ============================
   EVENT IMAGE + OVERLAY
============================= */
.event-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.event-image img {
    width: 100%;
    display: block;
}

.event-image__overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 10px 12px;
    text-align: left;
}

.event-image__title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

.event-image__date {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}


/* ============================
   RECURRING EVENTS
============================= */
.recurring-events {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.recurring-events h2 {
    margin-bottom: 10px;
}

.recurring-events ul {
    list-style: none;
    padding: 0;
}

.recurring-events li {
    margin-bottom: 6px;
}


/* ============================
   PAST EVENTS LINK
============================= */
.past-events-link {
    text-align: center;
    margin: 40px 0;
}

.past-events__link {
    font-weight: 600;
    text-decoration: none;
    color: #c62839;
}

.past-events__link:hover {
    color: #a71f30;
}


/* ============================
   EVENT PAGE LAYOUT (BALANCED)
============================= */

.event-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.event-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left column */
.event-about {
    flex: 1;
}

.event-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c62839;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-lead {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.3;
}

.event-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: #111;
}

/* Right column */
.event-details-container {
    flex: 0 1 380px;
}

.event-details-box {
    background: #fafafa;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.details-label {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #c62839;
}

.details-subheading {
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0 8px;
    color: #111;
}

/* Compact tick list */
.tick-list.compact li {
    margin-bottom: 6px;
}

/* Mobile */
@media (max-width: 900px) {
    .event-layout {
        flex-direction: column;
    }

    .event-details-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Back to Events link */
.back-to-events {
    text-align: center;
    margin: 40px 0 60px;
}

.btn--back {
    display: inline-block;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 600;
}


/* Past event cards only */
.event-box-container.past-events .event-box {
    opacity: 0.85;
}

.event-box-container.past-events .event-box:hover {
    opacity: 1;
}
