.adw-mkt-video-library-page .adw-wip-card,
.adw-mkt-video-library-page .adw-mkt-back,
.adw-mkt-video-library-page main > :not(#marketing-videos) {
  display: none !important;
}

.adw-mkt-section-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adw-mkt-video-search-wrap {
  margin: 0 0 22px;
}

.adw-mkt-video-search {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(124, 255, 0, 0.62);
  border-radius: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 255, 0, 0.12), transparent 38%),
    rgba(0, 0, 0, 0.72);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  box-shadow:
    0 0 24px rgba(124, 255, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.adw-mkt-video-search::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.adw-mkt-video-search:focus {
  border-color: rgba(124, 255, 0, 0.95);
  box-shadow:
    0 0 28px rgba(124, 255, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.adw-mkt-video-empty {
  display: none;
  padding: 26px;
  border: 1px solid rgba(124, 255, 0, 0.46);
  border-radius: 14px;
  color: var(--ad-muted);
  background: rgba(0, 0, 0, 0.68);
  font-size: 16px;
  line-height: 1.55;
}

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

.adw-mkt-video-card {
  overflow: hidden;
  border: 1px solid rgba(124, 255, 0, 0.52);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 255, 0, 0.12), transparent 38%),
    rgba(0, 0, 0, 0.76);
  box-shadow:
    0 0 28px rgba(124, 255, 0, 0.13),
    0 20px 54px rgba(0, 0, 0, 0.46);
  transition: 0.22s ease;
  cursor: pointer;
}

.adw-mkt-video-card:hover,
.adw-mkt-video-card:focus-within {
  border-color: rgba(124, 255, 0, 0.95);
  transform: translateY(-4px);
  box-shadow:
    0 0 38px rgba(124, 255, 0, 0.24),
    0 24px 58px rgba(0, 0, 0, 0.5);
}

.adw-mkt-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(124, 255, 0, 0.38);
  background: #000000;
}

.adw-mkt-video-frame::after {
  content: "\25B6";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  font-size: 20px;
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
  pointer-events: none;
}

.adw-mkt-video-card:hover .adw-mkt-video-frame::after,
.adw-mkt-video-card:focus-within .adw-mkt-video-frame::after {
  border-color: var(--ad-green);
  color: #031003;
  background: var(--ad-green);
  transform: translate(-50%, -50%) scale(1.08);
}

.adw-mkt-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  pointer-events: none;
}

.adw-mkt-video-copy {
  padding: 18px 20px 22px;
}

.adw-mkt-video-copy h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(24px, 1.8vw, 34px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.adw-mkt-video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 22px 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 255, 0, 0.14), transparent 34%),
    rgba(0, 0, 0, 0.92);
}

.adw-mkt-video-modal.is-active {
  display: flex;
}

.adw-mkt-video-modal-inner {
  position: relative;
  width: min(1200px, 92vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(124, 255, 0, 0.72);
  border-radius: 18px;
  background: #000000;
  box-shadow:
    0 0 52px rgba(124, 255, 0, 0.28),
    0 28px 90px rgba(0, 0, 0, 0.7);
}

.adw-mkt-video-modal-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.adw-mkt-video-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000000;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(124, 255, 0, 0.86);
  border-radius: 999px;
  color: #031003;
  background: linear-gradient(135deg, var(--ad-green), var(--ad-green-2));
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(124, 255, 0, 0.3);
}

.adw-mkt-video-modal-download {
  position: fixed;
  top: 18px;
  right: 112px;
  z-index: 1000000;
  min-height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(124, 255, 0, 0.86);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(3, 16, 3, 0.94);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(124, 255, 0, 0.22);
}

.adw-mkt-video-modal-download:hover {
  color: #031003;
  background: linear-gradient(135deg, var(--ad-green), var(--ad-green-2));
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .adw-mkt-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .adw-mkt-section-title {
    font-size: clamp(34px, 9.5vw, 46px);
    line-height: 1;
  }

  .adw-mkt-video-search {
    min-height: 54px;
    border-radius: 10px;
    font-size: 16px;
  }

  .adw-mkt-video-grid {
    grid-template-columns: 1fr;
  }

  .adw-mkt-video-modal {
    padding: 58px 10px 18px;
  }

  .adw-mkt-video-modal-inner {
    width: 96vw;
    border-radius: 12px;
  }

  .adw-mkt-video-modal-close {
    top: 10px;
    right: 10px;
    min-height: 38px;
    font-size: 20px;
  }

  .adw-mkt-video-modal-download {
    top: 10px;
    right: 100px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adw-mkt-video-card,
  .adw-mkt-video-frame::after {
    transition: none;
  }
}
