/*articles*/
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #333;
  }

.article-header {
  background: #F16200;
  background: linear-gradient(90deg,rgba(241, 98, 0, 1) 0%, rgba(245, 202, 174, 1) 29%, rgba(255, 255, 255, 1) 48%);
    padding: 2rem 1rem;
    margin-top: 60px; /* espacio para el navbar */
  }
  
  .article-header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .article-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .article-image img {
    width: 90%;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .article-image img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
  
  .article-info {
    flex: 2 1 400px;
    padding: 1rem;
    color: white;
  }
  
  .article-category {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #1a3669;
  }
  
  .article-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .article-title h1{
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .article-date {
    font-size: 0.9rem;
    color: #00bf77
  }
  
  /* RESPONSIVE: para celulares */
  @media (max-width: 768px) {
    .article-header-container {
      flex-direction: column;
      text-align: center;
    }
  
    .article-image img {
      width: 100%;
      max-width: 300px;
    }
  
    .article-info {
      padding: 1rem 0;
    }
  }
/* Estilos para el resumen debajo del encabezado */
.summary-text {
    max-width: 700px;
    margin: 2rem auto;
    font-size: 1.2rem;
    text-align: center;
    padding: 0 1rem;
    color: #555;
  }
  
  /* Estilos para bloques de secciones (tipo eShop, Online, etc.) */
  .article-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  .article-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ff6c00;
  }
  
  .article-section img {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16/5; /* Más horizontal, más bajito */
    object-fit: cover;
    margin: 1rem auto;
    display: block;
    border-radius: 10px;
  }
  .article-section p {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
  }
  
  /* Responsive para celulares */
  @media (max-width: 768px) {
    .summary-text {
      font-size: 1rem;
    }
  
    .article-section {
      padding: 1rem;
    }
  
    .article-section h2 {
      font-size: 1.5rem;
    }
  }
  
  .share-section {
    text-align: center;
    padding: 1rem;
    background: #ebedf7;
background: linear-gradient(180deg,rgba(235, 237, 247, 1) 0%, rgba(250, 245, 245, 1) 16%, rgba(255, 255, 255, 1) 48%);
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
  
  .share-section p {
    font-size: 1.2rem;
    color: #00214d;
    margin-bottom: 0.5rem;
  }
  
  .social-icons a {
    margin: 0 0.5rem;
    font-size: 1.4rem;
    color: #ff5f00;
  }
  
  .related-articles {
    padding: 2rem;
    background-color: #f8f8f8;
  }
  
  .related-articles h2 {
    text-align: center;
    color: #ff5f00;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
  }
  
  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas */
    gap: 1.5rem;
    margin-top: 2rem;
  
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
  }
  
  
  .related-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 300px;
    padding: 1rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
  }
  
  .related-article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .related-article-card:hover {
    transform: translateY(-5px);
  }
  
  .related-article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .related-content {
    padding: 1rem;
  }
  
  .related-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  @media (max-width: 768px) {
    .related-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 500px) {
    .related-grid {
      grid-template-columns: 1fr;
    }
  }


  .btnreverse {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #1a3669;
    color: white;
    padding: 0.6rem 1.2rem;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 9999;
    transition: background-color 0.3s ease;
  }
  
  .btnreverse:hover {
    background-color: #2f61bf;
  }
  
  .btnreverse i {
    font-size: 1.2rem;
  }
  
  /* Responsive para móvil */
  @media (max-width: 768px) {
    .btnreverse {
      top: 70%; /* más abajo en móvil */
      padding: 0.6rem;
      justify-content: center;
    }
  
    .btnreverse::before {
      content: '';
    }
  
    .btnreverse span {
      display: none;
    }
  }
  
  .article-section li {
    text-align: left;
  }
  
  .adsense-simulated {
    margin: 2rem auto;
    padding: 2rem;
    max-width: 728px;
    background: #f4f4f4;
    text-align: center;
    border: 2px dashed #ccc;
    border-radius: 10px;
    font-style: italic;
    color: #888;
  }
  
  .nav-links li a {
    text-align: center;
  }

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

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 1rem 0;
  min-width: 220px;
  border: 1px solid #ccc;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-links .dropdown-content li {
  list-style: none;
  text-align: center;
}

.nav-links .dropdown-content li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
}

.nav-links .dropdown-content li a:hover {
  background: #f0f0f0;
}

/* Mostrar al hacer hover */
.nav-links .dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
  }

  .nav-links .dropdown-content {
    position: static;
    background: #fff;
    border: none;
    box-shadow: none;
    display: none;
  }

  .nav-links .dropdown-content.show {
    display: block;
  }
}
