/* PatternCube Site Essentials */

/* Share links on pattern pages and blog posts: round icons, like the tools. */
.pc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pc-share .pc-share-label { margin-right: 4px; font-weight: 500; font-size: 0.95em; }
.pc-share .pc-share-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	background: #fff;
	color: #333;
	border: 1px solid #d5d5d5;
	border-radius: 50%;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pc-share .pc-share-btn:hover,
.pc-share .pc-share-btn:focus { background: #f5f5f3; border-color: #a8a8a8; color: #111; }
.pc-share .pc-share-btn:focus-visible { outline: 2px solid var(--ast-global-color-0, #2b2b2b); outline-offset: 2px; }
.pc-share .pc-share-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.pc-share .pc-share-btn > span {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.pc-share .pc-share-btn.pc-copied::after {
	content: "Link copied";
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 8px;
	background: #333;
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
}

/* Share row on the older tools */
.pc-tool-share { margin: 1.5em 0 2em; }

/* Blog page heading */
.pc-blog-head h1 { margin: 0 0 1em; }

/* Licence page */
.pc-licence ul { margin-bottom: 1.2em; }
