.dxp-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: dxp-news-in 0.45s ease both;
}

.dxp-news-card:hover,
.dxp-news-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  text-decoration: none;
  color: inherit;
  outline: none;
}

.dxp-news-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.35), var(--shadow-card);
}

.dxp-news-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}

.dxp-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.dxp-news-card:hover .dxp-news-card__media img,
.dxp-news-card:focus-visible .dxp-news-card__media img {
  transform: scale(1.07);
}

.dxp-news-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 18, 0.45), transparent 46%);
  pointer-events: none;
}

.dxp-news-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dxp-news-card:hover .dxp-news-card__play,
.dxp-news-card:focus-visible .dxp-news-card__play {
  opacity: 1;
  transform: scale(1);
}

.dxp-news-card__badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.72);
  color: #fff;
}

.dxp-news-card__badge--video {
  background: rgba(0, 150, 36, 0.9);
}

.dxp-news-card__time {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(8, 10, 18, 0.78);
  color: #fff;
}

.dxp-news-card__body {
  padding: 0.95rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dxp-news-card__date {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.dxp-news-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
}

.dxp-news-card__excerpt {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0.15rem 0 0;
}

.dxp-news-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0c12;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.dxp-news-player iframe,
.dxp-news-player .dxp-news-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dxp-news-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  background: #111 center / cover no-repeat;
}

.dxp-news-fallback:hover,
.dxp-news-fallback:focus-visible {
  color: #fff;
  text-decoration: none;
}

.dxp-news-fallback__play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.dxp-news-fallback:hover .dxp-news-fallback__play,
.dxp-news-fallback:focus-visible .dxp-news-fallback__play {
  transform: scale(1.06);
}

.dxp-news-end {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem;
  background: rgba(8, 10, 18, 0.94);
  color: #fff;
  overflow: auto;
}

.dxp-news-end[hidden] {
  display: none;
}

.dxp-news-end__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dxp-news-end__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.dxp-news-end__replay {
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: #fff;
  color: #111;
  font-size: 0.82rem;
  font-weight: 600;
}

.dxp-news-end__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  min-height: 0;
  flex: 1;
}

.dxp-news-end__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, background 0.22s ease;
}

.dxp-news-end__item:hover,
.dxp-news-end__item:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.dxp-news-end__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.dxp-news-end__item span {
  padding: 0 0.55rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dxp-news-related {
  margin-top: 1.75rem;
}

.dxp-news-related h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.dxp-news-description {
  white-space: pre-wrap;
  color: var(--text-secondary);
  line-height: 1.7;
}

@keyframes dxp-news-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .dxp-news-end__item span {
    font-size: 0.68rem;
    padding-bottom: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dxp-news-card,
  .dxp-news-card__media img,
  .dxp-news-card__play,
  .dxp-news-fallback__play,
  .dxp-news-end__item {
    animation: none;
    transition: none;
  }
  .dxp-news-card:hover,
  .dxp-news-card:focus-visible,
  .dxp-news-end__item:hover {
    transform: none;
  }
}
