
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #F5F1E6;
  line-height: 1.6;
}

.LOGO {
  display: block;
  width: 100%;
  margin-top: 56px; /
}


.articulo {
  display: block;
  max-width: 800px; 
  width: 100%;     
  height: auto; 
  margin: 1.5rem auto;
  border-radius: 12px; 
}

.TABLAHUAWEI, .HUAWEI
 {
  display: block;
  max-width: 600px; 
  width: 100%;     
  height: auto; 
  margin: 1.5rem auto;
  border-radius: 12px; 
}

.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;
}


h1 {
  color: #0F172A;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.2rem 0 0.6rem;
}

p,
ul,
ol,
table,
blockquote,
pre {
  margin: 0.75rem 0 1rem;
}

ul,
ol {
  padding-left: 1.5rem;
}

ol li,
ul li {
  margin-bottom: 0.9rem;
  line-height: 1.6;
}


a:hover {
  color: #D8A323;
}

a:active {
  color: #ffb300;
}

main {
  padding: 0 16px;
}

header > p {
  padding: 0 16px;
}

footer {
  background-color: #0F172A;
  color: #F5F1E6;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-links a {
  color: #F5F1E6;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #D8A323;
}


html, body {
  max-width: 100%;
  overflow-x: hidden;
}

table {
  border-collapse: collapse;
  width: 100%;
  display: block;      
  overflow-x: auto;      
}

table th,
table td {
  padding: 0.5rem;
  white-space: nowrap;      
}


main {
  padding-bottom: 2rem; 
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.pagination a,
.pagination span {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  text-decoration: none;
  color: #111827;
}

.pagination .current {
  background-color: #0F172A;
  color: #fff;
  border-color: #0F172A;
  font-weight: 600;
}

.pagination a:hover {
  background-color: #D8A323;
  color: #fff;
  border-color: #D8A323;
}

.pagination .prev,
.pagination .next {
  font-weight: 500;
}


.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5rem;
  background-color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #D8A323;
}

.search-form {
  display: flex;
  align-items: center;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  padding: 0.25rem;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.search-input {
  background-color: transparent;
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  padding-left: 0.6rem;
  font-size: 0.8rem;
  pointer-events: none;
  color: #0F172A;
}

.search-button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: #D8A323;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  padding: 0;
}

.search-icon,
.search-close {
  position: absolute;
  font-size: 1.1rem;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.search-close {
  opacity: 0;
}

.search-form.active-search {
  width: 12rem;
}

.search-form.active-search .search-button {
  left: calc(100% - 1.6rem);
}

.search-form.active-search .search-input {
  pointer-events: auto;
}

.search-form.active-search .search-close {
  opacity: 1;
}

.search-form.active-search .search-icon {
  opacity: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.news-image-link {
  display: block;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 16px;
}

.news-content h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #111827;
}

.news-content h2 a {
  color: #111827;
  text-decoration: none;
}

.news-content h2 a:hover {
  color: #D8A323;
}

.news-content p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 12px;
}

.news-content .read-more-link {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.news-content .read-more-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
