/* QA Track I — webinar listing + single video layout. */

a.mpfy-whatsapp-link {
  color: #3b185f;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a.mpfy-whatsapp-link:hover,
a.mpfy-whatsapp-link:focus-visible {
  color: #6e7f57;
}

a.mpfy-youtube-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin: 0.35rem 0 0.75rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border: 1px solid rgba(59, 24, 95, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #3b185f;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 18, 40, 0.06);
}

a.mpfy-youtube-channel:hover,
a.mpfy-youtube-channel:focus-visible {
  border-color: rgba(110, 127, 87, 0.55);
  color: #6e7f57;
  outline: none;
}

.mpfy-youtube-channel__thumb {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.mpfy-youtube-channel__label {
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.page-webinars .mpfy-page__content .entry-content {
  padding-top: 0.5rem;
}

body.mpfy-webinar-single .mpfy-page__content .entry-content {
  padding-top: 0.75rem;
}

body.mpfy-webinar-single .entry-content .vc_row .vc_col-sm-4,
body.mpfy-webinar-single .entry-content .vc_row .vc_col-sm-3,
body.mpfy-webinar-single .entry-content .vc_row [class*="vc_col-xs-4"] {
  display: none !important;
}

body.mpfy-webinar-single .entry-content .vc_row .vc_col-sm-8,
body.mpfy-webinar-single .entry-content .vc_row .vc_col-sm-9,
body.mpfy-webinar-single .entry-content .vc_row [class*="vc_col-xs-8"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.mpfy-webinar-single .entry-content .vc_column_text p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

body.mpfy-webinar-single .entry-content .vc_column_text p:last-child {
  margin-bottom: 0;
}

.mpfy-webinar-video {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto 1.25rem;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.mpfy-webinar-video iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100%;
  border: 0;
}

.mpfy-webinar-video__expand {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.mpfy-webinar-video__expand:hover,
.mpfy-webinar-video__expand:focus-visible {
  background: rgba(59, 24, 95, 0.92);
  outline: none;
}

body.mpfy-webinar-single .entry-content .vc_controls,
body.mpfy-webinar-single .entry-content .vc_control-btn,
body.mpfy-webinar-single .entry-content #vc_inline-admin-bar-link {
  display: none !important;
}

@media (min-width: 900px) {
  .mpfy-webinar-video {
    min-height: 22rem;
  }
}
