* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: #0f172a;
  color: white;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

.navbar {
  background: #0f172a;
  position: sticky;
  top: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  color: #a855f7;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.search-container {
  padding: 40px 16px;
}

.search-container input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
}

.section-title {
  margin-bottom: 20px;
  font-size: 22px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}

.article-card {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}
.article-card a {
  text-decoration: none;
  color: white;
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card h3 {
  padding: 15px;
  font-size: 14px;
}

.footer {
  background: #0f172a;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
}

/* GO TOP */
.go-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #3b82f6;
  border: none;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  display: none;
}

.go-top:hover {
  background: #2563eb;
}

.cls-accion{
  text-decoration: none;
}

.txt-align-r{
  text-align: right !important;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-banner a {
  color: #4dabf7;
}

.cookie-actions button {
  margin-left: 10px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#acceptCookies {
  background: #28a745;
  color: #fff;
}

#rejectCookies {
  background: #dc3545;
  color: #fff;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #0f172a;
    flex-direction: column;
    padding: 15px 20px;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links li {
    margin-bottom: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .enlazatom-disable-image-mobile img, .enlazatom-disable-cta-mobile .btn {
      display:none !important;
  }

  .enlazatom-show-box.enlazatom-disable-cta-mobile {
      padding-right: 20px !important;
  }
}