/* ICEID News - Diseño Profesional y Atractivo para Ciberseguridad */

/* Reset y configuración base moderna */
.news-article * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Indicador de progreso elegante */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
  z-index: 1000;
  transition: width 0.2s ease-out;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Variables modernas y atractivas */
.news-article {
  /* Colores profesionales pero atractivos */
  --primary: #3b82f6;
  --secondary: #06b6d4;
  --accent: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Backgrounds limpios */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent: #f1f5f9;
  --bg-dark: #0f172a;
  
  /* Textos legibles */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  
  /* Borders suaves */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  
  /* Sombras modernas */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Tipografía optimizada */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
  
  /* Espaciado consistente */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Configuración base limpia */
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--font-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Breadcrumb moderno y limpio */
.breadcrumb {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-3) 0;
  font-size: var(--font-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb li {
  color: var(--text-secondary);
  font-weight: 500;
}

.breadcrumb li:not(:last-child)::after {
  content: "→";
  margin-left: var(--space-2);
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--news-accent);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.breadcrumb a:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--news-text-primary);
  transform: translateY(-1px);
}

/* Contenedor principal limpio y moderno */
.news-container {
  background: var(--bg-primary);
  min-height: 100vh;
  padding: 0;
}

.news-article-content {
  background: var(--bg-primary);
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.news-article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--news-accent) 0%, var(--news-gold) 50%, var(--news-accent-secondary) 100%);
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.3);
}

.news-article-content .container {
  padding: 80px 60px;
}

/* Header del artículo limpio y atractivo */
.article-header {
  margin-bottom: var(--space-12);
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.article-meta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.article-category {
  background: var(--primary);
  color: var(--text-light);
  padding: var(--space-2) var(--space-4);
  border-radius: 9999px;
  font-weight: 600;
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.article-date, .article-location {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
}

.article-date::before {
  content: "📅";
  font-size: 1rem;
}

.article-location::before {
  content: "📍";
  font-size: 1rem;
}

.article-date, .article-location {
  font-weight: 500;
}

/* Título moderno y atractivo */
.article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin: var(--space-8) 0 var(--space-6) 0;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.article-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-12);
  padding: var(--space-6) var(--space-8);
  background: var(--bg-accent);
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.article-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--news-accent), var(--news-gold));
  border-radius: 0 6px 6px 0;
}

/* Card del autor premium */
.article-author-info {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(20, 30, 48, 0.9) 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 60px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.article-author-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--news-accent), var(--news-gold), var(--news-accent-secondary));
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--news-accent);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
  position: relative;
}

.author-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.author-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-name {
  display: block;
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.author-title {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.author-contact {
  color: var(--news-accent);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: inline-block;
  backdrop-filter: blur(8px);
}

.author-contact:hover {
  color: var(--news-bg);
  background: var(--news-accent);
  border-color: var(--news-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Imagen hero moderna */
.article-image {
  margin: 60px -50px;
  position: relative;
}

.article-image img {
  width: calc(100% + 100px);
  height: 400px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--news-shadow-lg);
  position: relative;
}

.article-image figcaption {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--news-text-muted);
  font-style: italic;
  text-align: center;
  padding: 0 50px;
  background: rgba(30, 182, 233, 0.05);
  padding: 16px 50px;
  border-radius: 0 0 16px 16px;
  border-top: 1px solid rgba(30, 182, 233, 0.1);
}

/* Imagen responsive premium */
@media (max-width: 768px) {
  .article-image {
    margin: 32px -16px;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .article-image img {
    width: calc(100% + 32px);
    height: 220px;
    border-radius: 12px 12px 0 0;
  }
  
  .article-image figcaption {
    padding: 12px 16px;
    font-size: 0.9rem;
    background: rgba(26, 35, 50, 0.95);
  }
}

@media (max-width: 480px) {
  .article-image {
    margin: 24px -12px;
  }
  
  .article-image img {
    width: calc(100% + 24px);
    height: 200px;
    border-radius: 10px 10px 0 0;
  }
  
  .article-image figcaption {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* Contenido del artículo optimizado para lectura profesional */
.article-content {
  color: var(--text-primary);
  line-height: 1.7;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 400;
  max-width: 800px;
  margin: var(--space-10) auto 0;
  padding: 0 var(--space-4);
}

.lead-paragraph {
  font-size: var(--font-lead);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(30, 182, 233, 0.08) 0%, rgba(201, 161, 74, 0.05) 100%);
  border-radius: 16px;
  color: var(--news-text-primary);
  position: relative;
  border: 1px solid rgba(30, 182, 233, 0.15);
  text-align: left;
}

.lead-paragraph::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--news-accent) 0%, var(--news-accent-secondary) 100%);
  border-radius: 0 4px 4px 0;
}

.article-content p {
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.article-content a:hover,
.article-content a:focus {
  color: var(--primary-dark);
  text-decoration-thickness: 2px;
}

.article-content ul,
.article-content ol {
  margin: var(--space-6) 0;
  padding-left: var(--space-6);
}

.article-content li {
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.article-content li::marker {
  color: var(--primary);
}

.article-quote {
  background: var(--bg-accent);
  margin: var(--space-8) 0;
  padding: var(--space-6);
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.article-quote p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: 1.6;
}

.article-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: var(--space-3);
}

/* Listas */
.article-list {
  margin: 24px 0;
  padding-left: 0;
}

.article-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.article-list li::before {
  content: "•";
  color: var(--news-accent);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

.article-list li strong {
  color: var(--news-text);
}

/* Caja de información de contacto premium */
.contact-info-box {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(20, 30, 48, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 32px;
  margin: 50px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.contact-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--news-accent), var(--news-gold), var(--news-accent-secondary));
}

.contact-info-box h3 {
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -0.02em;
}

.contact-details p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.contact-details a {
  color: var(--news-accent);
  text-decoration: none;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-details a:hover {
  color: var(--news-bg);
  background: var(--news-accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

/* Footer del artículo */
.article-footer {
  margin-top: 60px;
  padding: 48px 0;
  position: relative;
}

.article-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--news-accent), var(--news-gold), var(--news-accent-secondary));
  border-radius: 2px;
}

/* Tags premium */
.article-tags {
  margin-bottom: 40px;
  text-align: center;
}

.article-tags h4 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--news-accent), var(--news-accent-secondary));
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  margin: 6px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag:hover {
  background: linear-gradient(135deg, var(--news-gold), var(--news-accent));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Compartir premium */
.article-share {
  text-align: center;
}

.article-share h4 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.share-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(20, 30, 48, 0.9) 100%);
  color: var(--news-accent);
  text-decoration: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.share-btn:hover {
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  color: var(--news-bg);
  border-color: var(--news-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Artículos relacionados premium */
.related-articles {
  background: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0a0f1c 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.related-articles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--news-accent), transparent);
}

