.custom-speaker-section {
  background-size: cover;
  background-position: center;
  padding: 60px 30px;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
}

.custom-speaker-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
	color:#fff;
}

.custom-speaker-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.logo-wrapper .logo-img {
  max-height: 80px;
  width: auto;
}

/* Main Speaker */
.custom-speaker-section .main-speaker {
  flex: 1;
  max-width: 280px;
  text-align: center;
  margin-bottom: 30px;
}

.custom-speaker-section .main-speaker img {
  width: 100%;
  max-width: 240px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.custom-speaker-section .main-speaker h3 {
  margin-top: 15px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
	margin-bottom:2px !important;
}

.custom-speaker-section .main-speaker .speaker-meta {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.custom-speaker-section .main-speaker .speaker-meta .main-role {
  color: #ffffff;
  font-weight: bold;
  display: block;
}

.custom-speaker-section .main-speaker .speaker-meta .main-designation {
  color: #ffd700;
  display: block;
}

.custom-speaker-section .main-speaker .speaker-meta .main-company {
  color: #ffffff;
  display: block;
}

.custom-speaker-section .main-speaker .speaker-meta .main-slot {
  color: #ffd700;
  display: block;
}

/* Speaker Grid */
.custom-speaker-section .grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  width: 100%;
}

.custom-speaker-section .speaker {
  text-align: center;
  margin-bottom: 20px;
}

.custom-speaker-section .speaker img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  background-color: #1a1a2e;
}

.custom-speaker-section .speaker-meta {
  font-size: 14px;
  line-height: 1.5;
}

.custom-speaker-section .speaker-meta .speaker-name {
  font-weight: bold;
  color: #ffffff;
  display: block;
}

.custom-speaker-section .speaker-meta .speaker-designation {
  color: #ffd700;
  display: block;
}

.custom-speaker-section .speaker-meta .speaker-company {
  color: #ffffff;
  display: block;
}

.custom-speaker-section .speaker-meta .speaker-slot {
  color: #ffd700;
  display: block;
 font-size: 11px;
}

@media (max-width: 768px) {
  .custom-speaker-section {
    padding: 40px 15px;
  }

  .custom-speaker-section .main-speaker {
    max-width: 100%;
  }

  .custom-speaker-section .main-speaker img {
    max-width: 180px;
  }

  .custom-speaker-section .grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }

  .custom-speaker-section .speaker img {
    width: 80px;
    height: 80px;
  }

  .custom-speaker-section h2 {
    font-size: 24px;
  }

  .custom-speaker-section p {
    font-size: 16px;
  }
}
.custom-speaker-section .speaker-img-wrapper {
  width: 100px;
  height: 100px;
  background-color: #1a1a2e; /* Customize as needed */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.custom-speaker-section .speaker-img-wrapper img.speaker-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
}

.custom-speaker-section .placeholder-img {
  width: 100%;
  height: 100%;
  background-color: #ccc;
  border-radius: 50%;
}