section.speakers-banner-section {
    position: relative;
    /* display: flex; */
}
.indv-course-container {
    margin-top: 4%;
}


.live-recorded-session {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  margin: 20px auto; /* center on page */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.session-tab {
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  background-color: transparent;
  color: white;
  transition: background-color 0.3s ease;
  background-color: #C12033;
    font-family: Montserrat;
    font-weight: 500;
    border-radius: 0 10px 10px 0px;
    font-size: 24px;
    line-height: 100%;
    margin-left: -10px;
  flex: 1;
}

.session-tab.active {
    background-color: #202F64;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 24px;
    z-index: 9;
    line-height: 100%;
    border-radius: 10px;
}

.speakers-banner-header {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speakers-banner-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #FFFFFF;

}

.speakers-banner-header p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
}

.speakers-search-bar {
    display: flex;
    justify-content: center;
    /* margin-top: 30px; */
}

.speakers-search-bar {
    position: absolute;
    bottom: -12%;
    left: 50%;
    transform: translate(-50%, -0%);
    background: #F0F3FF;
    display: flex;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 10px;
    padding: 34px 36px;
}

form.speaker-search-form {
    display: flex;
    gap: 40px;
    margin-block-end: 0;
}

.speaker-search-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #202F64;
    border-radius: 8px;
    padding: 0 12px;
    height: 52px;
    width: 600px;
    box-sizing: border-box;
}

.speaker-search-input-wrapper input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    background: transparent;
}

.search-icon {
    color: #94a3b8;
    margin-left: 8px;
    font-size: 18px;
}

.speaker-search-button {
    background-color: #202F64;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: bottom;
}

.speaker-content-list {
    margin-block-start: 122px;
    margin-block-end: 85px;
    margin-inline: 55px;
}

.speaker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 65px;
    column-gap: 28px;
}

.speaker-grid-individual {
    background: #FFFFFF;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
}

.speaker-grid-individual img.responsiveImg {
    border-radius: 8px;
}

.speaker-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block-start: 16px;
}

.speaker-details h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    vertical-align: bottom;
    color: #1B1D1F;

}

.speaker-details p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    vertical-align: bottom;
    text-align: center;
    color: #6D737A;
    margin-bottom: 16px;
}

/* Individual Styles */

.speakerDetailContainer {
    padding: 55px;
}

.speaker-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

img.speaker-indv-img {
    width: 32%;
    border-radius: 50%;
    aspect-ratio: 1;
}

.speaker-indv-name {
    display: flex;
    flex-direction: column;
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    color: #334155;
}

.speaker-indv-name span {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 32px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #0F172A;

}

.speaker-name-img {
    display: flex;
    align-items: center;
    gap: 30px;
}

.speaker-description {
    margin: 32px 0px;
    max-height: 320px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    line-height: 33px;
}

.speaker-description.expanded {
    max-height: none; /* or use 'none' if you prefer no limit */
}

.read-more-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}
.speaker-description div{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 33px;
    color: #121416;

} 

.read-more-link {
    display: inline-block;
    margin-top: 10px;
    color: #202F64;
    text-decoration: underline;
    cursor: pointer;
    font-family: Roboto;
    font-weight: 600;
    font-size: 20px;
    line-height: 33px;
    letter-spacing: 0%;
    text-transform: uppercase;

}
.no-description {
  font-style: italic;
  color: #777;
}
.title-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.underline-span {
    position: relative;
    display: inline-block;
}

.curve-underline {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 10px;
}

h2.header-32 {
    font-weight: 600;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: capitalize;
}

span.underline-span {
    color: #202F64;
}
.linkedin-mobile {
  display: none;
}


@media(max-width: 998px){
    form.speaker-search-form{
        gap: 20px;
    }
    .speakers-search-bar{
        width:95%;
        bottom: -30%;
    }
    .speaker-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
        column-gap: 18px;
    }
}



@media (max-width: 768px) {
    .speaker-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 32px;
}
.speaker-content-list {
    margin-block-start: 29%;
    margin-block-end: 16%;
    margin-inline: 4%;
}
.speaker-grid-individual {
    padding: 16px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
    .speakerDetailContainer {
    padding: 16px !important;
}
.speaker-indv-name span{
    font-family: Montserrat;
    font-weight: 600;
    font-size: 22px;
}
.speaker-indv-name{
font-family: Roboto;
font-weight: 400;
font-size: 12px;
}
.speaker-name-img {
    gap: 16px;
}
  .linkedin-mobile {
    display: block;
    width: 100px;
 
  }

  /* Hide desktop version on mobile */
  .linked-in-desktop {
    display: none !important;
  }
      .linkedin-mobile svg{
      width: 100px;
      height: 32%;
      }
      h2.header-32 {
    margin-top: 16px;
}
#showRecorded{
font-weight: 500;
font-size: 16px;
}
#showLive{
font-weight: 500;
font-size: 16px;
}
h2.header-32 {
font-family: Montserrat;
font-weight: 500;
font-size: 24px;
}
.speakers-banner-header h2 {
    font-size: 28px;
}

.speakers-banner-header p {
    font-size: 14px;
    margin: 0;
}

.speakers-banner-header {
    width: 90%;
}

.speakers-search-bar {
    bottom: -60%;
    padding: 16px;
    margin-block: 15px;
}
form.speaker-search-form {
    display: flex;
    gap: 9px;
    flex-direction: column;
}
.speaker-search-input-wrapper {
    padding: -1px 13px;
    height: 52px;
    width: 312px;
    
}
.speaker-search-input-wrapper input {
    padding: 10px;

}
.speaker-search-button {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    justify-content: center;
    font-size: 16px;

}

}