/* glossary.css: glossary index (layout: glossary-index) — part of the per-template CSS split. */

.glossary-head {
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 20px 8px;
	text-align: center;
}

.glossary-head h1 {
	font-size: 2.6rem;
	font-weight: 700;
	color: #1b2a4a;
	margin: 0 0 1rem;
}

.glossary-head p {
	color: #5a6376;
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}

.glossary-az {
	max-width: 760px;
	margin: 24px auto 8px;
	padding: 0 20px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
}

.glossary-az a,
.glossary-az span {
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
}

.glossary-az a {
	color: #2e57d6;
}

.glossary-az a:hover {
	text-decoration: underline;
}

.glossary-az span {
	color: #c4c9d4;
	cursor: default;
}

.glossary-layout {
	max-width: 1140px;
	margin: 32px auto 72px;
	padding: 0 20px;
	display: flex;
	flex-direction: row;
	gap: 40px;
	align-items: start;
}

.glossary-groups {
	flex: 2;
}

.glossary-letter {
	display: inline-block;
	background: #eef0f5;
	color: #1b2a4a;
	font-weight: 600;
	font-size: 1rem;
	padding: 8px 22px;
	border-radius: 10px;
	margin: 22px 0 12px;
}

.glossary-letter:first-child {
	margin-top: 0;
}

.glossary-row {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid #e6e8f0;
	color: #1b2a4a;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .15s ease;
}

.glossary-row:hover {
	color: #4733c9;
}

.glossary-cta {
	flex: 1;
	position: sticky;
	top: 120px;
	border-radius: 16px;
	padding: 32px 28px;
	color: #0F1115;
	background: linear-gradient(155deg, #efeafe 0%, #e7e7fa 100%);
	text-align: center;
}

.glossary-cta h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 .8rem;
	line-height: 1.25;
	color: #0F1115;
}

.glossary-cta p {
	font-size: .98rem;
	line-height: 1.55;
	margin: 0 0 1.4rem;
	color: #4b5468;
}

.glossary-cta .cta-btn {
	display: inline-block;
	background: #16306e;
	color: #fff;
	font-weight: 600;
	padding: 12px 26px;
	border-radius: 8px;
	text-decoration: none;
}

.glossary-cta .cta-btn:hover {
	background: #112759;
}

/* Bottom call-to-action banner (full width, below the term list). */
.glossary-bottom-cta {
	width: calc(100% - 40px);
	max-width: 1140px;
	margin: 0 auto 72px;
	box-sizing: border-box;
	padding: 50px 32px;
	background: linear-gradient(120deg, #eef0fb 0%, #e7e7fa 100%);
	border-radius: 22px;
	text-align: center;
}

.glossary-bottom-cta h2 {
	font-size: 24px;
	font-weight: 600;
	color: #0F1115;
	margin: 0 0 1rem;
}

.glossary-bottom-cta p {
	color: #4b5468;
	max-width: 620px;
	margin: 0 auto 1.6rem;
	line-height: 1.6;
}

.glossary-bottom-cta__btn {
	display: inline-block;
	background-color: #16306e;
	color: #fff;
	padding: 14px 32px;
	border-radius: 50px;
	text-decoration: none;
}

.glossary-bottom-cta__btn:hover {
	background-color: #112759;
	color: #fff;
}

@media (max-width: 900px) {

	.glossary-layout {
		flex-direction: column;
		align-items: stretch;
	}

	.glossary-cta {
		position: static;
	}
}