/* KreditVerse Video Reviews Elementor Widget */
.kv-vrw-section,
.kv-vrw-section * {
  box-sizing: border-box;
}

.kv-vrw-section {
  --kv-vrw-bg-1: #060d1f;
  --kv-vrw-bg-2: #0d1a3a;
  --kv-vrw-accent: #3b82f6;
  --kv-vrw-accent-2: #1d4ed8;
  --kv-vrw-heading: #ffffff;
  --kv-vrw-body: #cbd5e1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 20px;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--kv-vrw-accent) 24%, transparent), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(165, 180, 252, 0.10), transparent 22%),
    linear-gradient(180deg, var(--kv-vrw-bg-1) 0%, var(--kv-vrw-bg-2) 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kv-vrw-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 18%, black 0%, transparent 70%);
  opacity: .45;
  pointer-events: none;
}

.kv-vrw-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kv-vrw-top {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.kv-vrw-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.kv-vrw-title {
  margin: 0 0 12px;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -1.8px;
  font-weight: 800;
  color: var(--kv-vrw-heading);
}

.kv-vrw-title span {
  background: linear-gradient(135deg, #ffffff 0%, #69c7ff 45%, #12d8fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kv-vrw-desc {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--kv-vrw-body);
}

.kv-vrw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.kv-vrw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.kv-vrw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.20);
  border-color: rgba(255,255,255,0.18);
}

.kv-vrw-card-featured {
  transform: translateY(12px);
}

.kv-vrw-card-featured:hover {
  transform: translateY(8px);
}

.kv-vrw-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #dbeafe 0%, #e0e7ff 100%);
  cursor: pointer;
}

.kv-vrw-media--9-16 { aspect-ratio: 9 / 16; }
.kv-vrw-media--4-5  { aspect-ratio: 4 / 5; }
.kv-vrw-media--1-1  { aspect-ratio: 1 / 1; }
.kv-vrw-media--16-9 { aspect-ratio: 16 / 9; }

.kv-vrw-preview,
.kv-vrw-active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kv-vrw-preview {
  z-index: 1;
}

.kv-vrw-active {
  z-index: 5;
  display: none;
  background: #000;
}

.kv-vrw-media.is-playing .kv-vrw-active {
  display: block;
}

.kv-vrw-media.is-playing .kv-vrw-preview,
.kv-vrw-media.is-playing .kv-vrw-overlay,
.kv-vrw-media.is-playing .kv-vrw-badges,
.kv-vrw-media.is-playing .kv-vrw-play,
.kv-vrw-media.is-playing .kv-vrw-duration,
.kv-vrw-media.is-playing .kv-vrw-hit {
  opacity: 0;
  pointer-events: none;
}

.kv-vrw-preview img,
.kv-vrw-preview iframe,
.kv-vrw-preview video,
.kv-vrw-active iframe,
.kv-vrw-active video,
.kv-vrw-modal-player iframe,
.kv-vrw-modal-player video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  background: #000;
}

.kv-vrw-preview-frame {
  pointer-events: none;
  transform: scale(1.02);
}

.kv-vrw-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,13,31,0.02) 0%, rgba(6,13,31,0.10) 58%, rgba(6,13,31,0.30) 100%);
  pointer-events: none;
  z-index: 2;
}

.kv-vrw-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.kv-vrw-badge,
.kv-vrw-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.90);
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.95);
}

.kv-vrw-verified svg {
  width: 14px;
  height: 14px;
  color: #2563eb;
  flex: 0 0 auto;
}

.kv-vrw-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--kv-vrw-accent) 0%, var(--kv-vrw-accent-2) 100%);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.30);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.kv-vrw-play:before {
  content: "";
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
}

.kv-vrw-duration {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 800;
  transition: opacity 0.2s ease;
}

.kv-vrw-hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.kv-vrw-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.10) 100%);
}

.kv-vrw-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
}

.kv-vrw-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.kv-vrw-person {
  min-width: 0;
}

.kv-vrw-name {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: #ffffff;
}

.kv-vrw-sub {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #93c5fd;
}

.kv-vrw-source {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.kv-vrw-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(30, 58, 138, 0.55);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(145deg, #dbeafe 0%, #e0e7ff 100%);
}

.kv-vrw-inline-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #061a3d;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.kv-vrw-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1,8,22,.76);
  backdrop-filter: blur(14px);
}

.kv-vrw-modal.is-open {
  display: flex;
}

.kv-vrw-modal-box {
  position: relative;
  width: min(1040px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 50px 140px rgba(0,0,0,.56);
}

.kv-vrw-modal-player {
  width: 100%;
  height: 100%;
}

.kv-vrw-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #061a3d;
  background: #ffffff;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .kv-vrw-title {
    font-size: 44px;
  }

  .kv-vrw-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kv-vrw-card-featured {
    transform: none;
  }

  .kv-vrw-card-featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 767px) {
  .kv-vrw-section {
    padding: 64px 14px;
  }

  .kv-vrw-title {
    font-size: 34px;
    letter-spacing: -1.2px;
  }

  .kv-vrw-desc {
    font-size: 16px;
  }

  .kv-vrw-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kv-vrw-card {
    border-radius: 22px;
  }

  .kv-vrw-content {
    padding: 18px 18px 20px;
  }

  .kv-vrw-play {
    width: 58px;
    height: 58px;
    left: 16px;
    bottom: 16px;
  }

  .kv-vrw-duration {
    right: 14px;
    bottom: 14px;
  }

  .kv-vrw-modal {
    padding: 14px;
  }

  .kv-vrw-modal-box {
    border-radius: 18px;
  }
}
