.event-accordion-item {
    background-color: #FFF;
    border-radius: 20px;
    padding: 40px 52px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.event-accordion-item:hover {
    background-color: #2ED9E3;
}

.event-accordion-item.active {
    background-color: #FFF;
}

.event-accordion-header {
    display: grid;
    grid-template-columns: 112px 1fr 15px;
    grid-gap: 20px 20px;
}

.event-accordion-header:after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='12' viewBox='0 0 15 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 11.25L15 0L9.83506e-07 -1.31134e-06L7.5 11.25Z' fill='%230F143C'/%3E%3C/svg%3E%0A");
    width: 15px;
    height: 12px;
    margin-top: 5px;
    transition: all 0.3s linear;
    transform: rotate(0deg);
}

.event-accordion-item.active .event-accordion-header:after {
    transform: rotate(180deg);
}

.event-accordion-header h4,
.event-accordion-header h3 {
    margin: 0;
}

.event-accordion-content {
    margin-top: 40px;
    cursor: initial;
}

.event-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.event-speakers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 20px 20px;
}

.event-speakers .item-container {
    max-width: 180px;
    width: 100%;
}

.event-type {
    margin: 0;
    padding: 0 10px;
    max-width: fit-content;
}

.event-type.keynote {
    background-color: #FFC327;
}

.event-type.seminar {
    background-color: #2ED9E3;
}

.event-type.award {
    background-color: #F2F2F2;
}

.event-speakers img {
    border-radius: 20px;
    height: 180px;
    object-fit: cover;
}

.event-speakers .item {
    cursor: pointer;
}

.event-speakers .item:hover p {
    color: #0064DC;
}

.event-speakers .item p {
    margin: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-decoration-line: underline;
    padding: 10px 0;
    margin-top: 10px;
    transition: all 0.3s linear;
}

.popup-content {
    position: fixed;
    background-color: #0F143C;
    padding: 80px 74px;
    top: 0;
    right: -656px;
    transform: translateX(100%);
    z-index: 999999999;
    height: 100%;
    max-width: 656px;
    width: 100%;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
    cursor: default;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: baseline;
    color: #FFF;
}

.popup-content.active {
    transform: translateX(0%);
    right: 0;
    opacity: 1;
    visibility: visible;
}

.speaker-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s linear;
    background-color: rgb(15 20 60 / 55%);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999999;
    cursor: default;
}

.speaker-overlay.active {
    opacity: 1;
    visibility: visible;
}

.speaker-close {
    background-image: url("data:image/svg+xml,%3Csvg width='35' height='35' viewBox='0 0 35 35' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25.8464 12.8756L20.4928 18.2292L25.8464 23.5827L23.179 26.25L17.8255 20.8965L12.472 26.25L9.80469 23.5827L15.1582 18.2292L9.80469 12.8756L12.472 10.2083L17.8255 15.5619L23.179 10.2083L25.8464 12.8756Z' fill='white'/%3E%3C/svg%3E%0A");
    height: 35px;
    width: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    position: absolute;
    top: 19px;
    left: 19px;
}

.popup-content h3 {
    margin: 0 0 -40px 0;
}

.popup-content .speaker-sessions-container a {
    color: #FFF;
    text-decoration: underline;
    font-size: 22px;
    line-height: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    display: inline-block;
}

.popup-content .speaker-sessions-container .date {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0px;
    text-align: left;
}

.popup-content .agenda-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: center;
    color: #0F143C;
    padding: 19px 20px;
    border-radius: 30px;
    background-color: #FFC327;
    transition: all 0.2s linear;
    text-decoration: none;
}

.popup-content .agenda-link:hover {
    background-color: #2ED9E3;
}

.popup-content h6 {
    margin: 0 0 -40px 0;
}

.popup-content .speaker-sessions-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.add-to-calendar {
    color: #0F143C;
    font-size: 16px;
    font-style: normal;
    line-height: 100%;
    text-decoration: underline !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: fit-content;
}

.add-to-calendar:hover:before {
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%232ED9E3'/%3E%3Cpath d='M12.2002 15.2H13.8002V16.8H12.2002V15.2ZM12.2002 18.4H13.8002V20H12.2002V18.4ZM15.4002 15.2H17.0002V16.8H15.4002V15.2ZM15.4002 18.4H17.0002V20H15.4002V18.4ZM18.6002 15.2H20.2002V16.8H18.6002V15.2ZM18.6002 18.4H20.2002V20H18.6002V18.4Z' fill='%230F143C'/%3E%3Cpath d='M10.6 24H21.8C22.6824 24 23.4 23.2824 23.4 22.4V11.2C23.4 10.3176 22.6824 9.6 21.8 9.6H20.2V8H18.6V9.6H13.8V8H12.2V9.6H10.6C9.7176 9.6 9 10.3176 9 11.2V22.4C9 23.2824 9.7176 24 10.6 24ZM21.8 12.8L21.8008 22.4H10.6V12.8H21.8Z' fill='%230F143C'/%3E%3C/svg%3E%0A");
}

.add-to-calendar:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23FFC327'/%3E%3Cpath d='M12.2002 15.2H13.8002V16.8H12.2002V15.2ZM12.2002 18.4H13.8002V20H12.2002V18.4ZM15.4002 15.2H17.0002V16.8H15.4002V15.2ZM15.4002 18.4H17.0002V20H15.4002V18.4ZM18.6002 15.2H20.2002V16.8H18.6002V15.2ZM18.6002 18.4H20.2002V20H18.6002V18.4Z' fill='%230F143C'/%3E%3Cpath d='M10.6 24H21.8C22.6824 24 23.4 23.2824 23.4 22.4V11.2C23.4 10.3176 22.6824 9.6 21.8 9.6H20.2V8H18.6V9.6H13.8V8H12.2V9.6H10.6C9.7176 9.6 9 10.3176 9 11.2V22.4C9 23.2824 9.7176 24 10.6 24ZM21.8 12.8L21.8008 22.4H10.6V12.8H21.8Z' fill='%230F143C'/%3E%3C/svg%3E%0A");
    width: 32px;
    height: 32px;
    display: block;
    transition: all 0.3s linear;
}

@media screen and (max-width: 767px) {
    body .event-accordion-header {
        grid-template-columns: 1fr 20px;
        grid-gap: 40px 40px;
    }

    body .event-accordion-header h4 {
        grid-area: 1 / 1 / 2 / 2;
    }

    body .event-accordion-header:after {
        grid-area: 1 / 2 / 2 / 3;
        justify-self: end;
    }

    body .event-accordion-header .event-accordion-header-name {
        grid-area: 2 / 1 / 3 / 3;
        font-size: 20px;
        position: relative;
    }

    body .event-accordion-header .event-accordion-header-name:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #F2F2F2;
        top: -20px;
        left: 0;
    }

    body .event-accordion-item {
        padding: 20px;
    }

    body .event-accordion-header:after {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13L14 7L6 7L10 13Z' fill='%230F143C'/%3E%3C/svg%3E%0A");
        width: 20px;
        height: 20px;
        margin-top: 5px;
    }
}


