/* ============================================================
   The Prospect Porch — Global Site Styles
   pp-site.css  |  Loaded on every page
   ============================================================
   Brand palette
   --pp-navy:   #0a0d13  (deepest bg)
   --pp-navy2:  #0e141b  (surface bg)
   --pp-panel:  #0f1728  (card bg)
   --pp-teal:   #3bb2a4  (primary accent)
   --pp-teal2:  #45bfa7  (lighter accent)
   --pp-text:   #eaf2ff  (primary text)
   --pp-muted:  #8fa8c8  (secondary text)
   --pp-border: rgba(255,255,255,.09)
   ============================================================ */

/* ── CSS variables ─────────────────────────────────────────── */
:root {
  --pp-navy:    #0a0d13;
  --pp-navy2:   #0e141b;
  --pp-panel:   #0f1728;
  --pp-teal:    #3bb2a4;
  --pp-teal2:   #45bfa7;
  --pp-gold:    #f59e0b;
  --pp-text:    #eaf2ff;
  --pp-muted:   #8fa8c8;
  --pp-border:  rgba(255,255,255,.09);
  --pp-radius:  14px;
  --pp-font:    'Roboto', system-ui, -apple-system, sans-serif;
}

/* ── Base overrides ────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--pp-font) !important;
  background: linear-gradient(180deg, var(--pp-navy) 0%, var(--pp-navy2) 100%) fixed !important;
  color: var(--pp-text) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navigation consistency ────────────────────────────────── */
header {
  background: rgba(43, 125, 109, 0.55) !important;
  backdrop-filter: saturate(1.1) blur(9px) !important;
  -webkit-backdrop-filter: saturate(1.1) blur(9px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.nav-link {
  color: rgba(234, 242, 255, 0.72) !important;
  font-family: var(--pp-font) !important;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-link:hover { color: #fff !important; }
.nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--pp-teal) !important;
  font-weight: 700 !important;
}

#siteTitle {
  color: #fff !important;
  font-family: var(--pp-font) !important;
  font-weight: 700 !important;
}
#siteTagline {
  color: rgba(234, 242, 255, 0.55) !important;
  font-size: 11px !important;
}

/* ── Section headings ──────────────────────────────────────── */
.pp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pp-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pp-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pp-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.pp-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--pp-teal);
  flex-shrink: 0;
}
.pp-section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--pp-teal2);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.pp-section-link:hover { color: #fff; }

/* ── Pill / chip tags ──────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
}
.pill-news {
  background: rgba(59,178,164,.12);
  border-color: rgba(59,178,164,.32);
  color: rgba(170,240,230,.95);
}
.pill-rankings {
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.3);
  color: rgba(255,215,100,.95);
}

/* ── Cards ─────────────────────────────────────────────────── */
.pp-card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

/* ── Scroll-reveal animation ───────────────────────────────── */
.pp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pp-reveal.pp-visible {
  opacity: 1;
  transform: translateY(0);
}
.pp-reveal-delay-1 { transition-delay: 0.07s; }
.pp-reveal-delay-2 { transition-delay: 0.14s; }
.pp-reveal-delay-3 { transition-delay: 0.21s; }
.pp-reveal-delay-4 { transition-delay: 0.28s; }

/* ── Stats ticker strip ────────────────────────────────────── */
.pp-stats-strip {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--pp-border);
  background: rgba(15,23,42,.55);
  margin: 0 0 32px 0;
}
.pp-stat-item {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid var(--pp-border);
  min-width: 0;
}
.pp-stat-item:last-child { border-right: 0; }
.pp-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pp-teal2);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pp-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pp-muted);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .pp-stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pp-stat-item:nth-child(even) { border-right: 0; }
  .pp-stat-item:nth-child(1),
  .pp-stat-item:nth-child(2) { border-bottom: 1px solid var(--pp-border); }
}

/* ── YouTube channel widget ────────────────────────────────── */
.pp-yt-widget {
  border-radius: 14px;
  border: 1px solid rgba(255,0,0,.22);
  background: linear-gradient(160deg, rgba(255,0,0,.07), rgba(15,23,42,.8));
  overflow: hidden;
}
.pp-yt-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pp-yt-icon {
  width: 28px;
  height: 28px;
  background: #ff0000;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pp-yt-channel-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.pp-yt-channel-sub {
  font-size: 10px;
  color: var(--pp-muted);
  letter-spacing: 0.04em;
}
.pp-yt-video-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pp-yt-video-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.pp-yt-video-item:last-child { border-bottom: 0; }
.pp-yt-video-item:hover { background: rgba(255,255,255,.04); }
.pp-yt-thumb {
  width: 90px;
  height: 52px;
  border-radius: 6px;
  background: #0b1222;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.pp-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp-yt-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
}
.pp-yt-video-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--pp-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pp-yt-video-meta {
  font-size: 10px;
  color: var(--pp-muted);
  margin-top: 3px;
}
.pp-yt-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.pp-yt-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #ff0000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
  letter-spacing: 0.02em;
}
.pp-yt-cta:hover { opacity: 0.88; }

