/* ============================================
   ULTRAPORTABLES.FR — French Tech Media Design
   Inspired by Les Numériques, FrAndroid
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-bg: #dbeafe;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-light: #fef2f2;
  --amazon: #ff9900;
  --amazon-hover: #e68a00;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --red-border: #fecaca;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1240px;
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── HEADER ────────────────────────────────── */

.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top-bar {
  background: var(--bg-darker);
  padding: 0.375rem 0;
  font-size: 0.6875rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-tagline { letter-spacing: 0.02em; }
.header-social { display: flex; gap: 0.75rem; }
.header-social a { color: var(--text-muted); transition: color var(--transition); }
.header-social a:hover { color: white; }
.header-social svg { width: 13px; height: 13px; }

.header-main { padding: 0.75rem 0; }
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  font-size: 1.625rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1;
}
.logo-accent { color: var(--primary); }

.header-search {
  flex: 1;
  max-width: 400px;
}
.header-search form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  transition: all var(--transition);
}
.header-search form:focus-within {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.2);
}
.header-search input {
  border: none;
  background: none;
  outline: none;
  color: white;
  font-size: 0.8125rem;
  width: 100%;
  margin-left: 0.5rem;
  font-family: inherit;
}
.header-search input::placeholder { color: rgba(255,255,255,0.35); }
.header-search svg { color: rgba(255,255,255,0.4); flex-shrink: 0; width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
}

.main-nav {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.main-nav .container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
}
.main-nav a {
  display: block;
  padding: 0.75rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.main-nav a:hover,
.main-nav a.active {
  color: white;
  border-bottom-color: var(--primary);
}
.main-nav a.deals { color: #fca5a5; }
.main-nav a.deals:hover,
.main-nav a.deals.active {
  color: #fca5a5;
  border-bottom-color: var(--accent);
}

/* ── BREADCRUMB ────────────────────────────── */

.breadcrumb {
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.5rem; color: var(--border); }

/* ── FEATURED HERO ─────────────────────────── */

.featured-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.featured-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
  min-height: 420px;
}
.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-main:hover img { transform: scale(1.02); }
.featured-main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.featured-main-content .category-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.featured-main-content h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}
.featured-main-content h2 a { color: white; }
.featured-main-content h2 a:hover { opacity: 0.9; }
.featured-main-content .meta { color: rgba(255,255,255,0.55); font-size: 0.8125rem; }

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.featured-side-card {
  flex: 1;
  display: flex;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.featured-side-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.featured-side-card img {
  width: 140px;
  min-height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.featured-side-card .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-side-card .category-badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}
.featured-side-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}
.featured-side-card h3 a { color: var(--text); }
.featured-side-card h3 a:hover { color: var(--primary); }
.featured-side-card .meta { font-size: 0.6875rem; color: var(--text-muted); }

/* ── SECTION HEADERS ───────────────────────── */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--text);
}
.section-header h2 {
  font-size: 1.0625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.section-header .see-all {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}
.section-header .see-all:hover { text-decoration: underline; }

/* ── ARTICLE CARDS GRID ────────────────────── */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}
.article-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.04); }

.article-card-image .rating-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-card-body { padding: 1.25rem; }
.article-card-body .category-badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.article-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.article-card-body h3 a { color: var(--text); }
.article-card-body h3 a:hover { color: var(--primary); }
.article-card-body .excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-body .meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── DEALS BANNER ──────────────────────────── */

.deals-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #991b1b 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.deals-banner h2 { font-size: 1.375rem; font-weight: 800; margin-bottom: 0.25rem; }
.deals-banner p { font-size: 0.9375rem; opacity: 0.85; }
.deals-btn {
  background: white;
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.deals-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--accent); }

