/*
Theme Name: Asrikh TV Theme
Theme URI: https://asrikh-tv.com/
Author: Antigravity AI
Author URI: https://github.com/google-deepmind
Description: A premium, ultra-fast, SEO-first WordPress theme for Asrikh TV tutorials and troubleshooting guides.
Version: 1.0.0
License: GNU GPLv2 or later
Text Domain: asrikh-tv
*/

/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #f8fafc;        /* Very light blue-grey background */
  --bg-card: #ffffff;           /* White cards */
  --color-primary: #2563eb;     /* Vibrant primary blue */
  --color-primary-hover: #1d4ed8;
  --color-navy: #0f172a;        /* Deep navy for main headings */
  --color-text-main: #334155;   /* Neutral dark for readable paragraphs */
  --color-text-muted: #64748b;  /* Neutral light for secondary texts */
  --color-border: #e2e8f0;      /* Light borders */
  
  /* Brand specific colors (from maquette) */
  --brand-samsung: #0c4da2;
  --brand-lg: #a50034;
  --brand-sony: #000000;
  --brand-roku: #71308a;
  --brand-tcl: #e02424;
  --brand-hisense: #008080;
  --brand-philips: #0b5c9e;
  --brand-panasonic: #000000;
  --brand-xiaomi: #ff6700;

  /* Fonts */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02);

  /* Borders & Spacing */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max-width: 1280px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography utilities */
h1, h2, h3, h4 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   3. SITE HEADER (site-header)
   ========================================================================== */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

.logo-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.025em;
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Nav Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

