/*
Theme Name: PublishersNest Pro
Theme URI: https://publishersnest.com
Author: PublishersNest
Description: Professional Ad Networks Directory – White Theme with animated verdicts, user reviews with images, like/dislike, SEO-ready.
Version: 3.0
Text Domain: publishersnest
Tags: directory, reviews, white, magazine, mobile-responsive, seo
*/

/* ═══════════════════════════════════════════════
   CSS VARIABLES — WHITE THEME
═══════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg:          #FFFFFF;
  --bg-alt:      #F4F7FF;
  --bg-card:     #FFFFFF;
  --bg-soft:     #EEF3FF;
  --bg-muted:    #F8FAFC;

  /* Brand Colors */
  --blue:        #1D4ED8;
  --blue-dark:   #1E3A8A;
  --blue-light:  #3B82F6;
  --blue-glow:   rgba(29,78,216,0.10);
  --blue-soft:   #EFF6FF;

  --amber:       #F59E0B;
  --amber-dark:  #D97706;
  --amber-glow:  rgba(245,158,11,0.12);
  --amber-soft:  #FFFBEB;

  --green:       #059669;
  --green-light: #10B981;
  --green-soft:  #ECFDF5;
  --green-glow:  rgba(5,150,105,0.12);

  --red:         #DC2626;
  --red-light:   #EF4444;
  --red-soft:    #FEF2F2;
  --red-glow:    rgba(220,38,38,0.12);

  --orange:      #EA580C;
  --orange-soft: #FFF7ED;

  --purple:      #7C3AED;
  --purple-soft: #F5F3FF;

  /* Borders */
  --border:      #E2E8F5;
  --border-dark: #CBD5E1;

  /* Text */
  --text:        #0F172A;
  --text-2:      #1E293B;
  --text-3:      #334155;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --text-white:  #FFFFFF;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(29,78,216,0.08);
  --shadow-lg:   0 12px 40px rgba(29,78,216,0.12);
  --shadow-card: 0 2px 16px rgba(15,23,42,0.06);

  /* Transitions */
  --t: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --t-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);

  /* Layout */
  --header-h: 72px;
  --container: 1240px;
  --container-narrow: 860px;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: var(--t); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; }

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.text-center { text-align: center; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ═══════════════════════════════════════════════
   BADGE CHIPS
═══════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--font-display);
}
.badge--blue   { background: var(--blue-soft);   color: var(--blue);   border: 1.5px solid rgba(29,78,216,0.2); }
.badge--green  { background: var(--green-soft);  color: var(--green);  border: 1.5px solid rgba(5,150,105,0.2); }
.badge--amber  { background: var(--amber-soft);  color: var(--amber-dark); border: 1.5px solid rgba(245,158,11,0.2); }
.badge--red    { background: var(--red-soft);    color: var(--red);    border: 1.5px solid rgba(220,38,38,0.2); }
.badge--orange { background: var(--orange-soft); color: var(--orange); border: 1.5px solid rgba(234,88,12,0.2); }
.badge--purple { background: var(--purple-soft); color: var(--purple); border: 1.5px solid rgba(124,58,237,0.2); }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-md);
  font-size: 0.92rem; font-weight: 700;
  font-family: var(--font-display);
  border: none; cursor: pointer; transition: var(--t);
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(29,78,216,0.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,78,216,0.4); color: #fff; }

.btn--amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,0.45); color: #fff; }

.btn--outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue); 
}
.btn--outline:hover { background: var(--blue); color: #fff; }

.btn--white {
  background: #fff; color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn--white:hover { transform: translateY(-2px); color: var(--blue-dark); }

.btn--ghost {
  background: var(--bg-alt); color: var(--text-3);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { background: var(--blue-soft); color: var(--blue); border-color: rgba(29,78,216,0.3); }

.btn--sm { padding: 8px 16px; font-size: 0.82rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--r-lg); }

/* ═══════════════════════════════════════════════
   HEADER — COLORFUL + ANIMATED
═══════════════════════════════════════════════ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(29,78,216,0.10);
}

/* Colorful top bar */
#site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 25%, var(--amber) 50%, var(--green) 75%, var(--purple) 100%);
  background-size: 200% 100%;
  animation: headerBar 4s linear infinite;
}
@keyframes headerBar {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%; gap: 20px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 38px; width: auto; }
.logo-text {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
}
.logo-text .nest { color: var(--blue); }
.logo-badge {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #fff; font-size: 0.6rem; font-weight: 800;
  padding: 2px 7px; border-radius: 4px; letter-spacing: 0.08em;
  text-transform: uppercase; font-family: var(--font-display);
  margin-left: 2px; vertical-align: middle;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--r-md);
  font-size: 0.88rem; font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-3); transition: var(--t); white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px; border-radius: 2px;
  background: var(--blue);
  transition: var(--t);
}
.nav-link:hover, .nav-link.current-menu-item {
  color: var(--blue); background: var(--blue-soft);
}
.nav-link:hover::after, .nav-link.current-menu-item::after {
  left: 14px; right: 14px;
}
.nav-link .arrow { font-size: 0.6em; opacity: 0.5; transition: var(--t); }
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: var(--t);
  box-shadow: 0 16px 48px rgba(29,78,216,0.14);
  z-index: 100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-md);
  font-size: 0.87rem; font-weight: 600;
  color: var(--text-3);
}
.dropdown a:hover { color: var(--blue); background: var(--blue-soft); }
.dropdown-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.search-btn {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: var(--bg-alt); border: 1.5px solid var(--border);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t);
}
.search-btn:hover { background: var(--blue-soft); color: var(--blue); border-color: rgba(29,78,216,0.3); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: var(--r-md); cursor: pointer;
}
.mobile-menu-btn span {
  width: 20px; height: 2px; background: var(--text-3);
  border-radius: 2px; transition: var(--t);
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0;
  background: #fff; overflow-y: auto;
  z-index: 999; padding: 20px;
  flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-3); background: var(--bg-alt);
  border: 1.5px solid var(--border);
  font-family: var(--font-display);
}
.mobile-nav a:hover { background: var(--blue-soft); color: var(--blue); border-color: rgba(29,78,216,0.25); }

