/**
 * The /intranet read pages.
 *
 * Deliberately small. These are two pages of text on Frappe's own web layout,
 * and the thing that makes them readable is the measure and the spacing, not a
 * design system.
 */
.neurapolis-intranet-grid {
	display: grid;
	grid-template-columns: minmax(12rem, 16rem) 1fr;
	gap: 2.5rem;
	margin-top: 2rem;
}

.neurapolis-topics {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.neurapolis-topics a {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.4rem 0.6rem;
	border-radius: 0.375rem;
	color: inherit;
	text-decoration: none;
}

.neurapolis-topics a:hover,
.neurapolis-topics a.active {
	background: var(--fg-hover-color, rgba(0, 0, 0, 0.05));
}

.neurapolis-article-list a {
	display: block;
	padding: 1rem 0;
	border-bottom: 1px solid var(--border-color, #e5e7eb);
	color: inherit;
	text-decoration: none;
}

.neurapolis-article-list h2 {
	margin: 0;
	font-size: 1.15rem;
}

/* A line length somebody can actually read, rather than the full page width. */
.neurapolis-article-body {
	max-width: 42rem;
}

.neurapolis-article footer {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color, #e5e7eb);
}

/* One column on a phone: a 12rem sidebar next to prose is neither. */
@media (max-width: 720px) {
	.neurapolis-intranet-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}
