/* Small Acts of Privacy: series nav, citation links, and the
   "Examples of Others Using This" aside card.
   Link this stylesheet from each series article:
   <link rel="stylesheet" href="/assets/small-acts.css" />
   HTML snippet: /projects/small-acts-aside.html
*/

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.others-using {
	margin: 2rem 0 0;
	padding: 0;
}

.others-using h3 {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.others-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: var(--card, #F5F8FC);
	border: 1px solid var(--rule);
	border-radius: 1rem;
	padding: 1.15rem 1.25rem 1.2rem;
	box-shadow: 0 8px 24px var(--shadow);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	max-width: 100%;
}

.others-card:hover,
.others-card:focus-visible {
	border-color: var(--tint-border, rgba(47, 111, 237, 0.28));
	box-shadow: 0 10px 28px var(--shadow);
}

.others-card:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.others-card__source {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 0.35rem;
}

.others-card__title {
	display: block;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--blue);
	margin: 0 0 0.25rem;
	line-height: 1.3;
}

.others-card__byline {
	display: block;
	font-size: 0.9rem;
	color: var(--ink-muted);
	margin: 0 0 0.65rem;
}

.others-card__blurb {
	display: block;
	color: var(--body, var(--ink));
	margin: 0 0 0.85rem;
	line-height: 1.55;
}

.others-card__cta {
	display: inline-block;
	font-weight: 600;
	color: var(--blue);
}

.others-card:hover .others-card__cta,
.others-card:focus-visible .others-card__cta {
	color: var(--blue-hover);
}

.fn-ref {
	font-size: 0.82em;
	font-weight: 600;
	text-decoration: none;
	color: var(--blue);
	white-space: nowrap;
	padding: 0 0.07em;
}

.fn-ref:hover {
	text-decoration: underline;
}

.fn-ref:target,
.sources li:target {
	background: var(--blue-soft, #D6E6FB);
	border-radius: 0.2rem;
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.sources {
	margin: 2rem 0 0;
}

.sources ol {
	margin: 0.75rem 0 0;
	padding-left: 1.5rem;
}

.sources li {
	margin: 0 0 0.7rem;
	padding: 0.15rem 0.3rem;
	border-radius: 0.25rem;
}

.sources a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.source-back {
	margin-left: 0.35rem;
	text-decoration: none;
	color: var(--ink-muted);
	white-space: nowrap;
}

.source-back:hover,
.source-back:focus-visible {
	color: var(--blue);
}

.series-nav {
	margin: 1.5rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--rule);
}

.series-nav__heading {
	margin: 0 0 0.6rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.series-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.series-nav__list a {
	display: flex;
	gap: 0.7rem;
	align-items: baseline;
	text-decoration: none;
	color: var(--blue);
	font-weight: 600;
	line-height: 1.35;
}

.series-nav__list a:hover {
	text-decoration: underline;
}

.series-nav__list a[aria-current="page"] {
	color: var(--ink);
	text-decoration: none;
}

.series-nav__part {
	flex: 0 0 4.2rem;
	color: var(--ink-muted);
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 560px) {
	.others-card {
		border-radius: 0.75rem;
		padding: 1rem 1rem 1.1rem;
	}
}
