/*
Theme Name: Stream IPTV UK Laravel Migration
Theme URI: https://streamiptvuk.it.com/
Author: Stream IPTV UK
Description: Custom WordPress theme for the Laravel-to-WordPress migration of streamiptvuk.it.com. Preserves imported Laravel markup/design while keeping sitewide business facts centrally managed.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: streamiptvuk-laravel
*/

:root {
  --stream-bg: #08111f;
  --stream-panel: #101d30;
  --stream-text: #f5f7fb;
  --stream-muted: #a7b3c6;
  --stream-accent: #e63946;
  --stream-green: #25d366;
  --stream-border: rgba(255,255,255,.10);
  --stream-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.streamiptvuk-wp { margin: 0; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .16em; }

.stream-wp-shell { min-height: 100vh; }
.stream-native-header,
.stream-native-footer {
  background: var(--stream-bg);
  color: var(--stream-text);
}
.stream-native-header__inner,
.stream-native-footer__inner {
  width: min(calc(100% - 32px), var(--stream-max));
  margin: 0 auto;
}
.stream-native-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.stream-brand { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.15rem; }
.stream-nav ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; align-items: center; }
.stream-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.stream-menu-toggle { display: none; appearance: none; border: 1px solid var(--stream-border); background: transparent; color: #fff; border-radius: 8px; padding: 8px 11px; }
.stream-native-footer { padding: 48px 0 26px; }
.stream-native-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.stream-native-footer a { color: #fff; }
.stream-native-footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--stream-border); color: var(--stream-muted); font-size: .92rem; }

.stream-content-fallback {
  width: min(calc(100% - 32px), var(--stream-max));
  margin: 0 auto;
  padding: 48px 0 72px;
}
.stream-content-fallback > article { max-width: 900px; margin: 0 auto; }
.stream-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.stream-card { border: 1px solid #e7e9ee; border-radius: 14px; overflow: hidden; background: #fff; }
.stream-card__body { padding: 20px; }
.stream-card__title { margin: 0 0 10px; }
.stream-card__title a { color: #172033; text-decoration: none; }
.stream-pagination { margin-top: 36px; }

@media (max-width: 900px) {
  .stream-menu-toggle { display: inline-flex; }
  .stream-nav { display: none; position: absolute; left: 16px; right: 16px; top: 70px; padding: 18px; background: var(--stream-bg); border: 1px solid var(--stream-border); border-radius: 12px; z-index: 1000; }
  .stream-nav.is-open { display: block; }
  .stream-nav ul { flex-direction: column; align-items: flex-start; }
  .stream-native-footer__grid { grid-template-columns: 1fr; }
  .stream-archive-grid { grid-template-columns: 1fr; }
}