/* ── CONTENT + SIDEBAR ─────────────────────── */

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.sidebar-widget {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-widget h3 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 3px solid var(--text);
}
.sidebar-article {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.sidebar-article h4 { font-size: 0.8125rem; font-weight: 600; line-height: 1.35; }
.sidebar-article h4 a { color: var(--text); }
.sidebar-article h4 a:hover { color: var(--primary); }
.sidebar-article .meta { font-size: 0.625rem; color: var(--text-muted); margin-top: 0.25rem; }

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sidebar-tags a {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.sidebar-tags a:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.sidebar-tags a.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ── ARTICLE PAGE ──────────────────────────── */

.article-header {
  max-width: 800px;
  margin: 0 auto 2rem;
}
.article-header .category-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.article-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.article-meta .author { font-weight: 600; color: var(--text); }

.article-hero-image {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-content {
  max-width: 750px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text);
  font-size: 1.0625rem;
}
.article-content ul, .article-content ol {
  margin: 0 0 1.25rem 1.5rem;
  line-height: 1.8;
  font-size: 1.0625rem;
}
.article-content li { margin-bottom: 0.375rem; }
.article-content strong { font-weight: 700; }
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary-bg);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}
.article-content a:hover { text-decoration-color: var(--primary); }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* Rating Box */
.rating-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-bg) 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
.rating-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}
.rating-score small {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}
.rating-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
.pros-list, .cons-list {
  padding: 1.5rem;
  border-radius: var(--radius);
}
.pros-list { background: var(--green-bg); border: 1px solid var(--green-border); }
.cons-list { background: var(--red-bg); border: 1px solid var(--red-border); }
.pros-list h4, .cons-list h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.pros-list h4 { color: var(--green); }
.cons-list h4 { color: var(--red); }
.pros-list ul, .cons-list ul { list-style: none; margin: 0; padding: 0; }
.pros-list li, .cons-list li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}
.pros-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.cons-list li::before { content: '\2717'; position: absolute; left: 0.125rem; color: var(--red); font-weight: 800; }

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.specs-table th, .specs-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
}
.specs-table th {
  font-weight: 600;
  color: var(--text-secondary);
  width: 38%;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.specs-table td {
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

/* Affiliate CTA */
.cta-wrapper {
  text-align: center;
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}
.affiliate-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--amazon);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 700;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,153,0,0.3);
  letter-spacing: -0.01em;
}
.affiliate-cta:hover {
  background: var(--amazon-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,153,0,0.4);
}
.affiliate-cta svg { width: 20px; height: 20px; }
.cta-disclaimer {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ── NEWSLETTER ────────────────────────────── */

.newsletter-section {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
  color: white;
}
.newsletter-section h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.newsletter-section p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: white;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--primary); background: rgba(255,255,255,0.1); }
.newsletter-form button {
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--primary-hover); }
.newsletter-msg { margin-top: 0.75rem; font-size: 0.8125rem; }
.newsletter-msg.success { color: #4ade80; }
.newsletter-msg.error { color: #f87171; }

/* ── SOCIAL SHARING ────────────────────────── */

.social-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.social-share-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-share a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.social-share a svg { width: 15px; height: 15px; }

/* ── CATEGORY PAGE ─────────────────────────── */

.category-header { padding: 2rem 0 1.5rem; }
.category-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.category-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 650px;
  line-height: 1.6;
}

/* ── SEARCH RESULTS ────────────────────────── */

.search-header { margin-bottom: 2rem; padding: 2rem 0 1rem; }
.search-header h1 { font-size: 1.5rem; font-weight: 700; }
.results-count { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.375rem; }

/* ── LEGAL PAGES ───────────────────────────── */

.legal-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.legal-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 2rem; letter-spacing: -0.02em; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin: 2.5rem 0 0.75rem; color: var(--text); }
.legal-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-secondary); }

/* ── PLACEHOLDER ───────────────────────────── */

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), var(--border-light));
  color: var(--text-muted);
  font-size: 2.5rem;
  min-height: 100%;
  width: 100%;
}

/* ── PAGINATION ────────────────────────────── */

.pagination { display: flex; justify-content: center; gap: 0.375rem; margin: 2rem 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── FOOTER ────────────────────────────────── */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
.footer-brand .site-logo { color: white; margin-bottom: 1rem; font-size: 1.375rem; }
.footer-brand p { font-size: 0.8125rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { color: rgba(255,255,255,0.45); font-size: 0.8125rem; transition: color var(--transition); }
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.affiliate-disclosure {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.25);
  max-width: 550px;
  line-height: 1.5;
}

/* ── RESPONSIVE ────────────────────────────── */

@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .header-top-bar { display: none; }
  .header-search { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 0.875rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); border-left: none; }

  .featured-hero { grid-template-columns: 1fr; }
  .featured-main { min-height: 260px; }
  .featured-main-content { padding: 1.5rem; }
  .featured-main-content h2 { font-size: 1.25rem; }
  .featured-side-card img { width: 110px; }

  .articles-grid { grid-template-columns: 1fr; gap: 1rem; }

  .article-header h1 { font-size: 1.625rem; }
  .article-content p { font-size: 1rem; }

  .pros-cons { grid-template-columns: 1fr; }
  .deals-banner { flex-direction: column; text-align: center; padding: 1.5rem; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .newsletter-section { padding: 2rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-section h3 { font-size: 1.25rem; }

  .social-share { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .featured-side-card { flex-direction: column; }
  .featured-side-card img { width: 100%; height: 160px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
