
/* Line Logic Media final site patch — v2.0
   This file intentionally sits after assets/styles.css and changes only
   navigation/trending/video-page behavior. */

:root {
  --ll-gold: #d4af37;
  --ll-gold-soft: #f0cf58;
  --ll-black: #050505;
  --ll-panel: #121212;
  --ll-border: #303030;
  --ll-text: #f6f6f6;
  --ll-muted: #b8b8b8;
}

/* Fix overlapping Trending Now text */
.trending-bar {
  background: #0d0d0d;
  border-top: 1px solid #242424;
  border-bottom: 1px solid #2c2c2c;
}

.trending-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}

.trending-inner > strong {
  color: var(--ll-gold);
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trending-items {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.trending-items::-webkit-scrollbar { display: none; }

.trending-items span {
  display: inline-block;
  flex: 0 0 auto;
  color: #cfcfcf;
  font-size: 13px;
}

/* Also protect any existing ticker implementation that uses similar names */
.trending-strip,
.trending-track,
.trending-list {
  white-space: nowrap;
}

.trending-track,
.trending-list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.trending-track > *,
.trending-list > * {
  flex: 0 0 auto;
}

/* Videos page */
.videos-page {
  background: var(--ll-black);
  color: var(--ll-text);
}

.videos-page .network-header {
  position: relative;
  z-index: 10;
}

.videos-page .network-nav a.active {
  color: var(--ll-gold);
  border-bottom: 2px solid var(--ll-gold);
}

.video-hero {
  background:
    radial-gradient(circle at 83% 30%, rgba(212,175,55,.13), transparent 30%),
    linear-gradient(120deg, #050505, #0d0d0d);
  border-bottom: 1px solid #262626;
}

.video-hero-inner {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.video-hero h1 {
  margin: 10px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(56px, 8vw, 92px);
  line-height: .92;
}

.video-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--ll-muted);
  font-size: 18px;
  line-height: 1.65;
}

.video-hero img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.video-kicker {
  color: var(--ll-gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .13em;
}

.video-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.video-primary-button,
.video-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 3px;
}

.video-primary-button {
  color: #050505;
  background: var(--ll-gold);
}

.video-secondary-button {
  color: white;
  border: 1px solid #4b4b4b;
  background: #111;
}

.featured-video-section,
.video-category-section {
  padding-top: 68px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-title-row h2 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
}

.section-title-row > a {
  color: var(--ll-gold);
  text-decoration: none;
  font-weight: 700;
}

.youtube-embed-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 14px;
  background: #111;
}

.youtube-embed-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-note {
  color: #999;
  font-size: 13px;
  margin: 12px 0 0;
}

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

.video-category-grid > a {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--ll-border);
  border-radius: 14px;
  background: linear-gradient(145deg, #171717, #0e0e0e);
  color: var(--ll-text);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.video-category-grid > a:hover {
  border-color: var(--ll-gold);
  transform: translateY(-3px);
}

.video-category-grid span {
  color: var(--ll-gold);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
}

.video-category-grid h3 {
  margin: 16px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
}

.video-category-grid p {
  color: var(--ll-muted);
  line-height: 1.6;
}

.video-category-grid b {
  display: block;
  margin-top: 25px;
  color: var(--ll-gold);
}

.youtube-cta {
  margin-top: 70px;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--ll-gold);
  border-radius: 14px;
  background: rgba(212,175,55,.07);
}

.youtube-cta img {
  width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.youtube-cta h2 {
  margin: 6px 0 5px;
}

.youtube-cta p {
  margin: 0;
  color: var(--ll-muted);
}

.youtube-cta > a {
  padding: 14px 22px;
  color: #050505;
  background: var(--ll-gold);
  text-decoration: none;
  font-weight: 800;
  border-radius: 3px;
}

/* Mobile navigation and overflow protection */
@media (max-width: 900px) {
  .network-inner {
    flex-wrap: wrap;
  }

  .network-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .network-nav a {
    display: inline-block;
  }

  .trending-inner {
    gap: 16px;
  }

  .video-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .video-hero img {
    display: none;
  }

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

  .youtube-cta {
    grid-template-columns: 72px 1fr;
  }

  .youtube-cta > a {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .trending-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .trending-items {
    width: 100%;
    gap: 24px;
  }

  .video-hero h1 {
    font-size: 58px;
  }

  .video-hero p {
    font-size: 16px;
  }

  .video-hero-actions a {
    width: 100%;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .youtube-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .youtube-cta img {
    max-width: 90px;
    margin: 0 auto;
  }
}
