/* Homepage Wire section — editorial news feed layout */

.wire-section--feed {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 8vw, 96px) 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 22, 35, 0.55) 0%, transparent 18%),
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(152, 186, 227, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(54, 84, 117, 0.12), transparent 50%);
}

.wire-section--feed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(152, 186, 227, 0.28), transparent);
  pointer-events: none;
}

.wire-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.wire-section__head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.wire-section--feed .section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
}

.wire-section--feed .wire-feed-wrap {
  max-width: none;
  margin: 0;
}

.wire-feed {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.wire-feed-lead {
  position: relative;
  margin: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.wire-feed-lead__link {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: end;
  text-decoration: none;
  color: inherit;
}

.wire-feed-lead__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(8, 14, 24, 0.65);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.wire-feed-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.wire-feed-lead:hover .wire-feed-lead__media img {
  transform: scale(1.03);
}

.wire-feed-lead__play {
  position: absolute;
  inset: auto auto 16px 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1rem;
  pointer-events: none;
}

.wire-feed-lead__body {
  padding: clamp(8px, 2vw, 16px) 0 clamp(8px, 2vw, 20px);
  border-left: 3px solid rgba(152, 186, 227, 0.45);
  padding-left: clamp(16px, 2.5vw, 24px);
}

.wire-feed-lead__meta {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2, #98BAE3);
}

.wire-feed-lead__dot {
  opacity: 0.65;
}

.wire-feed-lead__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.wire-feed-lead > .wire-vote {
  position: absolute;
  right: 0;
  bottom: 0;
}

.wire-feed-stream {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 4px 0 0;
  border-top: 1px solid rgba(152, 186, 227, 0.2);
}

.wire-feed-item {
  position: relative;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wire-feed-item + .wire-feed-item {
  border-top: 1px solid rgba(152, 186, 227, 0.1);
}

.wire-feed-item__link {
  display: grid;
  grid-template-columns: 72px minmax(56px, 72px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 4px 16px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.wire-feed-item__link:hover {
  padding-left: 6px;
  background: linear-gradient(90deg, rgba(152, 186, 227, 0.06), transparent 85%);
}

.wire-feed-item__date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.wire-feed-item__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(14, 22, 35, 0.8);
}

.wire-feed-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wire-feed-item__play {
  display: none;
}

.wire-feed-item__title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
}

.wire-feed-item__source {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.wire-feed-item > .wire-vote {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
}

.wire-section--feed .wire-section-actions {
  margin-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 1024px) {
  .wire-feed {
    grid-template-columns: 1fr;
  }

  .wire-feed-lead__link {
    grid-template-columns: 1fr;
  }

  .wire-feed-lead__body {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid rgba(152, 186, 227, 0.35);
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .wire-feed-item__link {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .wire-feed-item__thumb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wire-feed-lead__media img,
  .wire-feed-item__link {
    transition: none;
  }
}
