:root {
	--yws-navy: #082b46;
	--yws-navy-2: #123e5c;
	--yws-blue: #0877bd;
	--yws-orange: #f07a14;
	--yws-ink: #142f45;
	--yws-muted: #5b6f7e;
	--yws-line: #d9e3ea;
	--yws-soft: #f3f7fa;
	--yws-white: #fff;
}

.yihui-ws-page,
.yihui-ws-home {
	font-family: inherit;
	color: var(--yws-ink);
}

.yihui-ws-container,
.yihui-ws-wrap {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.yihui-ws-hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 88px;
	background: linear-gradient(125deg, var(--yws-navy) 0%, #0b3654 70%, var(--yws-navy-2) 100%);
	color: var(--yws-white);
}

.yihui-ws-hero:after {
	content: "";
	position: absolute;
	right: -120px;
	top: -180px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 50%;
	box-shadow: 0 0 0 64px rgba(255,255,255,.025), 0 0 0 128px rgba(255,255,255,.018);
}

.yihui-ws-hero .yihui-ws-container {
	position: relative;
	z-index: 1;
	max-width: 980px;
}

.yihui-ws-kicker,
.yihui-ws-heading > span,
.yihui-ws-section-heading > span,
.yihui-ws-single-cta span {
	display: block;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #56b9f1;
}

.yihui-ws-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1.03;
	letter-spacing: -.035em;
	color: var(--yws-white);
}

.yihui-ws-lead {
	max-width: 780px;
	margin: 24px 0 0;
	font-size: clamp(17px, 1.8vw, 21px);
	line-height: 1.65;
	color: rgba(255,255,255,.82);
}

.yihui-ws-section {
	padding: 82px 0 92px;
	background: var(--yws-white);
}

.yihui-ws-section-heading,
.yihui-ws-heading {
	max-width: 780px;
	margin: 0 auto 42px;
	text-align: center;
}

.yihui-ws-section-heading > span,
.yihui-ws-heading > span {
	color: var(--yws-blue);
}

.yihui-ws-section-heading h2,
.yihui-ws-heading h2 {
	margin: 0 0 14px;
	font-size: clamp(30px, 3.3vw, 46px);
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--yws-ink);
}

.yihui-ws-section-heading p,
.yihui-ws-heading p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--yws-muted);
}

.yihui-ws-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.yihui-ws-card {
	overflow: hidden;
	background: var(--yws-white);
	border: 1px solid var(--yws-line);
	box-shadow: 0 12px 32px rgba(8,43,70,.08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.yihui-ws-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(8,43,70,.14);
}

.yihui-ws-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--yws-navy);
}

.yihui-ws-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.yihui-ws-card:hover .yihui-ws-card-media img {
	transform: scale(1.025);
}

.yihui-ws-play {
	position: absolute;
	left: 20px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding-left: 3px;
	border-radius: 50%;
	background: var(--yws-orange);
	color: #fff;
	font-size: 17px;
	box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

.yihui-ws-card-copy {
	padding: 24px 24px 26px;
}

.yihui-ws-card-process {
	display: block;
	margin: 0 0 9px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--yws-blue);
}

.yihui-ws-card h2,
.yihui-ws-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.3;
}

.yihui-ws-card h2 a,
.yihui-ws-card h3 a {
	color: var(--yws-ink);
	text-decoration: none;
}

.yihui-ws-card-copy p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.62;
	color: var(--yws-muted);
}

.yihui-ws-text-link {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--yws-navy);
	text-decoration: none;
}

.yihui-ws-text-link:hover,
.yihui-ws-text-link:focus-visible,
.yihui-ws-card h2 a:hover,
.yihui-ws-card h3 a:hover {
	color: var(--yws-orange);
}

.yihui-ws-empty {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px;
	align-items: center;
	max-width: 820px;
	margin: 0 auto;
	padding: 30px;
	border: 1px solid var(--yws-line);
	background: var(--yws-soft);
}

.yihui-ws-empty > span {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	background: var(--yws-navy);
	color: #fff;
	font-weight: 800;
}

.yihui-ws-empty h2,
.yihui-ws-empty p {
	margin: 0;
}

.yihui-ws-empty p {
	margin-top: 6px;
	color: var(--yws-muted);
}

.yihui-ws-boundary {
	max-width: 900px;
	margin: 42px auto 0;
	padding: 15px 18px;
	border-left: 3px solid var(--yws-blue);
	background: var(--yws-soft);
	font-size: 13px;
	line-height: 1.6;
	color: var(--yws-muted);
}

