.speaker-flex-row {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.speaker-box {
    position: relative;
    max-width: 170px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.speaker-flex-row .speaker {
    /* min-height: 200px; */
    overflow: hidden;
    /* border-radius: 0px 20px 0px 40px; */
    background-color: rgb(226, 227, 226, 1);
}

.speaker-flex-row .speaker img {
    width: 100%;
    /* filter: saturate(0); */
}

.speaker-flex-row .speaker .participating-company {
    display: none;
    background: #fff;
    padding: 8px;
    width: 65px;
    position: absolute;
    bottom: 4px;
    right: 4px;
    border-radius: 6px;
}

.speaker-flex-row .speaker-bio {
    display: none;
}

/* .speaker-flex-row center {
    display: flex;
    justify-content: center;
    overflow: hidden;
} */
.ts-speaker-info .ts-speaker-name {
    margin: 6px 0px 2px;
    color: #50555F;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.ts-speaker-info .ts-speaker-designation {
    line-height: normal;
    margin: 0px;
    color: #8D8F95;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.ts-speaker-info .ts-speaker-designation b {
    margin-top: 16px;
    color: #8D8F95;
    font-family: 'MesseUnivers-Regular', 'Roboto';
}

.role-label {
    border-radius: 3px;
    background: #FFD46D;
    padding: 0px 8px;
    margin: 5px 0px;
    color: #58461B;
    font-weight: normal;
    position: absolute;
    top: 0px;
    left: 6px;
    font-size: 13px;
    font-family: 'MesseUnivers-Regular', 'Roboto';
}

.section-para .bold {
    margin: 16px 0px 8px;
    font-weight: 700;
    color: rgb(48, 48, 48);
}

.section-para p {
    font-size: 16.5px;
    font-weight: 300;
    color: #50565f;
}

.read-more-btn {
    font-family: 'MesseUnivers-Regular', 'Roboto';
    font-size: 14px;
    margin-top: 0px;
    padding: 4px 0px;
    border: none;
    background: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0px 12px;
}

.bio-text {
    font-size: 12.5px;
    line-height: 20px;
    transition: max-height 0.9s ease, opacity 0.9s ease;
    overflow: hidden;
    display: block;
    margin: 0px;
    font-family: 'MesseUnivers-Regular', 'Roboto';
    color: var(--text);
    padding: 0px 12px;
}

.bio-text.is-short {
    max-height: 60px;
    opacity: 0.8;
}

.bio-text:not(.is-short) {
    max-height: 500px;
    opacity: 1;
}

.speaker-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 45px;
}

.speaker-tab {
    padding: 10px 60px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #7b7b7d;
    border-bottom: 1px solid #A7AAB1;
}

.speaker-tab.active {
    background: none;
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

/* 🔥 CLICKABLE FEEL */
.speaker-box {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.speaker-box:hover {
    transform: translateY(-5px);
}

/* 🔥 INFO ICON */
.speaker {
    position: relative;
}

.info-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-100);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔥 MODAL BASE */
.speaker-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

/* 🔥 MODAL CARD */
.modal-content {
    position: relative;
    max-width: 600px;
    margin: 5% auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
}

.modal-content .company-details {
    gap: 16px;
    display: flex;
    align-items: flex-end;
}

/* 🔥 TOP SECTION */
.modal-top {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.modal-top img {
    width: 140px;
    border-radius: 12px;
}

.modal-top h2 {
    font-family: 'Roboto', sans-serif;
    color: var(--Sekundärschwarz);
    margin: 0;
}

.designation {
    color: #666;
    font-size: 14px;
}

.company {
    font-weight: bold;
    margin: 0px;
    color: var(--Sekundärschwarz);
}

/* 🔥 BODY */
.modal-body {
    margin-top: 20px;
}

.bio {
    color: #444;
    line-height: 1.5;
}

/* 🔥 SESSION CARDS */
.sessions {
    margin-top: 20px;
}

.session-card {
    display: flex;
    justify-content: space-between;
    padding: 14px;
    border-radius: 10px;
    background: #f7f7f7;
    margin-top: 10px;
}

.session-type {
    font-size: 11px;
    color: #888;
}

.session-card h4 {
    margin: 5px 0;
    font-weight: 400;
    font-size: 16px;
    color: var(--text);
}

/* 🔥 CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-content .company-details .modal-speaker-company {
    height: 45px;
    border-radius: 0 !important;
    width: auto;
}

/* Mobile Device */
@media (max-width : 479px) {
    .modal-content {
        max-width: 90%;
    }

    .speaker-tab {
        padding: 0px;
        font-size: 14px;
    }

    .speaker-box {
        width: 137px;
    }

    .speaker-flex-row .speaker {
        min-height: 137px;
    }

    .modal-top {
        flex-direction: column;
        align-items: flex-start;
    }
}