/* Custom Theme CSS */

/* Make the main plugin wrapper match the site's cream background */
body.single-mep_events,
body.single-mep_events #main-content,
body.single-mep_events #page-container,
body.single-mep_events #et-main-area,
.mpwem_style.mpwem_wrapper,
.mep-events-wrapper {
    background-color: rgba(255, 255, 247, 1) !important;
}

.custom_theme {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.mep-custom-left {
    flex: 1 1 45%;
    min-width: 300px;
    max-width: 50%;
}

.mep-custom-right {
    flex: 1 1 45%;
    min-width: 300px;
}

.mep-custom-right h1,
.mep-custom-right h2,
.mep-custom-right .mpwem_title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

/* Condense the Date, Time, Location sections into a cleaner list */
.mep-custom-right .date_time_location_short {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 2px !important;
}

.mep-custom-right .date_time_location_short .short_item {
    background: transparent;
    padding: 0;
    max-width: 100%;
    align-items: center;
}

.mep-custom-right .date_time_location_short .short_item h4 {
    margin: 0 15px 0 0;
    font-size: 20px;
    background: transparent;
}

.mep-custom-right .date_time_location_short .short_item .__icon_circle_mr span,
.mep-custom-right .date_time_location_short .short_item h4 span {
    background: transparent !important;
    color: #8A001A !important;
    /* Update icon color to burgundy */
    width: auto;
    height: auto;
}

.mep-custom-right .date_time_location_short .short_item ._fdColumn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mep-custom-right .date_time_location_short .short_item h6 {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.mep-custom-right .date_time_location_short .short_item p {
    font-size: 15px;
    margin: 0;
    color: #555;
}

.mep-custom-right .mpwem_description {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

/* Update Add to Cart button color */
.mep-custom-right .mpwem_registration_area button,
.mep-custom-right .mpwem_registration_area button[type=submit],
.mep-custom-right .mpwem_registration_area .mep_cart_btn,
.mep-custom-right .mpwem_registration_area .mpwem_book_now {
    background-color: #8A001A !important;
    /* Passenger Coffee dark red */
    border-color: #8A001A !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 0;
    text-transform: none;
}

.mep-custom-right .mpwem_registration_area button:hover,
.mep-custom-right .mpwem_registration_area button[type=submit]:hover {
    background-color: #6a0014 !important;
    border-color: #6a0014 !important;
}

/* Timeline time badge color */
.mep-custom-right .mpwem_timeline_area .timeline_time {
    background-color: #8A001A !important;
    color: #ffffff !important;
}

/* Ticket Options Header, Extra Service Header, and View More Date buttons */
.mep-custom-right .mpwem_registration_area .date-time-header,
.mep-custom-right .mpwem_ex_service .card-header,
.mep-custom-left .mpwem_ex_service .card-header,
.mep-custom-right button.mpwem_get_date_list,
.mep-custom-left button.mpwem_get_date_list,
#mage-container.mage .mep-custom-right button.mpwem_get_date_list,
#mage-container.mage .mep-custom-left button.mpwem_get_date_list {
    background: #8A001A !important;
    border-color: #8A001A !important;
    color: #ffffff !important;
}

/* Date Selector text and dropdown arrow to white */
.mep-custom-right .mpwem_registration_area #mpwem_date_time,
.mep-custom-right .mpwem_registration_area select.formControl {
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    background: transparent !important;
}

.mep-custom-right .mpwem_registration_area .date-time-area>label::after {
    color: #ffffff !important;
}

/* Ensure the dropdown options remain readable on white */
.mep-custom-right .mpwem_registration_area select.formControl option {
    color: #333 !important;
    background: #ffffff !important;
}

/* Organized By section */
.mep-custom-right div.mpwem_organizer,
.mep-custom-left div.mpwem_organizer {
    background: #8A001A !important;
    color: #ffffff !important;
}

.mep-custom-right div.mpwem_organizer *,
.mep-custom-left div.mpwem_organizer * {
    color: #ffffff !important;
}

.mep-custom-right .mpwem_registration_area {

    margin-top: 30px;
}

@media (max-width: 767px) {
    .custom_theme {
        flex-direction: column;
        align-items: stretch;
    }

    .mep-custom-left,
    .mep-custom-right {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}