.tes-library,
.tes-single-links {
	--tes-ink: #102832;
	--tes-deep: #073d4c;
	--tes-pink: #d71f5b;
	--tes-cream: #f4f0e8;
	--tes-line: #d8d2c6;
	--tes-muted: #64737a;
	color: var(--tes-ink);
	font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.tes-filters {
	align-items: end;
	background: var(--tes-cream);
	border-top: 3px solid var(--tes-ink);
	display: grid;
	gap: 14px;
	grid-template-columns: 1.5fr repeat(3, minmax(120px, .7fr)) auto;
	margin: 0 0 26px;
	padding: 20px;
}

.tes-filters label span {
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.tes-filters input,
.tes-filters select {
	background: #fff;
	border: 1px solid #aaa498;
	border-radius: 0;
	box-sizing: border-box;
	color: var(--tes-ink);
	font: inherit;
	font-size: 13px;
	min-height: 42px;
	padding: 8px 10px;
	width: 100%;
}

.tes-filter-actions {
	align-items: center;
	display: flex;
	gap: 10px;
}

.tes-filter-actions button,
.tes-card-links a,
.tes-single-links a {
	align-items: center;
	background: transparent;
	border: 1px solid var(--tes-ink);
	border-radius: 0;
	color: var(--tes-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 38px;
	padding: 0 13px;
	text-decoration: none;
}

.tes-filter-actions button,
.tes-card-links .tes-primary-link,
.tes-single-links .tes-primary-link {
	background: var(--tes-ink);
	color: #fff;
}

.tes-filter-actions button:hover,
.tes-card-links a:hover,
.tes-single-links a:hover {
	background: var(--tes-pink);
	border-color: var(--tes-pink);
	color: #fff;
}

.tes-filter-actions > a {
	color: var(--tes-muted);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.tes-library-meta {
	border-bottom: 1px solid var(--tes-line);
	color: var(--tes-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	margin-bottom: 24px;
	padding-bottom: 10px;
	text-transform: uppercase;
}

.tes-grid {
	display: grid;
	gap: 36px 24px;
	grid-template-columns: repeat(var(--tes-columns), minmax(0, 1fr));
}

.tes-card {
	background: #fff;
	border-bottom: 2px solid var(--tes-ink);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tes-card-cover {
	align-items: center;
	aspect-ratio: 4 / 5;
	background:
		linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%) 0 0 / 18px 18px,
		var(--tes-deep);
	display: flex;
	justify-content: center;
	overflow: hidden;
	text-decoration: none;
}

.tes-card-cover img {
	display: block;
	height: 100%;
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
	width: 100%;
}

.tes-card:hover .tes-card-cover img {
	transform: scale(1.025);
}

.tes-fit-contain img {
	object-fit: contain;
}

.tes-fit-cover img {
	object-fit: cover;
}

.tes-card-cover > span {
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 25px;
	font-style: italic;
	line-height: 1.05;
	text-align: center;
}

.tes-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 15px 0 18px;
}

.tes-card-kicker {
	align-items: center;
	color: var(--tes-muted);
	display: flex;
	font-size: 10px;
	font-weight: 800;
	gap: 8px;
	letter-spacing: .08em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.tes-card-kicker span {
	color: var(--tes-pink);
}

.tes-card-body h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.15;
	margin: 0 0 8px;
}

.tes-card-body h3 a {
	color: var(--tes-ink);
	text-decoration: none;
}

.tes-card-body h3 a:hover {
	color: var(--tes-pink);
}

.tes-card-body > p {
	color: var(--tes-muted);
	font-size: 12px;
	margin: 0 0 16px;
}

.tes-card-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: auto;
}

.tes-card-links a {
	font-size: 11px;
	min-height: 34px;
	padding: 0 10px;
}

.tes-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
	margin-top: 40px;
}

.tes-pagination .page-numbers {
	align-items: center;
	border: 1px solid var(--tes-line);
	color: var(--tes-ink);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	padding: 0 10px;
	text-decoration: none;
}

.tes-pagination .current,
.tes-pagination a:hover {
	background: var(--tes-ink);
	border-color: var(--tes-ink);
	color: #fff;
}

.tes-empty {
	align-items: center;
	background: var(--tes-cream);
	border-top: 3px solid var(--tes-ink);
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 48px 20px;
	text-align: center;
}

.tes-empty strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 500;
}

.tes-empty span {
	color: var(--tes-muted);
}

.tes-single-links {
	background: var(--tes-cream);
	border-top: 3px solid var(--tes-ink);
	margin-top: 32px;
	padding: 22px;
}

.tes-single-links > strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 14px;
}