/* Search Overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(12px);
  z-index: 2000; display: flex;
  align-items: flex-start; justify-content: center;
  padding-top: 100px;
  opacity: 0; visibility: hidden; transition: var(--t-slow);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-box {
  background: #fff; border-radius: var(--r-xl);
  padding: 32px; width: 100%; max-width: 640px; margin: 0 24px;
  box-shadow: 0 24px 80px rgba(15,23,42,0.2);
  border: 1px solid var(--border);
}
.search-overlay-input {
  width: 100%; background: var(--bg-alt);
  border: 2px solid var(--border); border-radius: var(--r-lg);
  padding: 16px 20px; font-size: 1.1rem; outline: none;
  transition: var(--t); font-family: var(--font-body); color: var(--text);
}
.search-overlay-input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-glow); }
.search-close-btn {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--text-muted);
  transition: var(--t);
}
.search-close-btn:hover { background: var(--red-soft); color: var(--red); border-color: var(--red-light); }

/* ═══════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════ */
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
  font-family: var(--font-display); margin-bottom: 10px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--text); }
.section-desc { color: var(--text-muted); margin-top: 10px; font-size: 0.95rem; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   HERO — HOMEPAGE
═══════════════════════════════════════════════ */
.hero {
  position: relative; padding: 80px 0 72px; overflow: hidden;
  background: linear-gradient(160deg, #EFF6FF 0%, #FFFFFF 50%, #FFFBEB 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231D4ED8' fill-opacity='0.025'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
/* Decorative blobs */
.hero::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; background: #fff;
  border: 1.5px solid rgba(29,78,216,0.2);
  border-radius: var(--r-full); margin-bottom: 24px;
  font-size: 0.8rem; font-weight: 700; color: var(--blue);
  font-family: var(--font-display);
  box-shadow: 0 2px 8px rgba(29,78,216,0.1);
  animation: chipPulse 3s ease-in-out infinite;
}
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(29,78,216,0.1); }
  50% { box-shadow: 0 2px 20px rgba(29,78,216,0.25); }
}
.chip-dot { width: 7px; height: 7px; background: var(--green-light); border-radius: 50%; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 20px;
  color: var(--text); letter-spacing: -0.03em;
}
.hero-title .highlight {
  position: relative; display: inline-block; color: var(--blue);
}
.hero-title .highlight::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  border-radius: 3px; opacity: 0.4; z-index: -1;
  animation: underlineGrow 0.8s ease 0.3s both;
}
@keyframes underlineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.7;
}

/* Hero Search */
.hero-search {
  display: flex; gap: 10px; max-width: 580px; margin: 0 auto 32px;
  background: #fff; padding: 8px; border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(29,78,216,0.12);
  border: 1.5px solid var(--border);
}
.hero-search-inner { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.hero-search-icon { color: var(--text-light); font-size: 1rem; flex-shrink: 0; }
.hero-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 0.95rem; color: var(--text); font-family: var(--font-body);
}
.hero-search input::placeholder { color: var(--text-light); }

/* Hero Tags */
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 48px; }
.hero-tag {
  padding: 6px 16px; background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.82rem; font-weight: 600; color: var(--text-3);
  cursor: pointer; transition: var(--t);
  font-family: var(--font-display);
}
.hero-tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* Hero Stats */
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat-item {
  flex: 1; min-width: 130px; padding: 20px 24px;
  text-align: center; position: relative;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute;
  right: 0; top: 20%; height: 60%; width: 1px; background: var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900; color: var(--blue); display: block;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════════
   CATEGORY CARDS
═══════════════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cat-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg); text-decoration: none;
  transition: var(--t);
  border-top: 3px solid transparent;
}
.cat-card:hover {
  border-top-color: var(--cat-clr, var(--blue));
  box-shadow: 0 8px 24px rgba(29,78,216,0.1);
  transform: translateY(-3px);
}
.cat-icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  background: var(--cat-bg, var(--blue-soft));
}
.cat-name { font-size: 0.9rem; font-weight: 800; color: var(--text); font-family: var(--font-display); margin-bottom: 2px; }
.cat-count { font-size: 0.75rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   POST CARDS
═══════════════════════════════════════════════ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

.post-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: var(--t); display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(29,78,216,0.2); }

.post-card-img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg-alt);
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-cat { position: absolute; top: 12px; left: 12px; }

.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.post-card-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px;
}
.post-card-meta span { display: flex; align-items: center; gap: 4px; }

.post-card-title {
  font-size: 1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.4;
  font-family: var(--font-display);
}
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--blue); }

.post-card-excerpt { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.post-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}

/* Featured card */
.post-card--featured { grid-column: 1/-1; flex-direction: row; min-height: 300px; }
.post-card--featured .post-card-img { width: 42%; flex-shrink: 0; aspect-ratio: auto; }
.post-card--featured .post-card-title { font-size: 1.25rem; }
.post-card--featured .post-card-excerpt { -webkit-line-clamp: 5; }

