.dss-work-archive {
	--work-ink: #162133;
	--work-teal: #00818a;
	--work-gold: #e4bd2c;
	color: var(--work-ink);
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}

.dss-work-archive :is(h1, h2, h3, a) {
	font-family: inherit;
}

.dss-work-hero {
	background: #ededed;
	display: grid;
	align-items: center;
	min-height: 500px;
	padding: 60px max(5%, 24px);
}

.dss-work-hero-with-image {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 0;
}

.dss-work-hero-with-image > :first-child {
	padding: 60px max(10%, 24px);
}

.dss-work-hero-image {
	align-self: stretch;
	position: relative;
}

.dss-work-hero-image img {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.dss-work-hero h1 {
	color: var(--work-teal);
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 3px;
	line-height: 1.3;
	margin: 0 0 24px;
	text-transform: uppercase;
}

.dss-work-hero p {
	font-size: 18px;
	line-height: 28px;
	margin: 0;
	max-width: 430px;
}

.dss-work-featured,
.dss-work-projects {
	padding: 68px 24px;
}

.dss-work-wrap {
	margin-inline: auto;
	max-width: 1120px;
}

.dss-work-wrap h2 {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	margin: 0 0 32px;
}

.dss-work-wrap h2::after {
	background: var(--work-gold);
	border-radius: 2px;
	content: "";
	display: block;
	height: 4px;
	margin-top: 22px;
	width: 50px;
}

.dss-work-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 28px;
}

.dss-work-filters a,
.dss-work-pagination a {
	border: 1px solid var(--work-teal);
	border-radius: 3px;
	color: var(--work-teal);
	display: inline-block;
	padding: 8px 14px;
	text-decoration: none;
}

.dss-work-filters a:hover,
.dss-work-filters [aria-current],
.dss-work-pagination a:hover {
	background: var(--work-teal);
	color: white;
}

.dss-work-grid {
	align-items: start;
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dss-work-card {
	background: white;
	box-shadow: 0 2px 9px rgb(22 33 51 / 12%);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.dss-work-card-featured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dss-work-card-featured:not(:has(.dss-work-image)) {
	grid-template-columns: 1fr;
}

.dss-work-image img {
	aspect-ratio: 7 / 6;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.dss-work-card-featured .dss-work-image img {
	height: 100%;
}

.dss-work-card-body {
	flex: 1;
	padding: 24px;
}

.dss-work-card h3 {
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	margin: 0 0 12px;
	overflow-wrap: anywhere;
}

.dss-work-card-featured h3 {
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
}

.dss-work-categories {
	color: var(--work-teal);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.dss-work-tagline {
	font-weight: 600;
	line-height: 24px;
}

.dss-work-more {
	background: #c99f3a;
	border-radius: 2px;
	color: white;
	display: inline-block;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 2px;
	line-height: 32px;
	margin-top: 8px;
	padding: 14px 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.dss-work-more:hover,
.dss-work-more:focus-visible {
	background: var(--work-ink);
	color: white;
}

.dss-work-pagination,
.dss-work-status:not(:empty) {
	margin: 24px 0 0;
	text-align: center;
}

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

@media (max-width: 767px) {
	.dss-work-hero-with-image { grid-template-columns: 1fr; }
	.dss-work-hero-with-image > :first-child { padding: 44px 24px; }
	.dss-work-hero-image { aspect-ratio: 16 / 9; }
	.dss-work-hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
	.dss-work-hero { min-height: 340px; }
	.dss-work-featured,
	.dss-work-projects { padding-block: 42px; }
	.dss-work-grid,
	.dss-work-card-featured { grid-template-columns: 1fr; }
	.dss-work-card-body { padding: 22px; }
}
