/* Designer fields inherit EventTop text colour. */
.ajde_evcal_calendar .amuzin-et-act-list {
    display: block;
    margin-top: 8px;
    text-transform: none;
    color: inherit;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}
.ajde_evcal_calendar .amuzin-et-acts-vertical > .amuzin-et-act-list-item {
    display: flex !important;
    align-items: baseline;
    gap: 8px;
}
.ajde_evcal_calendar .amuzin-et-act-bullet {
    display: inline !important;
    flex: 0 0 auto;
}
.ajde_evcal_calendar .amuzin-et-acts-horizontal > .amuzin-et-act-list-item,
.ajde_evcal_calendar .amuzin-et-acts-horizontal > .amuzin-et-act-separator {
    display: inline !important;
    float: none !important;
    width: auto !important;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Translucent panel with white text for both designer list styles. */
.ajde_evcal_calendar .amuzin-et-act-list {
    background: rgba(255, 255, 255, 0.24) !important;
    color: #fff !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    box-sizing: border-box;
}
.ajde_evcal_calendar .amuzin-et-act-list .amuzin-et-act-list-item,
.ajde_evcal_calendar .amuzin-et-act-list .amuzin-et-act-bullet,
.ajde_evcal_calendar .amuzin-et-act-list .amuzin-et-act-separator {
    color: #fff !important;
}

/* Horizontal panel fits its contents and wraps only when space requires it. */
.ajde_evcal_calendar .amuzin-et-act-list.amuzin-et-acts-horizontal {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
    align-self: flex-start !important;
    white-space: normal !important;
}

.ajde_evcal_calendar .amuzin-et-acts-horizontal .amuzin-et-act-mic {
    display: inline-block !important;
    position: static !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: inherit !important;
    width: auto !important;
    vertical-align: baseline;
}

/* Designer option: fixed-size transparent portraits in a horizontal row. */
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: fit-content !important;
    max-width: 100% !important;
    overflow-x: auto;
    margin-top: 8px;
    padding: 0 !important;
    background: transparent !important;
}
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-row .amuzin-et-portrait {
    display: block !important;
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    border-radius: 50% !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.24) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-row .amuzin-et-portrait-image {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    object-position: center bottom;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Additional designer option: white names below the same fixed circles. */
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-row.amuzin-et-portraits-with-names {
    align-items: flex-start !important;
}
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-row > .amuzin-et-portrait-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    flex: 0 0 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: center;
}
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-card .amuzin-et-portrait-name {
    display: block !important;
    width: 72px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    overflow: hidden !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* One fixed-height slot: first name, then surname entering from above. */
body .amuzin-et-portrait-card .amuzin-et-portrait-name {
    position: relative !important;
    height: 1.3em !important;
    text-align: center !important;
}
body .amuzin-et-portrait-name > span {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    text-align: center !important;
    white-space: nowrap !important;
}
body .amuzin-et-portrait-name .amuzin-et-name-fit {
    display: inline-block !important;
    width: max-content !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    text-transform: none !important;
    white-space: nowrap !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(var(--amuzin-name-scale, 1));
    transform-origin: center;
}
body .amuzin-et-portrait-name > span { text-align: left !important; }
body .amuzin-et-name-rotating .amuzin-et-name-full { visibility: hidden; }
body .amuzin-et-name-rotating .amuzin-et-name-first {
    animation: amuzin-name-first 6s ease-in-out var(--amuzin-name-delay, 0ms) infinite both;
}
body .amuzin-et-name-rotating .amuzin-et-name-last {
    animation: amuzin-name-last 6s ease-in-out var(--amuzin-name-delay, 0ms) infinite both;
}
body .amuzin-et-portrait-row:hover .amuzin-et-portrait-name > span,
body .amuzin-et-portrait-row:focus-within .amuzin-et-portrait-name > span {
    animation-play-state: paused;
}
@keyframes amuzin-name-first {
    0%, 40% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(100%); opacity: 0; }
    50.01%, 90% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes amuzin-name-last {
    0%, 40% { transform: translateY(-100%); opacity: 0; }
    50%, 90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    body .amuzin-et-name-rotating .amuzin-et-name-first,
    body .amuzin-et-name-rotating .amuzin-et-name-last {
        display: none !important;
        animation: none !important;
    }
    body .amuzin-et-name-rotating .amuzin-et-name-full { visibility: visible; }
}

@media (min-width: 768px) {
/* Custom date block typography: 150% of native EventON sizes. */
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_start { font-size: 45px !important; }
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_end { font-size: 21px !important; }
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_start em.day,
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_start em.month { font-size: 16.5px !important; }
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_start em.year { font-size: 15px !important; line-height: 1.1 !important; }
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_end em.day,
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_end em.month,
.ajde_evcal_calendar .eventon_list_event .evoet_cx .amuzin-et-responsive-date .evo_end em.year { font-size: 12px !important; line-height: 1.1 !important; }

}

/* Horizontal mobile dates in lists and eventcard headers. */
@media (max-width: 767px) {
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        width: fit-content !important;
        max-width: 100% !important;
    }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date > span.evo_start,
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date > span.evo_end {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        float: none !important;
        margin-top: 0 !important;
    }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date em {
        display: inline-block !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 21px !important;
        line-height: 1.2 !important;
    }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date em.day { order: 1; }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date em.date { order: 2; font-size: 36px !important; }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date em.month { order: 3; }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date em.year { order: 4; }
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date em.time {
        display: none !important;
    }
    /* Preserve EventON's hide-end-time and date visibility behaviours. */
    .ajde_evcal_calendar.het .eventon_list_event .evoet_cx .amuzin-et-responsive-date > span.evo_end,
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date > span.evo_end.only_time,
    body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_cx .amuzin-et-responsive-date.mnl {
        display: none !important;
    }
}

