/* ============================================================
   MODELOS DE NEGOCIO ONLINE — DESIGN SYSTEM (LIGHT THEME)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ============================================================
   1. CSS VARIABLES / TOKENS — LIGHT MODE
   ============================================================ */
:root {
  /* Backgrounds */
  --color-bg:          hsl(210, 20%, 98%);
  --color-bg-2:        hsl(210, 18%, 96%);
  --color-bg-3:        hsl(210, 15%, 93%);
  --color-surface:     hsl(0, 0%, 100%);
  --color-border:      hsl(214, 20%, 88%);
  --color-border-light:hsl(214, 20%, 93%);

  /* Brand Colors */
  --color-primary:     hsl(224, 76%, 48%);
  --color-primary-light:hsl(224, 76%, 60%);
  --color-primary-glow: hsl(224, 76%, 48%, 0.12);
  --color-primary-dark: hsl(224, 76%, 36%);
  --color-accent:      hsl(37, 91%, 48%);
  --color-accent-dark: hsl(37, 91%, 36%);
  --color-accent-light:hsl(37, 91%, 95%);

  /* Text — Charcoal scale (never pure black) */
  --color-text:        hsl(220, 20%, 16%);
  --color-text-muted:  hsl(220, 12%, 38%);
  --color-text-faint:  hsl(220, 10%, 58%);
  --color-text-on-dark: hsl(0, 0%, 100%);

  /* Category badge colors (accessible on light bg) */
  --cat-ecommerce:   hsl(210, 80%, 48%);
  --cat-youtube:     hsl(0, 80%, 52%);
  --cat-webs:        hsl(158, 60%, 38%);
  --cat-ia:          hsl(185, 65%, 36%);
  --cat-marketing:   hsl(27, 85%, 46%);
  --cat-adsense:     hsl(224, 76%, 48%);
  --cat-afiliacion:  hsl(37, 91%, 42%);
  --cat-trading:     hsl(142, 55%, 36%);
  --cat-meta:        hsl(220, 55%, 46%);

  /* Typography */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* Shadows — warm, subtle */
  --shadow-xs:   0 1px 3px hsl(220, 20%, 16%, 0.06);
  --shadow-sm:   0 2px 8px hsl(220, 20%, 16%, 0.08);
  --shadow-md:   0 4px 20px hsl(220, 20%, 16%, 0.10);
  --shadow-lg:   0 8px 40px hsl(220, 20%, 16%, 0.13);
  --shadow-card: 0 2px 12px hsl(220, 20%, 16%, 0.07), 0 1px 3px hsl(220, 20%, 16%, 0.05);
  --shadow-card-hover: 0 12px 40px hsl(224, 76%, 48%, 0.15), 0 4px 12px hsl(220, 20%, 16%, 0.10);
  --shadow-nav:  0 1px 0 var(--color-border), 0 2px 12px hsl(220, 20%, 16%, 0.06);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --container-max: 1200px;
  --nav-height:    70px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

p { max-width: 72ch; }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-4xl);
}

.section--sm {
  padding-block: var(--space-2xl);
}

.section--alt {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: hsl(0, 0%, 100%, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: hsl(0, 0%, 100%, 0.98);
  box-shadow: var(--shadow-nav);
}

.navbar__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text) !important;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.navbar__logo span { color: var(--color-primary); }
.navbar__logo em   { color: var(--color-accent); font-style: normal; }

/* Desktop nav: simplified — Inicio + Modelos dropdown + Ver todos */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.navbar__links a:hover {
  color: var(--color-text);
  background: var(--color-bg-2);
}

.navbar__links a.active { color: var(--color-primary); font-weight: 600; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  font-family: var(--font-body);
  white-space: nowrap;
}

.nav-dropdown__toggle:hover,
.nav-dropdown.open .nav-dropdown__toggle {
  color: var(--color-text);
  background: var(--color-bg-2);
}

