/* =========================
   HERO / SLIDER
========================= */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-slide-image img {
  width: 100%;
  height: clamp(320px, 45vw, 620px);
  object-fit: cover;
}

.hero-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,23,42,.85),
    rgba(15,23,42,.35),
    transparent
  );
}

.hero-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  color: #fff;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 800;
  margin: 0;
}

.hero-date {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
}

/* FLECHAS */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15,23,42,.5);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s;
}

.hero-slider-arrow:hover {
  background: rgba(15,23,42,.8);
}

.hero-slider-arrow--prev { left: 20px; }
.hero-slider-arrow--next { right: 20px; }

/* DOTS */
.hero-slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
}

.hero-slider-dot.is-active {
  width: 22px;
  border-radius: 20px;
  background: #fff;
}

/* =========================
   RECIENTES
========================= */

.posts-grid--recent {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

/* =========================
   FRANJA AZUL
========================= */

.section-tech-full {
  padding: 70px 0;
  background: linear-gradient(135deg,#0f172a,#1d4ed8);
}

.section-tech-full .section-title {
  color: #fff;
}

/* =========================
   FRANJA TURQUESA
========================= */

.section-reviews-full {
  padding: 70px 0;
  background: linear-gradient(135deg,#0ea5a4,#2dd4bf);
}

.section-reviews-full .section-title {
  color: #fff;
}

/* =========================
   BLOQUE GAMING + TV
========================= */

.section-dual-categories {
  padding: 70px 0;
  background: linear-gradient(135deg,#5b21b6,#db2777);
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.dual-block {
  border-radius: 16px;
  padding: 20px;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.dual-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dual-header h3 {
  margin: 0;
}

/* AQUÍ EL FIX CLAVE */
.dual-posts {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}

.dual-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: #020617;
}

.dual-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.dual-content {
  padding: 10px;
}

.dual-content h4 {
  font-size: .9rem;
  margin: 0;
  font-weight: 800;
}

/* =========================
   FRANJA AMARILLA
========================= */

.section-yellow-full {
  padding: 70px 0;
  background: linear-gradient(135deg,#fde047,#facc15);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .posts-grid--recent {
    grid-template-columns: repeat(2,1fr);
  }

  .dual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .posts-grid--recent {
    grid-template-columns: 1fr;
  }

  .dual-posts {
    grid-template-columns: 1fr;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}