/* ═══════════════════════════════════════════════
   STAR RATING
═══════════════════════════════════════════════ */
.stars { display: flex; gap: 2px; }
.star { font-size: 0.88rem; color: #D1D5DB; }
.star.on { color: var(--amber); }
.star.half { background: linear-gradient(90deg, var(--amber) 50%, #D1D5DB 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stars-score { font-size: 0.78rem; font-weight: 700; color: var(--text-3); margin-left: 5px; }

/* ═══════════════════════════════════════════════
   TOP NETWORKS TABLE
═══════════════════════════════════════════════ */
.table-wrap { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.net-table { width: 100%; border-collapse: collapse; }
.net-table thead tr { background: var(--bg-alt); border-bottom: 2px solid var(--border); }
.net-table th { padding: 13px 18px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); text-align: left; font-family: var(--font-display); }
.net-table td { padding: 16px 18px; font-size: 0.88rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.net-table tr:last-child td { border-bottom: none; }
.net-table tbody tr { transition: var(--t); }
.net-table tbody tr:hover { background: var(--bg-alt); }
.net-rank { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: var(--text-light); width: 36px; }
.net-rank.gold { color: var(--amber); }
.net-rank.silver { color: #94A3B8; }
.net-rank.bronze { color: var(--orange); }
.net-name-cell { display: flex; align-items: center; gap: 12px; }
.net-logo { width: 44px; height: 36px; object-fit: cover; border-radius: 8px; background: var(--bg-alt); flex-shrink: 0; border: 1px solid var(--border); }
.net-name { font-weight: 800; font-family: var(--font-display); font-size: 0.9rem; }
.net-type { font-size: 0.75rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   RECENT PUBLISHER REVIEWS FEED
═══════════════════════════════════════════════ */
.reviews-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-feed-item {
  display: flex; gap: 14px; padding: 18px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.review-feed-item:hover { border-color: rgba(29,78,216,0.2); box-shadow: var(--shadow-md); }
.feed-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }
.feed-content { flex: 1; min-width: 0; }
.feed-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.feed-name { font-weight: 800; font-size: 0.88rem; font-family: var(--font-display); }
.feed-on { font-size: 0.75rem; color: var(--text-muted); }
.feed-network { font-size: 0.8rem; color: var(--blue); font-weight: 700; }
.feed-time { font-size: 0.72rem; color: var(--text-light); margin-left: auto; }
.feed-text { font-size: 0.84rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.feed-images { display: flex; gap: 6px; margin-top: 8px; }
.feed-img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; }

/* ═══════════════════════════════════════════════
   VERDICT ANIMATIONS — ISSUE #1
═══════════════════════════════════════════════ */
/* RECOMMENDED — green pulse */
.verdict-box.recommended {
  background: var(--green-soft); border: 2px solid var(--green-light);
  border-radius: var(--r-lg); padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  animation: recommendedPulse 2.5s ease-in-out infinite;
}
@keyframes recommendedPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0.12); }
}
.verdict-box.recommended .verdict-icon { font-size: 2rem; animation: iconBounce 1.8s ease-in-out infinite; }
@keyframes iconBounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* TRUSTED — amber shimmer */
.verdict-box.trusted {
  background: var(--amber-soft); border: 2px solid var(--amber);
  border-radius: var(--r-lg); padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.verdict-box.trusted::before {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.2), transparent);
  animation: shimmer 2.2s linear infinite;
}
@keyframes shimmer { to { left: 160%; } }

/* AVERAGE — blue subtle glow */
.verdict-box.average {
  background: var(--blue-soft); border: 2px solid rgba(29,78,216,0.3);
  border-radius: var(--r-lg); padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
}

/* AVOID / SCAM — red flashing DANGER animation */
.verdict-box.avoid {
  background: var(--red-soft); border: 2px solid var(--red);
  border-radius: var(--r-lg); padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  animation: avoidFlash 1.5s ease-in-out infinite;
  position: relative; overflow: hidden;
}
@keyframes avoidFlash {
  0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); border-color: var(--red); }
  50% { box-shadow: 0 0 0 6px rgba(220,38,38,0.15); border-color: var(--red-light); }
}
.verdict-box.avoid::before {
  content: '⚠️ WARNING'; position: absolute;
  top: 6px; right: -28px;
  background: var(--red); color: #fff;
  font-size: 0.6rem; font-weight: 900;
  padding: 2px 36px; letter-spacing: 0.08em;
  transform: rotate(12deg); font-family: var(--font-display);
}
.verdict-box.avoid .verdict-icon {
  font-size: 2rem;
  animation: scamShake 0.5s ease-in-out infinite alternate;
}
@keyframes scamShake {
  0% { transform: translateX(-2px) rotate(-3deg); }
  100% { transform: translateX(2px) rotate(3deg); }
}
.verdict-title { font-weight: 900; font-size: 1rem; font-family: var(--font-display); }
.verdict-text { font-size: 0.85rem; color: var(--text-3); margin-top: 2px; }

/* ═══════════════════════════════════════════════
   JOIN NOW BOX — ISSUE #1
═══════════════════════════════════════════════ */
.join-now-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-xl); padding: 28px 24px;
  text-align: center; position: relative; overflow: hidden;
}
.join-now-box::before {
  content: ''; position: absolute;
  top: -40px; right: -40px; width: 150px; height: 150px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
}
.join-now-box::after {
  content: ''; position: absolute;
  bottom: -30px; left: -30px; width: 100px; height: 100px;
  background: rgba(245,158,11,0.2); border-radius: 50%;
}
.join-now-box .jn-icon { font-size: 2.5rem; margin-bottom: 10px; position: relative; z-index: 1;
  animation: iconFloat 2.5s ease-in-out infinite; }
