/* SpiderTaz Search landing (owner's layout, November 4, 2026). Uses the colour tokens from search.css. */
/* Cards use the SpiderTaz card colours (owner, November 5, 2026). */
:root { --lp-card: #1c1c1c; --lp-line: #333; --lp-glow: rgba(242, 184, 75, .18); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) { --lp-card: rgba(255, 255, 255, .88); --lp-line: #e5e7ef; --lp-glow: rgba(242, 184, 75, .28); } }
html[data-theme="light"] { --lp-card: rgba(255, 255, 255, .88); --lp-line: #e5e7ef; --lp-glow: rgba(242, 184, 75, .28); }
html[data-theme="dark"] { --lp-card: #1c1c1c; --lp-line: #333; --lp-glow: rgba(242, 184, 75, .18); }

/* Header: the SpiderTaz top nav, styled in search.css for every page. */
.is-landing main { max-width: 1320px; padding-top: 18px; }

/* Network platforms marquee: smaller tiles, scrolls slowly, stops while pointed at or tabbed into */
.lp-network { margin: 0 auto 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.lp-marquee { display: flex; width: max-content; }
.lp-marquee-set { display: flex; gap: 10px; list-style: none; margin: 0; padding: 4px 5px; }
.lp-marquee-set a { display: block; border-radius: 10px; padding: 3px; }
.lp-marquee-set a:hover, .lp-marquee-set a:focus-visible { background: var(--lp-glow); }
.lp-marquee-set img { display: block; width: 44px; height: 44px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .lp-marquee { animation: lp-marquee 70s linear infinite; }
  .lp-network:hover .lp-marquee, .lp-network:focus-within .lp-marquee { animation-play-state: paused; }
}
@keyframes lp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Reduced motion: no scrolling; the logos wrap onto lines instead */
@media (prefers-reduced-motion: reduce) {
  .lp-network { -webkit-mask-image: none; mask-image: none; }
  .lp-marquee { width: auto; }
  .lp-marquee-set { flex-wrap: wrap; justify-content: center; }
  .lp-marquee-set[aria-hidden="true"] { display: none; }
}

/* Three columns */
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.lp-col { display: grid; gap: 18px; min-width: 0; }
.lp-box { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 16px; padding: 16px; min-width: 0; }
.lp-box h3 { font-size: 18px; line-height: 1.35; margin: 6px 0 6px; }
.lp-box h3 a, .lp-headlines a, .lp-mini a, .lp-video, .lp-creator-grid a { color: var(--text); text-decoration: none; }
.lp-box h3 a:hover, .lp-headlines a:hover, .lp-mini a:hover { color: var(--link); text-decoration: underline; }
.lp-box p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.lp-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lp-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lp-box-head a { font-size: 13px; }
.lp-source { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.lp-quiet { color: var(--muted); font-style: italic; }
.lp-note { font-size: 12px; color: var(--muted); }

.lp-lead h3 { font-size: 24px; }
.lp-feature { background: var(--field); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.lp-feature h3, .lp-feature .lp-source { padding: 0 12px; }
.lp-feature .lp-source { padding-bottom: 12px; }
.lp-feature-img, .lp-side-img, .lp-article-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--field); }
.lp-side-img, .lp-article-img { border-radius: 10px; }
.lp-headlines { list-style: none; margin: 0; padding: 0; }
.lp-headlines li { padding: 10px 0; border-top: 1px solid var(--lp-line); font-weight: 600; line-height: 1.35; }
.lp-headlines li:first-child { border-top: 0; }
.lp-headline-top { font-size: 18px; }
.lp-mini { list-style: none; margin: 10px 0 0; padding: 0; }
.lp-mini li { padding: 8px 0; border-top: 1px solid var(--lp-line); font-size: 15px; line-height: 1.35; }
.lp-article h3 { font-size: 24px; }
.lp-more-link { display: inline-block; margin-top: 10px; font-size: 14px; }

/* Videos */
.lp-strip { position: relative; }
.lp-strip-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 31%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.lp-strip-track > * { scroll-snap-align: start; }
.lp-strip-btn { position: absolute; top: 34%; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--lp-line); background: var(--bg); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.lp-prev { left: -8px; } .lp-next { right: -8px; }
.lp-video { display: grid; gap: 6px; align-content: start; min-width: 0; }
.lp-video strong { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-video:hover strong { color: var(--link); }
.lp-thumb { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--field); }
.lp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-video-big strong { font-size: 19px; }
.lp-video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) { .lp-thumb img { transition: transform .2s ease; } .lp-video:hover .lp-thumb img { transform: scale(1.04); } }

/* Calls to action between the centre boxes */
.lp-cta { text-align: center; padding: 6px 8px; }
.lp-cta p { margin: 0 0 10px; font-size: 18px; }
.lp-cta-btn { display: inline-block; padding: 10px 22px; border-radius: 999px; background: var(--accent); color: #171717; font-weight: 800; text-decoration: none; }
.lp-cta-btn:hover { filter: brightness(1.08); text-decoration: none; }
.lp-cta-alt { margin-left: 14px; font-weight: 700; }

/* Weather */
.lp-weather-row { display: flex; align-items: center; gap: 6px; }
.lp-temp { font-size: 44px; font-weight: 800; color: var(--text); line-height: 1; }
.lp-weather-place { color: var(--text) !important; font-weight: 700; }
.lp-weather-btn { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--accent); background: transparent; color: var(--text); cursor: pointer; margin: 4px 0 8px; }
.lp-weather-btn:hover { background: var(--lp-glow); }

/* Featured creators */
.lp-creators { margin-top: 32px; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 22px; padding: 26px 22px; text-align: center; }
.lp-creators h2 { font-size: clamp(36px, 7vw, 84px); font-weight: 900; line-height: 1; letter-spacing: .02em; margin: 0 0 22px; }
.lp-creator-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.lp-creator-grid a { display: grid; justify-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; }
.lp-creator-grid a:hover { background: var(--lp-glow); }
.lp-creator-grid img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); background: var(--field); }
.lp-creator-grid strong { font-size: 15px; }
.lp-creator-grid span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.lp-creators-cta { margin: 20px 0 0; }
.lp-publisher { text-align: center; }

/* Tablet and phone */
@media (max-width: 1100px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 700px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-strip-track { grid-auto-columns: 72%; }
  .lp-video-row { grid-template-columns: minmax(0, 1fr); }
  .lp-strip-btn { display: none; }
}
@media (max-width: 480px) {
  .lp-cta-alt { display: inline-block; margin: 10px 0 0; }
}
