/* Striders Walks: lists and details box. Colors and fonts come from the theme. */

.sw-walks {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.sw-walk {
	border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
	padding: 0.5em 0;
}

.sw-walk summary {
	cursor: pointer;
	list-style: none;
}

.sw-walk summary::-webkit-details-marker {
	display: none;
}

.sw-walk summary::before {
	content: "\25B8"; /* ▸ */
	display: inline-block;
	width: 1.1em;
}

.sw-walk details[open] summary::before {
	content: "\25BE"; /* ▾ */
}

.sw-walk summary:hover .sw-name,
.sw-walk summary:focus-visible .sw-name {
	text-decoration: underline;
}

.sw-notice {
	color: #c00;
	font-weight: 700;
	margin-left: 0.4em;
}

.sw-details .sw-notice {
	margin-left: 0;
}

.sw-date {
	font-weight: 600;
}

.sw-more {
	padding: 0.25em 0 0.25em 1.1em;
}

.sw-notes {
	margin-top: 0.5em;
}

.sw-more p,
.sw-details p {
	margin: 0.25em 0;
}

.sw-links a {
	margin-right: 1em;
}

.sw-details {
	border-left: 4px solid var(--wp--preset--color--accent-1, currentColor);
	padding: 0.5em 1em;
	margin-bottom: 1.5em;
	background: color-mix(in srgb, currentColor 4%, transparent);
}

.sw-when {
	font-weight: 600;
}

.sw-archive-link,
.sw-back {
	margin-top: 1em;
	font-size: 0.9em;
}