.tes-single-links > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Individual survey — a focused editorial reading experience. */
.tes-single-page {
	--tes-midnight: #303f68;
	--tes-navy: #43527d;
	--tes-indigo: #56638f;
	--tes-paper: #f2f0eb;
	--tes-paper-deep: #e3e5ee;
	--tes-white: #fff;
	--tes-coral: #6d79a2;
	--tes-teal: #46557f;
	--tes-muted: #687188;
	background:
		radial-gradient(circle at 12% 18%, rgba(86, 99, 143, .14), transparent 28rem),
		linear-gradient(180deg, #f7f5f0 0, var(--tes-paper) 100%);
	color: var(--tes-midnight);
	font-family: "Aptos", "Trebuchet MS", sans-serif;
	margin: 0;
	overflow: hidden;
	padding: 18px 18px 72px;
}

.tes-single-page *,
.tes-single-page *::before,
.tes-single-page *::after {
	box-sizing: border-box;
}

.tes-single-shell {
	margin: 0 auto;
	max-width: 1480px;
}

.tes-breadcrumbs {
	align-items: center;
	color: #717879;
	display: flex;
	font-size: 11px;
	font-weight: 800;
	gap: 9px;
	letter-spacing: .08em;
	margin: 0 0 14px;
	min-width: 0;
	text-transform: uppercase;
}

.tes-breadcrumbs a {
	color: var(--tes-midnight);
	text-decoration: none;
}

.tes-breadcrumbs span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tes-study {
	background: var(--tes-white);
	box-shadow: 0 26px 80px rgba(48, 63, 104, .12);
}

.tes-study-hero {
	background:
		linear-gradient(110deg, rgba(255, 255, 255, .045) 25%, transparent 25%) 0 0 / 18px 18px,
		linear-gradient(118deg, var(--tes-indigo) 0%, #49577f 58%, var(--tes-midnight) 100%);
	color: var(--tes-white);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.tes-study-hero::after {
	background: #c3c8dc;
	bottom: 0;
	content: "";
	height: 5px;
	left: 0;
	position: absolute;
	width: min(38vw, 520px);
}

.tes-study-hero-copy {
	align-self: center;
	max-width: none;
	padding: clamp(18px, 2vw, 28px) clamp(24px, 3.5vw, 52px) clamp(20px, 2.3vw, 32px);
}

.tes-study-eyebrow {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 11px;
	font-weight: 900;
	gap: 10px 22px;
	letter-spacing: .16em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.tes-study-eyebrow span:first-child {
	color: #dfe2ef;
}

.tes-study-hero h1 {
	color: var(--tes-white);
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: clamp(38px, 3.8vw, 56px);
	font-weight: 500;
	letter-spacing: -.045em;
	line-height: 1;
	margin: 0 0 8px;
	max-width: 1250px;
	text-wrap: balance;
}

.tes-study-hero-copy > p {
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	max-width: 980px;
}

.tes-study-chips {
	display: none;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.tes-study-chips span,
.tes-study-chips time {
	border: 1px solid rgba(255, 255, 255, .26);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	padding: 9px 13px;
	text-transform: uppercase;
}

.tes-study-stamp {
	align-items: center;
	background: rgba(255, 255, 255, .06);
	border-left: 1px solid rgba(255, 255, 255, .12);
	display: none;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.tes-study-stamp small {
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .2em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.tes-study-stamp strong {
	color: #dfe2ef;
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: 58px;
	font-weight: 500;
	letter-spacing: -.05em;
}

.tes-study-layout {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) 260px;
	padding: 20px;
}

.tes-study-main {
	min-width: 0;
}

.tes-study-figure {
	background: var(--tes-midnight);
	border: 0;
	margin: 0 0 28px;
	padding: 0;
	position: relative;
}

.tes-study-figure::before {
	background: var(--tes-indigo);
	content: "";
	height: 1px;
	left: 22px;
	position: absolute;
	top: -1px;
	width: 120px;
}

.tes-study-figure a {
	background:
		linear-gradient(135deg, rgba(86, 99, 143, .1), transparent 55%),
		#eef0f5;
	display: grid;
	place-items: center;
	text-decoration: none;
}

.tes-study-figure img {
	background: #eef0f5;
	display: block;
	height: auto;
	margin: 0 auto;
	max-height: calc(100vh - 132px);
	max-height: calc(100svh - 132px);
	max-width: 100%;
	object-fit: contain;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
	width: auto;
}

.tes-study-figure-bar {
	align-items: center;
	background: var(--tes-midnight);
	color: #fff;
	display: flex;
	font-size: 10px;
	font-weight: 900;
	justify-content: space-between;
	letter-spacing: .13em;
	padding: 13px 16px;
	text-transform: uppercase;
}

.tes-study-figure-bar span:last-child {
	color: #dfe2ef;
}

.tes-study-figure a:hover img {
	box-shadow: 0 18px 44px rgba(48, 63, 104, .16);
	transform: translateY(-3px);
}

.tes-study-figure figcaption {
	color: var(--tes-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	background: var(--tes-paper);
	margin: 0;
	padding: 10px 14px 11px;
}

.tes-section-label {
	color: var(--tes-coral);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .18em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.tes-study-content h2,
.tes-share-panel h2,
.tes-related h2 {
	color: var(--tes-midnight);
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.05;
	margin: 0 0 24px;
}

.tes-prose {
	color: #3f4c50;
	font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.58;
}

.tes-prose p {
	margin: 0 0 .8em;
}

.tes-prose a {
	border-bottom: 1px solid currentColor;
	color: var(--tes-teal);
	text-decoration: none;
}

.tes-study-aside {
	align-self: start;
	display: grid;
	gap: 18px;
	position: sticky;
	top: 32px;
}

.tes-fact-card,
.tes-resource-card {
	background: var(--tes-paper);
	border-top: 4px solid var(--tes-midnight);
	padding: 18px;
}

.tes-fact-card dl {
	margin: 0;
}

.tes-fact-card dl div {
	border-top: 1px solid #d7d1c7;
	display: grid;
	gap: 12px;
	grid-template-columns: 76px 1fr;
	padding: 14px 0;
}

.tes-fact-card dl div:first-child {
	border-top: 0;
}

.tes-fact-card dt {
	color: var(--tes-muted);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tes-fact-card dd {
	color: var(--tes-midnight);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
}

.tes-resource-card {
	background: linear-gradient(145deg, var(--tes-indigo), var(--tes-midnight));
	border-top-color: var(--tes-coral);
}

.tes-resource-card .tes-section-label {
	color: #dfe2ef;
}

.tes-resource-card a {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, .16);
	color: #fff;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: space-between;
	padding: 14px 0;
	text-decoration: none;
}

.tes-resource-card a::after {
	content: "↗";
	font-size: 17px;
}

.tes-resource-card a:hover {
	color: #dfe2ef;
}

.tes-share-panel {
	align-items: end;
	background: var(--tes-paper-deep);
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr auto;
	margin-top: 28px;
	padding: 22px;
}

.tes-share-panel h2 {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 0;
}

.tes-share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-end;
}

.tes-share-actions a,
.tes-share-actions button {
	align-items: center;
	background: transparent;
	border: 1px solid var(--tes-midnight);
	border-radius: 0;
	color: var(--tes-midnight);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 11px;
	font-weight: 900;
	justify-content: center;
	min-height: 42px;
	padding: 0 14px;
	text-decoration: none;
}

.tes-share-actions .tes-share-primary,
.tes-share-actions a:hover,
.tes-share-actions button:hover,
.tes-share-actions button.is-copied {
	background: var(--tes-midnight);
	color: #fff;
}

.tes-study-navigation {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.tes-study-navigation a {
	background: #fff;
	color: var(--tes-midnight);
	display: flex;
	flex-direction: column;
	min-height: 104px;
	padding: 20px;
	text-decoration: none;
}

.tes-study-navigation a:hover {
	background: var(--tes-midnight);
	color: #fff;
}

.tes-study-navigation small {
	color: var(--tes-coral);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .14em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.tes-study-navigation strong {
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
}

.tes-study-navigation .tes-nav-next {
	align-items: flex-end;
	text-align: right;
}

.tes-related {
	margin-top: 52px;
}

.tes-related-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 28px;
}

.tes-related-heading h2 {
	margin-bottom: 0;
}

.tes-related-heading > a {
	border-bottom: 1px solid var(--tes-midnight);
	color: var(--tes-midnight);
	font-size: 11px;
	font-weight: 900;
	padding-bottom: 4px;
	text-decoration: none;
	text-transform: uppercase;
}

.tes-related-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tes-related-card {
	background: #fff;
	border-bottom: 3px solid var(--tes-midnight);
	min-width: 0;
}

.tes-related-image {
	background: var(--tes-midnight);
	display: block;
	overflow: hidden;
}

.tes-related-image img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
	width: 100%;
}

.tes-related-card:hover img {
	transform: scale(1.025);
}

.tes-related-card > div {
	padding: 19px;
}

.tes-related-card span {
	color: var(--tes-coral);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.tes-related-card h3 {
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.15;
	margin: 9px 0 0;
}

.tes-related-card h3 a {
	color: var(--tes-midnight);
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.tes-single-page *,
	.tes-single-page *::before,
	.tes-single-page *::after {
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
	}
}

@media (max-width: 1000px) {
	.tes-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tes-filter-search {
		grid-column: span 2;
	}

	.tes-grid {
		grid-template-columns: repeat(min(2, var(--tes-columns)), minmax(0, 1fr));
	}

	.tes-study-layout {
		gap: 18px;
		grid-template-columns: minmax(0, 1fr) 220px;
	}

	.tes-share-panel {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.tes-share-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.tes-filters,
	.tes-grid {
		grid-template-columns: 1fr;
	}

	.tes-filter-search {
		grid-column: auto;
	}

	.tes-card-cover {
		aspect-ratio: 4 / 3;
	}

	.tes-single-page {
		padding: 10px 8px 48px;
	}

	.tes-breadcrumbs {
		margin-bottom: 10px;
	}

	.tes-study-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.tes-study-hero-copy {
		padding: 18px 16px 22px;
	}

	.tes-study-hero h1 {
		font-size: clamp(34px, 10vw, 48px);
	}

	.tes-study-stamp {
		align-items: baseline;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, .12);
		flex-direction: row;
		gap: 10px;
		justify-content: flex-start;
		padding: 16px 24px 18px;
	}

	.tes-study-stamp strong {
		font-size: 32px;
	}

	.tes-study-layout {
		grid-template-columns: 1fr;
		padding: 8px;
	}

	.tes-study-figure {
		margin-bottom: 24px;
	}

	.tes-study-figure img {
		max-height: calc(100vh - 104px);
		max-height: calc(100svh - 104px);
	}

	.tes-study-aside {
		grid-row: 2;
		position: static;
	}

	.tes-share-panel {
		margin-top: 24px;
	}

	.tes-share-actions a,
	.tes-share-actions button {
		flex: 1 1 calc(50% - 7px);
	}

	.tes-study-navigation {
		grid-template-columns: 1fr;
	}

	.tes-study-navigation .tes-nav-next {
		align-items: flex-start;
		text-align: left;
	}

	.tes-related {
		margin-top: 60px;
	}

	.tes-related-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.tes-related-grid {
		grid-template-columns: 1fr;
	}
}
