/* EventPress only: retain plugin classes, JS selectors and booking behaviour. */
body .mpwem_style,
body .mpwem_booking_panel {
    --color_theme: var(--dre-pink, #c3006b);
    --color_theme_cc: #a30059;
    --color_theme_alter: #fff;
    --color_7: #fff;
    --color_border: var(--dre-border, #d6d6d6);
    color: var(--dre-text, #000);
    font-family: var(--dre-font-sans);
}
body .mpwem_style .default_theme.dre-registration-page { padding-top: 0; }
body .mpwem_style.mpwem_wrapper { max-width: var(--dre-content-width); padding: var(--dre-commerce-content-gap, 50px) 0 0; margin-bottom: 64px; }
body .mpwem_style .mpwem_title_block { padding: 0 0 32px; background: transparent; border: 0; box-shadow: none; }
body .mpwem_style h1.mpwem_tile { display: inline-block; margin: 0; color: #000; font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.08; text-transform: none; }
body .mpwem_style h1.mpwem_tile::after { content: ''; display: block; width: 100%; height: 6px; margin-top: 12px; background: linear-gradient(90deg, var(--dre-green), var(--dre-blue), var(--dre-pink)); }
body .mpwem_style .default_theme .content_area { gap: 40px; }
body .mpwem_style .mep-default-content,
body .mpwem_style .mep-default-sidebar { min-width: 0; }
body .mpwem_style .mep-default-sidebar .df-sidebar-part { background: #fafafa; border: 1px solid var(--dre-border); border-radius: 24px; box-shadow: none; }
body .mpwem_style .date_time_location_short { background: #fafafa; border-color: var(--dre-border); border-radius: 24px; }
body .mpwem_style .mpwem_registration_area { margin-top: 32px; }
body .mpwem_style .mpwem_registration_area .date-time-header { align-items: stretch; background: #000; color: #fff; border: 1px solid #000; border-radius: 24px 24px 0 0; padding: 24px; box-shadow: none; }
body .mpwem_style .date-time-header .ticket-title { font-size: 22px; font-weight: 700; }
body .mpwem_style .mpwem_registration_area .mpwem_booking_panel { color: #000; }
body .mpwem_style .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type,
body .mpwem_style .mpwem_registration_area .mpwem_booking_panel .mpwem_ex_service { overflow: visible; }
body .mpwem_style .mpwem_registration_area .mpwem_ticket_type,
body .mpwem_style .mpwem_registration_area .mpwem_ex_service { background: #fff; border: 1px solid var(--dre-border); border-radius: 24px; box-shadow: none; }
body .mpwem_style .mpwem_registration_area .card-header { background: #000; color: #fff; border: 0; padding: 20px 24px; font-weight: 700; }
body .mpwem_style .mpwem_registration_area .card-body { padding: 8px 24px 24px; }
body .mpwem_style .mpwem_registration_area .mep_ticket_item { padding: 20px 0; border-bottom: 1px solid var(--dre-border); }
body .mpwem_style .mpwem_registration_area .mep_ticket_item .ticket-data { gap: 20px; align-items: center; }
body .mpwem_style .mpwem_registration_area .mep_ticket_item .ticket-name { font-size: 21px; font-weight: 700; color: #000; }
body .mpwem_style .mpwem_registration_area .mep_ticket_item .ticket-description { color: var(--dre-gray); font-size: 16px; line-height: 1.5; }
body .mpwem_style .mpwem_registration_area .mep_ticket_item .ticket-price { color: var(--dre-pink); font-size: 23px; font-weight: 700; }
body .mpwem_style .mep_attendee_info .dLayout { background: transparent; border: 0; border-radius: 0; box-shadow: none !important; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mp_form_item { padding: 0; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item { padding: 24px 0; margin: 24px 0; gap: 20px 24px; background: transparent; border: 0; border-top: 1px solid var(--dre-border); border-radius: 0; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item > h6 { padding: 0; margin: 0 0 8px; font-size: 22px; font-weight: 700; color: #000; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mp_form_item label { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mp_form_item label > span { font-size: 14px; color: var(--dre-gray); }
body .mpwem_style .mpwem_registration_area :is(input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']), select, textarea) { box-sizing: border-box; max-width: 100%; min-height: 52px; background: #fff; color: #000; border: 1px solid var(--dre-gray); border-radius: 33px; padding: 12px 20px; font-size: 16px; font-weight: 300; box-shadow: none; }
body .mpwem_style .mpwem_registration_area textarea { min-height: 140px; border-radius: 24px; resize: vertical; }
body .mpwem_style .mpwem_registration_area input[type='number'] { min-width: 56px; padding-inline: 8px; text-align: center; }
body .mpwem_style .mpwem_registration_area select.formControl[name="option_qty[]"] { text-align: center; text-align-last: center; padding-left: 25px !important; padding-right: 25px !important; }
body .mpwem_style .mpwem_registration_area input[type='file'] { height: auto; border-radius: 24px; }
body .mpwem_style .mpwem_registration_area :is(input, select, textarea):focus-visible { outline: 2px solid var(--dre-pink); outline-offset: 3px; border-color: var(--dre-pink); }
body .mpwem_style :is(input[type='checkbox'], input[type='radio']) { accent-color: var(--dre-pink); }
body .mpwem_style .mpwem_form_submit_area { margin-top: 24px; padding: 24px 0 0; border-top: 1px solid var(--dre-border); background: transparent; }
body .mpwem_style .mpwem_summery { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: transparent; padding: 0; }
body .mpwem_style .mpwem_summery .total { font-size: 20px; color: #000; }
body .mpwem_style .mpwem_summery .mpwem_total { color: var(--dre-pink); font-weight: 700; }
body .mpwem_style :is(button, a)[class*='_button_theme'],
body .mpwem_style .mpwem_book_now { min-height: 52px; padding: 15px 20px; border: 1px solid var(--dre-pink); border-radius: 33px; background: var(--dre-pink); color: #fff; font-size: 17px; line-height: 1.25; text-decoration: none; box-shadow: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
body .mpwem_style :is(button, a)[class*='_button_theme'] span { color: inherit; }
body .mpwem_style :is(button, a)[class*='_button_theme']:hover:not(:disabled) { background: #fff; color: var(--dre-pink); border-color: var(--dre-pink); text-decoration: none; }
body .mpwem_style :is(button, a)[class*='_button_theme']:focus-visible { outline: 2px solid var(--dre-pink); outline-offset: 4px; }
body .mpwem_style button:disabled { cursor: not-allowed; opacity: .5; }
body .mpwem_style .mep-booking-confirmation { border: 1px solid var(--dre-border); border-left: 4px solid var(--dre-green); border-radius: 20px; padding: 24px; background: #f7fbf9; box-shadow: none; }
body .mpwem_style .mep-booking-pending { border-left-color: var(--dre-pink); background: #fff7fb; }
body .mpwem_style .mep-booking-cancelled { border-left-color: var(--dre-gray); background: #fafafa; }
body .mpwem_style .mep-booking-confirmation h3 { color: #000; text-transform: none; }
@media (max-width: 767px) {
    body .mpwem_style.mpwem_wrapper { padding-top: var(--dre-commerce-content-gap, 50px); padding-bottom: 0; margin-bottom: 40px; }
    body .mpwem_style .mpwem_registration_area .card-body { padding: 8px 16px 16px; }
    body .mpwem_style .mpwem_registration_area .mep_ticket_item .ticket-data { flex-wrap: wrap; }
    body .mpwem_style .mpwem_registration_area .mep_ticket_item .ticket-info { flex: 1 1 100%; }
    body .mpwem_style .mpwem_summery { flex-direction: column; align-items: flex-start; }
    body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    body .mpwem_style :is(button, a)[class*='_button_theme'] { transition: none; }
}

/* Match the contact/application fields, including the floating field caption. */
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .mp_form_item label:has(> input[placeholder]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])) { position: relative; display: block; width: 100%; }
body .mpwem_style .mpwem_registration_area .mpwem_booking_panel .mep_attendee_info .mep_form_item .mp_form_item label > input.formControl[placeholder] { width: 100%; height: auto; min-height: 54px; margin: 0; padding: 23px 20px 7px; font-size: 17px; font-weight: 400; line-height: 1.5; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .mp_form_item label > input[placeholder]::placeholder { color: transparent; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .mp_form_item label:has(> input[placeholder]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])) > span { position: absolute; top: 50%; left: 20px; right: 20px; width: auto; margin: 0; color: #888888; font-size: 16px; font-weight: 400; line-height: 20px; transform: translateY(-50%); transition: top .18s ease, font-size .18s ease, line-height .18s ease, transform .18s ease; pointer-events: none; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .mp_form_item label:has(> input[placeholder]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])):is(:focus-within, :has(> input:not(:placeholder-shown))) > span { top: 7px; font-size: 11px; line-height: 14px; transform: none; }
body .mpwem_style .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data .ticket-price { color: var(--dre-pink); }
body .mpwem_style .mpwem_form_submit_area,
body .mpwem_style .mpwem_summery { box-shadow: none; }
body .mpwem_style .mep-fb-choice-options { gap: 10px; }
body .mpwem_style .mep-fb-choice-option { border-color: var(--dre-border) !important; border-radius: 18px; background: #fff; color: #000; }
body .mpwem_style .mep-fb-choice-option:has(input:checked) { border-color: var(--dre-pink) !important; background: #fff5fa; }
body .mpwem_style .mep-fb-choice-option:hover { border-color: var(--dre-pink) !important; }
@media (prefers-reduced-motion: reduce) {
    body .mpwem_style .mp_form_item label > span { transition: none !important; }
}

/* Registration page: native booking controls in two columns, preserving the form. */
body .mpwem_style .dre-registration-page .mpwem_registration_area { margin-top: 48px; }
body .mpwem_style .dre-registration-page .date-time-header { display: none; }
body .mpwem_style .dre-registration-page .dre-booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: 60px; align-items: start; }
body .mpwem_style .dre-booking-fields { min-width: 0; }
body .mpwem_style .dre-booking-grid .mpwem_form_submit_area.mep-default-sidebar { width: auto; margin: 0; padding: 0; border: 0; position: sticky; top: calc(var(--dre-header-height, 100px) + var(--dre-admin-bar-height, 0px) + 24px); }
body .mpwem_style .dre-booking-grid .mep-default-sidebar .df-sidebar-part { margin: 0; padding: 0; border: 0; background: transparent; border-radius: 0; }
body .mpwem_style .dre-booking-grid .dre-ticket-heading { display: inline-block; margin: 0 0 28px; padding: 0; color: #000; font-size: 30px; font-weight: 700; line-height: 1.2; }
body .mpwem_style .dre-ticket-offer { padding: 24px; margin-bottom: 24px; border: 1px solid var(--dre-pink); border-radius: 24px; }
body .mpwem_style .dre-ticket-offer p { padding: 0; margin: 0; }
body .mpwem_style .dre-ticket-offer .dre-ticket-offer__event { font-size: 16px; line-height: 1.4; }
body .mpwem_style .dre-ticket-offer .dre-ticket-offer__price { margin: 12px 0 6px; color: var(--dre-pink); font-size: clamp(32px, 3vw, 44px); font-weight: 700; line-height: 1.1; }
body .mpwem_style .dre-ticket-offer .dre-ticket-offer__caption { font-size: 14px; color: #686868; line-height: 1.5; }
body .mpwem_style .dre-ticket-consent { padding: 24px; border-radius: 24px; background: #fff2f8; border: 1px solid var(--dre-pink); }
body .mpwem_style .dre-ticket-consent h3 { margin: 0 0 18px; padding: 0; font-size: 21px; font-weight: 700; color: var(--dre-pink); line-height: 1.25; }
body .mpwem_style .dre-ticket-consent .dre-ticket-consent__choice { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; padding: 0; font-size: 15px; line-height: 1.5; cursor: pointer; }
body .mpwem_style .dre-ticket-consent__choice input[type="checkbox"] { appearance: auto; display: block; position: static; width: 18px; min-width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 3px 0 0; padding: 0; opacity: 1; accent-color: var(--dre-pink); }
body .mpwem_style .dre-ticket-consent__choice span { color: #000; font-size: inherit; font-weight: 500; }
body .mpwem_style .dre-ticket-consent__details p { margin: 0 0 14px; padding: 0; font-size: 13px; line-height: 1.6; color: #454545; }
body .mpwem_style .dre-ticket-consent__details p:last-child { margin: 0; }
body .mpwem_style .dre-ticket-consent__details a { color: var(--dre-pink); text-decoration: underline; text-underline-offset: 3px; }
body .mpwem_style .dre-ticket-consent__details a:hover { color: #000; }
body .mpwem_style .dre-ticket-consent__required { font-weight: 500; }
body .mpwem_style .dre-booking-grid .mpwem_summery { margin-top: 24px; gap: 12px; }
body .mpwem_style .dre-booking-grid .mpwem_summery > .total { display: none; }
body .mpwem_style .dre-booking-grid .mpwem_book_now { width: 100%; justify-content: center; }
body .mpwem_style .dre-booking-grid .mpwem_book_now i { display: none; }
body .mpwem_style .dre-booking-grid .mpwem_ticket_type { border: 0; border-radius: 0; margin: 0; padding: 0; }
body .mpwem_style .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body,
body .mpwem_style .default_theme.dre-registration-page .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body { padding: 0 !important; }
body .mpwem_style .dre-booking-grid .mep_ticket_item { display: flex; flex-direction: column; border: 0; padding: 0; margin: 0; }
body .mpwem_style .dre-registration-page .mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item > .ticket-data { order: 0; margin: 0 0 32px; padding: 0 0 24px; border-top: 0; border-bottom: 1px solid var(--dre-border); }
body .mpwem_style .dre-booking-grid .mep_ticket_item .ticket-price { display: none; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item { margin: 0; padding: 0; border: 0; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .dre-form-with-layout > h6 { display: none; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .dre-form-layout { grid-column: 1 / -1; width: auto; margin: 0; padding: 0; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .dre-form-layout--header { justify-self: start; max-width: 100%; font-size: clamp(26px, 2.5vw, 32px); font-weight: 700; line-height: 1.2; color: #000; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .dre-form-layout--header:not(:first-of-type) { margin-top: 32px; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .dre-form-layout--paragraph { font-size: 16px; line-height: 1.6; color: #454545; }
body .mpwem_style .dre-booking-grid .mep_form_item .mp_form_item:has(.mep-fb-choice-options) { grid-column: 1 / -1; }
@media (max-width: 1023px) {
    body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item { margin-bottom: 40px; }
    body .mpwem_style .dre-registration-page .dre-booking-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    body .mpwem_style .dre-booking-grid .mpwem_form_submit_area.mep-default-sidebar { position: static; width: 100%; max-width: none; }
    body .mpwem_style .dre-booking-grid .dre-ticket-offer { padding: 24px; }
}
@media (max-width: 767px) {
    body .mpwem_style .dre-registration-page .mpwem_registration_area { margin-top: 32px; }
    body .mpwem_style .dre-ticket-consent { padding: 20px; }
}

/* Plugin choice captions default to a single line; consent must wrap fully. */
body .mpwem_style .dre-booking-grid .dre-ticket-consent label.dre-ticket-consent__choice > span { display: block; flex: 1 1 0; min-width: 0; width: auto; max-width: 100%; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
body .mpwem_style .dre-booking-grid .mep_attendee_info > ._layout_default,
body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item { box-shadow: none; border-radius: 0; }

/* Match the partnership form's selectable pills, retaining native checkbox behaviour. */
body .mpwem_style .mpwem_registration_area .mep-fb-choice-field .groupCheckBox.mep-fb-choice-options { gap: 12px; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox {
    position: relative; display: inline-flex !important; flex-direction: row; align-items: center;
    flex: 0 1 auto; min-width: 0; width: auto; max-width: 100%; min-height: 0; gap: 0;
    margin: 0 !important; padding: 12px 20px !important;
    border: 1px solid var(--dre-gray) !important; border-radius: 33px;
    background: var(--dre-white, #fff); color: var(--dre-text, #000); box-shadow: none;
    cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox > input[type="checkbox"] {
    display: block; position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0;
    margin: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%);
}
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox > .mep-fb-choice-text {
    display: block !important; width: auto !important; min-width: 0; max-width: 100%;
    margin: 0 !important; padding: 0 !important; color: inherit; font-size: 16px;
    font-weight: 400; line-height: 1.4; white-space: normal; overflow-wrap: anywhere;
}
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox > .customCheckbox::before,
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox > .customCheckbox::after { content: none !important; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox:has(input:checked) {
    border-color: var(--dre-pink) !important; background: var(--dre-pink); color: var(--dre-white, #fff); box-shadow: none;
}
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox:has(input:focus-visible) { outline: 2px solid var(--dre-pink); outline-offset: 3px; }
@media (hover: hover) {
    body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox:hover { border-color: var(--dre-pink) !important; box-shadow: none; }
}
@media (max-width: 767px) {
    body .mpwem_style .mpwem_registration_area .mep-fb-choice-field .groupCheckBox.mep-fb-choice-options { gap: 10px; }
    body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox { padding: 11px 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item label.mep-fb-choice-option--checkbox { transition: none; }
}

/* Optional classes supplied by the event's visual form builder. */
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .dre-form-layout--header.first-title { margin-top: 32px; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .full-width-checkboxes .mep-fb-choice-options { flex-direction: column; align-items: stretch; }
body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .full-width-checkboxes label.mep-fb-choice-option--checkbox {
    flex: 0 0 auto; width: 100%; max-width: 100%; justify-content: flex-start;
    padding: 16px 20px !important; border-radius: 33px; text-align: left;
}
@media (max-width: 767px) {
    body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .dre-form-layout--header.first-title { margin-top: 24px; }
    body .mpwem_style .mpwem_registration_area .mep_attendee_info .mep_form_item .full-width-checkboxes label.mep-fb-choice-option--checkbox { padding: 14px 16px !important; }
}

/* Supporting booking information, visually separate from the registration form. */
body .mpwem_style .dre-booking-benefits { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--dre-border, #e7e7e7); }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item { display: flex; align-items: flex-start; gap: 16px; min-width: 0; margin: 0; padding: 0 24px; border-inline-start: 1px solid var(--dre-border, #e7e7e7); list-style: none; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item:first-child { padding-inline-start: 0; border-inline-start: 0; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item:last-child { padding-inline-end: 0; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__icon { display: block; flex: 0 0 36px; width: 36px; height: 36px; margin: 0; color: var(--dre-pink, #c3006b); }
body .mpwem_style .dre-booking-benefits__content { min-width: 0; }
body .mpwem_style .dre-booking-benefits p { margin: 0; padding: 0; line-height: 1.5; overflow-wrap: anywhere; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__title { margin-bottom: 6px; color: #000; font-size: 17px; }
body .mpwem_style .dre-booking-benefits__title strong { font-weight: 700; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__text,
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__contact { color: var(--dre-gray, #686868); font-size: 15px; }
body .mpwem_style .dre-booking-benefits .dre-booking-benefits__contact { margin-top: 6px; }
body .mpwem_style .dre-booking-benefits__contact a { color: var(--dre-pink, #c3006b); text-decoration: underline; text-underline-offset: 3px; }
body .mpwem_style .dre-booking-benefits__contact a:hover { color: #000; }
body .mpwem_style .dre-booking-benefits__contact a:focus-visible { outline: 2px solid var(--dre-pink, #c3006b); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 1023px) {
    body .mpwem_style .dre-booking-benefits .dre-booking-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
    body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item:nth-child(even) { padding-inline-end: 0; }
}
@media (max-width: 767px) {
    body .mpwem_style .dre-booking-benefits { margin-top: 40px; padding-top: 24px; }
    body .mpwem_style .dre-booking-benefits .dre-booking-benefits__list { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
    body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item { padding: 0; border-inline-start: 0; }
    body .mpwem_style .dre-booking-benefits .dre-booking-benefits__item + .dre-booking-benefits__item { padding-top: 24px; border-top: 1px solid var(--dre-border, #e7e7e7); }
}

/* Separate additional participants without enclosing every form in another box. */
body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item + .mep_form_item { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--dre-border, #d6d6d6); }
body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item > .dre-attendee-separator { display: none; grid-column: 1 / -1; margin: 0; padding: 0; color: var(--dre-pink, #c3006b); font-size: 15px; font-weight: 700; line-height: 1.4; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item + .mep_form_item > .dre-attendee-separator { display: block; }
body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item + .mep_form_item .dre-form-layout--header.first-title { margin-top: 0; }
@media (max-width: 1023px) {
    body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item + .mep_form_item { margin-top: 0; }
}
@media (max-width: 767px) {
    body .mpwem_style .dre-booking-grid .mep_attendee_info .mep_form_item + .mep_form_item { padding-top: 24px; }
}

body .mpwem_style .dre-program-choice-hint { margin: 0 0 12px; color: var(--dre-gray, #686868); font-size: 14px; line-height: 1.4; }

/* Current EventPress versions reset this wrapper with a more specific selector. */
body.single-mep_events .mpwem_style.mpwem_wrapper.mep-events-wrapper.wrapper { margin-top: 0; padding-top: var(--dre-commerce-content-gap, 50px); }

/* Keep an existing booking reachable when EventPress disables its quantity selector. */
body .mpwem_style .dre-registration-cart-notice { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; padding: 20px 24px; border: 1px solid var(--dre-pink, #c3006b); border-radius: 20px; background: #fff7fb; }
body .mpwem_style .dre-registration-cart-notice p { margin: 0; color: var(--dre-text, #171717); font-size: 16px; line-height: 1.5; }
body .mpwem_style a.dre-registration-cart-notice__button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; padding: 15px 20px; border: 1px solid var(--dre-pink, #c3006b); border-radius: 33px; background: var(--dre-pink, #c3006b); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background .2s ease, color .2s ease; }
body .mpwem_style a.dre-registration-cart-notice__button:hover { background: #fff; color: var(--dre-pink, #c3006b); text-decoration: none; }
body .mpwem_style a.dre-registration-cart-notice__button:focus-visible { outline: 2px solid var(--dre-pink, #c3006b); outline-offset: 4px; }
@media (max-width: 600px) {
    body .mpwem_style .dre-registration-cart-notice { flex-direction: column; align-items: stretch; padding: 18px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    body .mpwem_style a.dre-registration-cart-notice__button { transition: none; }
}


/* Give the number of participants a full row above the attendee details. */
body .mpwem_style .default_theme.dre-registration-page .mpwem_registration_area .mpwem_booking_panel.dre-booking-grid .mpwem_ticket_type .card-body .mep_ticket_item > .ticket-data {
    display: flex !important;
    padding: 0 0 24px !important;
    margin: 0 0 32px !important;
    border-bottom: 1px solid var(--dre-border) !important;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}
body .mpwem_style .default_theme.dre-registration-page .mpwem_registration_area .mpwem_booking_panel.dre-booking-grid .mpwem_ticket_type .card-body .mep_ticket_item > .ticket-data > .ticket-info { width: 100%; flex: 0 0 auto; }
body .mpwem_style .dre-registration-page .dre-booking-grid .ticket-data > .quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    gap: 16px;
    width: 100%;
    max-width: none;
}
body .mpwem_style .dre-registration-page .dre-booking-grid .quantity-control > .dre-ticket-quantity-label {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dre-text, #000);
    cursor: pointer;
}
body .mpwem_style .dre-registration-page .dre-booking-grid .quantity-control > .dre-ticket-quantity-label[hidden] { display: none; }
body .mpwem_style .dre-registration-page .dre-booking-grid .quantity-control > label:not(.dre-ticket-quantity-label) {
    flex: 0 0 88px;
    width: 88px;
    max-width: 88px;
    margin: 0;
}
body .mpwem_style .dre-registration-page .dre-booking-grid .quantity-control select[name="option_qty[]"] {
    width: 100%;
    min-width: 0;
    margin: 0;
}