@keyframes iconFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.join-now-box .jn-title {
  font-size: 1.05rem; font-weight: 900; color: #fff; margin-bottom: 6px;
  position: relative; z-index: 1; font-family: var(--font-display);
}
.join-now-box .jn-text { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; position: relative; z-index: 1; }
.join-now-box .btn--amber { position: relative; z-index: 1; width: 100%; justify-content: center;
  animation: btnGlow 2s ease-in-out infinite; }
@keyframes btnGlow {
  0%,100% { box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
  50% { box-shadow: 0 4px 28px rgba(245,158,11,0.6); }
}

/* ═══════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════ */
.post-hero-wrap { padding: 32px 0 0; }

.post-breadcrumbs {
  display: flex; gap: 8px; font-size: 0.78rem;
  color: var(--text-muted); margin-bottom: 28px; flex-wrap: wrap;
}
.post-breadcrumbs a { color: var(--text-muted); }
.post-breadcrumbs a:hover { color: var(--blue); }
.post-breadcrumbs .sep { color: var(--text-light); }

.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }

/* Post header - thumbnail BELOW title, smaller */
.post-header { margin-bottom: 28px; }
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-title-main {
  font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 16px; color: var(--text);
  letter-spacing: -0.02em;
}
/* Thumbnail below title, smaller */
.post-thumb-below {
  width: 100%; max-height: 360px;
  object-fit: cover; border-radius: var(--r-lg);
  margin-bottom: 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
}
.post-meta-bar {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding: 14px 0; border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border); margin-bottom: 28px;
  font-size: 0.82rem; color: var(--text-muted);
}
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }
.post-meta-bar a { color: var(--text-muted); }
.post-meta-bar a:hover { color: var(--blue); }

/* Quick stats bar */
.quick-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 28px;
}
.qs-item {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px; text-align: center;
}
.qs-icon { font-size: 1.2rem; margin-bottom: 4px; }
.qs-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; font-family: var(--font-display); margin-bottom: 2px; }
.qs-val { font-size: 0.88rem; font-weight: 800; color: var(--text); font-family: var(--font-display); }

/* TOC */
.toc-box {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 28px;
}
.toc-title { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 12px; font-family: var(--font-display); display: flex; align-items: center; gap: 8px; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.toc-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.toc-list a { font-size: 0.86rem; color: var(--text-3); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.toc-list a:hover { color: var(--blue); }
.toc-num { color: var(--text-light); width: 20px; flex-shrink: 0; }

/* Post Content Typography — ISSUE #3 */
.post-content { font-size: 1rem; line-height: 1.82; color: var(--text-3); }
.post-content h2 {
  font-size: 1.55rem; font-weight: 900; margin: 40px 0 16px;
  color: var(--text); padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-display);
}
.post-content h3 { font-size: 1.2rem; font-weight: 800; margin: 30px 0 12px; color: var(--text); font-family: var(--font-display); }
.post-content h4 { font-size: 1rem; font-weight: 800; margin: 24px 0 10px; color: var(--text); font-family: var(--font-display); }
.post-content p { margin-bottom: 18px; }

/* Links in post content — ISSUE #3 */
.post-content a {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 2px solid rgba(29,78,216,0.25);
  padding-bottom: 1px;
  transition: var(--t);
  text-decoration: none;
}
.post-content a:hover {
  color: var(--blue-dark);
  border-bottom-color: var(--blue);
  background: var(--blue-soft);
  border-radius: 3px;
  padding: 0 3px 1px;
}

.post-content ul, .post-content ol { margin: 16px 0 20px 20px; }
.post-content li { margin-bottom: 8px; }
.post-content img { border-radius: var(--r-md); margin: 24px 0; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.post-content blockquote {
  margin: 28px 0; padding: 20px 24px;
  background: var(--blue-soft); border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-3);
  font-style: italic; font-size: 1.05rem;
}
.post-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.post-content th { background: var(--bg-alt); font-weight: 800; padding: 12px 14px; border: 1px solid var(--border); color: var(--text); font-family: var(--font-display); text-align: left; }
.post-content td { padding: 11px 14px; border: 1px solid var(--border); color: var(--text-3); }
.post-content tr:nth-child(even) td { background: var(--bg-alt); }

/* Info boxes */
.info-box { display: flex; gap: 14px; padding: 16px 20px; border-radius: var(--r-md); margin: 22px 0; border: 1.5px solid; }
.info-box.tip { background: var(--green-soft); border-color: rgba(16,185,129,0.3); }
.info-box.warning { background: var(--amber-soft); border-color: rgba(245,158,11,0.3); }
.info-box.danger { background: var(--red-soft); border-color: rgba(220,38,38,0.3); }
.info-box.info { background: var(--blue-soft); border-color: rgba(29,78,216,0.3); }
.ib-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   LIKE / DISLIKE — ISSUE #9
═══════════════════════════════════════════════ */
.like-dislike-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--bg-alt);
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  margin: 28px 0;
}
.ld-label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); font-family: var(--font-display); flex-shrink: 0; }
.ld-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--r-md);
  font-size: 0.88rem; font-weight: 800; cursor: pointer;
  border: 2px solid; transition: var(--t);
  font-family: var(--font-display); background: #fff;
}
.ld-btn.like { color: var(--green); border-color: rgba(16,185,129,0.3); }
.ld-btn.like:hover { background: var(--green-soft); border-color: var(--green-light); transform: scale(1.05); }
.ld-btn.like.active { background: var(--green-soft); border-color: var(--green); }
.ld-btn.like.active .ld-icon { animation: likeAnimation 0.5s ease; }
@keyframes likeAnimation {
  0% { transform: scale(1); }
  40% { transform: scale(1.5) rotate(-10deg); }
  70% { transform: scale(0.9) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}
.ld-btn.dislike { color: var(--red); border-color: rgba(220,38,38,0.3); }
.ld-btn.dislike:hover { background: var(--red-soft); border-color: var(--red-light); transform: scale(1.05); }
.ld-btn.dislike.active { background: var(--red-soft); border-color: var(--red); }
.ld-btn.dislike.active .ld-icon { animation: dislikeShake 0.4s ease; }
@keyframes dislikeShake {
  0%,100% { transform: translateY(0); }
  25% { transform: translateY(-3px); }
  75% { transform: translateY(3px); }
}
.ld-icon { font-size: 1.1rem; }
.ld-count { font-size: 0.88rem; font-weight: 800; }
.ld-divider { width: 1px; height: 30px; background: var(--border); margin: 0 4px; }
.ld-bar-wrap { flex: 1; }
.ld-bar-track { height: 8px; background: var(--red-soft); border-radius: 4px; overflow: hidden; }
.ld-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green-light), var(--green)); border-radius: 4px; transition: width 1s ease; }
.ld-pct { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; text-align: right; font-weight: 600; }

