/**
 * plugins/themes/jbmhTheme/styles/jbmhArchive.css
 * Archive page (/issue/archive) — theme-dev/jbmh-archive-mockup.html.
 * Loaded only with jbmhInner.css on the Archive template.
 */

body.jbmh_v2_archive .page_issue_archive .jbmh_archive_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* The parent's issueArchive.less wraps each row in an <li> with its own
   border + 30px padding (and a negative margin on the <ul>) — reset. */
body.jbmh_v2_archive .page_issue_archive .issues_archive > li {
	margin: 0;
	padding: 0;
	border: 0;
}

body.jbmh_v2_archive .page_issue_archive .jbmh_archive_row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--rule);
	font-size: 14px;
	line-height: normal;
	color: var(--ink);
}

/* Parent clearfix (::before/::after content:" "; display:table) becomes an
   empty flex item once the row is display:flex — the 16px `gap` then fell in
   front of the cover and pushed it (and the title) 16px right. Same
   clearfix-as-flex-item pattern as .row / .has_sidebar / .heading. */
body.jbmh_v2_archive .page_issue_archive .jbmh_archive_row::before,
body.jbmh_v2_archive .page_issue_archive .jbmh_archive_row::after {
	content: none;
	display: none;
}

body.jbmh_v2_archive .page_issue_archive .issues_archive > li:last-child .jbmh_archive_row {
	border-bottom: 0;
}

/* Cover 64x90 (real covers vary in ratio, object-fit:cover). The parent's
   base "img{width:auto}" would otherwise stretch them, so width/height are
   pinned. */
body.jbmh_v2_archive .page_issue_archive .jbmh_archive_row > a.cover {
	flex: none;
	display: block;
	width: 64px;
	height: 90px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--rule);
	box-sizing: border-box;
	overflow: hidden;
}

body.jbmh_v2_archive .page_issue_archive .jbmh_archive_row > a.cover img {
	display: block;
	width: 64px;
	height: 90px;
	max-width: none;
	object-fit: cover;
	margin: 0;
	border: 0;
}

/* "No Cover Yet": hatched box, same pattern as the mockup's .placeholder. */
body.jbmh_v2_archive .page_issue_archive .jbmh_archive_row > a.jbmh_archive_cover_placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	font-size: 10px;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	color: var(--faint);
	background: repeating-linear-gradient(45deg, #F0EBE4, #F0EBE4 8px, #E6DFD5 8px, #E6DFD5 16px);
}

body.jbmh_v2_archive .page_issue_archive .jbmh_archive_text {
	min-width: 0;
}

body.jbmh_v2_archive .page_issue_archive a.jbmh_archive_title {
	display: block;
	font-family: var(--jbmh-serif);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink);
	text-decoration: none;
	margin: 0;
}

body.jbmh_v2_archive .page_issue_archive a.jbmh_archive_title:hover {
	color: var(--accent);
	text-decoration: none;
}

body.jbmh_v2_archive .page_issue_archive .jbmh_archive_series {
	display: block;
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: normal;
	color: var(--muted);
}
