/* VideoKavach — responsive iframe embed.
 * Uses modern aspect-ratio (Chromium/FF/Safari 2021+). The !important blocks
 * the common WP theme overrides (`iframe { height: auto !important }`) that
 * otherwise squash or stretch the embed.
 */

.kavach-embed {
  display: block !important;
  position: relative;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  margin: 1em 0;
  background: #000;
  overflow: hidden;
  border-radius: 4px;
}

.kavach-embed--4-3 {
  aspect-ratio: 4 / 3 !important;
}

.kavach-embed iframe {
  display: block !important;
  position: absolute !important;
  inset: 0;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kavach-login-required {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-size: 14px;
  margin: 1em 0;
}
