body.tej-modern-page .tej-alphabet-directory {
	margin-top: 24px;
}

body.tej-modern-page .tej-alphabet-directory [hidden] {
	display: none;
}

body.tej-modern-page .tej-alphabet-directory__tools {
	padding: 20px;
	border: 1px solid #cbdde8;
	border-radius: 8px;
	background: #f5fafc;
}

body.tej-modern-page .tej-alphabet-directory__search-label {
	display: block;
	margin-bottom: 8px;
	color: #0d2b45;
	font-weight: 700;
}

body.tej-modern-page .tej-alphabet-directory__search-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
}

body.tej-modern-page .tej-alphabet-directory__search {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #8ba7b8;
	border-radius: 6px;
	background: #fff;
	color: #0d2b45;
	font: inherit;
}

body.tej-modern-page .tej-alphabet-directory__search:focus {
	border-color: #0b66c3;
	outline: 3px solid rgba(11, 102, 195, 0.2);
	outline-offset: 1px;
}

body.tej-modern-page .tej-alphabet-directory__reset {
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid #0b66c3;
	border-radius: 6px;
	background: #fff;
	color: #0b66c3;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

body.tej-modern-page .tej-alphabet-directory__reset:hover,
body.tej-modern-page .tej-alphabet-directory__reset:focus-visible {
	background: #eaf3ff;
}

body.tej-modern-page .tej-alphabet-directory__status {
	margin: 10px 0 0;
	color: #496276;
	font-size: 0.94rem;
}

body.tej-modern-page .tej-alphabet-directory__nav {
	display: grid;
	grid-template-columns: repeat(9, minmax(42px, 1fr));
	gap: 8px;
	margin: 20px 0 28px;
}

body.tej-modern-page .tej-alphabet-directory__nav a {
	display: grid;
	min-height: 44px;
	place-items: center;
	border: 1px solid #c9d8e2;
	border-radius: 6px;
	background: #fff;
	color: #075f50;
	font-weight: 800;
	text-decoration: none;
}

body.tej-modern-page .tej-alphabet-directory__nav a:hover,
body.tej-modern-page .tej-alphabet-directory__nav a:focus-visible,
body.tej-modern-page .tej-alphabet-directory__nav a.is-active {
	border-color: #0b66c3;
	background: #eaf3ff;
	color: #0b66c3;
}

body.tej-modern-page .tej-alphabet-directory__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

body.tej-modern-page .tej-alphabet-letter {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 18px;
	border: 1px solid #d4e0e8;
	border-radius: 8px;
	background: #fff;
}

body.tej-modern-page .tej-alphabet-letter__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e0e8ed;
}

body.tej-modern-page .tej-alphabet-letter__heading h3 {
	margin: 0;
	color: #0d2b45;
	font-size: 1.12rem;
}

body.tej-modern-page .tej-alphabet-letter__heading span {
	flex: 0 0 auto;
	color: #557083;
	font-size: 0.82rem;
}

body.tej-modern-page .tej-alphabet-letter__groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 16px;
}

body.tej-modern-page .tej-alphabet-letter__group {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

body.tej-modern-page .tej-alphabet-letter__group h4 {
	margin: 0 0 10px;
	color: #0d2b45;
	font-size: 0.98rem;
}

body.tej-modern-page .tej-alphabet-letter__words {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
	margin: 0 0 16px;
	padding-left: 24px;
}

body.tej-modern-page .tej-alphabet-letter__words li {
	min-width: 0;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

body.tej-modern-page .entry-content .tej-alphabet-letter__copy {
	position: static;
	width: 100%;
	margin-top: auto;
}

body.tej-modern-page .tej-alphabet-directory__empty {
	padding: 16px 18px;
	border-left: 4px solid #d99a00;
	background: #fff8df;
	color: #0d2b45;
}

@media (max-width: 900px) {
	body.tej-modern-page .tej-alphabet-directory__nav {
		grid-template-columns: repeat(7, minmax(42px, 1fr));
	}

	body.tej-modern-page .tej-alphabet-letter__groups {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	body.tej-modern-page .tej-alphabet-directory__search-row,
	body.tej-modern-page .tej-alphabet-directory__grid {
		grid-template-columns: 1fr;
	}

	body.tej-modern-page .tej-alphabet-directory__reset {
		justify-self: start;
	}

	body.tej-modern-page .tej-alphabet-directory__nav {
		grid-template-columns: repeat(6, minmax(38px, 1fr));
	}

	body.tej-modern-page .tej-alphabet-letter {
		padding: 16px;
	}

}