.nav-dropdown__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown.open .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  min-width: 520px;
  z-index: 2000;
  animation: fadeInDown 0.18s ease both;
}

.nav-dropdown.open .nav-dropdown__menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.nav-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.83rem;
  color: var(--color-text-muted) !important;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
  line-height: 1.3;
}

.nav-dropdown__item:hover {
  background: var(--color-bg-2);
  color: var(--color-primary) !important;
}

.nav-dropdown__item .item-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.navbar__cta {
  background: var(--color-primary);
  color: white !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
  box-shadow: 0 2px 8px hsl(224, 76%, 48%, 0.3) !important;
}

.navbar__cta:hover {
  background: var(--color-primary-dark) !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px hsl(224, 76%, 48%, 0.4) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1100;
  box-shadow: var(--shadow-xs);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  flex-direction: column;
  padding: var(--space-lg);
  gap: 2px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

body.nav-open .navbar__mobile { transform: translateX(0); }

.navbar__mobile a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.75rem var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar__mobile a:hover, .navbar__mobile a:focus {
  color: var(--color-primary);
  background: var(--color-primary-glow);
}

.navbar__mobile-section {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  padding: var(--space-md) var(--space-md) var(--space-xs);
  margin-top: var(--space-sm);
}

/* ============================================================
   5. HERO SECTION — LIGHT VERSION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, hsl(224, 30%, 97%) 0%, hsl(210, 25%, 95%) 50%, hsl(37, 30%, 96%) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
  mix-blend-mode: multiply;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsl(224, 30%, 97%, 0.85) 0%,
    hsl(210, 25%, 95%, 0.7) 100%
  );
}

/* Decorative blobs */
.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(224, 76%, 48%, 0.06) 0%, transparent 70%);
  top: 40%;
  right: -10%;
  pointer-events: none;
}

.hero__glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(37, 91%, 48%, 0.06) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: hsl(224, 76%, 48%, 0.08);
  border: 1px solid hsl(224, 76%, 48%, 0.2);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease both;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 54ch;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s 0.2s ease both;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  align-self: center;
}

/* ============================================================
   6. ARTICLE HERO (Inner Pages)
   ============================================================ */
.article-hero {
  position: relative;
  height: clamp(280px, 42vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-height);
  background-color: var(--color-text); /* Fondo oscuro de respaldo para texto blanco */
}

.article-hero__img {
  position: absolute;
  inset: 0;
}

.article-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.article-hero:hover .article-hero__img img {
  transform: scale(1.02);
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(220, 20%, 10%, 0.85) 0%,
    hsl(220, 20%, 10%, 0.45) 55%,
    hsl(220, 20%, 10%, 0.1) 100%
  );
}