.nav-link:hover svg {
  transform: translateY(2px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.youtube-header-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  transition: all 0.2s ease;
  background-color: var(--bg-card);
}

.youtube-header-link:hover {
  background-color: #fef2f2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: translateY(-1.5px);
}

.search-toggle-btn {
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.search-toggle-btn:hover {
  background-color: var(--bg-primary);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.my-account-btn {
  background-color: var(--color-primary);
  color: var(--bg-card);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.my-account-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.my-account-btn:active {
  transform: translateY(0);
}

/* Hamburger Menu button for mobile */
.hamburger-btn {
  display: none;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-navy);
  transition: all 0.3s ease;
}

/* ==========================================================================
   4. HERO SECTION (hero, hero-search)
   ========================================================================== */
.hero {
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 680px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.hero-content h1 span.blue-text {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

/* Hero Search Form */
.hero-search {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.05), 0 4px 6px -4px rgba(37, 99, 235, 0.05);
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
}

.search-input-wrapper svg {
  color: var(--color-text-muted);
  position: absolute;
  left: 0.75rem;
}

.hero-search input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.25rem;
  color: var(--color-navy);
  font-weight: 500;
  background: transparent;
}

.hero-search input::placeholder {
  color: var(--color-text-muted);
  font-weight: 400;
}

.search-submit-btn {
  background-color: var(--color-primary);
  color: var(--bg-card);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.search-submit-btn:hover {
  background-color: var(--color-primary-hover);
}

/* Search Examples */
.search-examples {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.search-examples a {
  color: var(--color-text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-examples a:hover {
  color: var(--color-primary);
}

/* Hero Media (TV & Overlays) */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tv-container {
  width: 100%;
  max-width: 480px;
  background: radial-gradient(circle at 50% 30%, #475569, #0f172a);
  border: 8px solid #0f172a;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Pulsing Blue Power Light Indicator */
.tv-container::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 4px;
  background-color: #3b82f6;
  box-shadow: 0 0 8px #3b82f6, 0 0 12px #3b82f6;
  border-radius: 4px 4px 0 0;
  z-index: 10;
  animation: tvPowerPulse 2.5s infinite ease-in-out;
}

@keyframes tvPowerPulse {
  0%, 100% {
    opacity: 0.4;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(59, 130, 246, 1), 0 0 15px rgba(59, 130, 246, 0.8);
  }
}

.tv-screen {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3)), url('assets/tv-hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* In case image fails, standard clean gradient mockup */
.tv-screen-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  color: white;
  text-align: center;
}

.tv-screen-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

/* Overlays */
.overlay-badge-fast {
  position: absolute;
  top: -15px;
  right: -10px;
  background-color: var(--bg-card);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  border: 1px solid var(--color-border);
}

.overlay-badge-fast .badge-icon {
  width: 18px;
  height: 18px;
  color: #eab308; /* Gold lightning */
}

.overlay-badge-fast .badge-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
}

.overlay-badge-fast .badge-text span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
  display: block;
}

.overlay-card-trust {
  position: absolute;
  bottom: -20px;
  right: -25px;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: white;
  z-index: 10;
  max-width: 280px;
  border: 1px solid rgba(255,255,255,0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.trust-item:last-child {
  margin-bottom: 0;
}

.trust-item svg {
  color: #22c55e; /* Green check */
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   5. BRAND STRIP (brand-strip)
   ========================================================================== */
.brand-strip {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.brand-strip-container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand-strip-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
}

.brand-strip-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-logos-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.brand-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  transition: all 0.2s ease;
}

.brand-logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  font-weight: 800;
  font-size: 0.625rem;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.brand-logo-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

/* Individual brand styles matching the mockup coloring and sizing to prevent clipping */
.brand-logo-circle[data-brand="samsung"] {
  background-color: var(--brand-samsung);
  color: white;
  border-color: var(--brand-samsung);
  font-size: 0.525rem;
  letter-spacing: -0.01em;
}
.brand-logo-circle[data-brand="lg"] {
  background-color: var(--brand-lg);
  color: white;
  border-color: var(--brand-lg);
  font-size: 0.8rem;
}
.brand-logo-circle[data-brand="sony"] {
  background-color: var(--brand-sony);
  color: white;
  border-color: var(--brand-sony);
  font-size: 0.725rem;
  letter-spacing: 0.02em;
}
.brand-logo-circle[data-brand="apple"] {
  background-color: #f3f4f6;
  color: black;
  border-color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.brand-logo-circle[data-brand="apple"] svg {
  width: 22px;
  height: 22px;
  color: #000000;
  display: block;
}
.brand-logo-circle[data-brand="roku"] {
  background-color: var(--brand-roku);
  color: white;
  border-color: var(--brand-roku);
  font-size: 0.65rem;
  letter-spacing: -0.01em;
}
.brand-logo-circle[data-brand="tcl"] {
  background-color: var(--brand-tcl);
  color: white;
  border-color: var(--brand-tcl);
  font-size: 0.75rem;
}
.brand-logo-circle[data-brand="hisense"] {
  background-color: var(--brand-hisense);
  color: white;
  border-color: var(--brand-hisense);
  font-size: 0.55rem;
  letter-spacing: -0.01em;
}
.brand-logo-circle[data-brand="philips"] {
  background-color: var(--brand-philips);
  color: white;
  border-color: var(--brand-philips);
  font-size: 0.525rem;
  letter-spacing: -0.01em;
}
.brand-logo-circle[data-brand="panasonic"] {
  background-color: var(--brand-panasonic);
  color: white;
  border-color: var(--brand-panasonic);
  font-size: 0.44rem;
  letter-spacing: -0.02em;
}
.brand-logo-circle[data-brand="xiaomi"] {
  background-color: var(--brand-xiaomi);
  color: white;
  border-color: var(--brand-xiaomi);
  font-size: 0.75rem;
  font-weight: 900;
}

.brand-logo-item:hover .brand-logo-circle {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.brand-logo-item:hover .brand-logo-name {
  color: var(--color-primary);
}

.brand-strip-right {
  border-left: 1px solid var(--color-border);
  padding-left: 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
}

.see-all-brands-btn {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.see-all-brands-btn:hover {
  color: var(--color-primary-hover);
}

.see-all-brands-btn:hover svg {
  transform: translateX(3px);
}

.see-all-brands-btn svg {
  transition: transform 0.2s ease;
}

/* ==========================================================================
   6. RESOLVE BY PROBLEM (problem-grid, problem-card)
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title svg {
  color: var(--color-primary);
}

.section-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.section-link:hover {
  color: var(--color-primary-hover);
}

.section-link:hover svg {
  transform: translateX(3px);
}

.section-link svg {
  transition: transform 0.2s ease;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.problem-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 250px;
}

.problem-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Specific background colors for problem icons */
.problem-card[data-type="wifi"] .problem-icon-wrapper {
  background-color: #eff6ff;
  color: #3b82f6;
}
.problem-card[data-type="remote"] .problem-icon-wrapper {
  background-color: #f5f3ff;
  color: #8b5cf6;
}
.problem-card[data-type="netflix"] .problem-icon-wrapper {
  background-color: #fef2f2;
  color: #ef4444;
}
.problem-card[data-type="image"] .problem-icon-wrapper {
  background-color: #ecfdf5;
  color: #10b981;
}
.problem-card[data-type="sound"] .problem-icon-wrapper {
  background-color: #fff7ed;
  color: #f97316;
}
.problem-card[data-type="bluetooth"] .problem-icon-wrapper {
  background-color: #f0fdfa;
  color: #14b8a6;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.problem-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.problem-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.problem-articles-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.problem-card-arrow {
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.problem-card:hover .problem-card-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ==========================================================================
   7. THREE-COLUMN CONTENT AREA (guide-list, article-card, faq-block)
   ========================================================================== */
.homepage-split-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.split-column {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-primary);
}

.column-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
}

/* 7.1. Guides par marque (guide-list) */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.guide-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guide-thumb-wrapper {
  width: 44px;
  height: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.guide-info h3 {
  font-size: 0.85rem;
  font-weight: 700;
}

.guide-info p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.guide-arrow {
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.guide-item:hover {
  background-color: var(--bg-primary);
  border-color: var(--color-primary);
}

.guide-item:hover .guide-arrow {
  color: var(--color-primary);
  transform: translateX(2px);
}

/* 7.2. Tutoriels les plus consultés (article-card) */
.article-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.article-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-primary);
}

.article-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-muted);
  width: 20px;
  flex-shrink: 0;
  text-align: center;
}

.article-card:nth-child(1) .article-number { color: #1e3a8a; }
.article-card:nth-child(2) .article-number { color: #2563eb; }
.article-card:nth-child(3) .article-number { color: #3b82f6; }

.article-thumb-wrapper {
  width: 52px;
  height: 38px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f1f5f9;
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-details {
  flex-grow: 1;
}

.article-card-details h3 {
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.article-card-details h3 a:hover {
  color: var(--color-primary);
}

.article-views {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.article-views svg {
  width: 12px;
  height: 12px;
}

/* 7.3. Questions fréquentes (faq-block) */
.faq-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion-header {
  padding: 0.9rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--bg-card);
  user-select: none;
}

.faq-accordion-header h3 {
  font-size: 0.825rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
  transition: color 0.2s ease;
}

.faq-accordion-header:hover h3 {
  color: var(--color-primary);
}

.faq-chevron {
  color: var(--color-text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  background-color: var(--bg-primary);
  padding: 0;
}

.faq-accordion-content {
  padding: 1rem 1.25rem;
  font-size: 0.825rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

/* Active accordion states */
.faq-accordion.active {
  border-color: var(--color-primary);
}

.faq-accordion.active .faq-accordion-header h3 {
  color: var(--color-primary);
}

.faq-accordion.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-accordion.active .faq-accordion-body {
  /* Dynamic height through JS, or simple standard maximum height */
  max-height: 200px;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   8. TRUST STRIP (trust-strip)
   ========================================================================== */
.trust-strip {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: #eff6ff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card-info h3 {
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0.35rem;
}

.trust-card-info p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   9. NEWSLETTER BLOCK (newsletter-block)
   ========================================================================== */
.newsletter-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  border-radius: var(--radius-lg);
  padding: 2.75rem 3.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.newsletter-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-block::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.newsletter-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.newsletter-mail-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-mail-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.newsletter-text h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.newsletter-form input {
  flex-grow: 1;
  background: transparent;
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-submit-btn {
  background-color: var(--color-navy);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.newsletter-submit-btn:hover {
  background-color: #020617;
  transform: translateY(-1px);
}

/* ==========================================================================
   10. SITE FOOTER (site-footer)
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}

.footer-logo-text h2 {
  color: white;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
}

.footer-logo-text span {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-column h3 {
  color: white;
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-contact p {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
}

.footer-copyright {
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: white;
}

/* ==========================================================================
   11. ARTICLE PAGE STYLES (single.html)
   ========================================================================== */
.breadcrumbs {
  padding: 1.5rem 0 0.5rem 0;
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.breadcrumbs-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
}

.breadcrumb-item::after {
  content: '/';
  font-size: 0.75rem;
}

.breadcrumb-item:last-child {
  color: var(--color-text-main);
  font-weight: 500;
}

.breadcrumb-item:last-child::after {
  display: none;
}

/* Article layout */
.article-header-block {
  margin-bottom: 2rem;
}

.article-category-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.article-header-block h1 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-item svg {
  width: 16px;
  height: 16px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.featured-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.featured-image-wrapper img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-intro {
  font-size: 1.15rem;
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-primary);
}

.article-content {
  color: var(--color-text-main);
  line-height: 1.7;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem 0;
}

.article-content p {
  margin-bottom: 1.5rem;
}

/* Numbered Steps */
.step-list {
  list-style: none;
  margin: 2rem 0;
  counter-reset: step-counter;
}

.step-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.step-item-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

/* Special Boxes */
.box-tip {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #22c55e;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.box-title {
  font-weight: 750;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.box-tip .box-title {
  color: #15803d;
}

.box-tip p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #166534;
}

.box-caution {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #f59e0b;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.box-caution .box-title {
  color: #b45309;
}

.box-caution p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #92400e;
}

/* Problem/Solution block */
.box-problem-solution {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ps-header {
  background-color: var(--bg-primary);
  padding: 1rem 1.5rem;
  font-weight: 750;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-navy);
}

.ps-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  divide-x: 1px solid var(--color-border);
}

.ps-column {
  padding: 1.5rem;
}

.ps-column:first-child {
  border-right: 1px solid var(--color-border);
}

.ps-column h4 {
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ps-column-problem h4 { color: #dc2626; }
.ps-column-solution h4 { color: #16a34a; }

.ps-column p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* FAQ Block in Article */
.article-faq {
  margin: 3rem 0;
}

.article-faq h2 {
  margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-primary);
}

/* Table of Contents */
.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: 0.65rem;
}

.toc-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.toc-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background-color: var(--color-text-muted);
  flex-shrink: 0;
}

.toc-link:hover, .toc-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.toc-link.active::before {
  background-color: var(--color-primary);
  transform: scale(1.5);
}

.toc-item-h3 {
  padding-left: 1rem;
}

/* Author Box */
.author-box {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.author-avatar-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-primary);
}

.author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 1.1rem;
  font-weight: 750;
  margin-bottom: 0.5rem;
}

.author-role {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.author-bio {
  font-size: 0.85rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

/* Tags */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.tag-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-right: 0.5rem;
}

.tag-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all 0.2s ease;
}

.tag-btn:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Related articles */
.related-articles {
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
  padding-top: 3rem;
}

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

.related-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.related-thumb-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-info {
  padding: 1.25rem;
}

.related-info h3 {
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.related-info h3 a:hover {
  color: var(--color-primary);
}

.related-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card:hover .related-thumb {
  transform: scale(1.04);
}

/* ==========================================================================
   12. CATEGORY PAGE STYLES (category.html)
   ========================================================================== */
.category-hero {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.category-hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.category-hero p {
  color: var(--color-text-muted);
  max-width: 720px;
}

.brand-chips-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chips-title {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--color-navy);
  margin-right: 0.5rem;
}

.chip-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn.active, .chip-btn:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.category-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

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

.category-article-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.category-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-card-thumb-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.cat-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-brand-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(15, 23, 42, 0.85);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.cat-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.category-article-card h3 {
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.category-article-card h3 a:hover {
  color: var(--color-primary);
}

.cat-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cat-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--bg-primary);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-read-more {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cat-read-more:hover {
  color: var(--color-primary-hover);
}

.cat-read-more:hover svg {
  transform: translateX(2px);
}

.cat-read-more svg {
  transition: transform 0.2s ease;
}

/* Pagination */
.pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-numbers {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.page-numbers.current, .page-numbers:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.page-numbers.prev, .page-numbers.next {
  width: auto;
  padding: 0 1rem;
}

/* ==========================================================================
   13. SEARCH PAGE STYLES (search.html)
   ========================================================================== */
.search-header-block {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.search-header-block h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.search-header-block .hero-search {
  max-width: 600px;
  margin: 0 auto;
}

.search-highlight {
  background-color: #fef08a; /* Yellow background */
  color: #1e293b;
  padding: 0.1rem 0.2rem;
  border-radius: 2px;
  font-weight: 600;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.search-result-row {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  transition: all 0.2s ease;
}

.search-result-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.search-result-thumb-wrapper {
  width: 150px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-primary);
}

.search-result-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-content {
  flex-grow: 1;
}

.search-result-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.search-result-content h2 {
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.search-result-content h2 a:hover {
  color: var(--color-primary);
}

.search-result-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* No results block */
.no-results-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
}

.no-results-icon {
  width: 64px;
  height: 64px;
  color: var(--color-text-muted);
  margin: 0 auto 1.5rem auto;
}

.no-results-widget h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.no-results-widget p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem auto;
}

.no-results-suggestions {
  list-style: none;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.no-results-suggestions li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.no-results-suggestions li::before {
  content: '•';
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   14. INTERACTIVE COMPONENTS (Menu Mobile Drawer)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 1000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--color-border);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer-btn {
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-actions .my-account-btn {
  text-align: center;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES (Mobile-First)
   ========================================================================== */

/* 15.1. Desktop and Tablet Grid Scales */
@media (max-width: 1200px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .homepage-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-search {
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
  }
  .hero-media {
    margin-top: 1.5rem;
  }
  .overlay-badge-fast {
    right: 20px;
  }
  .overlay-card-trust {
    right: 10px;
  }
  .brand-strip-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .brand-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1rem;
  }
  .brand-logo-item {
    flex: 0 0 85px;
    min-width: 85px;
  }
  .brand-strip-right {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 1.5rem;
    height: auto;
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .article-layout, .category-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .search-toggle-btn, .header-actions .my-account-btn {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-articles-grid {
    grid-template-columns: 1fr;
  }
  .search-result-row {
    flex-direction: column;
  }
  .search-result-thumb-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero {
    padding: 2.5rem 0 2rem 0;
  }
  .hero-content h1 {
    font-size: 1.85rem;
  }
  .hero-search {
    flex-direction: column;
    padding: 0.4rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }
  .hero-search .search-input-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    width: 100%;
    padding: 0.2rem 0.5rem;
    box-shadow: var(--shadow-sm);
  }
  .hero-search input {
    padding: 0.65rem 0.5rem 0.65rem 1.85rem;
  }
  .search-submit-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius-md);
  }
  .tv-container {
    border-width: 6px;
  }
  .overlay-badge-fast {
    top: -10px;
    right: 5px;
    padding: 0.4rem 0.75rem;
  }
  .overlay-card-trust {
    bottom: -15px;
    right: 5px;
    padding: 0.75rem 1rem;
    max-width: 230px;
  }
  .brand-logos-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem;
    justify-content: flex-start;
    scrollbar-width: none;
    width: 100%;
  }
  .brand-logos-grid::-webkit-scrollbar {
    display: none;
  }
  .brand-logo-item {
    flex: 0 0 75px;
    min-width: 75px;
    scroll-snap-align: start;
  }
  .brand-logo-circle {
    width: 48px;
    height: 48px;
  }
  .brand-logo-circle[data-brand="panasonic"] {
    font-size: 0.36rem;
  }
  .brand-logo-circle[data-brand="samsung"] {
    font-size: 0.44rem;
  }
  .brand-logo-circle[data-brand="philips"] {
    font-size: 0.44rem;
  }
  .brand-logo-circle[data-brand="hisense"] {
    font-size: 0.44rem;
  }
  .brand-logo-name {
    display: block;
    font-size: 0.725rem;
    white-space: nowrap;
    text-align: center;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .problem-card {
    min-height: auto;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .newsletter-block {
    padding: 1.5rem;
  }
  .newsletter-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    background-color: transparent;
    border: none;
    padding: 0;
    gap: 0.5rem;
    box-shadow: none;
  }
  .newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    width: 100%;
  }
  .newsletter-submit-btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .article-header-block h1 {
    font-size: 1.85rem;
  }
  .ps-body {
    grid-template-columns: 1fr;
  }
  .ps-column:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .category-hero {
    padding: 1.5rem;
  }
  .category-hero h1 {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   RGPD & COOKIE CONSENT STYLING
   ========================================================================== */
.asrikh-tv-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  z-index: 99999;
  display: none;
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpCookie {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.asrikh-tv-cookie-banner h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.asrikh-tv-cookie-banner p {
  font-size: 0.85rem;
  color: var(--color-text-main);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
  border: none;
}

.btn-cookie-accept {
  background: var(--color-primary);
  color: white;
}

.btn-cookie-accept:hover {
  background: var(--color-primary-hover);
}

.btn-cookie-refuse {
  background: #e2e8f0;
  color: var(--color-text-main);
}

.btn-cookie-refuse:hover {
  background: #cbd5e1;
}

.btn-cookie-customize {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border) !important;
  flex-basis: 100% !important;
  margin-top: 0.25rem;
}

.btn-cookie-customize:hover {
  color: var(--color-text-main);
  background: var(--bg-primary);
}

/* Modal styling */
.asrikh-tv-cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal-content {
  background: white;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-primary);
}

.cookie-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0;
}

.close-cookie-modal {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
}

.cookie-modal-body {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.cookie-preference-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-preference-item:last-child {
  border-bottom: none;
}

.cookie-pref-info {
  flex: 1;
  padding-right: 1.5rem;
}

.cookie-pref-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.25rem 0;
}

.cookie-pref-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Switch control */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-switch {
  background-color: var(--color-primary);
}

input:checked + .slider-switch:before {
  transform: translateX(20px);
}

input:disabled + .slider-switch {
  background-color: #e2e8f0;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.5rem;
  background: var(--bg-primary);
}

.cookie-modal-footer .btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
}

.btn-cookie-save {
  background: var(--color-navy);
  color: white;
}

.btn-cookie-save:hover {
  background: #1e293b;
}

.btn-cookie-all {
  background: var(--color-primary);
  color: white;
}

.btn-cookie-all:hover {
  background: var(--color-primary-hover);
}

/* YouTube Consent Placeholder */
.asrikh-tv-youtube-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.placeholder-overlay svg:hover {
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .asrikh-tv-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 1.25rem;
  }
}

/* ==========================================================================
   NEWS TEMPLATE SPECIAL STYLES (Added by Antigravity)
   ========================================================================== */
.news-summary {
  background-color: #f1f5f9;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.news-summary h3 {
  color: var(--color-navy);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 750;
}

.news-summary ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.news-summary li {
  margin-bottom: 0.5rem;
}

.news-summary li:last-child {
  margin-bottom: 0;
}

.news-impact-box {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.news-impact-box h4 {
  color: var(--color-navy);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 750;
}

.news-impact-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.news-source-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 2.5rem;
  font-style: italic;
}
