﻿/* =========================================================
   EVENT DETAIL PAGE
   ========================================================= */

.event-page {
    background: #f5f6f8;
    min-height: 100vh;
    margin-top:7%;
}


/* =========================================================
   INNER PAGE HERO
   ========================================================= */

.event-page-hero {
    position: relative;
    padding: 52px 0 54px;
    overflow: hidden;
    background: radial-gradient( circle at 82% 20%, rgba(255,255,255,.09), transparent 30% ), linear-gradient( 120deg, #091523 0%, #101f32 58%, #630000 100% );
}


.event-page-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   CENTERED HEADING
   ========================================================= */

.event-hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}


.event-hero-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.64);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
}


.event-hero-content h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.2;
}


.event-hero-content p {
    max-width: 640px;
    margin: 10px auto 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   BACK BUTTON - LEFT CORNER
   ========================================================= */

.event-back-btn {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50px;
    background: rgba(255,255,255,.07);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}


    .event-back-btn:hover {
        background: rgba(255,255,255,.14);
        border-color: rgba(255,255,255,.45);
        transform: translateX(-2px);
    }


.event-back-arrow {
    font-size: 17px;
    line-height: 1;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */

.event-page-content {
    padding: 42px 0 70px;
}


/* =========================================================
   EVENT CARD
   ========================================================= */

.event-feature-card {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7e9ed;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .07);
}


/* =========================================================
   IMAGE
   ========================================================= */

.event-feature-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8.3;
    overflow: hidden;
    background: #e9ecef;
}


    .event-feature-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }


.event-feature-card:hover .event-feature-image img {
    transform: scale(1.015);
}


.event-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient( to bottom, transparent 60%, rgba(4, 11, 20, .32) 100% );
}


/* small event badge */

.event-image-label {
    position: absolute;
    left: 22px;
    bottom: 20px;
    padding: 7px 13px;
    border-radius: 50px;
    background: rgba(255,255,255,.94);
    color: #7c0000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 4px 15px rgba(0,0,0,.12);
}


/* =========================================================
   BODY
   ========================================================= */

.event-feature-body {
    padding: 30px 38px 38px;
}


.event-feature-heading {
    margin-bottom: 24px;
}


.event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #687386;
    font-size: 12px;
    font-weight: 500;
}


.event-date-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f7eded;
    color: #880000;
}


.event-feature-heading h2 {
    max-width: 900px;
    margin: 0;
    color: #162235;
    font-size: clamp(21px, 2.1vw, 30px);
    font-weight: 650;
    line-height: 1.35;
}


.event-title-line {
    width: 55px;
    height: 3px;
    margin-top: 15px;
    border-radius: 4px;
    background: linear-gradient( 90deg, #880000, #c6973d );
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.event-description {
    max-width: 940px;
    color: #4f5968;
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
}


    .event-description p {
        margin-top: 0;
        margin-bottom: 14px;
    }


        .event-description p:last-child {
            margin-bottom: 0;
        }


    .event-description strong,
    .event-description b {
        color: #263447;
    }


/* =========================================================
   EMPTY STATE
   ========================================================= */

.event-empty-state {
    max-width: 750px;
    margin: 0 auto;
    padding: 70px 25px;
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(15,23,42,.05);
}


.event-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f7eded;
    color: #880000;
    font-size: 21px;
}


.event-empty-state h3 {
    margin-bottom: 8px;
    color: #18263a;
    font-size: 20px;
}


.event-empty-state p {
    margin: 0;
    color: #7a8493;
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .event-page-hero {
        padding: 30px 0 36px;
    }


    .event-page-content {
        padding: 30px 0 55px;
    }


    .event-feature-image {
        aspect-ratio: 16 / 9;
    }


    .event-feature-body {
        padding: 27px 28px 32px;
    }
}


@media (max-width: 767px) {

    .event-page-hero {
        padding: 24px 0 30px;
    }


    .event-back-btn {
        margin-bottom: 20px;
        padding: 7px 12px;
        font-size: 12px;
    }


    .event-hero-content p {
        font-size: 13px;
    }


    .event-page-content {
        padding: 22px 0 40px;
    }


    .event-feature-card {
        border-radius: 12px;
    }


    .event-feature-image {
        aspect-ratio: 4 / 3;
    }


    .event-image-label {
        left: 14px;
        bottom: 13px;
        padding: 6px 10px;
        font-size: 10px;
    }


    .event-feature-body {
        padding: 22px 19px 26px;
    }


    .event-feature-heading {
        margin-bottom: 18px;
    }


    .event-description {
        font-size: 13px;
        line-height: 1.75;
    }
}


@media (max-width: 480px) {

    .event-feature-image {
        aspect-ratio: 1.25 / 1;
    }


    .event-feature-heading h2 {
        font-size: 20px;
    }
}
