/**
 * Prime Academic Press — force layer v36.
 * Journals cards: remove false vertical slack from grid row stretch + thumbnail auto-margins.
 */

/* Grid: cards use natural height; avoid stretching short journals to the tallest row item. */
body.pap-site-index #main-site .journals .media-list {
	align-items: start !important;
}

/* Row layout: top-align thumbnail + text (overrides v13/v14 align-items: center). */
body.pap-site-index #main-site .journals .media-list > .media {
	align-items: flex-start !important;
	align-content: flex-start !important;
}

body.pap-site-index #main-site .journals .media-list > .media .media-left,
body.pap-site-index #main-site .journals .media-list > .media .media-right {
	align-self: flex-start !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Tighter rich-description rhythm than v13 gap:10px */
body.pap-site-index #main-site .journals .description,
body.pap-site-index #main-site .journals .media-body .description {
	gap: 0.35rem !important;
}
