/**
 * plugins/themes/actaTheme/styles/actaArticle.css
 * Article detail (/article/view/N) — theme-dev/acta-article-detail-mockup.html.
 * Loaded only with actaInner.css on the Article template. Markup comes from
 * article_details.tpl (unchanged); everything here is selector-scoped to
 * body.acta_v2_article .acta_article_detail.
 */

/* ---------- Eyebrow + title ---------- */
body.acta_v2_article .acta_article_detail p.acta_article_eyebrow {
	margin: 14px 0 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--accent);
}

body.acta_v2_article .acta_article_detail h1.acta_article_detail_title {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	font-family: var(--acta-serif);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	background: none;
}

/* ---------- Authors ---------- */
body.acta_v2_article .acta_article_detail ul.acta_article_authors_list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

body.acta_v2_article .acta_article_detail ul.acta_article_authors_list > li {
	margin: 0 0 8px;
	padding: 0;
	font-size: 14px;
	line-height: normal;
}

body.acta_v2_article .acta_article_detail .acta_article_authors_list .name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

/* inline (as in the mockup): its 12.5px line then sits in the li's 14px strut */
body.acta_v2_article .acta_article_detail .acta_article_authors_list .affiliation {
	display: inline;
	font-size: 12.5px;
	color: var(--muted);
}

/* ---------- Actions: PDF (filled) + How to Cite (outline) ---------- */
body.acta_v2_article .acta_article_detail .acta_article_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px;
}

body.acta_v2_article .acta_article_detail .acta_article_actions .obj_galley_link.pdf,
body.acta_v2_article .acta_article_detail .acta_article_actions .acta_cite_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 9px 18px;
	border: 1px solid var(--accent-deep);
	border-radius: 0;
	font-family: var(--acta-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

body.acta_v2_article .acta_article_detail .acta_article_actions .obj_galley_link.pdf {
	background: var(--accent-deep);
	color: #fff;
}

body.acta_v2_article .acta_article_detail .acta_article_actions .obj_galley_link.pdf::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f019"; /* fa-download */
	font-size: 12px;
	width: 14px;
	margin-right: 3px;
	text-align: center;
}

body.acta_v2_article .acta_article_detail .acta_article_actions .obj_galley_link.pdf:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	text-decoration: none;
}

body.acta_v2_article .acta_article_detail .acta_article_actions .acta_cite_btn {
	background: transparent;
	color: var(--accent-deep);
}

body.acta_v2_article .acta_article_detail .acta_article_actions .acta_cite_btn:hover {
	background: var(--accent-deep);
	color: #fff;
}

/* ---------- Meta row (Published / Pages / DOI / Section) ---------- */
body.acta_v2_article .acta_article_detail .acta_article_meta_row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	font-size: 13px;
	line-height: normal;
	color: var(--ink);
}

body.acta_v2_article .acta_article_detail .acta_article_meta_row > div {
	margin: 0;
	padding: 0;
	line-height: 18px;
}

body.acta_v2_article .acta_article_detail .acta_meta_label {
	display: block;
	margin: 0 0 3px;
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--faint);
}

body.acta_v2_article .acta_article_detail .acta_article_meta_row a {
	color: var(--accent);
	text-decoration: none;
}

/* DOI logo (theme asset) before the DOI link */
body.acta_v2_article .acta_article_detail .acta_article_meta_row a[href*="doi.org"]::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: -2px;
	background: url("images/doi-logo.webp") center / contain no-repeat;
}

/* ---------- Abstract / keywords / references / issue ---------- */
body.acta_v2_article .acta_article_detail section.item {
	margin: 0;
	padding: 0;
	border: 0;
}

body.acta_v2_article .acta_article_detail h2.acta_h.label {
	font-family: var(--acta-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: normal;
	color: var(--ink);
	margin: 30px 0 16px;
	padding: 0;
	border: 0;
	display: block;
}

body.acta_v2_article .acta_article_detail .abstract > p,
body.acta_v2_article .acta_article_detail div.abstract p {
	margin: 0 0 14px;
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--ink);
	text-align: left;
}

body.acta_v2_article .acta_article_detail ul.acta_article_keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

body.acta_v2_article .acta_article_detail ul.acta_article_keywords > li {
	margin: 0;
	padding: 3px 10px;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: none;
	font-size: 12.5px;
	line-height: normal;
	color: var(--muted);
}

body.acta_v2_article .acta_article_detail .references ol.value {
	margin: 0;
	padding: 0 0 0 20px;
}

body.acta_v2_article .acta_article_detail .references ol.value > li {
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
}

body.acta_v2_article .acta_article_detail section.item.issue {
	margin-top: 26px;
	padding-top: 14px;
	border-top: 1px solid var(--rule);
	font-size: 13px;
	line-height: normal;
}

body.acta_v2_article .acta_article_detail section.item.issue .sub_item {
	margin: 0;
	padding: 0;
}

body.acta_v2_article .acta_article_detail section.item.issue a.title {
	color: var(--accent);
	font-size: 13px;
	font-weight: 400;
	text-decoration: none;
}

/* ---------- How to Cite panel (toggled by js/acta.js via [hidden]) ---------- */
body.acta_v2_article #acta-how-to-cite {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--rule);
	background: none;
	font-size: 13px;
	line-height: 1.7;
	color: var(--ink);
}

body.acta_v2_article #acta-how-to-cite[hidden] {
	display: none;
}

body.acta_v2_article #acta-how-to-cite .item,
body.acta_v2_article #acta-how-to-cite .sub_item {
	margin: 0;
	padding: 0;
	border: 0;
}

body.acta_v2_article #acta-how-to-cite h2.label {
	margin: 0 0 8px;
	font-family: var(--acta-serif);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.7;
	color: var(--ink);
}

body.acta_v2_article #acta-how-to-cite a {
	color: var(--accent);
	text-decoration: none;
}

body.acta_v2_article #acta-how-to-cite .citation_formats {
	margin-top: 10px;
}

body.acta_v2_article #acta-how-to-cite .citation_formats_button {
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--acta-sans);
	font-size: 12.5px;
	font-weight: 600;
	line-height: normal;
	color: var(--accent);
	cursor: pointer;
	margin: 0;
	height: auto;
	min-height: 0;
}
