/* Custom container and grid system */
.tdw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.tdw-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.tdw-col-12, .tdw-col-md-4, .tdw-col-md-8, .tdw-col-md-10 {
  padding: 0 15px;
  box-sizing: border-box;
}
.tdw-col-12 { flex: 0 0 100%; max-width: 100%; }
.tdw-col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.tdw-col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.tdw-col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }

/* Responsive breakpoints */
@media (max-width: 768px) {
  .tdw-col-md-4, .tdw-col-md-8, .tdw-col-md-10 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Hero section */
.tdw-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.tdw-meta {
  font-size: 0.9rem;
  color: #666;
}

/* Ensure wrapper constrains max width */
.tdw-video-wrapper {
  max-width: 1000px;
  margin: auto;
}

/* Make overlay image scale fluidly */
.tdw-video-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive iframe */
.tdw-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

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


/* video frame *
#tdw-vimeo-frame {
  width: 100%;
  height: auto;
  min-height: 250px;
}*/
.tdw-video-embed {
  height: auto !important;
}
/* Video overlay */
.tdw-video-overlay {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  height: auto !important;
}
.tdw-video-overlay img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.tdw-play-btn {
  position: absolute;
  color: #fff;
  background: #ff286e00;
  border: none;
  width: 100%;
  height: 100%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease 0.3s;
}
.tdw-play-btn:hover {
  background: #ff03d80a;
}

/* Speaker cards */
.tdw-speaker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.tdw-speaker-links a:hover, .tdw-speaker-links a:hover span {color: #EE306F;}
.tdw-speaker-card {
  display: flex;
  flex: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  text-align: center;
  height: 100%; cursor: pointer;
}
.tdw-speaker-card:hover {
	box-shadow: 0 0 5px #ededed;
}
tdw-speaker-img, .tdw-speaker-info { flex-grow: 1; }
.tdw-speaker-media img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
.tdw-speaker-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 5px;
}
.tdw-speaker-designation {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}
.tdw-speaker-social a {
  margin: 0 5px;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}
.tdw-speaker-social a:hover {
  text-decoration: underline;
}
.tdw-speaker-emails {
  font-size: 13px;
  color: #444;
}

/* Resources list */
.tdw-resources ul {
  list-style: none;
  padding: 0;
}
.tdw-resources li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.tdw-resources a {
  color: #007bff;
  text-decoration: none;
}
.tdw-resources a:hover {
  text-decoration: underline;
}

/* Related webinars */
.tdw-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}
.tdw-related-card {
  flex: 1 1 calc(33.33% - 20px);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease;
  /*max-width: 33.33%;*/
  justify-content: flex-start;
}
.tdw-related-card:hover {
  transform: translateY(-5px);
}
.tdw-related-card img {
  width: 100%;
  height: auto;
  display: block;
}
.tdw-related-card h3 {
  font-size: 16px; font-weight: 400;
  padding: 10px; color: #EE306F;
  margin: 0;
}
.tdw-related-card:hover h3 { color: #0056b3; }

/* Modal */
#tdw-hubspot-modal, #tdw-transcript-modal {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.tdw-hubspot-content, .tdw-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.tdw-close, #tdw-transcript-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}

.tdw-play-btn svg {
  background: #ff286e;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 20px;
  transition: all ease 0.3s;
}
.tdw-play-btn:hover svg {
	background: #333;
}
.tdw-meta {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 5px 0 12px;
  border-bottom: 1px solid #f0f0f0;
}
.tdw-meta div, .tdw-meta button {
  padding: 4px;
}
.tdw-meta button, .tdw-watch-btn {
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
  transition: all ease 0.3s;
  background: #ff286e;
  padding: 5px 8px;
  line-height: 1.4;
}
.tdw-meta button:hover, .tdw-watch-btn:hover { color: #EE306F; background: #f9f9f9; }
.tdw-description {
  margin-top: 15px !important;
  border-bottom: 1px solid #f0f0f0;
}
.tdw-webinar section {
  margin-top: 20px;
}
.tdw-webinar{
 max-width: 1450px; margin: auto;	
}
.tdw-speaker-links a span {
  font-size: 16	px;
  vertical-align: middle;
}
	.tdw-webinar {
  margin-top: 100px; padding: 10px;
}
.tdw-title {
  text-align: center;
}
.tdw-speaker-links svg.feather {
  width: 16px;
  height: 16px;
}
.tdw-speaker-img {
  width: 120px;
  height: 120px;
  overflow: hidden;
}
.tdw-speaker-img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/*new*/
.tdw-speakers-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  justify-content: space-between;
}

.tdw-speakers {
  order: 2;
  flex: 0 0 35%;
  max-width: 35%;
}

.tdw-resources {
  order: 1;
  flex: 0 0 50%;
  max-width: 50%;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .tdw-speakers,
  .tdw-resources {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .tdw-speakers { order: 1; }
  .tdw-resources { order: 2; }
  .tdw-related-card, .tdw-speaker-card {
    flex: 0 0 100%;
    max-width: 400px;
    margin: auto;
  }
}
@media (max-width: 420px) {
.tdw-speaker-img img { width: 85px !important; }
.tdw-meta div, .tdw-meta button {
  flex-direction: column;
  display: flex;
  font-size: 10px;
}
}