/* ---------------- Articles Section ---------------- */
#articulos {
  max-width: 1500px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  text-align: center;
  background-color: transparent; /* remove dark block */
}

.contenedor_tarjeta {
  width: 350px;
  background: #2a2d32;
  border-radius: 20px; /* match the round corners */
  overflow: hidden;
  box-shadow: 0px 6px 14px rgba(0,0,0,0.28);
  border: 2px solid rgba(155,48,255,0.55); /* purple border */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contenedor_tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 22px rgba(155,48,255,0.45);
  border-color: #9b30ff; /* stronger purple on hover */
}


.contenedor_tarjeta a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

/* ---------------- Figure ---------------- */
.contenedor_tarjeta figure {
  margin: 0;
  position: relative;
}

figure img.frontal {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ---------------- Back Content ---------------- */
figure .trasera {
  padding: 20px;
  background: #1f2227;
  color: #fff;
}

figure .trasera .titulo {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

figure .trasera hr {
  border: none;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 10px 0 16px;
}

figure .trasera p {
  font-size: 15px;
  line-height: 1.5;
  color: #ccc;
}

/* ---------------- Card Variants ---------------- */
.tarjeta_video {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

.tarjeta_noticia {
  background: linear-gradient(135deg, #ffb74d, #f57c00);
}

.tarjeta_pelicula {
  background: linear-gradient(135deg, #ef5350, #c62828);
}

/* ---------------- Highlight Icon ---------------- */
.icon-star-full {
  color: #ffeb3b;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 28px;
}
