.convencion-contenedor {
  width: min(1120px, calc(100% - 24px));
  margin: 28px auto 48px;
}

.convencion-contenedor .news-container {
  max-width: 920px;
  margin: 0 auto;
}

.convencion-visor-simple {
  text-align: center;
}

.convencion-marco {
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 96, .15);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 60, .14);
}

.convencion-marco a,
.convencion-marco img {
  display: block;
}

.convencion-marco img {
  width: 100%;
  height: auto;
  aspect-ratio: 990 / 1530;
  object-fit: contain;
  background: #fff;
}

.convencion-controles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.convencion-controles button,
.convencion-descarga a {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #000060;
  border-radius: 8px;
  background: #000060;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.convencion-controles button:hover,
.convencion-controles button:focus-visible,
.convencion-descarga a:hover,
.convencion-descarga a:focus-visible {
  background: #3a2472;
  transform: translateY(-1px);
}

#convencion-contador {
  min-width: 74px;
  color: #000060;
  font-weight: 700;
}

.convencion-ayuda {
  margin: 10px 0 0;
  color: #525a70;
  font-size: .88rem;
}

.convencion-descarga {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  text-align: center;
}

.convencion-descarga a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 720px) {
  .convencion-contenedor {
    width: min(100% - 16px, 1120px);
    margin-top: 18px;
  }

  .convencion-marco {
    border-radius: 8px;
  }

  .convencion-controles {
    gap: 8px;
  }

  .convencion-controles button {
    flex: 1;
    padding-inline: 10px;
  }

  #convencion-contador {
    min-width: 62px;
  }

  .convencion-descarga a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .convencion-controles button,
  .convencion-descarga a {
    transition: none;
  }
}