.related-articles h3 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.related-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(20, 30, 48, 0.95) 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  position: relative;
}

.related-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--news-accent), var(--news-gold), var(--news-accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.related-card:hover::before {
  opacity: 1;
}

.related-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 212, 255, 0.3);
}

.related-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  position: relative;
}

.related-content {
  padding: 32px 28px;
  position: relative;
}

.related-content h4 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}

.related-content h4 a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-content h4 a:hover {
  background: linear-gradient(135deg, var(--news-accent), var(--news-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.related-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Diseño mobile-first premium para periodismo profesional */

/* Tablet y dispositivos medianos (768px-1024px) */
@media (max-width: 1024px) {
  .news-container {
    padding: 16px 0 40px;
  }
  
  .news-article-content .container {
    padding: 32px 20px;
  }
  
  .article-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin: 16px 0;
  }
  
  .article-subtitle {
    font-size: 1rem;
    padding: 20px 24px;
    margin-bottom: 24px;
  }
  
  .related-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

/* Mobile premium (768px y menor) */
@media (max-width: 768px) {
  .news-container {
    padding: 12px 0 32px;
  }
  
  .news-article-content .container {
    padding: 24px 16px;
    max-width: 100%;
  }
  
  .article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    text-align: left;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .article-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    line-height: 1.25;
    margin: 16px 0;
    letter-spacing: -0.02em;
  }
  
  .article-subtitle {
    font-size: 1rem;
    padding: 20px;
    margin-bottom: 24px;
    line-height: 1.5;
    border-radius: 16px;
  }
  
  .breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .article-author-info {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    padding: 24px 20px;
    margin: 32px 0;
    border-radius: 16px;
  }
  
  .author-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  
  .author-details {
    flex: 1;
  }
  
  .author-name {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .author-title {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .author-contact {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
  }
  
  .article-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 32px;
  }
  
  .article-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
    margin: 28px 0 14px;
  }
  
  .article-content p {
    margin-bottom: 20px;
    font-size: 1rem;
  }
  
  .lead-paragraph {
    font-size: 1.15rem;
    padding: 20px;
    margin-bottom: 28px;
    line-height: 1.6;
    border-radius: 16px;
  }
  
  .article-quote {
    padding: 20px;
    margin: 28px 0;
    font-size: 1.05rem;
    border-radius: 16px;
  }
  
  .article-footer {
    margin-top: 40px;
    padding: 32px 0;
  }
  
  .article-tags {
    margin-bottom: 32px;
  }
  
  .article-tags h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .tag {
    padding: 8px 16px;
    margin: 4px 6px 4px 0;
    font-size: 0.8rem;
    border-radius: 20px;
  }
  
  .article-share h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .share-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .share-btn {
    padding: 16px 20px;
    font-size: 0.95rem;
    justify-content: center;
    min-width: auto;
    width: 100%;
    border-radius: 12px;
  }
  
  .related-articles {
    padding: 60px 0;
  }
  
  .related-articles h3 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  
  .related-card {
    border-radius: 16px;
  }
  
  .related-card img {
    height: 180px;
  }
  
  .related-content {
    padding: 24px 20px;
  }
  
  .related-content h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  .related-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .contact-info-box {
    padding: 24px 20px;
    margin: 40px 0;
    border-radius: 16px;
  }
  
  .contact-info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .contact-details p {
    font-size: 1rem;
    margin-bottom: 14px;
  }
}

/* Mobile pequeño (480px y menor) - Optimizado para lectura profesional */
@media (max-width: 480px) {
  .news-article-content .container {
    padding: 20px 12px;
  }
  
  .article-title {
    font-size: clamp(1.3rem, 8vw, 1.8rem);
    line-height: 1.3;
    margin: 12px 0;
    letter-spacing: -0.01em;
  }
  
  .article-subtitle {
    font-size: 0.95rem;
    padding: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
    border-radius: 12px;
  }
  
  .breadcrumb {
    padding: 12px 0;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .breadcrumb a {
    padding: 2px 4px;
  }
  
  .article-meta {
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .article-date {
    font-size: 0.8rem;
  }
  
  .article-author-info {
    padding: 20px 16px;
    gap: 16px;
    margin: 24px 0;
  }
  
  .author-avatar {
    width: 50px;
    height: 50px;
  }
  
  .author-name {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .author-title {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .author-contact {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  
  .article-content {
    margin-top: 24px;
  }
  
  .article-content h2 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
  }
  
  .article-content h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
  }
  
  .article-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  
  .lead-paragraph {
    font-size: 1.05rem;
    padding: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  
  .article-quote {
    padding: 16px;
    margin: 20px 0;
    font-size: 1rem;
  }
  
  .article-footer {
    margin-top: 32px;
    padding: 24px 0;
  }
  
  .article-tags h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .tag {
    padding: 6px 12px;
    margin: 3px 4px 3px 0;
    font-size: 0.75rem;
    border-radius: 16px;
  }
  
  .article-share h4 {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  
  .share-btn {
    padding: 12px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  
  .related-articles h3 {
    font-size: 1.6rem;
    margin-bottom: 32px;
  }
  
  .related-card {
    border-radius: 12px;
  }
  
  .related-card img {
    height: 160px;
  }
  
  .related-content {
    padding: 20px 16px;
  }
  
  .related-content h4 {
    font-size: 1.05rem;
    line-height: 1.4;
  }
  
  .related-content p {
    font-size: 0.9rem;
  }
  
  .contact-info-box {
    padding: 20px 16px;
    margin: 32px 0;
  }
  
  .contact-info-box h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .contact-details p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
}

/* Micro móviles (360px y menor) - Optimizado para lectura profesional */
@media (max-width: 360px) {
  .news-article-content .container {
    padding: 16px 10px;
    max-width: 100%;
  }
  
  .article-title {
    font-size: clamp(1.25rem, 9vw, 1.7rem);
    line-height: 1.3;
    margin: 12px 0;
    letter-spacing: -0.02em;
    word-spacing: -0.05em;
  }
  
  .article-subtitle {
    font-size: 0.9rem;
    padding: 14px;
    line-height: 1.6;
    border-radius: 12px;
  }
  
  .breadcrumb {
    padding: 10px 0;
    font-size: 0.75rem;
  }
  
  .article-author-info {
    padding: 16px 12px;
    gap: 12px;
    border-radius: 12px;
  }
  
  .author-avatar {
    width: 45px;
    height: 45px;
  }
  
  .author-name {
    font-size: 0.95rem;
  }
  
  .author-title {
    font-size: 0.75rem;
  }
  
  .author-contact {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  
  .article-content {
    margin-top: 20px;
  }
  
  .article-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: left;
  }
  
  .lead-paragraph {
    padding: 14px;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .article-content h2 {
    font-size: 1.15rem;
    margin: 20px 0 10px;
  }
  
  .article-content h3 {
    font-size: 1.05rem;
    margin: 16px 0 8px;
  }
  
  .share-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
    min-height: 40px;
    border-radius: 8px;
  }
  
  .tag {
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 12px;
  }
  
  .related-content h4 {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .related-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  /* Mejorar legibilidad en pantallas muy pequeñas */
  .article-content ul, .article-content ol {
    padding-left: 20px;
    margin: 16px 0;
  }
  
  .article-content li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  .contact-info-box {
    padding: 16px 12px;
    margin: 24px 0;
  }
}

/* iPhone SE y dispositivos similares (320px) */
@media (max-width: 320px) {
  .news-article-content .container {
    padding: 12px 8px;
  }
  
  .article-title {
    font-size: clamp(1.1rem, 10vw, 1.5rem);
    line-height: 1.25;
    word-spacing: -0.1em;
  }
  
  .article-content p {
    font-size: 0.85rem;
    line-height: 1.8;
  }
  
  .lead-paragraph {
    font-size: 0.95rem;
    padding: 12px;
  }
  
  .share-btn {
    font-size: 0.75rem;
    padding: 8px 10px;
  }
}

/* Mejoras para experiencia móvil profesional */
.news-article {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Optimización táctil para dispositivos móviles */
.share-btn, .tag, .author-contact, .breadcrumb a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 212, 255, 0.2);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mejora de contraste para accesibilidad */
@media (prefers-contrast: high) {
  .news-article {
    --news-text-primary: #ffffff;
    --news-text-secondary: #e0e0e0;
    --news-accent: #00e6ff;
  }
}

/* Reducción de animaciones para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
  .article-title, .article-subtitle, .article-author-info, 
  .article-image, .lead-paragraph, .article-quote, 
  .contact-info-box, .share-btn, .related-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Animaciones y transiciones suaves para dispositivos compatibles */
@media (prefers-reduced-motion: no-preference) {
  .article-title, .article-subtitle, .article-author-info, 
  .article-image, .lead-paragraph, .article-quote, 
  .contact-info-box, .share-btn, .related-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
  }
}

.article-title { animation-delay: 0.1s; }
.article-subtitle { animation-delay: 0.2s; }
.article-author-info { animation-delay: 0.3s; }
.article-image { animation-delay: 0.4s; }
.lead-paragraph { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Selección de texto personalizada */
::selection {
  background: rgba(30, 182, 233, 0.2);
  color: var(--news-text-primary);
}

/* Focus states accesibles */
.share-btn:focus,
.breadcrumb a:focus,
.author-contact:focus {
  outline: 2px solid var(--news-accent);
  outline-offset: 2px;
}

/* Loading state para imágenes */
.article-image img {
  transition: opacity 0.3s ease;
}

.article-image img[loading] {
  opacity: 0.8;
}

/* Mejoras en párrafos del contenido */
.article-content p {
  margin-bottom: 24px;
  text-align: justify;
  color: var(--news-text-primary);
}

/* Listas modernas */
.article-list {
  margin: 32px 0;
  padding-left: 0;
}

.article-list li {
  margin-bottom: 16px;
  padding: 16px 24px;
  background: rgba(30, 182, 233, 0.05);
  border-radius: 12px;
  position: relative;
  border-left: 3px solid var(--news-accent);
  transition: all 0.2s ease;
}

.article-list li:hover {
  background: rgba(30, 182, 233, 0.1);
  transform: translateX(4px);
}

.article-list li::before {
  content: "→";
  color: var(--news-accent);
  font-weight: bold;
  position: absolute;
  left: 8px;
  top: 16px;
}

.article-list li strong {
  color: var(--news-text-primary);
  display: block;
  margin-bottom: 4px;
}

/* Caja de contacto premium - Estilos mejorados */
.contact-info-box {
  background: linear-gradient(135deg, var(--news-card) 0%, var(--news-surface) 100%);
  border: 1px solid rgba(30, 182, 233, 0.2);
  border-radius: 20px;
  padding: 40px;
  margin: 60px 0;
  box-shadow: var(--news-shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--news-accent) 0%, var(--news-accent-2) 100%);
}

.contact-info-box h3 {
  color: var(--news-text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-info-box h3::before {
  content: "📞";
  font-size: 1.25rem;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-details p {
  margin: 0;
  font-size: 1.125rem;
  color: var(--news-text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(30, 182, 233, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.contact-details p:hover {
  background: rgba(30, 182, 233, 0.1);
  transform: translateX(4px);
}

.contact-details strong {
  color: var(--news-text-primary);
  min-width: 120px;
}

.contact-details a {
  color: var(--news-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-details a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(30, 182, 233, 0.5);
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Modo oscuro respeto */
@media (prefers-color-scheme: dark) {
  .news-article {
    --news-text: #e1e8ed;
    --news-bg: #15202b;
    --news-accent: #1da1f2;
    --news-border: #38444d;
    --news-quote-bg: #192734;
    --news-meta: #8899a6;
  }
}

/* Print styles para Google News */
@media print {
  .article-share,
  .related-articles,
  header,
  footer,
  .breadcrumb {
    display: none !important;
  }
  
  .news-article-content {
    padding: 0;
    max-width: 100%;
  }
  
  .article-title {
    font-size: 24pt;
    color: black;
  }
  
  .article-content {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
}