.agenda-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 400px;

}

.day-selector-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
}

.nav-button {
    border-radius: 50%;
    width: 25px;
    padding: 15px;
    cursor: pointer;
    appearance: none;
    /* background-color: transparent; */
    border: none;
    height: 25px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.nav-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.day-selector {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.day-selector button {
    flex: 1 0 auto;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    background-color: transparent;
    border: none;
    position: relative;
}

.day-selector button.on {
    font-weight: 500;
}
.day-selector button.on::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    transform: translateX(-50%);
    height: 2px;
    background-color: #000;
}

#agenda-content {
    padding-top: 8px;
}

.agenda-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
}

.agenda-wrapper {
    display: grid;
    gap: 16px;
    grid-template-columns: 100%;
    cursor: pointer;
}

.agenda-image{
    width: 100%;
    height: 100px;
}

.agenda-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.agenda-wrapper.with_image {
    display: grid;
    grid-template-columns: 20% 80%;
    gap: 24px;
}

.agenda-wrapper:not(:first-child){
    border-top: 1px solid #ccc;
    padding-top: 16px;
}


#agenda-content li {
    margin-left: 28px;
    position: relative;
    display: flex;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 4px;
}

#agenda-content li:hover::after {
    content: ""; 
    background: var(--event-color);
    display: inline-block;
    width: 100%;
    height: 1px;
    align-items: center;
    margin-right: 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#agenda-content li::before {
    content: ""; 
    background: var(--event-color);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    align-items: center;
    margin-right: 4px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.agenda-item h3 {
    margin: 0;
    font-weight: 500;
    font-size: 18px;
}
.agenda-item .desc {
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.agenda-item .name {
    white-space: nowrap;
    font-weight: 500;
}
.agenda-item .separator {
    margin: 0;
}
.agenda-item .position {
    margin: 0;
    white-space: nowrap;

}

.agenda-item p {
    margin: 5px 0;
}

.agenda-item .details {
    font-size: 14px;
    display: flex;
    color: #333;
    align-items: center;
    gap: 16px;
}
.agenda-item .session-desc {
    color: #888;
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.agenda-item .details >div{
    display: flex;
    align-items: center;
    gap: 4px;
}
.agenda-item .details i{
    color: var(--event-color);
    font-size: 16px;
}

.agenda-item ul {
    margin-top: 12px;
}


@media screen and (max-width:668px){
    .agenda-image{
        display: none;
    }
    .agenda-wrapper.with_image {
        grid-template-columns: 100%;
    }

    .agenda-container {
        padding: 0;
        min-height: auto;
    }

    #agenda-content li {
        display: block;
    }

    #agenda-content li::before {
        top: 6px;
        transform: none;
    }
    .agenda-item .separator {
        display: none;
    }
    .agenda-item .position {
       width: 100%;
       display: block;
       white-space: inherit;
    }
    .agenda-item .desc {
        display: block;
    }

    #modal-speaker-info .sessions-wrapper .session-card h3{
        text-align: left;
    }

    #modal-speaker-info .sessions-wrapper .session-card{
        min-height: auto;
    }

}