/* Silhouettes sit on the existing 24% white circle background. */
body :is(.ajde_evcal_calendar, .evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-portrait-row .amuzin-et-silhouette {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile eventcard header: date row above the title and acts. */
@media (max-width: 767px) {
    body :is(.evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_in:has(.amuzin-et-responsive-date) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    body :is(.evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_in:has(.amuzin-et-responsive-date) > .evoet_c2,
    body :is(.evo_pop_body, .eventon_single_event, .evcal_eventcard) .evoet_in:has(.amuzin-et-responsive-date) > .evoet_c3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        float: none !important;
        position: static !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
    }
    body :is(.evo_pop_body, .eventon_single_event, .evcal_eventcard) .amuzin-et-responsive-date > .evo_end.only_time {
        display: none !important;
    }
}

/* Speaker controls keep the existing portrait layout. */
body .amuzin-et-portrait[data-amuzin-speaker] { cursor: pointer; }
body .amuzin-et-portrait[data-amuzin-speaker]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

/* Hide timers only in speaker-profile event listings. */
body .evoss_speaker_info .eventon_list_event .evocd_timer,
body .evoss_speaker_info .eventon_list_event .evo_countdowner {
    display: none !important;
}

body .evoss_speaker_info .amuzin-et-portrait[data-amuzin-speaker],
body .evoss_speaker_info .evospk_img_box,
body .evoss_speaker_info .evoli_speaker_lb_trig {
    cursor: default;
}

/* Stack speaker and location profile event cards on mobile only. */
@media (max-width: 767px) {
body :is(.evoss_speaker_info, .evo_location_card, [class*="evo_location_lb_"], [id^="evo_location_"]) .eventon_list_event .evoet_in:has(.amuzin-et-responsive-date){
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:flex-start!important;gap:12px!important;
}
body :is(.evoss_speaker_info, .evo_location_card, [class*="evo_location_lb_"], [id^="evo_location_"]) .eventon_list_event .evoet_in:has(.amuzin-et-responsive-date) > .evoet_c2,
body :is(.evoss_speaker_info, .evo_location_card, [class*="evo_location_lb_"], [id^="evo_location_"]) .eventon_list_event .evoet_in:has(.amuzin-et-responsive-date) > .evoet_c3{
 flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;
 float:none!important;position:static!important;margin-left:0!important;padding-left:0!important;
 box-sizing:border-box!important;
}
body :is(.evoss_speaker_info, .evo_location_card, [class*="evo_location_lb_"], [id^="evo_location_"]) .eventon_list_event .amuzin-et-portrait-row{
 flex-wrap:nowrap!important;width:100%!important;overflow-x:auto;
}

}

/* Profile lineups remain a single swipeable row; desktop card columns are unchanged. */
body :is(.evoss_speaker_info, .evo_location_card, [class*="evo_location_lb_"], [id^="evo_location_"]) .amuzin-et-portrait-row{
 flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;
 direction:ltr;overscroll-behavior-x:contain;
}
