/*
 * plugins/generic/siteDesign/styles/fixes.css (public pages only, loaded after the journal
 * stylesheet). The theme puts the article's side column (download links, date, licence) after the
 * main column on screens narrower than 768 px (the Default theme's @screen-tablet), so the PDF
 * button came after the abstract AND the references. Below 768 px the copy printed after the
 * abstract (templates/articleGalleysTop.tpl) is shown and the side column's copy is hidden; from
 * 768 px the reverse. display:none on the hidden copy keeps the keyboard order equal to the order
 * on screen.
 */
.obj_article_details .onx-galleys-top {
	display: none;
}

@media (max-width: 767.98px) {
	.obj_article_details .onx-galleys-top {
		display: block;
		margin: 1.5rem 0;
	}

	/* Only the main download block (its list is .galleys_links). OJS gives the supplementary-files
	   block the same classes (its list is .supplementary_galleys_links): that one stays visible
	   (review F1). */
	.obj_article_details .entry_details .item.galleys:has(> .galleys_links) {
		display: none;
	}
}