.article-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-2xl) var(--space-lg);
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Text on article hero is always white (dark overlay behind) */
.article-hero__content h1,
.article-hero__content .hero-meta,
.article-hero__content .hero-meta span,
.article-hero__content .hero-meta time {
  color: hsl(0, 0%, 95%);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 3px 16px hsl(224, 76%, 48%, 0.28);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px hsl(224, 76%, 48%, 0.38);
  color: white;
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background: var(--color-bg-2);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn--sm { font-size: 0.82rem; padding: 0.45rem 1rem; }
.btn--lg { font-size: 1rem; padding: 0.9rem 2.2rem; }

/* ============================================================
   8. CATEGORY BADGES — Light-theme friendly
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* Dark-bg variants (for article hero overlays) */
.badge--ecommerce  { background: hsl(210, 80%, 55%, 0.2); color: hsl(210, 80%, 75%); border: 1px solid hsl(210, 80%, 55%, 0.35); }
.badge--youtube    { background: hsl(0, 80%, 52%, 0.2);   color: hsl(0, 80%, 78%);   border: 1px solid hsl(0, 80%, 52%, 0.35); }
.badge--webs       { background: hsl(158, 60%, 42%, 0.2); color: hsl(158, 60%, 72%); border: 1px solid hsl(158, 60%, 42%, 0.35); }
.badge--ia         { background: hsl(185, 65%, 36%, 0.2); color: hsl(185, 65%, 70%); border: 1px solid hsl(185, 65%, 36%, 0.35); }
.badge--marketing  { background: hsl(27, 85%, 46%, 0.2);  color: hsl(27, 85%, 75%);  border: 1px solid hsl(27, 85%, 46%, 0.35); }
.badge--adsense    { background: hsl(224, 76%, 55%, 0.2); color: hsl(224, 76%, 80%); border: 1px solid hsl(224, 76%, 55%, 0.35); }
.badge--afiliacion { background: hsl(37, 91%, 50%, 0.2);  color: hsl(37, 91%, 78%);  border: 1px solid hsl(37, 91%, 50%, 0.35); }
.badge--trading    { background: hsl(142, 55%, 36%, 0.2); color: hsl(142, 55%, 72%); border: 1px solid hsl(142, 55%, 36%, 0.35); }
.badge--meta       { background: hsl(220, 55%, 46%, 0.2); color: hsl(220, 55%, 76%); border: 1px solid hsl(220, 55%, 46%, 0.35); }

/* Light-bg variants (for cards on white bg) */
.badge--ecommerce-light  { background: hsl(210, 80%, 55%, 0.10); color: hsl(210, 80%, 38%); border: 1px solid hsl(210, 80%, 55%, 0.25); }
.badge--youtube-light    { background: hsl(0, 80%, 52%, 0.10);   color: hsl(0, 80%, 42%);   border: 1px solid hsl(0, 80%, 52%, 0.25); }
.badge--webs-light       { background: hsl(158, 60%, 38%, 0.10); color: hsl(158, 60%, 30%); border: 1px solid hsl(158, 60%, 38%, 0.25); }
.badge--ia-light         { background: hsl(185, 65%, 36%, 0.10); color: hsl(185, 65%, 28%); border: 1px solid hsl(185, 65%, 36%, 0.25); }
.badge--marketing-light  { background: hsl(27, 85%, 46%, 0.10);  color: hsl(27, 85%, 36%);  border: 1px solid hsl(27, 85%, 46%, 0.25); }
.badge--adsense-light    { background: hsl(224, 76%, 48%, 0.10); color: hsl(224, 76%, 38%); border: 1px solid hsl(224, 76%, 48%, 0.25); }
.badge--afiliacion-light { background: hsl(37, 91%, 50%, 0.10);  color: hsl(37, 91%, 34%);  border: 1px solid hsl(37, 91%, 50%, 0.25); }
.badge--trading-light    { background: hsl(142, 55%, 36%, 0.10); color: hsl(142, 55%, 26%); border: 1px solid hsl(142, 55%, 36%, 0.25); }
.badge--meta-light       { background: hsl(220, 55%, 46%, 0.10); color: hsl(220, 55%, 36%); border: 1px solid hsl(220, 55%, 46%, 0.25); }

/* Legacy compatibility aliases */
.badge--dropshipping { background: hsl(210, 80%, 55%, 0.10); color: hsl(210, 80%, 38%); border: 1px solid hsl(210, 80%, 55%, 0.25); }
.badge--contenido    { background: hsl(285, 60%, 52%, 0.10); color: hsl(285, 60%, 38%); border: 1px solid hsl(285, 60%, 52%, 0.25); }
.badge--info         { background: hsl(345, 70%, 55%, 0.10); color: hsl(345, 70%, 42%); border: 1px solid hsl(345, 70%, 55%, 0.25); }

/* ============================================================
   9. ARTICLE CARDS — Clean light style
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeInUp 0.5s ease both;
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: hsl(224, 76%, 48%, 0.3);
}

.card__image {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img { transform: scale(1.06); }

.card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(220, 20%, 12%, 0.4) 0%, transparent 60%);
}

.card__category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
}

.card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.card:hover .card__title { color: var(--color-primary); }

.card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.775rem;
  color: var(--color-text-faint);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.card__link {
  position: absolute;
  inset: 0;
}

/* Featured card */
.card--featured { grid-column: span 2; }
.card--featured .card__image { height: 240px; }

/* ============================================================
   10. SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header__label,
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-header__title,
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.section-header__subtitle,
.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* Features grid (why us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   11. ARTICLE CONTENT
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
  padding-block: var(--space-3xl);
}

.article-content { min-width: 0; }

.article-content h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border-light);
  position: relative;
  color: var(--color-text);
}

.article-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.article-content p {
  color: var(--color-text-muted);
  font-size: 1.025rem;
  line-height: 1.85;
  margin-bottom: var(--space-lg);
  max-width: 70ch;
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.article-content strong { color: var(--color-text); font-weight: 600; }

/* Callout boxes */
.callout {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-block: var(--space-xl);
  border-left: 4px solid;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.callout--warning {
  background: hsl(37, 91%, 48%, 0.07);
  border-color: var(--color-accent);
}
.callout--info {
  background: hsl(224, 76%, 48%, 0.06);
  border-color: var(--color-primary);
}
.callout--danger {
  background: hsl(0, 70%, 55%, 0.07);
  border-color: hsl(0, 70%, 50%);
}
.callout--success {
  background: hsl(142, 55%, 38%, 0.07);
  border-color: hsl(142, 55%, 38%);
}

.callout__icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }

.callout__body p { margin-bottom: 0; font-size: 0.95rem; color: var(--color-text-muted); max-width: none; }

.callout__body strong {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-block: var(--space-xl);
  box-shadow: var(--shadow-xs);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--color-surface);
}

