/* Agenda Slot Custom Styling */

.agenda-card-541716f0 {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100% !important; /* Forces 100% container width */
    max-width: 100% !important;
}

.agenda-time-541716f0 {
    display: flex;
    align-items: center;
    line-height: 1;
}

.agenda-time-icon-541716f0 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agenda-time-icon-541716f0 svg {
    display: block;
}

.agenda-title-541716f0 {
    margin-top: 0;
    font-weight: 700;
}

.agenda-label-wrapper-541716f0 {
    margin-bottom: 10px;
}

.agenda-label-541716f0 {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 4px;
}

.agenda-desc-541716f0 p:last-child {
    margin-bottom: 0;
}

/* Group headings spacing */
.agenda-group-541716f0 {
    margin-top: 20px;
}
.agenda-group-541716f0:first-of-type {
    margin-top: 10px;
}

/* Speaker Grid */
.agenda-grid-541716f0 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr); /* Desktop Default */
    align-items: center !important; /* Vertically align all grid cells in the row center */
}

/* Speaker Item */
.speaker-item-541716f0 {
    display: block;
    text-decoration: none !important;
}

.speaker-item-linkable-541716f0 {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.speaker-item-linkable-541716f0:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.speaker-item-linkable-541716f0:focus-visible {
    outline: 2px solid #00f0ff;
    outline-offset: 4px;
    border-radius: 8px;
}

.speaker-inner-541716f0 {
    display: flex;
    align-items: center !important; /* Center aligns image and detail text container */
}

/* Speaker Image */
.speaker-img-541716f0 {
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.speaker-img-placeholder-541716f0 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 24px;
}

/* Speaker details wrapper */
.speaker-details-541716f0 {
    flex-grow: 1;
    min-width: 0; /* Prevents overflow */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center labels vertically inside text box */
}

.speaker-name-541716f0 {
    font-weight: 700;
    margin-bottom: 4px;
}

.speaker-name-link-541716f0 {
    color: inherit;
    text-decoration: none;
}

.speaker-name-link-541716f0:focus-visible {
    outline: 2px solid #00f0ff;
    outline-offset: 2px;
}

.speaker-position-541716f0,
.speaker-org-541716f0 {
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Responsive grid overrides for tablet & mobile */
@media (max-width: 1024px) {
    /* Tablet default - 2 speakers per row */
    .agenda-grid-541716f0 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    /* Force 1 column on Mobile */
    .agenda-grid-541716f0 {
        grid-template-columns: 1fr !important;
    }
    
    /* Keep horizontal photo layout on mobile if sufficient space */
    .speaker-inner-541716f0 {
        flex-direction: row !important;
        align-items: center !important;
    }
}
