/* ============================================================
   Exchanged Timeline — Read here index ([et_read_here], 2.0.292)
   Token-first, like the of-the-day cards: the page's --exl-* values
   when it defines them, the same values as fallbacks.
   ============================================================ */

.et-rh {
	--rh-ink:     var(--exl-ink, #292d30);
	--rh-muted:   var(--exl-ink-muted, #596269);
	--rh-rule:    var(--exl-rule, #d8dcdd);
	--rh-surface: var(--exl-surface, #ffffff);
	--rh-wash:    var(--exl-focus, #f8f9f8);
	--rh-accent:  var(--exl-crimson, #9b2335);
	--rh-accent-strong: var(--exl-crimson-strong, #7a1a29);
	--rh-serif:   "EB Garamond", Garamond, "Palatino Linotype", Georgia, serif;
	--rh-sans:    "Source Sans 3", "Segoe UI", -apple-system, Roboto, Arial, sans-serif;

	font-family: var(--rh-sans);
	color: var(--rh-ink);
	margin: 0 0 2.5rem;
}
.et-rh *, .et-rh *::before, .et-rh *::after { box-sizing: border-box; }

.et-rh-summary {
	font-family: var(--rh-serif);
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 0 0 1.25rem;
}

/* The A–Z row of authors */
.et-rh-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 0.875rem;
	padding: 0 0 1.25rem;
	margin: 0 0 1.75rem;
	border-bottom: 1px solid var(--rh-rule);
	font-size: 0.9375rem;
	line-height: 1.4;
}
.et-rh-jump a {
	color: var(--rh-muted) !important;
	text-decoration: none !important;
	border-bottom: 1.5px solid transparent;
}
.et-rh-jump a:hover,
.et-rh-jump a:focus-visible { color: var(--rh-accent) !important; border-bottom-color: currentColor; }

/* One author */
.et-rh-author { margin: 0 0 2.25rem; scroll-margin-top: 5rem; }

.et-rh-author-name {
	font-family: var(--rh-serif);
	font-weight: 500;
	font-size: 1.625rem;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--rh-rule);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
	color: var(--rh-ink);
}
.et-rh-author-name a { color: inherit; text-decoration: none; }
.et-rh-author-name a:hover,
.et-rh-author-name a:focus-visible { color: var(--rh-accent); }
.et-rh-years {
	font-family: var(--rh-sans);
	font-weight: 400;
	font-size: 0.9375rem;
	color: var(--rh-muted);
	font-variant-numeric: lining-nums;
}
.et-rh-count {
	margin-left: auto;
	font-family: var(--rh-sans);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rh-muted);
}

/* The texts */
.et-rh-list { list-style: none; margin: 0; padding: 0; }
.et-rh-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "title work" "meta work";
	column-gap: 1.25rem;
	row-gap: 0.125rem;
	align-items: baseline;
	padding: 0.625rem 0;
	border-bottom: 1px solid var(--rh-rule);
}
.et-rh-item:last-child { border-bottom: 0; }
.et-rh-title {
	grid-area: title;
	font-family: var(--rh-serif);
	font-size: 1.1875rem;
	line-height: 1.3;
	color: var(--rh-ink) !important;
	text-decoration: none !important;
	border-bottom: 1.5px solid transparent;
	justify-self: start;
}
.et-rh-title:hover,
.et-rh-title:focus-visible { color: var(--rh-accent) !important; border-bottom-color: currentColor; }
.et-rh-meta {
	grid-area: meta;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--rh-muted);
	font-variant-numeric: lining-nums;
}
.et-rh-work {
	grid-area: work;
	align-self: center;
	white-space: nowrap;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--rh-accent) !important;
	text-decoration: none !important;
	border-bottom: 1.5px solid transparent;
}
.et-rh-work:hover,
.et-rh-work:focus-visible { color: var(--rh-accent-strong) !important; border-bottom-color: currentColor; }

.et-rh--empty p { color: var(--rh-muted); }

@media ( max-width: 600px ) {
	.et-rh-item {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "title" "meta" "work";
	}
	.et-rh-work { justify-self: start; margin-top: 0.25rem; }
	.et-rh-count { margin-left: 0; flex-basis: 100%; }
}
