/* style-custom.css
   Light refresh for the generated Publications/Activities/Teaching pages.
   Reuses the existing Arcana palette/fonts (see css/style.css) rather than
   introducing a new one: text #4c4c4c, headings #1d1d1d, accent green
   #478903, accent blue #0893cf -> #38C3FF, font 'Open Sans Condensed'. */

.page-content h3[id] {
	border-bottom: 2px solid #478903;
	padding-bottom: 0.2em;
	margin: 1.6em 0 0.8em 0;
	color: #1d1d1d;
}

.page-content h4.group-heading {
	margin: 1em 0 0.4em 0;
	color: #1d1d1d;
	font-size: 1.1em;
}

ul.section-toc {
	list-style: none;
	margin: 0 0 1.5em 0;
	padding: 0;
}

ul.section-toc li {
	display: inline-block;
	margin: 0 1.2em 0.5em 0;
}

ul.section-toc a {
	color: #478903;
	text-decoration: none;
}

ul.section-toc a:hover {
	color: #0893cf;
}

/* Activities / Teaching entry cards -- replaces the old .boxtick raster bullets */
ul.entry-list {
	list-style: none;
	margin: 0 0 0.5em 0;
	padding: 0;
}

li.entry-card {
	position: relative;
	padding: 0.5em 0 0.5em 1.15em;
	border-bottom: 1px solid #ececec;
}

li.entry-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #0893cf;
}

li.entry-card:last-child {
	border-bottom: none;
}

.entry-title {
	font-weight: bold;
	color: #1d1d1d;
}

.entry-tag,
.entry-meta,
.entry-code {
	color: #4c4c4c;
	font-size: 0.92em;
	margin-left: 0.4em;
}

.entry-years {
	float: right;
	color: #888;
	font-size: 0.9em;
}

ul.collaborator-list {
	list-style: none;
	margin: 0.4em 0 0 1.15em;
	padding: 0;
}

ul.collaborator-list li {
	font-size: 0.9em;
	color: #4c4c4c;
}

.entry-notes {
	margin-top: 0.35em;
	font-size: 0.92em;
	color: #4c4c4c;
}

.entry-notes p {
	margin: 0;
}

/* Publications */
.pub-list {
	margin-bottom: 1em;
}

.pub-entry {
	border-left: 3px solid #e5e5e5;
	padding: 0.75em 0 0.75em 1em;
	margin: 0 0 1.25em 0;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.pub-entry:hover,
.pub-entry:target {
	border-left-color: #0893cf;
	background: #fafcff;
}

.pub-meta-line {
	margin: 0 0 0.2em 0;
}

.pub-label {
	color: #888;
	font-size: 0.85em;
	font-weight: bold;
}

.pub-badge {
	display: inline-block;
	margin-left: 0.5em;
	padding: 0.05em 0.5em;
	border-radius: 3px;
	background: #478903;
	color: #fff;
	font-size: 0.72em;
	font-weight: bold;
	letter-spacing: 0.03em;
	vertical-align: middle;
}

.pub-authors {
	font-weight: bold;
	color: #4c4c4c;
}

.pub-title {
	color: #1d1d1d;
	font-size: 1.08em;
	margin: 0.2em 0;
}

.pub-title a {
	color: #1d1d1d;
}

.pub-title a:hover {
	color: #0893cf;
}

.pub-venue {
	font-style: italic;
	color: #4c4c4c;
	margin: 0.1em 0;
}

.pub-links {
	margin: 0.4em 0;
}

.pub-link {
	display: inline-block;
	margin-right: 0.9em;
	font-size: 0.85em;
	color: #0893cf;
	text-decoration: none;
}

.pub-link:hover {
	color: #38C3FF;
	text-decoration: underline;
}

.pub-abstract {
	color: #4c4c4c;
	font-size: 0.95em;
	line-height: 1.5em;
}

/* <details>/<summary> disclosures, shared by all pub-entry toggles */
details.pub-disclosure {
	margin-top: 0.5em;
}

details.pub-disclosure summary {
	cursor: pointer;
	color: #478903;
	font-size: 0.9em;
	list-style: none;
}

details.pub-disclosure summary::-webkit-details-marker {
	display: none;
}

details.pub-disclosure summary::before {
	content: "▸ ";
}

details.pub-disclosure[open] summary::before {
	content: "▾ ";
}

details.pub-disclosure pre.pub-bibtex {
	background: #FFFFEE;
	padding: 0.75em;
	overflow-x: auto;
	font-size: 0.82em;
	line-height: 1.4em;
	margin-top: 0.4em;
	white-space: pre-wrap;
	word-break: break-word;
}

/* Responsive tweaks, mirroring the breakpoints already used elsewhere on
   the site (see css/style-mobile.css / css/style-1000px.css) */
@media (max-width: 480px) {
	.entry-years {
		float: none;
		display: block;
		margin-left: 0;
	}
	.pub-links .pub-link {
		display: block;
		margin: 0.2em 0;
	}
}

@media (min-width: 481px) and (max-width: 1199px) {
	.pub-entry {
		padding-left: 0.75em;
	}
}
