/* Shared pieces for the category layouts. */
.ui {
	font-family: "Aeonik TRIAL", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.1rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.85);
}
/* Zero specificity so each layout's own button styles win. */
:where(.ui button) {
	all: unset;
	cursor: pointer;
}
.ui button:focus-visible,
.ui a:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.ui a { color: inherit; text-decoration: none; }
.ui sup { font-size: 0.7em; margin-left: 0.15em; }
.muted { color: rgba(0, 0, 0, 0.4); }
.bracket::before { content: "[ "; }
.bracket::after { content: " ]"; }

.project-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: #fff;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.project-overlay[hidden] { display: none; }
.project-close {
	all: unset;
	cursor: pointer;
	position: fixed;
	top: calc(2rem + 0.6rem);
	right: calc(2rem + 0.6rem);
	z-index: 2;
	padding: 0.3rem 0.6rem;
	background: #fff;
	font-family: "Aeonik TRIAL", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.1rem;
}
.project-close:hover { text-decoration: underline; }

@media (max-width: 768px) {
	.project-close { top: 0.6rem; right: 0.6rem; }
}