.article-table th {
  background: var(--color-bg-2);
  color: var(--color-text);
  font-weight: 700;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  white-space: nowrap;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-border);
}

.article-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-muted);
  vertical-align: top;
}

.article-table tr:last-child td { border-bottom: none; }
.article-table tr:hover td { background: var(--color-bg-2); }

/* Step list */
.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin-block: var(--space-xl);
}

.steps li {
  counter-increment: steps;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.steps li:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsl(224, 76%, 48%, 0.08);
}

.steps li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* Inline article image */
.article-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.article-img img { width: 100%; height: 240px; object-fit: cover; }

.article-img figcaption {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  padding: 0.6rem var(--space-md);
  background: var(--color-bg-2);
  text-align: center;
}

/* ============================================================
   12. SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.sidebar-widget__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}

/* ============================================================
   13. AD SLOTS (AdSense Placeholders)
   ============================================================ */
.ad-slot {
  background: hsl(210, 15%, 97%);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  gap: var(--space-xs);
  overflow: hidden;
}

.ad-slot--leaderboard {
  width: 100%;
  height: 90px;
  max-width: 728px;
  margin-inline: auto;
}

.ad-slot--rectangle {
  width: 100%;
  height: 250px;
  max-width: 300px;
}

.ad-slot--responsive { width: 100%; min-height: 90px; }

.ad-slot-label {
  font-size: 0.65rem;
  color: var(--color-text-faint);
  text-align: center;
}

.ad-wrap {
  padding-block: var(--space-lg);
  text-align: center;
}

/* ============================================================
   14. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding-block: var(--space-lg);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text-muted); }

/* ============================================================
   15. RELATED ARTICLES
   ============================================================ */
.related {
  padding-block: var(--space-3xl);
  border-top: 1px solid var(--color-border-light);
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* ============================================================
   16. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  max-width: 500px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transform: translateY(calc(100% + var(--space-lg) * 2));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  opacity: 0;
}

.cookie-banner.visible {
  transform: translateY(0);
  pointer-events: all;
  opacity: 1;
}

.cookie-banner__icon { font-size: 1.8rem; flex-shrink: 0; }
.cookie-banner__text { flex: 1; }

.cookie-banner__text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.cookie-banner__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-3xl) var(--space-xl);
  margin-top: var(--space-4xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  max-width: 32ch;
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-md);
}

