/* Page Sections — Library label (group divider on the sections preview page)
   + the per-section name tag chips the preview template prints. */

.ps-liblabel {
	background: var(--plum);
	padding-block: clamp(20px, 2.4vw, 30px);
	margin-block: clamp(24px, 3vw, 40px) 0;
}

.ps-liblabel__inner {
	display: flex;
	align-items: center;
	gap: 18px;
}

.ps-liblabel__rule {
	flex: 1 1 0;
	height: 1px;
	background: rgba(244, 240, 234, .3);
}

.ps-liblabel__title {
	margin: 0;
	font-family: var(--font);
	font-size: clamp(.85rem, 1vw, .95rem);
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cream);
	white-space: nowrap;
}

.ps-liblabel__note {
	font-family: var(--font);
	font-size: .78rem;
	color: rgba(244, 240, 234, .7);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.ps-liblabel__inner { gap: 12px; }
	.ps-liblabel__note { display: none; }
	.ps-liblabel__title { white-space: normal; text-align: center; }
}

/* ---- Per-section name tag (printed by page-sections.php on the preview
   page only, above every section) ---- */

.ps-libtag {
	background: var(--cream);
	border-top: 1px dashed var(--grey-300);
}

.ps-libtag__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 8px;
}

.ps-libtag__label {
	font-family: var(--font);
	font-size: .78rem;
	font-weight: 700;
	color: var(--teal);
	letter-spacing: .04em;
}

.ps-libtag__slug {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .72rem;
	color: var(--grey-500);
	background: #fff;
	border: 1px solid var(--grey-200);
	border-radius: 5px;
	padding: 2px 8px;
}
