.reportages-pagina {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.25rem auto 2.5rem;
}

.reportages-cabecera {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: linear-gradient(135deg, #eff6ff, #fff 58%, #f8fafc);
  text-align: center;
}

.reportages-etiqueta {
  margin: 0 0 .4rem;
  color: #2563eb;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reportages-cabecera h1 {
  margin: 0;
  color: #172554;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.reportages-cabecera p:last-child {
  max-width: 720px;
  margin: .65rem auto 0;
  color: #475569;
  line-height: 1.6;
}

.reportages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

.reportages-tarjeta {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dbe3ee;
  border-radius: 4px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.reportages-tarjeta:hover,
.reportages-tarjeta:focus-visible {
  border-color: #60a5fa;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .13);
  transform: translateY(-3px);
}

.reportages-tarjeta:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 2px;
}

.reportages-tarjeta img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2e8f0;
}

.reportages-contenido {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.reportages-contenido strong {
  color: #172554;
  font-size: 1.05rem;
  line-height: 1.25;
  text-align: center;
}

.reportages-contenido > span:not(.reportages-abrir) {
  margin-top: .55rem;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.5;
}

.reportages-abrir {
  margin-top: auto;
  padding-top: .8rem;
  color: #1d4ed8;
  font-size: .85rem;
  font-weight: 800;
}

@media (max-width: 850px) {
  .reportages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .reportages-pagina { width: min(100% - 1rem, 1180px); margin-top: .5rem; }
  .reportages-grid { grid-template-columns: 1fr; }
  .reportages-tarjeta { display: grid; grid-template-columns: 42% 1fr; }
  .reportages-tarjeta img { height: 100%; min-height: 150px; aspect-ratio: auto; }
  .reportages-contenido { padding: .8rem; }
}
