
/* ==========================================
   EMPOWERHUB - EXPO PROGRAM POPUP
========================================== */

:root {
    --eh-coral: #fe3053;
    --eh-turquoise: #0097b2;
    --eh-dark: #202735;
    --eh-light: #f7f8fa;
}

/* PULSANTE APERTURA */

.eh-expo-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    background: var(--eh-coral);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.eh-expo-trigger:hover {
    background: var(--eh-turquoise);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

/* POPUP */

.eh-expo-modal {
    width: min(920px, calc(100% - 30px));
    max-width: 920px;
    max-height: 90vh;
    padding: 0;
    border: none;
    border-radius: 24px;
    background: #fff;
    color: var(--eh-dark);
    box-shadow: 0 25px 90px rgba(0,0,0,.25);
    overflow: hidden;
}

.eh-expo-modal[open] {
    animation: ehExpoAppear .3s ease;
}

.eh-expo-modal::backdrop {
    background: rgba(18, 25, 38, .78);
    backdrop-filter: blur(5px);
}

@keyframes ehExpoAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.eh-expo-container {
    max-height: 90vh;
    overflow-y: auto;
    padding: 45px;
    position: relative;
    scroll-behavior: smooth;
}

/* CHIUSURA */

.eh-expo-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f1f2f4;
    color: var(--eh-dark);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: .25s;
}

.eh-expo-close:hover {
    background: var(--eh-coral);
    color: white;
}

/* HEADER */

.eh-expo-header {
    padding: 10px 0 30px;
    text-align: center;
}

.eh-expo-eyebrow {
    color: var(--eh-coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.eh-expo-header h2 {
    margin: 15px 0;
    color: var(--eh-dark);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
}

.eh-expo-header p {
    max-width: 550px;
    margin: 0 auto 20px;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.eh-expo-location {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 50px;
    background: #e7f7fa;
    color: #007d94;
    font-size: 13px;
    font-weight: 700;
}

/* LEGENDA */

.eh-expo-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 20px 0 30px;
    border-top: 1px solid #eee;
}

.eh-tag {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
}

.eh-tag.wellbeing {
    background: #fff0f2;
    color: #dc2347;
}

.eh-tag.lab {
    background: #fff4e5;
    color: #bd7412;
}

.eh-tag.photo {
    background: #f1edff;
    color: #7251bc;
}

.eh-tag.talk {
    background: #e6f7fa;
    color: #00869f;
}

.eh-tag.show {
    background: #202735;
    color: #fff;
}

/* GIORNATE */

.eh-expo-day {
    padding: 30px 0;
    border-top: 1px solid #e9eaed;
}

.eh-day-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.eh-day-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--eh-coral);
    color: white;
    font-size: 15px;
    font-weight: 800;
}

.eh-day-heading h3 {
    margin: 0;
    color: var(--eh-dark);
    font-size: 29px;
    font-weight: 800;
}

.eh-expo-day > h4 {
    margin: 25px 0 15px;
    color: #737d8d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* GRIGLIA ATTIVITÀ */

.eh-expo-events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* SINGOLA ATTIVITÀ */

.eh-event {
    padding: 19px 20px;
    border-radius: 13px;
    border-left: 4px solid;
    background: var(--eh-light);
    transition: .25s ease;
}

.eh-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,.06);
}

.eh-event-category {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

.eh-event-time {
    margin-bottom: 7px;
    color: var(--eh-dark);
    font-size: 21px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.eh-event h5 {
    margin: 0;
    color: var(--eh-dark);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}

.eh-event p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #606b7b;
}

/* COLORI PER TIPOLOGIA */

/* WELLBEING - CORALLO */

.eh-event.wellbeing {
    border-color: var(--eh-coral);
    background: #fff5f6;
}

.eh-event.wellbeing .eh-event-category {
    color: var(--eh-coral);
}

/* LABORATORI - ARANCIONE */

.eh-event.lab {
    border-color: #e6a23c;
    background: #fffaf1;
}

.eh-event.lab .eh-event-category {
    color: #bd7412;
}

/* FOTOGRAFIA - VIOLA */

.eh-event.photo {
    border-color: #9272d3;
    background: #f8f5ff;
}

.eh-event.photo .eh-event-category {
    color: #7251bc;
}

/* TALK - TURCHESE */

.eh-event.talk {
    margin-top: 10px;
    border-color: var(--eh-turquoise);
    background: #effbfc;
}

.eh-event.talk .eh-event-category {
    color: var(--eh-turquoise);
}

/* SPETTACOLO - BLU SCURO */

.eh-event.show {
    margin-top: 12px;
    border-color: #202735;
    background: #f0f2f6;
}

.eh-event.show .eh-event-category {
    color: #202735;
}

/* FOOTER */

.eh-expo-footer {
    margin-top: 20px;
    padding: 30px 20px;
    border-radius: 18px;
    background: var(--eh-dark);
    color: white;
    text-align: center;
}

.eh-expo-footer strong {
    color: var(--eh-coral);
    font-size: 21px;
    letter-spacing: 2px;
}

.eh-expo-footer p {
    max-width: 520px;
    margin: 13px auto;
    color: #d7dce4;
    font-size: 14px;
    line-height: 1.6;
}

.eh-expo-footer span {
    color: #56c5d5;
    font-size: 14px;
    font-weight: 700;
}

/* SCROLLBAR */

.eh-expo-container::-webkit-scrollbar {
    width: 7px;
}

.eh-expo-container::-webkit-scrollbar-thumb {
    background: #cbd0d8;
    border-radius: 10px;
}

/* TABLET E MOBILE */

@media (max-width: 650px) {

    .eh-expo-modal {
        width: calc(100% - 16px);
        max-height: 94vh;
        border-radius: 18px;
    }

    .eh-expo-container {
        max-height: 94vh;
        padding: 30px 18px;
    }

    .eh-expo-header {
        padding-top: 20px;
    }

    .eh-expo-header h2 {
        font-size: 32px;
    }

    .eh-expo-header p {
        font-size: 14px;
    }

    .eh-expo-legend {
        gap: 6px;
    }

    .eh-tag {
        padding: 7px 10px;
        font-size: 10px;
    }

    .eh-expo-events {
        grid-template-columns: 1fr;
    }

    .eh-day-heading h3 {
        font-size: 25px;
    }

    .eh-event {
        padding: 17px;
    }

    .eh-event-time {
        font-size: 19px;
    }

    .eh-expo-close {
        top: 12px;
        right: 12px;
    }

}
