/* =====================================================
   SINGLE EVENT PAGE
   ===================================================== */

body.single-event {
    background: #f4f7fb;
}

/* Main Elementor content area */
body.single-event .elementor-location-single,
body.single-event main {
    width: 100%;
}

/* Main event content container */
body.single-event .elementor-location-single > .elementor,
body.single-event .elementor-location-single .e-con.e-parent {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}


/* =====================================================
   MAIN EVENT CARD
   ===================================================== */

body.single-event .elementor-location-single .e-con-boxed > .e-con-inner {
    max-width: 1100px;
}

body.single-event .elementor-location-single .e-con-inner {
    box-sizing: border-box;
}


/* =====================================================
   EVENT BANNER
   ===================================================== */

/* JetEngine dynamic image */
body.single-event .jet-listing-dynamic-image,
body.single-event .jet-listing-dynamic-image img,
body.single-event .elementor-widget-image img {
    width: 100%;
}

/* Prevent banner from becoming extremely tall */
body.single-event .jet-listing-dynamic-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center;
    background: #eef2f7;
    border-radius: 14px 14px 0 0;
}


/* =====================================================
   EVENT CONTENT AREA
   ===================================================== */

body.single-event .elementor-location-single {
    font-family: inherit;
    color: #1b2d4f;
}

body.single-event .elementor-heading-title {
    color: #0b2d63;
}


/* Event title */
body.single-event h1.elementor-heading-title,
body.single-event h2.elementor-heading-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 10px;
}


/* =====================================================
   EVENT CATEGORY
   ===================================================== */

body.single-event .jet-listing-dynamic-terms {
    font-size: 13px;
    font-weight: 600;
    color: #607089;
    text-transform: uppercase;
    letter-spacing: .4px;
}


/* =====================================================
   EVENT META - DATE / TIME / VENUE
   ===================================================== */

body.single-event .jet-listing-dynamic-field {
    line-height: 1.5;
}

body.single-event .jet-listing-dynamic-field__content {
    color: #44546a;
}


/* Give icon/meta widgets a card feel */
body.single-event .elementor-widget-jet-listing-dynamic-field {
    min-height: 42px;
}


/* =====================================================
   EVENT DESCRIPTION
   ===================================================== */

body.single-event .jet-listing-dynamic-field__content {
    font-size: 15px;
}

body.single-event .event-description,
body.single-event .event-summary {
    font-size: 16px;
    line-height: 1.75;
    color: #45546a;
}


/* =====================================================
   BUTTONS
   ===================================================== */

body.single-event .elementor-button,
body.single-event .jet-listing-dynamic-link__link {
    border-radius: 7px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}

body.single-event .elementor-button:hover,
body.single-event .jet-listing-dynamic-link__link:hover {
    transform: translateY(-1px);
}


/* Registration */
body.single-event a[href*="register"],
body.single-event a[href*="registration"] {
    background: #154d3d;
    color: #fff;
}


/* =====================================================
   SHARE BUTTONS
   ===================================================== */

body.single-event .elementor-widget-share-buttons {
    margin-top: 18px;
}

body.single-event .elementor-share-btn {
    border-radius: 6px !important;
}


/* =====================================================
   ADD WHITE EVENT CARD
   ===================================================== */

body.single-event .event-single-card {
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(16, 39, 71, .07);
}


/* Content inside card */
body.single-event .event-single-content {
    padding: 35px 45px 40px;
}


/* =====================================================
   EVENT META GRID
   ===================================================== */

body.single-event .event-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

body.single-event .event-meta-item {
    background: #f6f8fb;
    border: 1px solid #e5eaf0;
    border-radius: 9px;
    padding: 15px 17px;
}

body.single-event .event-meta-item .elementor-icon {
    color: #0b2d63;
}


/* =====================================================
   DESCRIPTION SECTION
   ===================================================== */

body.single-event .event-about {
    border-top: 1px solid #e6eaf0;
    margin-top: 25px;
    padding-top: 25px;
}

body.single-event .event-about h3 {
    color: #0b2d63;
    font-size: 21px;
    margin: 0 0 10px;
}


/* =====================================================
   MAP / REGISTRATION AREA
   ===================================================== */

body.single-event .event-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    body.single-event {
        background: #fff;
    }

    body.single-event .event-single-card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    body.single-event .event-single-content {
        padding: 22px 18px 28px;
    }

    body.single-event .jet-listing-dynamic-image img {
        max-height: 420px;
        border-radius: 0;
    }

    body.single-event .event-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.single-event h1.elementor-heading-title,
    body.single-event h2.elementor-heading-title {
        font-size: 27px;
    }

    body.single-event .event-actions {
        flex-direction: column;
    }

    body.single-event .event-actions a,
    body.single-event .event-actions .elementor-button {
        width: 100%;
        text-align: center;
    }
}