.page_index_site .journals ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    gap: 40px; /* Espacio entre tarjetas, tanto horizontal como vertical */
    list-style: none;
    padding: 0;
    justify-items: center;
}

.page_index_site .journals li {
    background: #ffffff;
    border: 2px solid #e67e22;
    border-radius: 12px;
    width: 400px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.page_index_site .journals li:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.page_index_site .journals .thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page_index_site .journals h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #e67e22;
    text-align: center;
    font-weight: 600;
}

.page_index_site .journals .description {
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
}

/* --- Mostrar los PDF uno debajo del otro en OJS --- */

/* Contenedor principal de los archivos (galley links) */
.obj_article_details .item.galleys_links,
.obj_article_details .article-galleys,
.galleys_links,
.galley_links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important; /* Espacio entre enlaces */
}

/* Cada enlace de PDF individual */
.obj_article_details .item.file,
.obj_article_details .obj_galley_link,
.obj_galley_link {
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

/* Opcional: estilo visual para cada enlace PDF */
.obj_galley_link a,
.obj_article_details .item.file a {
  display: inline-block;
  background: #e67e22;
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.3s ease;
}

.obj_galley_link a:hover,
.obj_article_details .item.file a:hover {
  background: #cf6d17;
}



/* Ocultar botones Ver Revista y Número Actual */
.page_index_site .journals ul.links {
    display: none !important;
}
