html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: #fff;
	color: #202124;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	color: #175c9e;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: #0f3f6d;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.skip-link {
	background: #fff;
	left: 1rem;
	padding: 0.5rem 0.75rem;
	position: absolute;
	top: -10rem;
	z-index: 100;
}

.skip-link:focus {
	top: 1rem;
}

.site-header,
.site-footer {
	background: #f6f7f8;
	border-color: #d8dde3;
	border-style: solid;
}

.site-header {
	border-width: 0 0 1px;
}

.site-footer {
	border-width: 1px 0 0;
	margin-top: 3rem;
}

.site-header__inner,
.site-footer__inner,
.site-main {
	margin: 0 auto;
	max-width: 1120px;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	width: 100%;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	min-height: 4.5rem;
	padding-bottom: 1rem;
	padding-top: 1rem;
}

.site-branding {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	min-width: 0;
}

.site-title,
.site-description,
.site-footer__credit {
	margin: 0;
}

.site-title {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.site-title a {
	color: #111827;
	text-decoration: none;
}

.site-description {
	color: #5f6670;
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}

.site-menu,
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-menu a,
.footer-menu a {
	color: #202124;
	text-decoration: none;
}

.site-main {
	padding-bottom: 1rem;
	padding-top: 2.25rem;
}

.content-entry,
.no-results,
.not-found {
	border-bottom: 1px solid #e5e8ec;
	min-width: 0;
	padding-bottom: 2rem;
	padding-top: 0.5rem;
}

.content-entry + .content-entry {
	padding-top: 2rem;
}

.entry-title,
.page-title {
	color: #111827;
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0 0 1rem;
	overflow-wrap: anywhere;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-content {
	max-width: 760px;
	overflow-wrap: anywhere;
	min-width: 0;
	word-break: break-word;
}

.entry-content > *,
.page-content > * {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.entry-content > *:first-child,
.page-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child,
.page-content > *:last-child {
	margin-bottom: 0;
}

.entry-thumbnail {
	margin-bottom: 1rem;
}

.archive-description {
	color: #4d5560;
	max-width: 760px;
}

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	border: 1px solid #d8dde3;
	color: #202124;
	min-width: 2.25rem;
	padding: 0.35rem 0.65rem;
	text-align: center;
	text-decoration: none;
}

.page-numbers.current {
	background: #202124;
	color: #fff;
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	max-width: 560px;
}

.search-field {
	border: 1px solid #aeb6c0;
	flex: 1 1 14rem;
	font: inherit;
	min-height: 2.5rem;
	padding: 0.4rem 0.55rem;
}

.search-submit {
	background: #202124;
	border: 1px solid #202124;
	color: #fff;
	cursor: pointer;
	font: inherit;
	min-height: 2.5rem;
	padding: 0.4rem 0.8rem;
}

.site-footer__inner {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding-bottom: 1.25rem;
	padding-top: 1.25rem;
}

@media (max-width: 700px) {
	.site-header__inner,
	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.entry-title,
	.page-title {
		font-size: 1.45rem;
	}

	.site-navigation,
	.footer-navigation {
		width: 100%;
	}
}

.cws-word-page {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.cws-rule-page {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.cws-rule-container {
	margin: 0 auto;
	max-width: 1180px;
	min-width: 0;
	padding: 0 1.25rem;
	width: 100%;
}

.cws-rule-container *,
.cws-rule-container *::before,
.cws-rule-container *::after {
	min-width: 0;
}

.cws-word-container {
	margin: 0 auto;
	max-width: 1180px;
	min-width: 0;
	padding: 0 1.25rem;
	width: 100%;
}

.cws-word-container *,
.cws-word-container *::before,
.cws-word-container *::after {
	min-width: 0;
}

.cws-word-breadcrumb {
	color: #5a6470;
	font-size: 0.92rem;
	margin-bottom: 1.1rem;
	overflow-wrap: anywhere;
}

.cws-word-breadcrumb ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-word-breadcrumb a {
	color: #425466;
	text-decoration: none;
}

.cws-word-breadcrumb a:hover,
.cws-word-breadcrumb a:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-word-header {
	border-bottom: 1px solid #d9e0e7;
	margin-bottom: 2rem;
	padding-bottom: 1.6rem;
}

.cws-word-title {
	color: #101820;
	font-size: clamp(2.25rem, 7vw, 4.75rem);
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 0.85rem;
	overflow-wrap: anywhere;
}

.cws-word-primary-chinese {
	color: #192633;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.25rem;
	overflow-wrap: anywhere;
}

.cws-word-primary-pinyin {
	color: #52606d;
	font-size: 1.08rem;
	line-height: 1.45;
	margin: 0 0 1rem;
	overflow-wrap: anywhere;
}

.cws-word-definition {
	color: #2e3b47;
	font-size: 1.06rem;
	line-height: 1.75;
	max-width: 760px;
	overflow-wrap: anywhere;
}

.cws-word-definition > *:first-child {
	margin-top: 0;
}

.cws-word-definition > *:last-child {
	margin-bottom: 0;
}

.cws-word-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.cws-word-category-list a,
.cws-word-information dd a {
	background: #eef5fb;
	border: 1px solid #cadbe9;
	border-radius: 999px;
	color: #174f86;
	display: inline-block;
	font-size: 0.88rem;
	line-height: 1.25;
	padding: 0.35rem 0.65rem;
	text-decoration: none;
}

.cws-word-category-list a:hover,
.cws-word-category-list a:focus,
.cws-word-information dd a:hover,
.cws-word-information dd a:focus {
	background: #e2eef8;
	text-decoration: underline;
}

.cws-word-layout {
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-areas:
		"main sidebar"
		"more sidebar";
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

.cws-word-main {
	grid-area: main;
}

.cws-word-sidebar {
	grid-area: sidebar;
}

.cws-word-more {
	grid-area: more;
}

.cws-word-section {
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	margin-bottom: 1.35rem;
	padding: 1.25rem;
}

.cws-word-section h2 {
	color: #101820;
	font-size: 1.2rem;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 1rem;
	overflow-wrap: anywhere;
}

.cws-word-section h3 {
	letter-spacing: 0;
}

.cws-word-mapping dl,
.cws-word-information dl {
	display: grid;
	gap: 0.8rem;
	margin: 0;
}

.cws-word-mapping dl > div,
.cws-word-information dl > div {
	border-top: 1px solid #edf1f4;
	display: grid;
	gap: 0.35rem;
	padding-top: 0.8rem;
}

.cws-word-mapping dl > div:first-child,
.cws-word-information dl > div:first-child {
	border-top: 0;
	padding-top: 0;
}

.cws-word-mapping dt,
.cws-word-information dt,
.cws-word-mini-field strong {
	color: #637080;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cws-word-mapping dd,
.cws-word-information dd {
	color: #1f2a35;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-word-information dd {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.cws-word-other-mappings__grid,
.cws-word-related-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-word-other-card,
.cws-word-related-card {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 1rem;
}

.cws-word-other-card--deprecated {
	background: #fafafa;
	color: #48515c;
}

.cws-word-other-card__header {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.cws-word-other-card__header h3 {
	color: #101820;
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-word-other-card__header span {
	background: #f3f6f8;
	border: 1px solid #d7dfe7;
	border-radius: 999px;
	color: #344456;
	flex: 0 0 auto;
	font-size: 0.78rem;
	line-height: 1.2;
	padding: 0.25rem 0.5rem;
}

.cws-word-other-card--contextual .cws-word-other-card__header span {
	background: #eef7f2;
	border-color: #c8e2d2;
	color: #1e5d3a;
}

.cws-word-other-card--deprecated .cws-word-other-card__header span {
	background: #f4f1ef;
	border-color: #ded6d0;
	color: #694834;
}

.cws-word-other-card__pinyin {
	color: #52606d;
	margin: 0.35rem 0 0.8rem;
	overflow-wrap: anywhere;
}

.cws-word-mini-field {
	margin-top: 0.75rem;
}

.cws-word-mini-field p {
	margin: 0.15rem 0 0;
	overflow-wrap: anywhere;
}

.cws-word-content {
	max-width: 760px;
}

.cws-word-content h2,
.cws-word-content h3,
.cws-word-content h4 {
	line-height: 1.3;
	margin-bottom: 0.6rem;
	margin-top: 1.25rem;
	overflow-wrap: anywhere;
}

.cws-word-content a {
	overflow-wrap: anywhere;
}

.cws-word-content img {
	height: auto;
	max-width: 100%;
}

.cws-word-boundary__list {
	display: grid;
	gap: 0.9rem;
}

.cws-word-boundary__item {
	border-left: 4px solid #7a8794;
	padding-left: 0.85rem;
}

.cws-word-boundary__item--correct {
	border-left-color: #2f7650;
}

.cws-word-boundary__item--incorrect {
	border-left-color: #985241;
}

.cws-word-boundary__item h3 {
	color: #202b36;
	font-size: 0.95rem;
	line-height: 1.35;
	margin: 0 0 0.25rem;
	overflow-wrap: anywhere;
}

.cws-word-boundary__item p {
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-word-related-card {
	color: #202b36;
	display: grid;
	gap: 0.25rem;
	text-decoration: none;
}

.cws-word-related-card:hover,
.cws-word-related-card:focus {
	border-color: #99bddb;
	text-decoration: none;
}

.cws-word-related-card__title {
	color: #101820;
	font-weight: 700;
	line-height: 1.35;
}

.cws-word-related-card__chinese {
	color: #2d3b48;
}

.cws-word-related-card__pinyin {
	color: #667381;
	font-size: 0.92rem;
}

.cws-word-examples {
	min-width: 0;
}

.cws-word-example-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-word-example-card {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	color: #202b36;
	display: grid;
	gap: 0.65rem;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 1rem;
	text-decoration: none;
}

.cws-word-example-card:hover,
.cws-word-example-card:focus {
	border-color: #99bddb;
	text-decoration: none;
}

.cws-word-example-card__title {
	color: #101820;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.cws-word-example-card__field {
	display: grid;
	gap: 0.15rem;
}

.cws-word-example-card__field strong {
	color: #637080;
	font-size: 0.76rem;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cws-word-example-card__field span {
	color: #2d3b48;
}

.cws-sentence-page {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.cws-sentence-container {
	margin: 0 auto;
	max-width: 1180px;
	min-width: 0;
	padding: 0 1.25rem;
	width: 100%;
}

.cws-sentence-container *,
.cws-sentence-container *::before,
.cws-sentence-container *::after {
	min-width: 0;
}

.cws-sentence-breadcrumb {
	color: #5a6470;
	font-size: 0.92rem;
	margin-bottom: 1.1rem;
	overflow-wrap: anywhere;
}

.cws-sentence-breadcrumb ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-sentence-breadcrumb a {
	color: #425466;
	text-decoration: none;
}

.cws-sentence-breadcrumb a:hover,
.cws-sentence-breadcrumb a:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-sentence-header {
	border-bottom: 1px solid #d9e0e7;
	margin-bottom: 2rem;
	padding-bottom: 1.6rem;
}

.cws-rule-header {
	border-bottom: 1px solid #d9e0e7;
	margin-bottom: 2rem;
	padding-bottom: 1.6rem;
}

.cws-sentence-title {
	color: #101820;
	font-size: 3.2rem;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 0.85rem;
	overflow-wrap: anywhere;
}

.cws-rule-title {
	color: #101820;
	font-size: 3rem;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 0.85rem;
	overflow-wrap: anywhere;
}

.cws-rule-code {
	color: #637080;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.cws-rule-statement {
	border-left: 4px solid #9ab8d4;
	color: #192633;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.55;
	margin: 0.8rem 0 1rem;
	overflow-wrap: anywhere;
	padding-left: 0.85rem;
}

.cws-rule-summary {
	color: #2e3b47;
	font-size: 1.04rem;
	line-height: 1.75;
	max-width: 760px;
	overflow-wrap: anywhere;
}

.cws-rule-summary > *:first-child {
	margin-top: 0;
}

.cws-rule-summary > *:last-child {
	margin-bottom: 0;
}

.cws-sentence-chinese {
	color: #192633;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.25rem;
	overflow-wrap: anywhere;
}

.cws-sentence-pinyin {
	color: #52606d;
	font-size: 1.08rem;
	line-height: 1.45;
	margin: 0 0 1rem;
	overflow-wrap: anywhere;
}

.cws-sentence-natural {
	border-left: 4px solid #9ab8d4;
	margin: 1rem 0;
	padding-left: 0.85rem;
}

.cws-sentence-natural span {
	color: #637080;
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cws-sentence-natural p {
	color: #1f2a35;
	font-size: 1.08rem;
	margin: 0.15rem 0 0;
	overflow-wrap: anywhere;
}

.cws-sentence-description {
	color: #2e3b47;
	font-size: 1.04rem;
	line-height: 1.75;
	max-width: 760px;
	overflow-wrap: anywhere;
}

.cws-sentence-description > *:first-child {
	margin-top: 0;
}

.cws-sentence-description > *:last-child {
	margin-bottom: 0;
}

.cws-sentence-header-tags {
	display: grid;
	gap: 0.65rem;
	margin-top: 1rem;
}

.cws-sentence-header-tags > div {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.cws-sentence-header-tags span,
.cws-sentence-information dt,
.cws-sentence-token dt,
.cws-sentence-structure dt,
.cws-sentence-notes dt {
	color: #637080;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cws-sentence-header-tags a,
.cws-sentence-header-tags strong,
.cws-sentence-information dd a {
	background: #eef5fb;
	border: 1px solid #cadbe9;
	border-radius: 999px;
	color: #174f86;
	display: inline-block;
	font-size: 0.88rem;
	line-height: 1.25;
	padding: 0.35rem 0.65rem;
	text-decoration: none;
}

.cws-sentence-header-tags strong {
	color: #263849;
	font-weight: 700;
}

.cws-sentence-header-tags a:hover,
.cws-sentence-header-tags a:focus,
.cws-sentence-information dd a:hover,
.cws-sentence-information dd a:focus {
	background: #e2eef8;
	text-decoration: underline;
}

.cws-sentence-layout {
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

.cws-sentence-main,
.cws-sentence-sidebar {
	min-width: 0;
}

.cws-sentence-section {
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	margin-bottom: 1.35rem;
	padding: 1.25rem;
}

.cws-sentence-section h2 {
	color: #101820;
	font-size: 1.2rem;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 1rem;
	overflow-wrap: anywhere;
}

.cws-sentence-token-list {
	display: grid;
	gap: 0.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-sentence-token {
	align-items: start;
	border: 1px solid #e0e6ed;
	border-radius: 8px;
	display: grid;
	gap: 0.9rem;
	grid-template-columns: 3rem minmax(0, 1fr);
	overflow-wrap: anywhere;
	padding: 1rem;
}

.cws-sentence-token__position {
	align-items: center;
	background: #f3f6f8;
	border: 1px solid #d7dfe7;
	border-radius: 999px;
	color: #344456;
	display: flex;
	font-weight: 700;
	height: 2.2rem;
	justify-content: center;
	line-height: 1;
	width: 2.2rem;
}

.cws-sentence-token dl,
.cws-sentence-structure dl,
.cws-sentence-notes dl,
.cws-sentence-information dl {
	display: grid;
	gap: 0.8rem;
	margin: 0;
}

.cws-sentence-token dl {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cws-sentence-token dl > div,
.cws-sentence-structure dl > div,
.cws-sentence-notes dl > div,
.cws-sentence-information dl > div {
	border-top: 1px solid #edf1f4;
	display: grid;
	gap: 0.25rem;
	padding-top: 0.8rem;
}

.cws-sentence-token dl > div {
	border-top: 0;
	padding-top: 0;
}

.cws-sentence-structure dl > div:first-child,
.cws-sentence-notes dl > div:first-child,
.cws-sentence-information dl > div:first-child {
	border-top: 0;
	padding-top: 0;
}

.cws-sentence-token dd,
.cws-sentence-structure dd,
.cws-sentence-notes dd,
.cws-sentence-information dd {
	color: #1f2a35;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-sentence-token a {
	font-weight: 700;
}

.cws-sentence-content {
	max-width: 760px;
}

.cws-sentence-content h2,
.cws-sentence-content h3,
.cws-sentence-content h4 {
	line-height: 1.3;
	margin-bottom: 0.6rem;
	margin-top: 1.25rem;
	overflow-wrap: anywhere;
}

.cws-sentence-content a {
	overflow-wrap: anywhere;
}

.cws-sentence-content img {
	height: auto;
	max-width: 100%;
}

.cws-sentence-related-words__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-sentence-related-word-card {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	color: #202b36;
	display: grid;
	gap: 0.25rem;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 1rem;
	text-decoration: none;
}

.cws-sentence-related-word-card:hover,
.cws-sentence-related-word-card:focus {
	border-color: #99bddb;
	text-decoration: none;
}

.cws-sentence-related-word-card__title {
	color: #101820;
	font-weight: 700;
	line-height: 1.35;
}

.cws-sentence-related-word-card__chinese {
	color: #2d3b48;
}

.cws-sentence-related-word-card__pinyin {
	color: #667381;
	font-size: 0.92rem;
}

.cws-sentence-information dd {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.cws-rule-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.cws-rule-category-list a,
.cws-rule-information dd a {
	background: #eef5fb;
	border: 1px solid #cadbe9;
	border-radius: 999px;
	color: #174f86;
	display: inline-block;
	font-size: 0.88rem;
	line-height: 1.25;
	padding: 0.35rem 0.65rem;
	text-decoration: none;
}

.cws-rule-category-list a:hover,
.cws-rule-category-list a:focus,
.cws-rule-information dd a:hover,
.cws-rule-information dd a:focus {
	background: #e2eef8;
	text-decoration: underline;
}

.cws-rule-layout {
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
}

.cws-rule-main,
.cws-rule-sidebar {
	min-width: 0;
}

.cws-rule-section {
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	margin-bottom: 1.35rem;
	padding: 1.25rem;
}

.cws-rule-section h2 {
	color: #101820;
	font-size: 1.2rem;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 1rem;
	overflow-wrap: anywhere;
}

.cws-rule-content {
	max-width: 760px;
}

.cws-rule-content h2,
.cws-rule-content h3,
.cws-rule-content h4 {
	line-height: 1.3;
	margin-bottom: 0.6rem;
	margin-top: 1.25rem;
	overflow-wrap: anywhere;
}

.cws-rule-content a {
	overflow-wrap: anywhere;
}

.cws-rule-content img {
	height: auto;
	max-width: 100%;
}

.cws-rule-information dl {
	display: grid;
	gap: 0.8rem;
	margin: 0;
}

.cws-rule-information dl > div {
	border-top: 1px solid #edf1f4;
	display: grid;
	gap: 0.25rem;
	padding-top: 0.8rem;
}

.cws-rule-information dl > div:first-child {
	border-top: 0;
	padding-top: 0;
}

.cws-rule-information dt {
	color: #637080;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cws-rule-information dd {
	color: #1f2a35;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-archive-page,
.cws-search-page {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.cws-archive-container {
	margin: 0 auto;
	max-width: 1180px;
	min-width: 0;
	padding: 0 1.25rem;
	width: 100%;
}

.cws-archive-container *,
.cws-archive-container *::before,
.cws-archive-container *::after {
	min-width: 0;
}

.cws-breadcrumb {
	color: #5a6470;
	font-size: 0.92rem;
	margin-bottom: 1.1rem;
	overflow-wrap: anywhere;
}

.cws-breadcrumb ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-breadcrumb li + li::before {
	color: #8792a0;
	content: "/";
	margin-right: 0.35rem;
}

.cws-breadcrumb a {
	color: #425466;
	text-decoration: none;
}

.cws-breadcrumb a:hover,
.cws-breadcrumb a:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-archive-header,
.cws-search-header {
	border-bottom: 1px solid #d9e0e7;
	margin-bottom: 2rem;
	padding-bottom: 1.6rem;
}

.cws-archive-title {
	color: #101820;
	font-size: 2.65rem;
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0 0 0.75rem;
	overflow-wrap: anywhere;
}

.cws-archive-description {
	color: #2e3b47;
	font-size: 1.04rem;
	line-height: 1.75;
	max-width: 760px;
	overflow-wrap: anywhere;
}

.cws-archive-description > *:first-child {
	margin-top: 0;
}

.cws-archive-description > *:last-child {
	margin-bottom: 0;
}

.cws-archive-count {
	color: #637080;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0.85rem 0 0;
}

.cws-archive-grid {
	display: grid;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.cws-archive-grid--words {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-archive-grid--sentences {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-archive-grid--rules {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-word-card,
.cws-sentence-card,
.cws-rule-card,
.cws-search-card {
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	color: #202b36;
	display: grid;
	gap: 0.65rem;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 1.1rem;
}

.cws-card-title {
	color: #101820;
	font-size: 1.25rem;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-card-title a {
	color: inherit;
	text-decoration: none;
}

.cws-card-title a:hover,
.cws-card-title a:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-card-meta {
	color: #637080;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0;
	text-transform: uppercase;
}

.cws-word-card__chinese,
.cws-sentence-card__chinese {
	color: #192633;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-word-card__pinyin,
.cws-sentence-card__pinyin {
	color: #52606d;
	font-size: 0.98rem;
	line-height: 1.45;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-word-card__definition,
.cws-sentence-card__description,
.cws-rule-card__summary,
.cws-search-card__excerpt {
	color: #2e3b47;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.cws-word-card__definition > *:first-child,
.cws-sentence-card__description > *:first-child,
.cws-rule-card__summary > *:first-child,
.cws-search-card__excerpt > *:first-child {
	margin-top: 0;
}

.cws-word-card__definition > *:last-child,
.cws-sentence-card__description > *:last-child,
.cws-rule-card__summary > *:last-child,
.cws-search-card__excerpt > *:last-child {
	margin-bottom: 0;
}

.cws-sentence-card__natural {
	border-left: 4px solid #9ab8d4;
	padding-left: 0.75rem;
}

.cws-sentence-card__natural span {
	color: #637080;
	display: block;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cws-sentence-card__natural p {
	color: #1f2a35;
	margin: 0.15rem 0 0;
	overflow-wrap: anywhere;
}

.cws-card-taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.15rem;
}

.cws-card-taxonomies a,
.cws-card-taxonomies span,
.cws-empty-state a {
	background: #eef5fb;
	border: 1px solid #cadbe9;
	border-radius: 999px;
	color: #174f86;
	display: inline-block;
	font-size: 0.88rem;
	line-height: 1.25;
	padding: 0.35rem 0.65rem;
	text-decoration: none;
}

.cws-card-taxonomies span {
	color: #263849;
	font-weight: 700;
}

.cws-card-taxonomies a:hover,
.cws-card-taxonomies a:focus,
.cws-empty-state a:hover,
.cws-empty-state a:focus {
	background: #e2eef8;
	text-decoration: underline;
}

.cws-search-results {
	display: grid;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.cws-search-form {
	margin-top: 1rem;
	max-width: 620px;
}

.cws-search-form .search-form {
	max-width: none;
}

.cws-search-card__date {
	color: #637080;
	font-size: 0.92rem;
	margin: 0;
}

.cws-pagination {
	margin-top: 1.5rem;
}

.cws-pagination .navigation.pagination {
	margin-top: 0;
}

.cws-pagination .nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cws-empty-state {
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1.5rem;
	max-width: 760px;
	padding: 1.25rem;
}

.cws-empty-state p {
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-empty-state__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

@media (max-width: 900px) {
	.cws-word-layout {
		grid-template-areas:
			"main"
			"sidebar"
			"more";
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-sentence-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-rule-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-sentence-token dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cws-sentence-related-words__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cws-archive-grid--words {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cws-archive-grid--sentences {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-archive-grid--rules {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.cws-word-container,
	.cws-sentence-container,
	.cws-rule-container,
	.cws-archive-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.cws-word-title {
		font-size: 2.4rem;
	}

	.cws-sentence-title {
		font-size: 2.25rem;
	}

	.cws-rule-title {
		font-size: 2.2rem;
	}

	.cws-archive-title {
		font-size: 2rem;
	}

	.cws-word-primary-chinese {
		font-size: 1.45rem;
	}

	.cws-sentence-chinese {
		font-size: 1.35rem;
	}

	.cws-word-section,
	.cws-sentence-section,
	.cws-rule-section {
		padding: 1rem;
	}

	.cws-word-other-mappings__grid,
	.cws-word-related-grid,
	.cws-word-example-grid,
	.cws-sentence-related-words__grid,
	.cws-archive-grid--words {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-word-other-card__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.cws-sentence-token {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-sentence-token dl {
		grid-template-columns: minmax(0, 1fr);
	}
}

.cws-container {
	margin-inline: auto;
	max-width: 1180px;
	min-width: 0;
	padding-inline: 1.25rem;
	width: 100%;
}

.cws-container *,
.cws-container *::before,
.cws-container *::after {
	min-width: 0;
}

.cws-screen-reader-text,
.cws-skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.cws-skip-link:focus {
	background: #fff;
	border: 1px solid #9ab8d4;
	clip: auto;
	clip-path: none;
	color: #111827;
	height: auto;
	left: 1rem;
	margin: 0;
	padding: 0.65rem 0.85rem;
	top: 1rem;
	width: auto;
	z-index: 1000;
}

.cws-site-header {
	background: #fff;
	border-bottom: 1px solid #d8dde3;
	position: relative;
	z-index: 10;
}

.cws-header-inner {
	align-items: center;
	display: flex;
	gap: 1.25rem;
	justify-content: space-between;
	padding-block: 0.9rem;
}

.cws-site-branding {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	gap: 0.75rem;
	min-width: 0;
}

.cws-site-logo {
	flex: 0 0 auto;
}

.cws-site-logo .custom-logo {
	height: auto;
	max-height: 3rem;
	width: auto;
}

.cws-site-title {
	color: #111827;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.cws-site-title:hover,
.cws-site-title:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-menu-toggle {
	align-items: center;
	background: #202124;
	border: 1px solid #202124;
	color: #fff;
	cursor: pointer;
	display: none;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.45rem 0.8rem;
}

.cws-header-navigation {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 1rem;
	justify-content: flex-end;
	min-width: 0;
}

.cws-primary-navigation {
	min-width: 0;
}

.cws-primary-menu,
.cws-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.95rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-primary-menu li {
	position: relative;
}

.cws-primary-menu a,
.cws-footer-menu a,
.cws-footer-core-links a {
	color: #202124;
	text-decoration: none;
}

.cws-primary-menu a {
	display: block;
	line-height: 1.25;
	padding: 0.35rem 0;
}

.cws-primary-menu a:hover,
.cws-primary-menu a:focus,
.cws-footer-menu a:hover,
.cws-footer-menu a:focus,
.cws-footer-core-links a:hover,
.cws-footer-core-links a:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-primary-menu .current-menu-item > a,
.cws-primary-menu .current-menu-ancestor > a {
	color: #174f86;
	font-weight: 700;
}

.cws-primary-menu .sub-menu {
	background: #fff;
	border: 1px solid #d8dde3;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
	display: none;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 12rem;
	padding: 0.45rem;
	position: absolute;
	top: 100%;
	z-index: 20;
}

.cws-primary-menu li:hover > .sub-menu,
.cws-primary-menu li:focus-within > .sub-menu {
	display: grid;
	gap: 0.15rem;
}

.cws-primary-menu .sub-menu a {
	padding: 0.4rem 0.55rem;
}

.cws-header-search {
	flex: 0 1 20rem;
}

.cws-site-search-form {
	display: flex;
	gap: 0.45rem;
	max-width: 100%;
}

.cws-site-search-form .search-field {
	min-width: 0;
	width: 100%;
}

.cws-site-search-form .search-submit {
	flex: 0 0 auto;
}

.cws-home-page {
	max-width: none;
	padding: 0;
}

.cws-home-hero {
	background: #f6f8fa;
	border-bottom: 1px solid #d8dde3;
}

.cws-home-hero__inner {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	padding-block: 2.8rem;
}

.cws-home-hero h1 {
	color: #101820;
	font-size: 2.7rem;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 0.8rem;
	overflow-wrap: anywhere;
}

.cws-home-hero p {
	color: #2e3b47;
	font-size: 1.08rem;
	line-height: 1.7;
	margin: 0;
	max-width: 680px;
	overflow-wrap: anywhere;
}

.cws-home-search {
	align-self: center;
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	padding: 1rem;
}

.cws-home-section {
	padding-block: 2.4rem;
}

.cws-home-section + .cws-home-section {
	border-top: 1px solid #edf1f4;
}

.cws-home-gateways {
	background: #fff;
}

.cws-home-gateways__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-home-gateway {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	display: grid;
	gap: 1rem;
	grid-template-rows: 1fr auto;
	padding: 1.25rem;
}

.cws-home-gateway h2,
.cws-home-section-header h2,
.cws-home-category-group h3 {
	color: #101820;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-home-gateway h2,
.cws-home-section-header h2 {
	font-size: 1.45rem;
}

.cws-home-gateway p {
	color: #2e3b47;
	margin: 0.75rem 0 0;
	overflow-wrap: anywhere;
}

.cws-home-gateway__count {
	color: #637080;
	font-size: 0.95rem;
	font-weight: 700;
}

.cws-button-link,
.cws-home-section-header a,
.cws-home-category-list a {
	text-decoration: none;
}

.cws-button-link {
	align-self: start;
	background: #202124;
	border: 1px solid #202124;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	line-height: 1.25;
	padding: 0.55rem 0.8rem;
}

.cws-button-link:hover,
.cws-button-link:focus {
	background: #174f86;
	border-color: #174f86;
	color: #fff;
}

.cws-home-section-header {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.cws-home-section-header a {
	color: #174f86;
	font-weight: 700;
}

.cws-home-section-header a:hover,
.cws-home-section-header a:focus {
	text-decoration: underline;
}

.cws-home-card-grid {
	display: grid;
	gap: 1rem;
}

.cws-home-card-grid--words {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-home-card-grid--sentences {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-home-category-groups {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-home-category-group {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	padding: 1.25rem;
}

.cws-home-category-group h3 {
	font-size: 1.1rem;
	margin-bottom: 0.8rem;
}

.cws-home-category-list {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-home-category-list a {
	align-items: center;
	border: 1px solid #dce3ea;
	border-radius: 8px;
	color: #202b36;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	padding: 0.65rem 0.75rem;
}

.cws-home-category-list a:hover,
.cws-home-category-list a:focus {
	border-color: #99bddb;
	color: #174f86;
	text-decoration: none;
}

.cws-home-category-list span {
	font-weight: 700;
	overflow-wrap: anywhere;
}

.cws-home-category-list small {
	color: #637080;
	flex: 0 0 auto;
}

.cws-home-native-content {
	background: #fafbfc;
}

.cws-standard-page .cws-archive-container {
	display: grid;
	gap: 2rem;
}

.cws-standard-header {
	margin-bottom: 0;
}

.cws-standard-overview {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-standard-overview-card {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	display: grid;
	gap: 0.85rem;
	grid-template-rows: auto 1fr auto;
	padding: 1.15rem;
}

.cws-standard-overview-card h2,
.cws-standard-token-section h2,
.cws-standard-mapping-section h2,
.cws-standard-rule-categories h2,
.cws-standard-rules h2 {
	color: #101820;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-standard-overview-card h2,
.cws-standard-token-section h2,
.cws-standard-mapping-section h2,
.cws-standard-rule-categories h2,
.cws-standard-rules h2 {
	font-size: 1.45rem;
}

.cws-standard-overview-card p,
.cws-standard-mapping-section p {
	color: #2e3b47;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-standard-overview-card a {
	font-weight: 700;
}

.cws-standard-token-section,
.cws-standard-mapping-section,
.cws-standard-rule-categories,
.cws-standard-rules {
	border-top: 1px solid #edf1f4;
	padding-top: 2rem;
}

.cws-standard-mapping-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-standard-mapping-card {
	border: 1px solid #dce3ea;
	border-radius: 8px;
	padding: 1rem;
}

.cws-standard-mapping-card p {
	align-items: center;
	color: #1f2a35;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	line-height: 1.45;
	margin: 0;
}

.cws-standard-mapping-card strong {
	color: #101820;
}

.cws-standard-mapping-card small {
	color: #637080;
	display: block;
	margin-top: 0.25rem;
	overflow-wrap: anywhere;
}

.cws-standard-rule-categories .cws-home-category-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cws-standard-rules__header {
	margin-bottom: 1rem;
}

.cws-site-footer {
	background: #f6f7f8;
	border-top: 1px solid #d8dde3;
	margin-top: 3rem;
}

.cws-footer-inner {
	display: grid;
	gap: 1.25rem;
	padding-block: 1.5rem;
}

.cws-footer-main {
	align-items: start;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
}

.cws-footer-branding {
	display: grid;
	gap: 0.35rem;
}

.cws-footer-title {
	color: #111827;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.cws-footer-title:hover,
.cws-footer-title:focus {
	color: #174f86;
	text-decoration: underline;
}

.cws-footer-branding p,
.cws-footer-bottom p {
	color: #5f6670;
	margin: 0;
	overflow-wrap: anywhere;
}

.cws-footer-core-links {
	justify-self: end;
}

.cws-footer-bottom {
	border-top: 1px solid #d8dde3;
	padding-top: 1rem;
}

@media (max-width: 900px) {
	.cws-header-inner {
		align-items: center;
		flex-wrap: wrap;
	}

	.cws-js .cws-menu-toggle {
		display: inline-flex;
	}

	.cws-header-navigation {
		align-items: stretch;
		display: grid;
		flex-basis: 100%;
		gap: 1rem;
		justify-content: stretch;
		width: 100%;
	}

	.cws-js .cws-header-navigation {
		display: none;
	}

	.cws-js .cws-header-navigation.is-open {
		display: grid;
	}

	.cws-primary-menu {
		display: grid;
		gap: 0.25rem;
	}

	.cws-primary-menu a {
		border: 1px solid #edf1f4;
		padding: 0.55rem 0.65rem;
	}

	.cws-primary-menu .sub-menu {
		border: 0;
		box-shadow: none;
		display: grid;
		margin-top: 0.25rem;
		padding: 0 0 0 1rem;
		position: static;
	}

	.cws-header-search {
		flex-basis: auto;
		width: 100%;
	}

	.cws-home-hero__inner,
	.cws-home-gateways__grid,
	.cws-home-category-groups,
	.cws-standard-overview,
	.cws-standard-mapping-grid,
	.cws-standard-rule-categories .cws-home-category-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-home-card-grid--words,
	.cws-home-card-grid--sentences {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cws-footer-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-footer-core-links {
		justify-self: start;
	}
}

@media (max-width: 640px) {
	.cws-container {
		padding-inline: 1rem;
	}

	.cws-home-hero__inner {
		padding-block: 2.1rem;
	}

	.cws-home-hero h1 {
		font-size: 2rem;
	}

	.cws-site-search-form {
		display: grid;
	}

	.cws-site-search-form .search-submit {
		width: 100%;
	}

	.cws-home-section {
		padding-block: 1.9rem;
	}

	.cws-home-section-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.35rem;
	}

	.cws-home-card-grid--words,
	.cws-home-card-grid--sentences {
		grid-template-columns: minmax(0, 1fr);
	}

	.cws-home-category-list a {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.2rem;
	}
}
