.ywsr-page {
	--ywsr-background: #f3f3f1;
	--ywsr-surface: #ffffff;
	--ywsr-foreground: #172235;
	--ywsr-muted: #777b80;
	--ywsr-border: #deded9;
	--ywsr-accent: #a67848;
	box-sizing: border-box;
	width: min(1290px, calc(100vw - 48px));
	max-width: none;
	margin-inline: auto;
	padding-block: clamp(64px, 8vw, 120px);
	color: var(--ywsr-foreground);
	background: var(--ywsr-background);
	font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

.ywsr-archive-hero {
	--ywsr-surface: #ffffff;
	--ywsr-foreground: #172235;
	--ywsr-muted: #777b80;
	--ywsr-accent: #a67848;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: auto;
	min-height: clamp(560px, 47.25vw, 720px);
	margin-top: calc(-1 * var(--content-vertical-spacing, 60px));
	margin-right: calc(50% - 50vw);
	margin-bottom: clamp(48px, 6vw, 88px);
	margin-left: calc(50% - 50vw);
	color: var(--ywsr-foreground);
	background: var(--ywsr-surface);
	font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

.ywsr-archive-hero,
.ywsr-archive-hero * {
	box-sizing: border-box;
}

.ywsr-archive-hero.ywsr-archive-hero :is(h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, figure, dl, dt, dd) {
	margin: 0;
}

.ywsr-archive-hero__media {
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	background: #e9e9e6;
}

.ywsr-archive-hero__image,
.ywsr-archive-hero__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: 65% center;
}

.ywsr-archive-hero__placeholder {
	background: linear-gradient(135deg, #eeeeeb, #deded8);
}

.ywsr-archive-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: clamp(48px, 7vw, 104px);
	text-align: center;
}

.ywsr-archive-hero__index {
	color: var(--ywsr-accent);
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
}

.ywsr-archive-hero__title {
	max-width: 12em;
	margin-top: 20px !important;
	font-size: clamp(34px, 4vw, 64px);
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.35;
}

.ywsr-archive-hero__title-line {
	display: block;
}

.ywsr-archive-hero__intro {
	max-width: 36em;
	margin-top: 32px;
	color: var(--ywsr-muted);
	font-family: "Noto Sans TC", "PingFang TC", sans-serif;
	font-size: clamp(15px, 1.25vw, 17px);
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 2;
}

.ywsr-archive-hero__intro > * + * {
	margin-top: 1em !important;
}

.ywsr-page,
.ywsr-page * {
	box-sizing: border-box;
}

.ywsr-page.ywsr-page :is(h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, figure, dl, dt, dd) {
	margin: 0;
}

.ywsr-page.ywsr-page :is(ol, ul) {
	padding-inline-start: 0;
}

.ywsr-page.ywsr-page figure {
	padding: 0;
}

.ywsr-header {
	padding: 0 clamp(24px, 5vw, 72px) clamp(48px, 6vw, 88px);
	text-align: center;
}

.ywsr-header__eyebrow {
	color: var(--ywsr-accent);
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.28em;
}

.ywsr-header__title {
	margin-top: 16px !important;
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.ywsr-series-list {
	border-top: 1px solid var(--ywsr-border);
	border-right: 1px solid var(--ywsr-border);
	border-left: 1px solid var(--ywsr-border);
}

.ywsr-series {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: clamp(430px, 45vw, 650px);
	border-bottom: 1px solid var(--ywsr-border);
	background: var(--ywsr-surface);
}

.ywsr-series__media {
	position: relative;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	background: #e9e9e6;
}

.ywsr-series__image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.ywsr-series__image,
.ywsr-series__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
}

.ywsr-series__image {
	transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ywsr-series__image-placeholder {
	background: linear-gradient(135deg, #eeeeeb, #deded8);
}

.ywsr-series__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: clamp(48px, 7vw, 104px);
	text-align: center;
}

.ywsr-series__index {
	color: var(--ywsr-accent);
	font-family: Arial, sans-serif;
	font-size: 12px;
	letter-spacing: 0.2em;
}

.ywsr-series__title {
	margin-top: 20px !important;
	font-size: clamp(28px, 3.2vw, 48px);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.35;
}

.ywsr-series__title a {
	color: inherit;
	text-decoration: none;
}

.ywsr-series__intro {
	max-width: 36em;
	margin-top: 28px;
	color: var(--ywsr-muted);
	font-family: "Noto Sans TC", "PingFang TC", sans-serif;
	font-size: clamp(15px, 1.25vw, 17px);
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 2;
}

.ywsr-series__intro > * + * {
	margin-top: 1em !important;
}

.ywsr-series__cta {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	min-height: 44px;
	margin-top: 36px;
	padding: 10px 0 8px;
	border-bottom: 1px solid currentColor;
	color: var(--ywsr-foreground);
	font-family: "Noto Sans TC", "PingFang TC", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-decoration: none;
}

.ywsr-series__cta-mark {
	transition: transform 220ms ease;
}

.ywsr-series a:focus-visible {
	outline: 2px solid var(--ywsr-accent);
	outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
	.ywsr-series__image-link:hover .ywsr-series__image {
		transform: scale(1.025);
	}

	.ywsr-series__title a:hover,
	.ywsr-series__cta:hover {
		color: var(--ywsr-accent);
	}

	.ywsr-series__cta:hover .ywsr-series__cta-mark {
		transform: translateX(5px);
	}
}

@media (max-width: 767px) {
	.ywsr-archive-hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		margin-bottom: 48px;
	}

	.ywsr-archive-hero__media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.ywsr-archive-hero__image,
	.ywsr-archive-hero__placeholder {
		object-position: center;
	}

	.ywsr-archive-hero__content {
		padding: 48px 24px 56px;
	}

	.ywsr-archive-hero__title {
		font-size: clamp(32px, 10vw, 44px);
	}

	.ywsr-archive-hero__intro {
		max-width: 32em;
		font-size: 15px;
		line-height: 1.9;
	}

	.ywsr-page {
		width: 100vw;
		padding-block: 56px 0;
	}

	.ywsr-header {
		padding-inline: 24px;
		padding-bottom: 48px;
	}

	.ywsr-series-list {
		border-right: 0;
		border-left: 0;
	}

	.ywsr-series {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.ywsr-series__media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.ywsr-series__content {
		padding: 48px 24px 56px;
	}

	.ywsr-series__intro {
		max-width: 32em;
		font-size: 15px;
		line-height: 1.9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ywsr-series__image,
	.ywsr-series__cta-mark {
		transition: none;
	}
}
