/* ===== FEATURED SPEAKER STYLES ===== */
.featured-speaker-container {
  color: white;
  font-family: 'poppins', Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.featured-speaker-container > * {
  position: relative;
  z-index: 2;
}

.featured-event-header {
  text-align: left;
  margin-bottom: 2em;
}

.featured-event-title {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 2.5em !important;
    color: #ffe600 !important;
    letter-spacing: 0em;
    line-height: 1.2em;
}

.featured-event-details {
  font-size: 1.4em;
  line-height: 1.5;
  color: white;
  font-weight: 300;
}

.featured-event-date {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 20px !important;
    color: #fff !important;
    line-height: 1.6em;
    margin-bottom: 15px;
}

.featured-event-location, .featured-event-address {
  margin-bottom: 0.3em;
  font-size: 18px
}

.featured-speaker-content {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  margin-top: 2.5em;
}

.featured-speaker-photo {
  flex-shrink: 0;
  width: 300px;
}

.featured-speaker-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin-bottom: 20px;
}

.featured-speaker-details {
  flex: 1;
  min-width: 0;
}

.featured-speaker-name {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 48px !important;
    color: #ffe600 !important;
    letter-spacing: 0em;
}

.featured-speaker-position {
  font-size: 1.3em;
  color: white;
  margin-bottom: 1.5em;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.4;
}

.featured-speaker-topic {
    font-size: 36px !important;
    color: #FFFFFF !important;
    line-height: 1.4em;
}

.featured-speaker-description {
  font-size: 1em;
  line-height: 1.6;
  color: white;
  opacity: 0.95;
  font-weight: 300;
  margin-top: 1em;
}

.featured-speaker-description p {
  margin-bottom: 1em;
}

.featured-speaker-description p:last-child {
  margin-bottom: 0;
}

/* ===== UPCOMING SPEAKERS STYLES ===== */
.upcoming-speakers-container {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  padding: 1em 0;
}

.upcoming-speaker-card {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  padding: 0;
  background: white;
}

.upcoming-speaker-photo {
  flex-shrink: 0;
  width: 300px;
}

.upcoming-speaker-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.upcoming-speaker-details {
  flex: 1;
  min-width: 0;
}

.upcoming-speaker-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #2c9999;
  margin-bottom: 0.3em;
  line-height: 1.2;
}

.upcoming-speaker-date {
  font-size: 1em;
  color: #888;
  margin-bottom: 0.5em;
  font-weight: normal;
}

.upcoming-speaker-position {
  font-size: 1em;
  color: #333;
  margin-bottom: 0.8em;
  font-weight: normal;
  line-height: 1.3;
}

.upcoming-speaker-topic {
  font-size: 1.3em;
  font-weight: bold;
  color: #333;
  margin-bottom: 1em;
  line-height: 1.3;
}

.upcoming-speaker-description {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 0;
}

.upcoming-speaker-description p {
  margin-bottom: 1em;
}

.upcoming-speaker-description p:last-child {
  margin-bottom: 0;
}

/* ===== SPEAKER DETAIL LAYOUT ===== */
.speaker-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  align-items: flex-start;
  padding: 2em 0;
}

.speaker-detail {
  padding: 3em;
  background: #00816f;
  color: white;
  font-family: 'Poppins','Helvetica', sans-serif;
}

.speaker-info {
  flex: 1 1 55%;
  min-width: 300px;
}

.speaker-meta-row {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}

.speaker-headshot img {
  max-width: 200px;
  border-radius: 4px;
  display: block;
}

.speaker-text {
  flex: 1;
}

.speaker-meta {
  font-weight: bold;
  margin-top: 1em;
}

.speaker-date {
  font-size: 0.95em;
  margin-bottom: 0.5em;
}

.speaker-title {
  font-size: 2.4em;
  color: #FFD700;
  font-weight: 900;
  margin: 0.5em 0 0.2em 0;
}

.speaker-subtitle {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.speaker-topic-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #FFD700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.speaker-description {
  font-size: 1.05em;
  line-height: 1.6;
}

.speaker-video {
  flex: 1 1 40%;
  min-width: 300px;
}

/* ===== VIDEO NAVIGATION STYLES ===== */
.speaker-video-nav {
  display: flex;
  align-items: center;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  gap: 0.5em;
}

