/* 2026 fraud news clip montage — broadcast-style lower thirds */

.news-clips-section {
  background: #0d0d0f;
  color: #f5f5f5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-clips-section .section-title {
  color: #fff;
}

.news-clips-section .section-intro {
  color: rgba(245, 245, 245, 0.78);
}

.news-clips-wrap {
  max-width: 960px;
  margin: 2rem auto 0;
}

.news-clips-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-clips-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.news-clips-player.is-playing .news-clips-video-layer {
  opacity: 1;
}

.news-clips-yt-host,
.news-clips-native-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: none;
}

.news-clips-video-layer.is-youtube .news-clips-yt-host {
  display: block;
}

.news-clips-video-layer.is-native .news-clips-native-video {
  display: block;
}

.news-clips-yt-host iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.news-clips-player.is-playing .news-clips-poster {
  opacity: 0;
  pointer-events: none;
}

.news-clips-player.is-ended .news-clips-poster {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.72);
  z-index: 6;
}

.news-clips-player.is-ended .news-clips-play-btn {
  background: #1f8f80;
  box-shadow: 0 8px 24px rgba(31, 143, 128, 0.45);
}

.news-clips-player.is-ended .news-clips-play-btn:hover {
  background: #26a896;
}

.news-clips-poster {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease;
}

.news-clips-poster h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff;
  max-width: 22ch;
}

.news-clips-poster p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.news-clips-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: #c41e1e;
  color: #fff;
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(196, 30, 30, 0.45);
}

.news-clips-play-btn:hover {
  background: #e02424;
}

.news-clips-play-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.news-clips-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.news-clip-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.35rem 4.5rem;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.news-clip-scene.is-active {
  opacity: 1;
}

.news-clip-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

.news-clip-alert {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: #c41e1e;
  color: #fff;
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-clip-alert-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  animation: newsClipPulse 1s ease-in-out infinite;
}

@keyframes newsClipPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.news-clip-body {
  position: relative;
  z-index: 1;
}

.news-clip-outlet {
  margin: 0 0 0.35rem;
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd166;
}

.news-clip-headline {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.news-clip-sub {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.news-clip-lower-third {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
  min-height: 3.25rem;
  background: rgba(12, 18, 28, 0.92);
  border-top: 3px solid #c41e1e;
}

.news-clip-lower-label {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: #c41e1e;
  color: #fff;
  font: 700 0.68rem/1.1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 4.5rem;
  justify-content: center;
}

.news-clip-lower-text {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.news-clips-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 3.6rem;
  z-index: 3;
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: rgba(0, 0, 0, 0.55);
  border-left: 3px solid #ffd166;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.news-clips-player.is-playing .news-clips-caption.is-visible {
  opacity: 1;
}

.news-clips-ticker {
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 1;
  overflow: hidden;
  padding: 0.35rem 0;
  background: rgba(0, 0, 0, 0.55);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-clips-player.is-playing .news-clips-ticker {
  opacity: 1;
}

.news-clips-ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: newsClipTicker 28s linear infinite;
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes newsClipTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.news-clips-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.news-clips-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.news-clips-controls button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.news-clips-controls button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.news-clips-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.news-clips-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #c41e1e;
  transition: width 0.08s linear;
}

.news-clips-time {
  min-width: 5.5rem;
  font: 500 0.72rem/1 var(--font-body);
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

.news-clips-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.news-clips-index-btn {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: 500 0.72rem/1 var(--font-body);
  cursor: pointer;
}

.news-clips-index-btn:hover,
.news-clips-index-btn.is-active {
  border-color: #c41e1e;
  color: #fff;
  background: rgba(196, 30, 30, 0.2);
}

.news-clips-sources {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-clips-sources h3 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.news-clips-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.news-clips-sources a {
  color: #9ee0d4;
  font-size: 0.88rem;
  text-decoration: none;
}

.news-clips-sources a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .news-clip-headline {
    font-size: 1.45rem;
  }

  .news-clips-caption {
    display: none;
  }
}