/* ═══════════════════════════════════════════════
   SIDEBAR WIDGETS
═══════════════════════════════════════════════ */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 0.8rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
}
.widget-title::before { content: ''; width: 3px; height: 14px; background: var(--blue); border-radius: 2px; flex-shrink: 0; }

/* Rating box in sidebar */
.rating-widget {
  background: linear-gradient(135deg, #EFF6FF, #fff);
  border: 2px solid rgba(29,78,216,0.2);
}
.rating-big {
  font-family: var(--font-display); font-size: 4rem; font-weight: 900;
  color: var(--blue); line-height: 1; text-align: center;
}
.rating-max { font-size: 1.4rem; color: var(--text-light); }
.rating-stars-big { display: flex; justify-content: center; gap: 4px; font-size: 1.4rem; margin: 8px 0; }
.rating-count { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.rating-bars { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.rb-row { display: flex; align-items: center; gap: 7px; font-size: 0.75rem; }
.rb-label { width: 36px; color: var(--text-muted); text-align: right; flex-shrink: 0; }
.rb-track { flex: 1; height: 6px; background: var(--bg-alt); border-radius: 3px; overflow: hidden; }
.rb-fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-dark)); border-radius: 3px; transition: width 1s ease; }
.rb-count { width: 20px; color: var(--text-muted); flex-shrink: 0; }

/* Network details table widget */
.net-details-table { width: 100%; font-size: 0.84rem; }
.net-details-table tr { border-bottom: 1px solid var(--border); }
.net-details-table tr:last-child { border-bottom: none; }
.net-details-table td { padding: 9px 2px; vertical-align: middle; }
.net-details-table td:first-child { color: var(--text-muted); font-weight: 600; }
.net-details-table td:last-child { text-align: right; font-weight: 700; color: var(--text); }

/* Widget post items */
.wp-item { display: flex; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.wp-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.wp-thumb { width: 60px; height: 46px; object-fit: cover; border-radius: 8px; flex-shrink: 0; border: 1px solid var(--border); }
.wp-title { font-size: 0.82rem; font-weight: 700; line-height: 1.4; margin-bottom: 3px; font-family: var(--font-display); }
.wp-title a { color: var(--text); }
.wp-title a:hover { color: var(--blue); }
.wp-date { font-size: 0.72rem; color: var(--text-light); }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-link {
  padding: 5px 12px; background: var(--bg-alt);
  border: 1.5px solid var(--border); border-radius: var(--r-full);
  font-size: 0.77rem; font-weight: 600; color: var(--text-3);
  transition: var(--t);
}
.tag-link:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ═══════════════════════════════════════════════
   USER REVIEWS — ISSUE #4
═══════════════════════════════════════════════ */
.reviews-section { margin-top: 60px; padding-top: 60px; border-top: 2px solid var(--border); }
.reviews-head { margin-bottom: 32px; }
.reviews-main-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; font-family: var(--font-display); }

/* Comment list */
.comment-list { list-style: none; padding: 0; margin: 0 0 36px; }
.pn-comment {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  margin-bottom: 16px; transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.pn-comment:hover { border-color: rgba(29,78,216,0.2); box-shadow: var(--shadow-md); }
.pn-comment-inner { display: flex; gap: 16px; }
.pn-avatar img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.pn-body { flex: 1; min-width: 0; }
.pn-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.pn-author { font-weight: 900; font-size: 0.95rem; font-family: var(--font-display); }
.pn-date { font-size: 0.75rem; color: var(--text-light); margin-left: auto; }
.pn-rating { margin-bottom: 8px; }
.pn-text { font-size: 0.92rem; color: var(--text-3); line-height: 1.7; margin-bottom: 12px; }
.pn-images { display: flex; gap: 10px; flex-wrap: wrap; }
.pn-img {
  width: 90px; height: 70px; object-fit: cover;
  border-radius: var(--r-sm); border: 2px solid var(--border);
  cursor: pointer; transition: var(--t);
}
.pn-img:hover { border-color: var(--blue); transform: scale(1.04); }
.pn-pending { font-size: 0.8rem; color: var(--amber-dark); background: var(--amber-soft); padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid rgba(245,158,11,0.3); margin-top: 10px; display: inline-block; }

/* Comment form — ISSUE #4 */
.pn-form-wrap {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-md);
}
.pn-form-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 6px; font-family: var(--font-display); }
.pn-form-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 26px; }