/* ── Rankings sidebar layout ───────────────────────────────── */
.pp-rankings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .pp-rankings-layout {
    grid-template-columns: 1fr;
  }
  .pp-rankings-sidebar { order: -1; }
}
.pp-rankings-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Rankings hero card ────────────────────────────────────── */
.pp-rankings-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1f2e 0%, #0a1520 100%);
  border: 1px solid var(--pp-border);
  padding: 28px 24px 24px;
  margin-bottom: 4px;
}
.pp-rankings-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(59,178,164,.18) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(69,191,167,.10) 0%, transparent 55%);
  pointer-events: none;
}
.pp-rankings-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pp-teal2);
  margin-bottom: 10px;
}
.pp-rankings-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px 0;
}
.pp-rankings-desc {
  font-size: 13px;
  color: rgba(234, 242, 255, 0.72);
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 18px;
}
.pp-rankings-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pp-rankings-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pp-muted);
}
.pp-rankings-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pp-teal);
}

/* ── Homepage section spacing ──────────────────────────────── */
.pp-home-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}
.pp-home-section {
  margin-bottom: 48px;
}

/* ── News page grid layout ─────────────────────────────────── */
.pp-news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Article / news card consistency ───────────────────────── */
.news-card {
  transform: none !important;
  border-radius: var(--pp-radius) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  border: 1px solid var(--pp-border) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
  overflow: hidden !important;
}
/* Mobile: card stacks, image on top full width */
.news-card {
  display: flex !important;
  flex-direction: column !important;
}
.pp-news-img {
  width: 100% !important;
  height: 180px !important;
  border-bottom: 1px solid var(--pp-border);
}
/* Desktop: card is a row, image on left */
@media (min-width: 768px) {
  .news-card {
    flex-direction: row !important;
    height: 180px !important;
  }
  .pp-news-img {
    width: 220px !important;
    height: 100% !important;
    border-bottom: none !important;
    border-right: 1px solid var(--pp-border);
  }
}
.news-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.45) !important;
  border-color: rgba(59,178,164,.35) !important;
}
.news-card h3,
.news-title {
  font-family: var(--pp-font) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--pp-text) !important;
}
.news-summary,
.news-card p {
  font-family: var(--pp-font) !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  color: var(--pp-muted) !important;
}

/* ── Article body typography ───────────────────────────────── */
.article-body p,
#article-body p,
.scouting-report p {
  font-family: var(--pp-font) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  color: rgba(234, 242, 255, 0.88) !important;
  margin-bottom: 16px !important;
}
.article-body h2,
#article-body h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 24px 0 10px !important;
}

/* ── Mobile menu ───────────────────────────────────────────── */
.mobile-menu {
  background: rgba(7, 10, 18, 0.97) !important;
  backdrop-filter: blur(12px) !important;
}
.mobile-menu a {
  color: rgba(234, 242, 255, 0.85) !important;
  font-family: var(--pp-font) !important;
  font-size: 1.2rem !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  padding: 0.9rem 0 !important;
}
.mobile-menu a.active { color: var(--pp-teal2) !important; }

/* ── Email Capture (shared) ────────────────────────────────── */
.pp-email-section {
  margin: 0;
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,178,164,.10), rgba(69,191,167,.06));
  border: 1px solid rgba(59,178,164,.25);
}
.pp-email-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-text);
  margin: 0 0 4px 0;
}
.pp-email-sub {
  font-size: 12px;
  color: var(--pp-muted);
  margin: 0 0 12px 0;
  line-height: 1.5;
}
.pp-email-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pp-email-input {
  flex: 1;
  min-width: 160px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(59,178,164,.35);
  background: rgba(15,23,42,.7);
  color: var(--pp-text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.pp-email-input:focus {
  border-color: var(--pp-teal);
  box-shadow: 0 0 0 3px rgba(59,178,164,.14);
}
.pp-email-input::placeholder { color: rgba(143,168,200,.5); }
.pp-email-submit {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--pp-teal);
  color: #051015;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.pp-email-submit:hover { transform: translateY(-1px); opacity: 0.88; }
.pp-email-note {
  font-size: 10px;
  color: rgba(143,168,200,.5);
  margin-top: 6px;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--pp-navy); }
::-webkit-scrollbar-thumb { background: rgba(59,178,164,.35); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,178,164,.6); }
