/* Dedicated project archive and single project */
.ttd-project-archive,
.ttd-project-archive *,
.ttd-project-single,
.ttd-project-single * {
	box-sizing: border-box;
}

.ttd-project-archive {
	width: 100%;
	padding: var(--ttd-section-space) 0 calc(var(--ttd-section-space) + 10px);
	background: var(--ttd-white);
}

.ttd-project-archive__inner {
	width: min(100% - (var(--ttd-gutter) * 2), var(--ttd-shell));
	max-width: var(--ttd-shell);
	margin-inline: auto;
}

.ttd-project-archive__intro {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(320px, .52fr);
	column-gap: clamp(42px, 7vw, 108px);
	align-items: end;
	max-width: 1120px;
	margin-bottom: clamp(42px, 5vw, 68px);
}

.ttd-project-archive__eyebrow {
	grid-column: 1 / -1;
	margin: 0 0 13px;
	color: var(--ttd-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ttd-project-archive__intro h2 {
	margin: 0;
	color: var(--ttd-secondary);
	font-size: clamp(34px, 3.7vw, 50px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.035em;
}

.ttd-project-archive__intro > p:last-child {
	margin: 0;
	color: var(--ttd-text);
	font-size: 15px;
	line-height: 1.8;
}

.ttd-project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(30px, 3vw, 42px) clamp(22px, 2.5vw, 34px);
}

.ttd-project-card {
	position: relative;
	min-width: 0;
	margin: 0;
	border: 1px solid var(--ttd-border);
	background: var(--ttd-white);
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ttd-project-card:hover {
	transform: translateY(-5px);
	border-color: rgba(24, 99, 103, .22);
	box-shadow: 0 20px 48px rgba(21, 47, 48, .1);
}

.ttd-project-card__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 200 / 113;
	overflow: hidden;
	background: var(--ttd-surface-soft);
}

.ttd-project-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .55s ease;
}

.ttd-project-card:hover .ttd-project-card__media img {
	transform: scale(1.035);
}

.ttd-project-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--ttd-secondary);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: .1em;
}

.ttd-project-card__year {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 68px;
	height: 34px;
	padding: 0 14px;
	background: var(--ttd-secondary);
	color: var(--ttd-white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
}

.ttd-project-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 250px;
	padding: 25px 26px 27px;
}