.yihui-ws-pagination {
	margin-top: 42px;
}

.yihui-ws-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 7px;
}

.yihui-ws-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--yws-line);
	text-decoration: none;
}

.yihui-ws-pagination .current {
	background: var(--yws-navy);
	border-color: var(--yws-navy);
	color: #fff;
}

.yihui-ws-home {
	padding: 78px 0 84px;
	background: var(--yws-soft);
}

.yihui-ws-home .yihui-ws-card {
	box-shadow: 0 10px 28px rgba(8,43,70,.07);
}

.yihui-ws-home-action {
	margin-top: 34px;
	text-align: center;
}

.yihui-ws-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	background: var(--yws-orange);
	border: 2px solid var(--yws-orange);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .045em;
	text-decoration: none !important;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.yihui-ws-button:hover,
.yihui-ws-button:focus-visible {
	background: #d96508;
	border-color: #d96508;
	transform: translateY(-1px);
}

.yihui-ws-single-header {
	padding: 74px 0 46px;
	background: var(--yws-navy);
	color: #fff;
}

.yihui-ws-single-narrow {
	max-width: 980px;
}

.yihui-ws-single-header h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(36px, 4.8vw, 62px);
	line-height: 1.08;
	letter-spacing: -.035em;
	color: #fff;
}

.yihui-ws-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: rgba(255,255,255,.76);
}

.yihui-ws-single .yihui-ws-single-narrow {
	padding-top: 48px;
	padding-bottom: 84px;
}

.yihui-ws-player {
	margin: 0 0 40px;
	background: #071b2a;
	box-shadow: 0 18px 48px rgba(8,43,70,.18);
}

.yihui-ws-player video {
	display: block;
	width: 100%;
	max-height: 76vh;
	background: #071b2a;
}

.yihui-ws-description {
	font-size: 18px;
	line-height: 1.78;
	color: #314b5f;
}

.yihui-ws-description > :first-child {
	margin-top: 0;
}

.yihui-ws-preview-warning {
	margin-bottom: 30px;
	padding: 16px 18px;
	border-left: 4px solid #d63638;
	background: #fff5f5;
}

.yihui-ws-single-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 46px;
	padding: 30px 32px;
	background: var(--yws-navy);
	color: #fff;
}

.yihui-ws-single-cta span {
	margin-bottom: 7px;
}

.yihui-ws-single-cta h2 {
	max-width: 620px;
	margin: 0;
	font-size: clamp(23px, 3vw, 34px);
	line-height: 1.2;
	color: #fff;
}

.yihui-ws-adjacent {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 32px;
}

.yihui-ws-adjacent > div:last-child {
	text-align: right;
}

.yihui-ws-adjacent a {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	min-height: 44px;
	color: var(--yws-ink);
	text-decoration: none;
}

.yihui-ws-adjacent span {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--yws-blue);
}

.yihui-ws-adjacent strong {
	font-size: 15px;
}

.yihui-ws-card a:focus-visible,
.yihui-ws-button:focus-visible,
.yihui-ws-adjacent a:focus-visible,
.yihui-ws-pagination a:focus-visible {
	outline: 3px solid #ffd08b;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.yihui-ws-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.yihui-ws-container,
	.yihui-ws-wrap {
		width: min(100% - 28px, 1180px);
	}

	.yihui-ws-hero {
		padding: 62px 0 58px;
	}

	.yihui-ws-hero h1 {
		font-size: 39px;
	}

	.yihui-ws-section,
	.yihui-ws-home {
		padding: 58px 0 64px;
	}

	.yihui-ws-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.yihui-ws-card-copy {
		padding: 21px 20px 23px;
	}

	.yihui-ws-empty {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.yihui-ws-single-header {
		padding: 56px 0 38px;
	}

	.yihui-ws-single .yihui-ws-single-narrow {
		padding-top: 28px;
		padding-bottom: 62px;
	}

	.yihui-ws-single-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 25px 22px;
	}

	.yihui-ws-button {
		width: 100%;
	}

	.yihui-ws-adjacent {
		grid-template-columns: 1fr;
	}

	.yihui-ws-adjacent > div:last-child {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yihui-ws-card,
	.yihui-ws-card-media img,
	.yihui-ws-button {
		transition: none;
	}
}
