/*!
 * Dictionary Page Styles - Knowledge AGMA Theme
 * Version: 2.4.3
 * Dictionary page specific styles
 */

.page-template-page-dictionary main {
	width: calc(72vw + 2px);
	max-width: 1397px;
	padding-left: 0;
}

.page-template-page-dictionary main .page::-webkit-scrollbar {
	display: block;
}

.dictionary_wrap::-webkit-scrollbar {
	display: none;
}

.dictionary_box {
	display: grid;
	grid-template-areas:
		'title title '
		'text img';
	margin-bottom: 20px;
	grid-row-gap: 20px;
	box-sizing: border-box;
}

.dictionary_src {
	display: block;
}

.dictionary_box.dictionary_src h1 {
	font-family: var(--font-a);
	font-size: 2.05em;
	border-bottom: var(--border-width) var(--border-style);
	grid-area: title;
	font-weight: bold;
	line-height: 1;
	min-height: 43px;
	margin: 0;
	width: 100%;
}

.dictionary_box.dictionary_src p {
	font-family: var(--font-b);
	font-size: 1em;
	line-height: 1.86em;
	letter-spacing: normal;
	padding-left: 50px;
	margin-top: -5px;
}

.dictionary_box.dictionary_src li {
	font-family: var(--font-b);
	font-size: 1em;
	line-height: 1.3;
}

.dictionary_box.dictionary_src h3 {
	font-family: var(--font-a);
	font-size: 1em;
	line-height: 1.86em;
	font-weight: bold;
}

.dictionary_box .dictionary_title {
	font-family: var(--font-a);
	font-size: 2.05em;
	border-bottom: var(--border-width) var(--border-style);
	grid-area: title;
	font-weight: bold;
	line-height: 1;
	min-height: 43px;
}

.dictionary_box .dictionary_title h1 {
	min-height: 43px;
	line-height: 1;
	margin: 0;
	font-size: unset;
	display: inline;
}

.dictionary_wrap h2 {
	font-family: var(--font-a);
	font-size: 2.05em;
	border-bottom: var(--border-width) var(--border-style);
	grid-area: title;
	font-weight: bold;
	line-height: 1;
	min-height: 43px;
	margin: 0;
	width: 100%;
}

.dictionary_wrap h2 a {
	color: var(--d-gray-color);
	text-align: right;
	font-family: var(--font-b);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3;
	text-decoration-line: underline;
	padding: 0 20px;
}

.dictionary_title_tran {
	font-weight: normal;
	display: inline;
	padding-right: 25px;
}

.dictionary_text,
.dictionary_box .dictionary_text > p {
	font-family: var(--font-b);
	font-size: 1.2em;
	line-height: 1.5em;
	letter-spacing: normal;
	grid-area: text;
	padding-left: 50px;
	margin-top: 0px;
	margin-bottom: 4rem;
}

.dictionary_image {
	grid-area: img;
	width: 100%;
	text-align: left;
}

.dictionary_image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	padding-bottom: 7px;
}

.dictionary_wrap .post-items {
	gap: 2px;
}

.dictionary_wrap #row_dictionary .row {
	display: none;
}

.dictionary_wrap .post-type-section {
	border: none;
}

.dictionary_image span {
	text-align: left;
	font-size: 13.5px;
	padding-top: 9px;
}

.nav_item[data-list='dictionary'] {
	margin-right: 3px;
	border: unset;
}

/* Dictionary Navigation */
#dictionary_ab {
	height: 80vh;
	margin: 0;
	overflow-y: scroll;
	padding-bottom: 11px;
}

#dictionary_ab::-webkit-scrollbar {
	width: var(--scrollbar-width-thin);
}

#dictionary_ab li {
	font-family: var(--font-a);
	cursor: pointer;
	position: relative;
	display: inline-block;
	justify-content: space-between;
	width: 48%;
	vertical-align: middle;
}

#dictionary_ab li.paragraph_active a,
#dictionary_ab li.paragraph_active {
	color: var(--s-color);
}

#dictionary_ab li.paragraph_active:before {
	content: '';
	width: 6px;
	height: 2.4em;
	background: var(--s-color);
	display: block;
	position: absolute;
	right: -24px;
	top: -0.3em;
	z-index: 998;
	cursor: auto;
}

#dictionary_ab li:hover {
	color: var(--s-color);
}

#dictionary_ab .first_char {
	display: block;
	border-top: var(--border-width) var(--border-dashed);
	padding-top: 20px;
	margin-top: 20px;
	margin-left: 25px;
	font-weight: bold;
	font-family: var(--font-a);
}

#dictionary_ab .first_char:first-child {
	border-top: unset;
	margin-top: -0.5em;
}

/* Mobile Dictionary */
@media screen and (max-width: 765px) {
	.dictionary_text,
	.dictionary_box.dictionary_src p {
		padding-left: unset;
		line-height: 1.56;
	}

	.dictionary_text {
		margin-bottom: unset;
	}

	.dictionary_box.dictionary_src h3 {
		line-height: 0;
	}

	.only_mobile.mobile_case_menu ul#dictionary_ab {
		height: unset;
		padding: unset !important;
		margin: unset !important;
	}

	.only_mobile.mobile_case_menu ul#dictionary_ab span.first_char {
		margin: unset !important;
	}

	.only_mobile.mobile_case_menu #dictionary_ab li.paragraph_active:before {
		display: none;
	}

	.dictionary_box {
		display: grid;
		grid-template-areas:
			'img'
			'title'
			'text';
		grid-template-columns: 100%;
	}

	.dictionary_box .dictionary_title {
		grid-area: title;
		display: flex;
		flex-direction: column;
		color: var(--s-color);
	}

	.dictionary_title_tran {
		padding-right: 0;
		font-size: 0.8em;
		margin-bottom: 20px;
	}

	.dictionary_content {
		display: block;
	}

	.dictionary_image {
		grid-area: img;
		display: block;
		padding: 0;
		width: 100%;
	}

	.dictionary_box .dictionary_title h1 {
		margin-top: 30px;
		font-size: 0.8em;
		min-height: unset;
		color: var(--s-color);
	}

	#dictionary_ab {
		height: unset;
		margin: 0;
		padding-bottom: 11px;
	}

	#dictionary_ab .first_char {
		margin-left: 0;
	}

	.single-dictionary .two-columns {
		display: flex;
		justify-content: space-between;
		gap: 20px;
		flex-direction: column-reverse;
		flex-wrap: wrap;
	}

	.single-dictionary .two-columns .column:last-child {
		border-bottom: var(--border-width) solid var(--black);
	}
}

.single-dictionary main .page {
	overflow-y: auto;
}