/* Star picker */
.star-pick-wrap { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: var(--r-md); margin-bottom: 20px; }
.star-pick-label { font-size: 0.85rem; font-weight: 700; color: var(--text-3); font-family: var(--font-display); }
.star-pick-btns { display: flex; gap: 4px; }
.sp-star {
  font-size: 1.8rem; color: #D1D5DB; cursor: pointer;
  transition: var(--t); background: none; border: none; padding: 0; line-height: 1;
}
.sp-star:hover, .sp-star.on { color: var(--amber); transform: scale(1.15); }
.sp-val { font-size: 0.82rem; color: var(--text-muted); margin-left: 6px; font-weight: 600; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 0.8rem; font-weight: 800; color: var(--text-3); letter-spacing: 0.04em; font-family: var(--font-display); }
.form-label .req { color: var(--red); }
.form-ctrl {
  padding: 12px 16px; background: var(--bg-alt);
  border: 2px solid var(--border); border-radius: var(--r-md);
  color: var(--text); font-size: 0.9rem; outline: none;
  transition: var(--t); font-family: var(--font-body);
  width: 100%;
}
.form-ctrl:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-glow); }
.form-ctrl::placeholder { color: var(--text-light); }
textarea.form-ctrl { resize: vertical; min-height: 110px; }

/* Image upload */
.img-upload-zone {
  border: 2px dashed var(--border); border-radius: var(--r-md);
  padding: 24px; text-align: center; cursor: pointer;
  transition: var(--t); background: var(--bg-alt);
  position: relative; overflow: hidden;
}
.img-upload-zone:hover { border-color: var(--blue); background: var(--blue-soft); }
.img-upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon { font-size: 2rem; margin-bottom: 8px; }
.upload-text { font-size: 0.88rem; font-weight: 700; color: var(--text-3); font-family: var(--font-display); }
.upload-hint { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.img-previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.img-preview-thumb { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); }

/* ═══════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; background: rgba(15,23,42,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: var(--t-slow); padding: 24px; backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--r-md); box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.lb-close {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; background: #fff;
  border: none; border-radius: var(--r-md); cursor: pointer;
  font-size: 1rem; color: var(--text-3); display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.lb-close:hover { background: var(--red-soft); color: var(--red); }

/* ═══════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════ */
.pn-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pn-pagination a, .pn-pagination span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); font-size: 0.88rem; font-weight: 700;
  background: #fff; border: 1.5px solid var(--border); color: var(--text-3);
  text-decoration: none; transition: var(--t); font-family: var(--font-display);
}
.pn-pagination a:hover { background: var(--blue-soft); color: var(--blue); border-color: rgba(29,78,216,0.3); }
.pn-pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ═══════════════════════════════════════════════
   FOOTER — PROFESSIONAL (ISSUE #7)
═══════════════════════════════════════════════ */
#site-footer {
  background: var(--text); color: #fff;
  margin-top: 80px; position: relative; overflow: hidden;
}
#site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--amber), var(--green), var(--purple));
}

.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }

.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: #fff; }
.footer-logo-text .nest { color: var(--amber); }
.footer-desc { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }

/* Footer stats */
.footer-stats { display: flex; gap: 20px; margin-bottom: 20px; }
.footer-stat { }
.footer-stat-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--amber); }
.footer-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }

.footer-socials { display: flex; gap: 8px; }
.fsocial {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--t); text-decoration: none;
}
.fsocial:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.footer-col-title { font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 18px; font-family: var(--font-display); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.86rem; color: rgba(255,255,255,0.5); transition: var(--t); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--amber); padding-left: 4px; }

/* Footer bottom */
.footer-bottom {
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-copy a { color: var(--amber); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal-links a:hover { color: var(--amber); }

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════
   NOTICES
═══════════════════════════════════════════════ */
.pn-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 16px; font-size: 0.88rem; border: 1.5px solid; }
.pn-notice.success { background: var(--green-soft); border-color: rgba(16,185,129,0.3); color: var(--green); }
.pn-notice.info { background: var(--blue-soft); border-color: rgba(29,78,216,0.2); color: var(--blue); }
.pn-notice.warning { background: var(--amber-soft); border-color: rgba(245,158,11,0.3); color: var(--amber-dark); }
.pn-notice.danger { background: var(--red-soft); border-color: rgba(220,38,38,0.3); color: var(--red); }

/* ═══════════════════════════════════════════════
   WORDPRESS DEFAULTS
═══════════════════════════════════════════════ */
.aligncenter { display: block; margin: 0 auto 20px; }
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
::selection { background: var(--blue-glow); color: var(--blue-dark); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — ISSUE #8
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-card--featured { flex-direction: column; min-height: auto; }
  .post-card--featured .post-card-img { width: 100%; aspect-ratio: 16/9; }
  .reviews-feed { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .section { padding: 52px 0; }
  .posts-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-search { padding: 6px; }
  .hero-stats { border-radius: var(--r-lg); }
  .stat-item { min-width: 110px; padding: 14px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .net-table th:nth-child(3), .net-table td:nth-child(3),
  .net-table th:nth-child(4), .net-table td:nth-child(4) { display: none; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .pn-form-wrap { padding: 20px; }
  .footer-stats { flex-wrap: wrap; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   AD ZONES — NON-BREAKING, CLEAN
═══════════════════════════════════════════ */
.pn-ad-wrap {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  position: relative;
}
.pn-ad-wrap::before {
  content: 'Advertisement';
  display: block;
  font-size: 0.62rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.pn-ad-inner {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
}
/* Make all ad iframes/ins responsive */
.pn-ad-inner iframe,
.pn-ad-inner ins,
.pn-ad-inner > div { max-width: 100% !important; }

/* Admin placeholder */
.pn-ad-empty {
  display: inline-block;
  padding: 10px 20px;
  background: #FFF7ED;
  border: 1.5px dashed #F59E0B;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  color: #92400E;
  font-family: var(--font-display);
}

/* Ad section divider — no layout break */
.pn-ad-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}

/* Responsive: scale down 728px ads on mobile */
@media (max-width: 480px) {
  .pn-ad-inner ins[data-ad-slot],
  .pn-ad-inner > ins { display: block; }
}

/* ═══════════════════════════════════════════
   MOBILE TABLE FIX — TOP RATED SECTION
═══════════════════════════════════════════ */
/* Horizontally scrollable on mobile */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.table-scroll-wrap .net-table { border: none; border-radius: 0; }

/* On mobile: switch table to card layout */
@media (max-width: 700px) {
  .net-table thead { display: none; }
  .net-table, .net-table tbody, .net-table tr { display: block; width: 100%; }
  .net-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .net-table tr:last-child { border-bottom: none; }
  .net-table td {
    display: inline-flex;
    align-items: center;
    border: none;
    padding: 0;
    font-size: 0.85rem;
  }
  /* Rank */
  .net-table td:nth-child(1) { flex-shrink: 0; }
  /* Network name — takes full row */
  .net-table td:nth-child(2) { flex: 1; min-width: 0; }
  /* Hide ad types, min payout on mobile */
  .net-table td:nth-child(3),
  .net-table td:nth-child(4) { display: none; }
  /* Score + Verdict + Button */
  .net-table td:nth-child(5),
  .net-table td:nth-child(6),
  .net-table td:nth-child(7) { flex-shrink: 0; }
  .net-logo { width: 36px; height: 28px; }
  .net-name { font-size: 0.85rem; }
  .net-type { display: none; }
}

/* ═══════════════════════════════════════════
   HOMEPAGE ANIMATIONS — SUBTLE
═══════════════════════════════════════════ */
/* Hero orbs */
.hero { position: relative; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,78,216,0.07) 0%, transparent 70%);
  top: -150px; left: -120px;
  animation: orb1 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245,158,11,0.09) 0%, transparent 70%);
  top: -80px; right: -100px;
  animation: orb2 13s ease-in-out infinite;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
  bottom: -60px; left: 45%;
  animation: orb3 8s ease-in-out infinite;
}
@keyframes orb1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(24px,32px)} }
@keyframes orb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-18px,20px)} }
@keyframes orb3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }

/* Floating network badges */
.hero-float-badges {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.hfb {
  position: absolute;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-full); padding: 6px 14px;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-3); box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  white-space: nowrap; font-family: var(--font-display);
  opacity: 0; animation: hfbIn 0.5s ease forwards, hfbFloat 6s ease-in-out infinite;
}
@keyframes hfbIn { to { opacity: 0.9; } }
@keyframes hfbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hfb-1 { top:15%; left:3%;   animation-delay: 0.3s, 0.3s; animation-duration: 0.5s, 7s; }
.hfb-2 { top:25%; right:3%;  animation-delay: 0.5s, 0.5s; animation-duration: 0.5s, 9s; }
.hfb-3 { top:55%; left:2%;   animation-delay: 0.7s, 0.7s; animation-duration: 0.5s, 8s; }
.hfb-4 { top:68%; right:3%;  animation-delay: 0.9s, 0.9s; animation-duration: 0.5s, 7s; }
.hfb-5 { top:40%; left:5%;   animation-delay: 1.1s, 1.1s; animation-duration: 0.5s, 10s; }
.hfb-6 { top:18%; right:5%;  animation-delay: 1.3s, 1.3s; animation-duration: 0.5s, 6s; }
@media (max-width: 900px) { .hero-float-badges { display: none; } }

/* Hero content entrance */
.hero-chip   { animation: fadeUp 0.6s cubic-bezier(.34,1.56,.64,1) 0.1s both; }
.hero-title  { animation: fadeUp 0.65s ease 0.25s both; }
.hero-sub    { animation: fadeUp 0.65s ease 0.4s both; }
.hero-search { animation: fadeUp 0.65s ease 0.52s both; }
.hero-tags   { animation: fadeUp 0.65s ease 0.64s both; }
.hero-stats  { animation: fadeUp 0.65s ease 0.78s both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }

/* Highlight underline */
.hero-title .highlight { position: relative; display: inline-block; color: var(--blue); }
.hero-title .highlight::after {
  content: ''; position: absolute;
  bottom: 3px; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  border-radius: 3px; opacity: 0.35; z-index: -1;
  animation: hlGrow 0.8s ease 0.9s both;
  transform-origin: left;
}
@keyframes hlGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

