/* Recent (top) list -------------------------------------------------- */
.hln-recent-list {
	margin: 0 0 2em;
}

.hln-recent-item {
	margin: 0 0 40px;
}

.hln-recent-title {
	margin: 0;
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1.35;
	padding-bottom: 10px;
}

.hln-recent-title a {
	text-decoration: none;
}

.hln-recent-dept,
.hln-recent-date {
	color: #6b7280;
	font-size: .95em;
	line-height: 1.5;
}

/* Archive table ------------------------------------------------------ */
.hln-archive {
	margin: 0 0 2em;
}

.hln-archive-heading {
	margin: 0 0 .75em;
	letter-spacing: .04em;
}

.hln-archive-search-wrap {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: .5em;
	width: 50%;
	margin: 0 0 1em auto;
}

.hln-archive-search {
	flex: 1;
	min-width: 0;
	padding: .35em .6em;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	background: #f3f4f6;
	box-sizing: border-box;
}

.hln-archive-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95em;
}

.hln-archive-table thead th {
	background: #27378B !important;
	color: #ffffff !important;
	text-align: left;
	font-weight: 700;
	padding: .75em 1em;
	border-bottom: 1px solid #d1d5db;
	user-select: none;
	cursor: pointer;
	position: relative;
}

.hln-archive-table thead th a,
.hln-archive-table thead th a:hover,
.hln-archive-table thead th a:visited {
	color: #ffffff !important;
}

.hln-archive-table tbody td {
	padding: .85em 1em;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

.hln-archive-table tbody tr:nth-child(even) td {
	background: #fafafa;
}

.hln-archive-table tbody td a {
	font-weight: 700;
	text-decoration: none;
}

.hln-archive-table .hln-col-dept,
.hln-archive-table .hln-col-date {
	white-space: nowrap;
	color: #374151;
}

.hln-sort-indicator {
	display: inline-block;
	width: 0.7em;
	margin-left: .35em;
	color: #ffffff;
}

.hln-sortable.hln-sort-active.hln-sort-asc .hln-sort-indicator::after {
	content: "▲";
}

.hln-sortable.hln-sort-active.hln-sort-desc .hln-sort-indicator::after {
	content: "▼";
}

.hln-archive-no-results {
	padding: 1em;
	color: #6b7280;
	font-style: italic;
}

@media (max-width: 600px) {
	.hln-archive-search-wrap {
		width: 100%;
		justify-content: flex-start;
		margin-left: 0;
	}
}