.footer__links { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  max-width: none;
}

.footer__legal-links { display: flex; gap: var(--space-lg); }

.footer__legal-links a {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

.footer__legal-links a:hover { color: var(--color-primary); }

/* ============================================================
   18. LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding-block: var(--space-3xl);
}

.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.legal-content .last-updated {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.legal-content h3 { font-size: 1rem; font-weight: 700; margin-top: var(--space-xl); margin-bottom: var(--space-sm); }

.legal-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-content ul { padding-left: var(--space-xl); list-style: disc; margin-bottom: var(--space-lg); }

.legal-content li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

/* ============================================================
   19. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px) translateX(-50%); }
  to   { opacity: 1; transform: translateY(0) translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Card stagger */
.card:nth-child(1) { animation-delay: 0.04s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.12s; }
.card:nth-child(4) { animation-delay: 0.16s; }
.card:nth-child(5) { animation-delay: 0.20s; }
.card:nth-child(6) { animation-delay: 0.24s; }
.card:nth-child(7) { animation-delay: 0.28s; }
.card:nth-child(8) { animation-delay: 0.32s; }
.card:nth-child(9) { animation-delay: 0.36s; }

/* ============================================================
   20. RESPONSIVE — TABLET (≤960px)
   ============================================================ */
@media (max-width: 960px) {
  .navbar__links { display: none; }
  .hamburger    { display: flex; }
  .navbar__mobile { display: flex; }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-widget { flex: 1; min-width: 240px; }

  .ad-slot--rectangle { max-width: 100%; height: 120px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }

  .card--featured { grid-column: span 1; }

  .nav-dropdown__menu { display: none !important; }
}

/* ============================================================
   21. RESPONSIVE — MOBILE (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --space-4xl: 3.5rem;
    --space-3xl: 2.5rem;
  }

  .container { padding-inline: var(--space-md); }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-3xl);
  }

  .hero__stats { gap: var(--space-lg); }
  .hero__stat-divider { display: none; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .grid-auto { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }

  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal-links { justify-content: center; flex-wrap: wrap; gap: var(--space-md); }

  .cookie-banner {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    flex-direction: column;
  }

  .ad-slot--leaderboard { height: 60px; }

  .article-hero { height: clamp(200px, 35vh, 300px); }

  .table-wrapper { font-size: 0.82rem; }

  .steps li { flex-direction: column; }
}

/* ============================================================
   22. MISC HELPERS
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-2xl);
}

.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h2[id], h3[id] {
  scroll-margin-top: calc(var(--nav-height) + var(--space-lg));
}

/* Hero meta row (date, read time on article pages) */
.hero-meta,
.article-meta,
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: hsl(220, 20%, 80%) !important;
}

.hero-meta time,
.hero-meta span,
.article-meta time,
.article-meta span,
.article-hero__meta time,
.article-hero__meta span,
.meta-item,
.hero-meta__item {
  color: hsl(220, 20%, 85%) !important;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero-meta svg,
.article-meta svg,
.article-hero__meta svg,
.meta-item svg,
.hero-meta__item svg {
  color: var(--color-primary-light, #a5b4fc) !important;
  stroke: var(--color-primary-light, #a5b4fc) !important;
  flex-shrink: 0;
  width: 16px !important;
  height: 16px !important;
  display: inline-block;
  vertical-align: middle;
}

/* Article Hero Image Containers - Fix for Gray Gaps & Bad Fit */
.article-hero__img,
.article-hero__image,
.article-hero__img-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.article-hero__img img,
.article-hero__image img,
.article-hero__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.8s ease;
}

.article-hero:hover .article-hero__img img,
.article-hero:hover .article-hero__image img,
.article-hero:hover .article-hero__img-wrap img {
  transform: scale(1.02);
}

/* ============================================================
   15. RELATED ARTICLES - Premium Design System Fix
   ============================================================ */
.related-articles {
  padding-block: var(--space-3xl);
  border-top: 1px solid var(--color-border-light);
  background-color: var(--color-bg);
}

.related-articles__title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.related-articles__grid,
.cards-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

/* Premium Card Design for Related Articles */
.article-card,
.related-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.article-card:hover,
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: hsl(224, 76%, 48%, 0.3);
}

.article-card__link,
.related-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card__image-wrap,
.related-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
  background: var(--color-bg-2);
}

