.gw-latest-page {
  --gw-latest-ink: #090c14;
  --gw-latest-slate: #141a2a;
  --gw-latest-card: rgba(18, 24, 38, 0.88);
  --gw-latest-border: rgba(148, 163, 184, 0.18);
  --gw-latest-accent: #facc15;
  --gw-latest-soft: rgba(248, 250, 252, 0.78);
  --gw-latest-muted: rgba(226, 232, 240, 0.64);
  color: #f8fafc;
  padding: 0 0 48px;
  position: relative;
}

body:not(.dark_theme) .gw-latest-page {
  --gw-latest-ink: #ffffff;
  --gw-latest-slate: #e2e8f0;
  --gw-latest-card: rgba(255, 255, 255, 0.98);
  --gw-latest-border: rgba(15, 23, 42, 0.12);
  --gw-latest-soft: rgba(15, 23, 42, 0.78);
  --gw-latest-muted: rgba(71, 85, 105, 0.78);
  color: #0f172a;
}

.gw-latest-page::before {
  background:
    radial-gradient(circle at 8% 18%, rgba(250, 204, 21, 0.22), transparent 52%),
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.2), transparent 50%),
    linear-gradient(120deg, rgba(9, 12, 20, 0.95), rgba(15, 23, 42, 0.6));
  content: "";
  inset: -40px -10px -10px;
  opacity: 0.92;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

body:not(.dark_theme) .gw-latest-page::before {
  background:
    radial-gradient(circle at 8% 18%, rgba(250, 204, 21, 0.2), transparent 52%),
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.18), transparent 52%),
    linear-gradient(120deg, rgba(241, 245, 249, 0.95), rgba(248, 250, 252, 0.7));
}

.gw-latest-page::after {
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 6px
  );
  content: "";
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.gw-latest-hero,
.gw-latest-highlights,
.gw-latest-rows,
.gw-latest-empty {
  position: relative;
  z-index: 1;
}

.gw-latest-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  margin-bottom: 28px;
  min-height: min(72vh, 720px);
  overflow: hidden;
  padding: 96px 56px 64px;
  position: relative;
}

.gw-latest-hero-backdrop {
  background: linear-gradient(135deg, rgba(10, 12, 20, 0.85), rgba(10, 16, 28, 0.55));
  background-position: center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.08);
  inset: 0;
  opacity: 0.84;
  pointer-events: none;
  position: absolute;
  z-index: 0;
  animation: gwLatestDrift 18s ease-in-out infinite;
}

.gw-latest-hero-overlay {
  background: linear-gradient(100deg, rgba(9, 12, 20, 0.92), rgba(9, 12, 20, 0.4));
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body:not(.dark_theme) .gw-latest-hero-overlay {
  background: linear-gradient(110deg, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.4));
}

.gw-latest-hero-content,
.gw-latest-hero-search,
.gw-latest-hero-stats {
  position: relative;
  z-index: 2;
}

