/* Cloud 9 Research glossary. Scoped so it does not change the rest of the Candy theme. */

body.c9-glossary-page .site-main,
body.c9-glossary-page #primary,
body.c9-glossary-page #content,
body.c9-glossary-page .content-area,
body.c9-glossary-page .entry-content,
body.c9-glossary-page .hentry,
body.c9-glossary-page article.page,
body.c9-glossary-page .page-section {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
body.c9-glossary-page .entry-header,
body.c9-glossary-page .page-header,
body.c9-glossary-page .woocommerce-breadcrumb {
	display: none !important;
}

.c9gl,
.c9gl * { box-sizing: border-box; }

.c9gl {
	--ink: #5a2a6e;
	--muted: #8a5a9a;
	--line: #5a2a6e;
	--lilac: #c9b5ff;
	--pink: #ffd8ec;
	--mint: #a6f0c6;
	--yellow: #ffe36e;
	--hot: #ff6fb5;
	--head: Fredoka, system-ui, sans-serif;
	--body: "Baloo 2", system-ui, sans-serif;
	width: min(1120px, calc(100% - 40px));
	margin: 8px auto 56px;
	color: var(--ink);
	font-family: var(--body);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5;
}

.c9gl h1,
.c9gl p,
.c9gl ul,
.c9gl li {
	margin: 0;
	padding: 0;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
	list-style: none;
}

.c9gl a:focus-visible,
.c9gl button:focus-visible,
.c9gl input:focus-visible {
	outline: 3px solid var(--hot);
	outline-offset: 3px;
}

.c9gl-card {
	background: #fff;
	border: 3px solid var(--line);
	border-radius: 44px;
	box-shadow: 0 10px 0 var(--lilac);
	padding: 32px 36px 28px;
}

.c9gl-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 12px;
}
.c9gl-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	background: var(--pink);
	border: 3px solid var(--line);
	box-shadow: 0 4px 0 var(--lilac);
	color: var(--ink);
}
.c9gl-icon svg { width: 28px; height: 28px; }
.c9gl-headtext { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.c9gl-kicker {
	font: 600 12px/1 var(--head);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}
.c9gl h1.c9gl-title {
	font: 600 clamp(32px, 5vw, 52px)/1.1 var(--head) !important;
	color: #fff !important;
	text-shadow: 0 3px 0 #5a2a6e, 2px 0 0 #5a2a6e, -2px 0 0 #5a2a6e, 0 -2px 0 #5a2a6e, 2px 3px 0 #5a2a6e, -2px 3px 0 #5a2a6e !important;
	margin: 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	-webkit-text-stroke: 0 !important;
}
.c9gl-lead {
	font: 600 1.05rem/1.6 var(--body);
	color: var(--ink);
	margin: 6px 0 22px !important;
	max-width: 46em;
}

.c9gl-search { position: relative; margin: 0 0 16px; }
.c9gl-search svg {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--muted);
	pointer-events: none;
	z-index: 1;
}
.c9gl input[type="search"] {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 3px solid var(--line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--ink) !important;
	font: 600 16px/1.2 var(--head) !important;
	padding: 11px 16px 11px 48px !important;
	box-shadow: 0 4px 0 var(--lilac) !important;
	min-height: 48px !important;
	margin: 0 !important;
}
.c9gl input[type="search"]::placeholder { color: var(--muted); opacity: 1; }
.c9gl input[type="search"]:focus {
	outline: 3px solid var(--hot);
	outline-offset: 3px;
	border-color: var(--line) !important;
	background: #fff !important;
}

.c9gl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.c9gl button.c9gl-pill {
	appearance: none !important;
	-webkit-appearance: none !important;
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	background: #fff !important;
	color: var(--ink) !important;
	border: 3px solid var(--line) !important;
	border-radius: 999px !important;
	font: 600 15px/1 var(--head) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	padding: 8px 18px !important;
	min-height: 40px !important;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 4px 0 var(--lilac) !important;
	text-shadow: none !important;
}
.c9gl button.c9gl-pill:hover { background: var(--pink) !important; }
.c9gl button.c9gl-pill[aria-pressed="true"],
.c9gl button.c9gl-pill[aria-pressed="true"]:hover {
	background: var(--yellow) !important;
	box-shadow: 0 4px 0 var(--line) !important;
}