.ttd-project-card__label {
	margin: 0 0 10px;
	color: var(--ttd-primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ttd-project-card__title {
	margin: 0;
	color: var(--ttd-accent);
	font-size: clamp(20px, 1.7vw, 25px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.02em;
}

.ttd-project-card__title a {
	color: inherit;
	text-decoration: none;
}

.ttd-project-card__title a:hover {
	color: var(--ttd-secondary);
}

.ttd-project-card__excerpt {
	margin: 14px 0 0;
	color: var(--ttd-text);
	font-size: 14px;
	line-height: 1.72;
}

.ttd-project-card__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 22px;
	color: var(--ttd-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.ttd-project-card__more span {
	color: var(--ttd-primary);
	font-size: 17px;
	transition: transform .25s ease;
}

.ttd-project-card__more:hover { color: var(--ttd-primary); }
.ttd-project-card__more:hover span { transform: translateX(4px); }

.ttd-project-archive__pagination { margin-top: 56px; }

.ttd-project-archive__pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.ttd-project-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 11px;
	border: 1px solid var(--ttd-border);
	background: var(--ttd-white);
	color: var(--ttd-accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.ttd-project-archive__pagination .page-numbers.current,
.ttd-project-archive__pagination a.page-numbers:hover {
	border-color: var(--ttd-secondary);
	background: var(--ttd-secondary);
	color: var(--ttd-white);
}

.ttd-project-archive__empty {
	padding: 52px;
	background: var(--ttd-surface-soft);
}

.ttd-project-archive__empty h2 {
	margin: 0;
	color: var(--ttd-secondary);
	font-size: 30px;
	font-weight: 500;
}

.ttd-project-archive__empty p {
	margin: 13px 0 0;
	font-size: 15px;
	line-height: 1.7;
}

/* Single project */
.ttd-project-single {
	width: 100%;
	padding: var(--ttd-section-space) 0 calc(var(--ttd-section-space) + 4px);
	background: var(--ttd-white);
}

.ttd-project-single__article {
	width: min(100% - (var(--ttd-gutter) * 2), 1060px);
	margin-inline: auto;
}

.ttd-project-single__lead {
	max-width: 820px;
	margin: 0 auto clamp(32px, 4vw, 48px);
	text-align: center;
}

.ttd-project-single__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	margin-bottom: 18px;
	color: var(--ttd-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ttd-project-single__meta time::before {
	content: "•";
	margin-right: 13px;
	color: var(--ttd-border);
}

.ttd-project-single__excerpt {
	margin: 0;
	color: var(--ttd-text);
	font-size: clamp(17px, 1.7vw, 20px);
	line-height: 1.75;
}

.ttd-project-single__hero {
	width: 100%;
	margin: 0 0 clamp(42px, 5vw, 66px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ttd-surface-soft);
}

.ttd-project-single__hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ttd-project-single__content {
	width: min(100%, 880px);
	margin-inline: auto;
	color: var(--ttd-text);
	font-size: 16px;
	line-height: 1.85;
}

.ttd-project-single__content > *:first-child { margin-top: 0; }
.ttd-project-single__content > *:last-child { margin-bottom: 0; }

.ttd-project-single__content p,
.ttd-project-single__content ul,
.ttd-project-single__content ol,
.ttd-project-single__content blockquote {
	margin-top: 0;
	margin-bottom: 24px;
}

.ttd-project-single__content h2,
.ttd-project-single__content h3,
.ttd-project-single__content h4,
.ttd-project-single__content h5,
.ttd-project-single__content h6 {
	margin: 38px 0 17px;
	color: var(--ttd-secondary);
	font-weight: 600;
	line-height: 1.3;
}

.ttd-project-single__content h2 { font-size: clamp(28px, 3vw, 38px); }
.ttd-project-single__content h3 { font-size: clamp(24px, 2.5vw, 31px); }
.ttd-project-single__content h4 { font-size: 22px; }

.ttd-project-single__content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 30px auto;
}

.ttd-project-single__content a {
	color: var(--ttd-secondary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ttd-project-single__footer {
	width: min(100%, 880px);
	margin: 54px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--ttd-border);
}

.ttd-project-single__footer a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ttd-secondary);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.ttd-project-single__footer a span {
	color: var(--ttd-primary);
	font-size: 17px;
	transition: transform .25s ease;
}

.ttd-project-single__footer a:hover { color: var(--ttd-primary); }
.ttd-project-single__footer a:hover span { transform: translateX(-4px); }

body.single-du_an .dawp-social-share-container,
body.single-du_an .bricks-post-meta-wrapper,
body.single-du_an .brxe-post-author,
body.single-du_an .brxe-post-navigation,
body.single-du_an .brxe-related-posts {
	display: none !important;
}

@media (max-width: 991px) {
	.ttd-project-archive,
	.ttd-project-single {
		padding: var(--ttd-section-space-mobile) 0;
	}

	.ttd-project-archive__intro {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ttd-project-archive__eyebrow { margin-bottom: -5px; }

	.ttd-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ttd-project-archive__intro { margin-bottom: 38px; }

	.ttd-project-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ttd-project-card__body {
		min-height: 0;
		padding: 23px 22px 25px;
	}

	.ttd-project-card__more {
		margin-top: 20px;
		padding-top: 0;
	}

	.ttd-project-single__lead {
		margin-bottom: 28px;
		text-align: left;
	}

	.ttd-project-single__meta { justify-content: flex-start; }

	.ttd-project-single__hero {
		margin-bottom: 38px;
		aspect-ratio: 4 / 3;
	}

	.ttd-project-single__content {
		font-size: 15px;
		line-height: 1.8;
	}

	.ttd-project-single__content p,
	.ttd-project-single__content ul,
	.ttd-project-single__content ol,
	.ttd-project-single__content blockquote {
		margin-bottom: 20px;
	}

	.ttd-project-single__footer { margin-top: 42px; }
	.ttd-project-archive__empty { padding: 36px 28px; }
}