.video-nav-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.1em;
  font-weight: 500;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
  font-family: inherit;
}

.video-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFD700;
}

.video-nav-btn.active {
  color: #FFD700;
  background-color: rgba(255, 215, 0, 0.2);
}

.video-nav-separator {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.3em;
}

.speaker-video-container {
  position: relative;
}

.speaker-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.speaker-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== SPEAKER TABLE STYLES ===== */
.speakers-overview {
  overflow-x: auto;
}

.speakers-table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
}

.speakers-th {
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #ccc;
}

.speakers-tr {
  border-bottom: 1px solid #ddd;
}

.speakers-td {
  padding: 10px;
}

.speakers-link {
  color: #007c91;
  font-weight: bold;
  text-decoration: none;
}

/* ===== ADMIN STYLES ===== */
.speaker-video-section {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 10px 0;
  background: #f9f9f9;
}

.speaker-video-section h4 {
  margin-top: 0;
  color: #333;
}

.speaker-admin-section {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.speaker-admin-section label {
  font-weight: 600;
  color: #333;
}

.speaker-media-section {
  background: #f0f8ff;
  border: 1px solid #c3d9ff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Mobile responsive for tables */
@media (max-width: 768px) {
  .speakers-overview .speakers-table thead {
    display: none;
  }

  .speakers-table {
    border: 0px !important;
  }

  .speakers-overview .speakers-table,
  .speakers-overview .speakers-table tbody,
  .speakers-overview .speakers-table tr,
  .speakers-overview .speakers-table td {
    display: block;
    width: 100%;
  }

  .speakers-overview .speakers-table tr {
    margin-bottom: 1em;
    border: 1px solid #ccc;
    padding: 0.5em;
  }

  .speakers-overview .speakers-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3em;
  }

  /* Mobile responsive for video navigation */
  .speaker-video-nav {
    justify-content: center;
    text-align: center;
  }

  .video-nav-btn {
    font-size: 1em;
    padding: 0.4em 0.8em;
  }

  /* Mobile responsive for upcoming speakers */
  .upcoming-speaker-card {
    flex-direction: column;
    gap: 1em;
  }

  .upcoming-speaker-photo {
    width: 100%;
    max-width: 200px;
    align-self: center;
  }

  .upcoming-speaker-name {
    font-size: 1.3em;
  }

  .upcoming-speaker-topic {
    font-size: 1.2em;
  }

  /* Mobile Responsive for Featured Speaker */
  .featured-speaker-container {
    padding: 2em 1.5em;
  }
  
  .featured-event-title {
    font-size: 2.2em;
    margin-bottom: 0.5em;
  }
  
  .featured-event-details {
    font-size: 1.2em;
    margin-bottom: 2em;
  }
  
  .featured-event-date {
    font-size: 1.2em;
  }
  
  .featured-speaker-content {
    flex-direction: column;
    gap: 1.5em;
    margin-top: 1.5em;
  }
  
  .featured-speaker-photo {
    width: 100%;
    max-width: 250px;
    align-self: center;
  }
  
  .featured-speaker-name {
    font-size: 3em;
    text-align: center;
    margin-bottom: 0.3em;
  }
  
  .featured-speaker-position {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 1em;
  }
  
  .featured-speaker-topic {
    font-size: 1.8em;
    text-align: center;
    margin: 0 0 1em 0;
  }
  
  .featured-speaker-description {
    font-size: 1em;
    text-align: left;
  }

  .speaker-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .speaker-headshot {
    order: -1;
    margin-bottom: 0em;
  }

  .speaker-headshot img {
    max-width: 300px;
    margin: 0 auto;
  }

  .speaker-meta-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .speaker-info {
    text-align: center;
  }

  .speaker-title,
  .speaker-subtitle,
  .speaker-meta,
  .speaker-date {
    text-align: center;
  }

  .speaker-text {
    text-align: left;
  }

  .speaker-subtitle {margin-bottom: 0;}
}

@media (max-width: 480px) {
  .featured-speaker-container {
    padding: 1.5em 1em;
  }
  
  .featured-event-title {
    font-size: 1.8em;
  }
  
  .featured-speaker-name {
    font-size: 2.2em;
  }
  
  .featured-speaker-topic {
    font-size: 1.4em;
  }
}