.c9gl-count {
	font: 600 15px/1.3 var(--head);
	color: var(--muted);
	margin: 14px 0 2px;
}

.c9gl-list { border-top: 3px solid var(--line); margin-top: 12px; }
.c9gl-item { padding: 18px 0; border-bottom: 2px solid rgba(90, 42, 110, .18); }
.c9gl-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.c9gl-item[hidden],
.c9gl-list[hidden],
.c9gl-empty[hidden] { display: none !important; }
.c9gl-termline { margin: 0 0 5px; line-height: 1.3; }
.c9gl-term {
	font: 600 20px/1.3 var(--head);
	color: var(--ink);
	margin-right: 8px;
}
.c9gl-tag {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--line);
	border-radius: 999px;
	padding: 2px 10px;
	font: 600 13px/1.3 var(--head);
	background: #fff3f9;
	color: var(--ink);
	white-space: nowrap;
}
.c9gl-def {
	font: 600 16px/1.6 var(--body);
	color: var(--ink);
	overflow-wrap: anywhere;
}
.c9gl a.c9gl-src,
.c9gl a.c9gl-src:visited,
.c9gl a.c9gl-shop,
.c9gl a.c9gl-shop:visited {
	color: var(--ink);
	font: 600 14px/1.3 var(--head);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.c9gl a.c9gl-src:hover,
.c9gl a.c9gl-shop:hover { color: #3d1a4d; }
.c9gl a.c9gl-shop { margin-right: 10px; }
.c9gl-empty {
	padding: 30px 8px 14px;
	text-align: center;
	font: 600 16px/1.45 var(--body);
	color: var(--muted);
}
.c9gl-ruo {
	margin: 22px 0 0;
	padding: 14px 18px;
	background: #fff3f9;
	border: 3px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 5px 0 var(--lilac);
	font: 600 15px/1.5 var(--body);
	color: var(--ink);
	text-align: center;
}

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

@media (max-width: 767px) {
	.c9gl { width: calc(100% - 32px); margin: 4px auto 40px; }
	.c9gl-card { padding: 20px 16px 16px; border-radius: 28px; box-shadow: 0 8px 0 var(--lilac); }
	.c9gl-icon { width: 52px; height: 52px; border-radius: 16px; }
	.c9gl-icon svg { width: 24px; height: 24px; }
	.c9gl h1.c9gl-title { font-size: 32px !important; }
	.c9gl-lead { font-size: 15px; margin-bottom: 16px !important; }
	.c9gl input[type="search"] { padding: 10px 14px 10px 44px !important; }
	.c9gl button.c9gl-pill { font-size: 14px !important; padding: 7px 14px !important; min-height: 38px !important; }
	.c9gl-term { font-size: 18px; }
	.c9gl-def { font-size: 15.5px; }
	.c9gl-ruo { text-align: left; padding-right: 88px; } /* keep clear of the fixed chat button */
}

.c9gl-item { scroll-margin-top: calc(var(--c9cy-head-h, 96px) + 12px); }
.c9gl-item:target {
	background: #fff3f9;
	border-radius: 16px;
	box-shadow: inset 0 0 0 3px var(--line);
	padding-left: 12px;
	padding-right: 12px;
	margin-left: -12px;
	margin-right: -12px;
}
.c9-gl-crosslink {
	margin: 1.25rem auto 0;
	max-width: 1120px;
	padding: 0 20px 8px;
	font-family: "Baloo 2", system-ui, sans-serif;
	font-weight: 600;
	color: #5a2a6e;
}
.c9-gl-crosslink a { color: #5a2a6e; text-decoration: underline; text-underline-offset: 3px; }

.c9gl a.c9gl-term,
.c9gl a.c9gl-term:visited {
	font: 600 20px/1.3 var(--head);
	color: var(--ink);
	margin-right: 8px;
	text-decoration: none;
}
.c9gl a.c9gl-term:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.c9gl a.c9gl-term { font-size: 18px; }
}