.gw-latest-eyebrow {
  color: var(--gw-latest-soft);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.gw-latest-hero h2 {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: 0.08em;
  margin: 12px 0 14px;
}

.gw-latest-hero-desc {
  color: var(--gw-latest-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.gw-latest-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0 26px;
}

.gw-latest-hero-pill {
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 999px;
  color: var(--gw-latest-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  text-transform: uppercase;
}

.gw-latest-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gw-latest-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  padding: 10px 24px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-latest-btn-primary {
  background: var(--gw-latest-accent);
  box-shadow: 0 20px 34px rgba(250, 204, 21, 0.4);
  color: #111827;
}

.gw-latest-btn-primary:hover {
  box-shadow: 0 26px 44px rgba(250, 204, 21, 0.5);
  transform: translateY(-2px);
}

.gw-latest-btn-ghost {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(248, 250, 252, 0.18);
  color: #f8fafc;
}

body:not(.dark_theme) .gw-latest-btn-ghost {
  background: rgba(248, 250, 252, 0.78);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

.gw-latest-btn-ghost:hover {
  transform: translateY(-2px);
}

.gw-latest-btn-media.is-video {
  background: #e50914;
  box-shadow: 0 22px 36px rgba(229, 9, 20, 0.35);
  color: #ffffff;
}

.gw-latest-btn-media.is-audio {
  background: #1db954;
  box-shadow: 0 22px 36px rgba(29, 185, 84, 0.35);
  color: #ffffff;
}

.gw-latest-hero-search {
  align-self: end;
}

.gw-latest-search {
  align-items: center;
  background: rgba(8, 11, 18, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 999px;
  display: flex;
  gap: 10px;
  padding: 8px 16px;
  width: min(100%, 360px);
}

body:not(.dark_theme) .gw-latest-search {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
}

.gw-latest-search input {
  background: transparent;
  border: none;
  color: inherit;
  flex: 1;
  font-size: 14px;
  outline: none;
}

.gw-latest-search .menu-item-icon {
  color: var(--gw-latest-soft);
}

.gw-latest-hero-stats {
  align-self: end;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gw-latest-stat {
  background: rgba(12, 16, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: inherit;
  display: grid;
  gap: 6px;
  padding: 16px;
}

body:not(.dark_theme) .gw-latest-stat {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.12);
}

.gw-latest-stat-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gw-latest-stat-value {
  font-size: 22px;
  font-weight: 700;
}

.gw-latest-highlights {
  margin: 0 56px 36px;
}

.gw-latest-highlights-title {
  color: var(--gw-latest-soft);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.gw-latest-highlights-track {
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
}

.gw-latest-highlight-card {
  background: var(--gw-latest-card);
  border: 1px solid var(--gw-latest-border);
  border-radius: 20px;
  color: inherit;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-latest-highlight-card:hover {
  box-shadow: 0 16px 30px rgba(6, 7, 12, 0.3);
  transform: translateY(-2px);
}

.gw-latest-highlight-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(56, 189, 248, 0.2));
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gw-latest-highlight-meta {
  display: grid;
  gap: 4px;
}

.gw-latest-highlight-title {
  font-weight: 600;
}

.gw-latest-highlight-sub {
  color: var(--gw-latest-muted);
  font-size: 13px;
}

.gw-latest-rows {
  display: grid;
  gap: 26px;
  padding: 0 56px 40px;
}

.gw-latest-row {
  display: grid;
  gap: 12px;
}

.gw-latest-row-title {
  align-items: center;
  display: flex;
  gap: 12px;
}

.gw-latest-row-title h3 {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gw-latest-row-pill {
  border: 1px solid var(--gw-latest-border);
  border-radius: 999px;
  color: var(--gw-latest-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  text-transform: uppercase;
}

.gw-latest-row-track {
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  overflow-x: auto;
  padding-bottom: 10px;
}

.gw-latest-card {
  background: var(--gw-latest-card);
  border: 1px solid var(--gw-latest-border);
  border-radius: 20px;
  color: inherit;
  display: grid;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-latest-card:hover {
  box-shadow: 0 18px 32px rgba(6, 7, 12, 0.32);
  transform: translateY(-2px);
}

.gw-latest-card-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(56, 189, 248, 0.2));
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gw-latest-card-type {
  background: rgba(8, 11, 18, 0.7);
  border-radius: 999px;
  bottom: 10px;
  color: #f8fafc;
  font-size: 11px;
  left: 10px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  position: absolute;
  text-transform: uppercase;
}

.gw-latest-card-meta {
  display: grid;
  gap: 6px;
}

.gw-latest-card-title {
  font-weight: 600;
}

.gw-latest-card-sub {
  color: var(--gw-latest-muted);
  font-size: 13px;
}

.gw-latest-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gw-latest-action {
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.gw-latest-action.is-video {
  background: #e50914;
  box-shadow: 0 12px 24px rgba(229, 9, 20, 0.32);
}

.gw-latest-action.is-audio {
  background: #1db954;
  box-shadow: 0 12px 24px rgba(29, 185, 84, 0.32);
}

.gw-latest-card-action {
  bottom: 12px;
  position: absolute;
  right: 12px;
}

.gw-latest-highlight-action {
  position: absolute;
  right: 12px;
  top: 12px;
}

.gw-latest-card-pill {
  border: 1px solid var(--gw-latest-border);
  border-radius: 999px;
  color: var(--gw-latest-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.gw-latest-empty {
  align-items: center;
  color: var(--gw-latest-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 72px 24px 0;
  text-align: center;
}

.gw-latest-empty a {
  color: inherit;
  font-weight: 600;
}

.gw-latest-empty[hidden] {
  display: none;
}

@keyframes gwLatestDrift {
  0% {
    transform: scale(1) translateX(0);
  }
  50% {
    transform: scale(1.05) translateX(8px);
  }
  100% {
    transform: scale(1) translateX(0);
  }
}

@media (max-width: 1100px) {
  .gw-latest-hero {
    grid-template-columns: 1fr;
    padding: 88px 36px 54px;
  }

  .gw-latest-hero-search,
  .gw-latest-hero-stats {
    align-self: start;
  }
}

@media (max-width: 1100px), (max-height: 760px) {
  .gw-latest-hero {
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .gw-latest-highlights,
  .gw-latest-rows {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 720px) {
  .gw-latest-hero {
    padding: 72px 24px 48px;
  }

  .gw-latest-highlights {
    margin: 0 24px 28px;
  }

  .gw-latest-hero h2 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .gw-latest-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