.article-card__image-wrap img,
.related-card__img-wrap img,
img.related-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-card__image-wrap img,
.related-card:hover .related-card__img-wrap img,
.related-card:hover img.related-card__img {
  transform: scale(1.06);
}

.article-card__content,
.related-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__title,
.related-card__title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.article-card:hover .article-card__title,
.related-card:hover .related-card__title {
  color: var(--color-primary);
}

.article-card__excerpt,
.related-card__excerpt,
.related-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__cta,
.related-card__cta {
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.article-card:hover .article-card__cta,
.related-card:hover .related-card__cta {
  color: var(--color-primary-hover);
  transform: translateX(3px);
}

/* Horizontal or icon layout for text-only related cards */
.related-card:not(:has(img)):not(:has(.related-card__img-wrap)):not(:has(.related-card__img)) {
  flex-direction: row !important;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
}

.related-card:not(:has(img)):not(:has(.related-card__img-wrap)):not(:has(.related-card__img)) .related-card__title {
  margin: 0;
  font-size: 1rem;
}

/* Card Placeholders & Gradients (For trading page & others) */
.card__img-link {
  display: block;
  height: 200px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform var(--transition-slow);
}

.card__img-link:hover .card__img-placeholder {
  transform: scale(1.06);
}

.card__img-placeholder--contenido {
  background: linear-gradient(135deg, hsl(340, 80%, 15%), hsl(340, 80%, 25%));
}

.card__img-placeholder--afiliacion {
  background: linear-gradient(135deg, hsl(200, 80%, 15%), hsl(200, 80%, 25%));
}

.card__img-placeholder--info {
  background: linear-gradient(135deg, hsl(120, 80%, 15%), hsl(120, 80%, 25%));
}

.card__img-icon {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* ══════════════════════════════════════════════════════════════
   17. READABILITY & Aesthetic Refinements (Breadcrumbs Hiding)
   ══════════════════════════════════════════════════════════════ */

/* Hide breadcrumb navigations globally as requested */
.breadcrumb,
.breadcrumb-wrap {
  display: none !important;
}

/* Ensure absolute legibility on hero text & metadata over any light image background */
.article-hero h1,
.article-hero__content h1 {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.hero-meta,
.article-meta,
.article-hero__meta {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8) !important;
}

/* ══════════════════════════════════════════════════════════════
   18. ARTICLE DISCLAIMERS
   ══════════════════════════════════════════════════════════════ */
.article-disclaimer {
  margin-top: var(--space-2xl) !important;
  padding: var(--space-lg) !important;
  border-top: 1px solid var(--color-border) !important;
  background-color: var(--color-bg-2) !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9rem !important;
  color: var(--color-text-muted) !important;
  line-height: 1.7 !important;
  margin-bottom: var(--space-xl) !important;
}

.article-disclaimer p {
  margin-bottom: 0 !important;
  max-width: none !important;
}

/* ══════════════════════════════════════════════════════════════
   19. AD HIDING (TEMPORARY UNTIL ADSENSE APPROVAL)
   ══════════════════════════════════════════════════════════════ */
/* Oculta los placeholders grises de publicidad para un aspecto 100% limpio y profesional.
   Una vez obtengas la aprobacion de Google AdSense, simplemente borra o comenta esta regla. */
.ad-wrap,
.ad-slot,
.ad-slot--leaderboard,
.ad-slot--rectangle,
.ad-slot--responsive,
.ad-slot-label,
.sidebar-widget--ad {
  display: none !important;
}


