/* Webinar Archive Styles */
.webinarsWrapper {
  padding: 80px 0;
}

.webinarsWrapper__filter {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.webinarsWrapper__filter__dropdown select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 20px;
  color: white;
  font-size: 16px;
  min-width: 200px;
  cursor: pointer;
}

.webinarsWrapper__filter__dropdown select option {
  background: #1a1a1a;
  color: white;
}

/* Webinar Item Enhancements */
.webinar__item .eventsWrapper__item__image {
  position: relative;
  overflow: hidden;
}

.webinar__play--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.webinar__item:hover .webinar__play--overlay {
  opacity: 1;
}

.webinar__play--button {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.webinar__play--button:hover {
  background: white;
  transform: scale(1.1);
}

.webinar__duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Single Webinar Styles */
.webinarSingle {
  padding: 40px 0 80px;
}

.webinarSingle__header {
  text-align: center;
  margin-bottom: 60px;
}

.webinarSingle__breadcrumbs {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.webinarSingle__breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.webinarSingle__breadcrumbs a:hover {
  color: white;
}

.webinarSingle__breadcrumbs span {
  margin: 0 8px;
}

.webinarSingle h1 {
  color: white;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.webinarSingle__header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.webinarSingle__content {
  max-width: 1000px;
  margin: 0 auto;
}

.webinarSingle__video {
  margin-bottom: 60px;
}

.webinar__video__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: #000;
}

.webinar__video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: none;
}

/* YouTube specific styling */
.youtube-embed {
  border-radius: 12px !important;
}

/* Responsive video handling */
.responsive-video {
  max-width: 100%;
  height: auto;
}

/* Generic video embed fallback */
.generic-video-embed {
  border-radius: 12px;
  border: none;
}

.webinar__video__placeholder {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.webinar__video__placeholder img {
  max-width: 300px;
  margin-bottom: 20px;
  opacity: 0.7;
  border-radius: 8px;
}

.placeholder__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.placeholder__overlay:hover {
  background: rgba(0, 0, 0, 0.6);
}

.placeholder__play {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.placeholder__overlay:hover .placeholder__play {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.webinar__video__placeholder p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  z-index: 1;
}

/* Speakers Section */
.webinarSingle__speakers {
  margin-bottom: 80px;
}

.webinarSingle__speakers h2 {
  color: white;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

.speakers__list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.speaker__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  min-width: 250px;
  transition: all 0.3s ease;
}

.speaker__item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.speaker__image {
  flex-shrink: 0;
}

.speaker__image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.speaker__info h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.speaker__info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

/* Related Webinars Section */
.relatedWebinars {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.relatedWebinars__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.relatedWebinars__header h2 {
  color: white;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.relatedWebinars__back {
  text-align: center;
  margin-top: 60px;
}

.backToLibrary__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.backToLibrary__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  text-decoration: none;
  color: white;
}

/* Gated Content Styles */
.gatedWebinar {
  padding: 80px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.gatedWebinar__content {
  display: flex;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.gatedWebinar__left {
  flex: 1;
  max-width: 600px;
}

.gatedWebinar__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin-bottom: 24px;
}

.gatedWebinar__badge span {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.gatedWebinar h1 {
  font-size: 48px;
  font-weight: bold;
  color: white;
  line-height: 1.2;
  margin-bottom: 32px;
}

.gatedWebinar__description p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.gatedWebinar__right {
  flex: 0 0 400px;
}

.gatedWebinar__form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gatedWebinar__form__header h2 {
  color: #1a1a1a;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.recaptcha-group {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.submit-group {
  margin-top: 32px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-errors {
  background: #ffebee;
  border: 1px solid #f44336;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.form-errors .error {
  color: #d32f2f;
  margin: 0;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .gatedWebinar__content {
    gap: 40px;
  }

  .relatedWebinars__header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .gatedWebinar__content {
    flex-direction: column;
    gap: 40px;
  }

  .gatedWebinar__right {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .gatedWebinar h1,
  .webinarSingle h1 {
    font-size: 36px;
  }

  .speakers__list {
    flex-direction: column;
    align-items: center;
  }

  .speaker__item {
    max-width: 300px;
    width: 100%;
  }

  .webinarsWrapper__filter__dropdown select {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .gatedWebinar h1,
  .webinarSingle h1 {
    font-size: 28px;
  }

  .gatedWebinar__form {
    padding: 24px 20px;
  }

  .webinarSingle__speakers h2,
  .relatedWebinars__header h2 {
    font-size: 24px;
  }
}