/* Hero search focus */
.hero-search:focus-within {
  box-shadow: 0 12px 36px rgba(29,78,216,0.16);
  border-color: rgba(29,78,216,0.35);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Category card icon hover */
.cat-card { overflow: hidden; }
.cat-card:hover .cat-icon-wrap {
  transform: scale(1.12) rotate(-6deg);
}
.cat-icon-wrap { transition: transform 0.3s cubic-bezier(.34,1.4,.64,1); }

/* Post card lift */
.post-card {
  transition: transform 0.3s cubic-bezier(.34,1.2,.64,1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}
.post-card:hover {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 16px 44px rgba(29,78,216,0.13);
  border-color: rgba(29,78,216,0.18);
}

/* Review feed card */
.review-feed-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-feed-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Scroll reveal */
.pn-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.pn-reveal.pn-visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   FIX v5.1 — MOBILE TABLE + LIKE/DISLIKE
═══════════════════════════════════════════ */

/* ── TOP RATED TABLE — mobile card layout fix ── */
@media (max-width: 700px) {
  /* Reset table to block */
  .table-scroll-wrap { overflow-x: visible; border: none; box-shadow: none; border-radius: 0; }
  .net-table, .net-table tbody { display: block; width: 100%; }
  .net-table thead { display: none; }

  /* Each row = a card */
  .net-table tr {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
  }

  /* Rank cell */
  .net-table td:nth-child(1) {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 28px;
    padding: 0;
    font-size: 1.1rem;
  }

  /* Network name cell — flex, truncate */
  .net-table td:nth-child(2) {
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 0;
  }
  .net-name-cell { gap: 8px; min-width: 0; }
  .net-logo { width: 32px; height: 26px; flex-shrink: 0; }
  .net-name {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }
  .net-type { display: none; }

  /* Hide ad types + min payout columns */
  .net-table td:nth-child(3),
  .net-table td:nth-child(4) { display: none !important; }

  /* Score cell */
  .net-table td:nth-child(5) {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    gap: 1px;
  }
  .net-table td:nth-child(5) span:first-child { font-size: 0.95rem; }

  /* Verdict cell */
  .net-table td:nth-child(6) {
    display: flex;
    flex-shrink: 0;
    padding: 0;
  }
  .net-table td:nth-child(6) .badge {
    font-size: 0.62rem;
    padding: 3px 7px;
    white-space: nowrap;
  }

  /* Read button cell */
  .net-table td:nth-child(7) {
    display: flex;
    flex-shrink: 0;
    padding: 0;
  }
  .net-table td:nth-child(7) .btn {
    font-size: 0.75rem;
    padding: 6px 10px;
    white-space: nowrap;
  }
}

/* ── LIKE / DISLIKE — mobile fix ── */
.like-dislike-bar {
  flex-wrap: wrap;
  gap: 8px;
}

/* Stack label + buttons on one line, bar below */
@media (max-width: 600px) {
  .like-dislike-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Buttons row */
  .ld-buttons-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .ld-divider { display: none; }

  /* Bar takes full width below buttons */
  .ld-bar-wrap {
    width: 100%;
    order: 3;
  }

  /* Percentage text — no overflow */
  .ld-pct {
    font-size: 0.72rem;
    text-align: left;
    white-space: normal;
    word-break: break-word;
  }

  .ld-btn { padding: 8px 14px; font-size: 0.82rem; }
  .ld-label { font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════
   FIX v5.2 — TABLE + STATS BAR MOBILE
═══════════════════════════════════════════ */

/* ── HERO STATS — 2×2 grid on mobile ── */
@media (max-width: 600px) {
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-lg);
  }
  .hero-stats .stat-item {
    min-width: 0;
    padding: 16px 12px;
  }
  /* Remove right-border pseudo on grid */
  .hero-stats .stat-item::after { display: none; }
  /* Add bottom border between rows */
  .hero-stats .stat-item:nth-child(1),
  .hero-stats .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  /* Vertical divider between columns */
  .hero-stats .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.68rem; }
}

/* ── TOP RATED TABLE — complete mobile rewrite ── */
@media (max-width: 700px) {
  /* Remove scroll wrapper borders since we go to cards */
  .table-scroll-wrap {
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  /* Kill table layout entirely */
  .net-table            { display: block !important; }
  .net-table thead      { display: none !important; }
  .net-table tbody      { display: flex !important; flex-direction: column; gap: 10px; }
  .net-table tr         { display: flex !important; align-items: center; gap: 8px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
  .net-table td         { display: none !important; border: none !important; padding: 0 !important; }

  /* Show only: rank, name, score, read */
  .net-table td:nth-child(1) { display: flex !important; flex-shrink: 0; align-items: center; width: 26px; }
  .net-table td:nth-child(2) { display: flex !important; flex: 1; min-width: 0; overflow: hidden; }
  .net-table td:nth-child(5) { display: flex !important; flex-shrink: 0; align-items: center; gap: 2px; }
  .net-table td:nth-child(7) { display: flex !important; flex-shrink: 0; }

  /* Rank */
  .net-rank { font-size: 1rem !important; width: auto !important; }

  /* Name cell — hard truncate */
  .net-name-cell        { gap: 8px; min-width: 0; overflow: hidden; }
  .net-name-cell .net-logo { width: 30px !important; height: 24px !important; flex-shrink: 0; }
  .net-name-cell > div  { min-width: 0; overflow: hidden; }
  .net-name {
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 130px !important;
  }
  .net-type { display: none !important; }

  /* Score */
  .net-table td:nth-child(5) span { font-size: 0.9rem !important; }

  /* Read button */
  .net-table td:nth-child(7) .btn { font-size: 0.72rem !important; padding: 6px 10px !important; white-space: nowrap !important; }
}

/* ═══════════════════════════════════════════
   FIX v5.3 — TOP RATED: DUAL LAYOUT
═══════════════════════════════════════════ */

/* Desktop: show table, hide cards */
.pn-desktop-table { display: block; }
.pn-mobile-cards  { display: none; }

/* Mobile: hide table, show cards */
@media (max-width: 700px) {
  .pn-desktop-table { display: none !important; }
  .pn-mobile-cards  { display: flex !important; flex-direction: column; gap: 10px; }
}

/* ── Mobile network card ── */
.pn-net-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.pnc-rank {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.pnc-logo {
  width: 36px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.pnc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pnc-name {
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pnc-name a {
  color: var(--text);
  text-decoration: none;
}
.pnc-name a:hover { color: var(--blue); }

.pnc-badge {
  font-size: 0.58rem !important;
  padding: 2px 7px !important;
  width: fit-content;
}

.pnc-score {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--blue);
  flex-shrink: 0;
  white-space: nowrap;
}
.pnc-score span {
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 400;
}

.pnc-btn {
  font-size: 0.72rem !important;
  padding: 6px 10px !important;
  flex-shrink: 0;
  white-space: nowrap;
}
