/**
 * projects.css
 * Generated from the former monolithic theme stylesheet.
 */

main.sy-project-single {
	width: 100%;
	margin: 0 !important;
	background: #fff;
	color: #231815;
	font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

main.sy-project-archive {
	width: 100%;
	margin: 0 !important;
	color: #231815;
	font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.sy-project-single__hero {
	position: relative;
	height: 732px;
	overflow: hidden;
	background: #fff;
}

.sy-project-single__breadcrumb {
	position: absolute;
	top: 20px;
	left: max(24px, calc((100% - 1278px) / 2));
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.2;
	writing-mode: vertical-rl;
}

.sy-project-single__breadcrumb a,
.sy-project-single__breadcrumb span,
.sy-project-single__breadcrumb strong {
	color: #3e3937;
	font-weight: 400;
	text-decoration: none;
}

.sy-project-single__breadcrumb img {
	display: block;
	width: 17px;
	height: 11px;
}

.sy-project-single__photo {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 5;
	width: 1092px;
	height: 675px;
	background: var(--project-hero) center / cover no-repeat;
	clip-path: path("M 1092 0 H 84.7557 C -63.3214 131.436 -81.4317 675 570.534 675 H 571.599 H 1092 V 0 Z");
}

.sy-project-single__banner {
	position: relative;
	z-index: 4;
	display: block;
	width: auto;
	height: 840px;
	pointer-events: none;
	margin: -92px 0 0 auto;
}

.sy-project-single__decoration {
	position: absolute;
	top: 225px;
	left: 0;
	z-index: 3;
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
}

.sy-project-tabs {
	display: flex;
	justify-content: center;
	gap: 50px;
	height: 132px;
	padding-top: 45px;
	background: #fff;
}

.sy-project-tabs a {
	position: relative;
	display: flex;
	width: 224px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #fff;
	box-shadow: 7px 8px 9px rgba(0, 0, 0, 0.18);
	color: #73cce9;
	font-size: 18px;
	letter-spacing: 0.03em;
	text-decoration: none;
}

.sy-project-tabs a::after {
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 232px;
	height: 8px;
	background: #85cfe5;
	content: "";
	-webkit-mask: url("../../../assets/images/services-tab-underline.svg") center / 100% 100% no-repeat;
	mask: url("../../../assets/images/services-tab-underline.svg") center / 100% 100% no-repeat;
	transform: translateX(-50%);
	transition: background-color 0.25s ease;
}

.sy-project-tabs a.is-active,
.sy-project-tabs a:hover,
.sy-project-tabs a:focus-visible {
	background: #99d9ec;
	box-shadow: none;
	color: #fff;
}

.sy-project-tabs a.is-active::after,
.sy-project-tabs a:hover::after,
.sy-project-tabs a:focus-visible::after {
	background: #00b9ef;
}

.sy-project-single__content {
	width: min(1188px, calc(100% - 80px));
	margin: 0 auto;
	padding: 58px 0 0;
}

.sy-project-single__intro h1,
.sy-project-more__grid h3 {
	display: flex;
	margin: 0;
	align-items: center;
	gap: 20px;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.16em;
}

.sy-project-single__intro h1 img,
.sy-project-more__grid h3 img {
	width: 52px;
	height: 52px;
}

.sy-project-single__intro h1 small,
.sy-project-more__grid h3 small {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.08em;
}

.sy-project-single__description {
	margin: 48px 0 50px 70px;
	color: #77716e;
	font-size: 17px;
	font-weight: 300;
	letter-spacing: 0.11em;
	line-height: 2;
}

.sy-project-single__description p:last-child {
	margin-bottom: 0;
}

.sy-project-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px 70px;
}

.sy-house-video {
	position: relative;
	width: 100%;
	margin: 54px 0;
	overflow: hidden;
	border-radius: 18px;
	background: #111;
	aspect-ratio: 16 / 9;
}

.sy-house-video iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.sy-project-gallery figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.sy-project-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sy-project-single__back {
	display: flex;
	width: 238px;
	max-width: calc(100% - 40px);
	margin: 120px auto 150px;
}

.sy-project-archive__listing {
	width: min(1280px, calc(100% - 80px));
	margin: 0 auto;
	padding: 70px 0 125px;
}

.sy-project-archive__eyebrow {
	margin: 0 0 42px;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-style: normal;
	font-weight: 200;
	font-size: 20px;
	line-height: 32px;
	letter-spacing: 0.4em;
	color: #231815;

}

.sy-project-archive__listing>h1 {
	margin: 0 0 78px;
	font-style: normal;
	font-weight: 400;
	font-size: 32px;
	line-height: 32px;
	letter-spacing: 0.2em;
	color: #231815;
}

.sy-project-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 58px 70px;
}

.sy-project-card,
.sy-project-card a {
	display: block;
	min-width: 0;
}

.sy-project-card a {
	color: #231815;
	text-decoration: none;
}

.sy-project-card h2 {
	display: flex;
	min-height: 52px;
	margin: 0 0 20px;
	align-items: center;
	gap: 14px;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: 0.2em;
	color: #231815;
}

.sy-project-card h2 img {
	width: 52px;
	height: 52px;
	flex: 0 0 auto;
}

.sy-project-card h2 small {
	min-width: 0;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 32px;
	letter-spacing: 0.2em;
	color: #231815;
	white-space: nowrap;
}

.sy-house-archive .sy-project-card__excerpt {
	min-height: 88px;
	margin: 0 0 0px 70px;
	display: -webkit-box;
	overflow: hidden;
	color: #817a77;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.11em;
	line-height: 1.85;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.sy-project-card__image {
	display: block;
	width: calc(100% - 70px);
	height: 220px;
	margin-left: 70px;
	object-fit: cover;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.sy-project-card__placeholder {
	background: #d9d9d9;
}

.sy-project-archive__empty {
	margin: 80px 0 120px;
	color: #817a77;
	font-size: 17px;
	letter-spacing: 0.12em;
	text-align: center;
}

.sy-project-card a:hover .sy-project-card__image,
.sy-project-card a:focus-visible .sy-project-card__image {
	filter: brightness(0.92);
	transform: translateY(-4px);
}

.sy-project-archive__pagination {
	display: flex;
	margin-top: 65px;
	align-items: center;
	justify-content: center;
	gap: 28px;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.sy-project-archive__pagination>.page-numbers:not(.prev):not(.next):not(.dots) {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 50%;
	background: #dedede;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

.sy-project-archive__pagination>.prev,
.sy-project-archive__pagination>.next,
.sy-project-archive__pagination>.dots {
	display: inline-flex;
	width: auto;
	height: auto;
	align-items: center;
	background: none;
	color: #231815;
	font-size: 24px;
	text-decoration: none;
}

.sy-project-archive__pagination>.dots {
	color: #00b9ef;
	font-size: 18px;
	font-weight: 400;
}

.sy-project-archive__pagination>.is-disabled {
	cursor: default;
	opacity: 0.3;
}

.sy-project-archive__pagination>.current {
	background: #85cfe5 !important;
}

.sy-project-archive__pagination>a.page-numbers:not(.prev):not(.next):hover,
.sy-project-archive__pagination>a.page-numbers:not(.prev):not(.next):focus-visible {
	background: #85cfe5;
}

.sy-project-more {
	min-height: 665px;
	padding: 70px 0 100px;
	background: #fff;
}

.sy-project-more__inner {
	width: min(1280px, calc(100% - 80px));
	margin: 0 auto;
}

.sy-project-more__inner>p {
	margin: 0 0 42px;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.42em;
}

.sy-project-more__inner>h2 {
	margin: 0 0 82px;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.1em;
}

.sy-project-more__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 70px;
}

.sy-project-more__grid h3 {
	gap: 15px;
	font-size: 22px;
}

.sy-project-more__grid h3 img {
	width: 48px;
	height: 48px;
}

.sy-project-more__grid>article>a {
	display: block;
}

.sy-project-more__grid>article>img,
.sy-project-more__grid>article>a>img {
	display: block;
	width: calc(100% - 70px);
	height: 250px;
	margin: 28px 0 0 70px;
	object-fit: cover;
}

@media (max-width: 767px) {
	.sy-project-single__hero {
		height: 430px;
		min-height: 430px;
	}

	.sy-project-single__breadcrumb {
		top: 18px;
		left: 20px;
		max-width: calc(100% - 40px);
		font-size: 11px;
		/* writing-mode: horizontal-tb; */
	}

	.sy-project-single__breadcrumb img {
		width: 13px;
		height: auto;
	}

	.sy-project-single__photo {
		top: 0px;
		right: auto;
		left: 54px;
		width: calc(100% + 120px);
		height: 330px;
		clip-path: ellipse(70% 72% at 71% 43%);
	}

	.sy-project-single__banner {
		position: absolute;
		top: -40px;
		right: auto;
		left: 34px;
		width: auto;
		height: 400px;
		margin: 0;
	}

	.sy-project-single__decoration {
		top: 270px;
		width: 100%;
	}

	.sy-project-tabs {
		display: grid;
		height: auto;
		grid-template-columns: repeat(2, 1fr);
		gap: 18px 12px;
		padding: 30px 20px 42px;
	}

	.sy-project-tabs a {
		width: 100%;
		height: 50px;
		font-size: 14px;
		text-align: center;
	}

	.sy-project-tabs a::after {
		width: calc(100% + 8px);
	}

	.sy-project-single__content,
	.sy-project-more__inner {
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
	}

	.sy-project-single__content {
		padding-top: 40px;
	}

	.sy-project-single__intro h1,
	.sy-project-more__grid h3 {
		flex-wrap: wrap;
		gap: 12px;
		font-size: 22px;
	}

	.sy-project-single__intro h1 img {
		width: 44px;
		height: 44px;
	}

	.sy-project-single__description {
		margin: 34px 0 40px;
		font-size: 15px;
		line-height: 1.9;
	}

	.sy-project-gallery {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.sy-project-single__back {
		margin: 70px auto 90px;
	}

	.sy-project-archive__listing {
		width: calc(100% - 40px);
		padding: 0px 0 85px;
	}

	.sy-project-archive__eyebrow {
		margin-bottom: 24px;
		font-size: 13px;
		letter-spacing: 0.24em;
	}

	.sy-project-archive__listing>h1 {
		margin-bottom: 48px;
		font-size: 27px;
	}

	.sy-project-archive__grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.sy-project-card h2 {
		gap: 10px;
		font-size: 19px;
		margin-bottom: 0;
	}

	.sy-project-card h2 img {
		width: 46px;
		height: 46px;
	}

	.sy-project-card h2 small {
		font-size: 12px;
	}

	.sy-project-card__image {
		width: calc(100% - 56px);
		height: auto;
		aspect-ratio: 4 / 3;
		margin-left: 56px;
	}

	.sy-house-archive .sy-project-card__excerpt {
		min-height: 0;
		margin-left: 56px;
		font-size: 15px;
		margin-bottom: 20px;
	}

	.sy-project-archive__pagination {
		gap: 14px;
	}

	.sy-project-archive__pagination>.page-numbers:not(.prev):not(.next):not(.dots) {
		width: 34px;
		height: 34px;
	}

	.sy-project-more {
		padding: 60px 0 80px;
	}

	.sy-project-more__inner>p {
		margin-bottom: 24px;
		font-size: 13px;
		letter-spacing: 0.28em;
	}

	.sy-project-more__inner>h2 {
		margin-bottom: 48px;
		font-size: 27px;
	}

	.sy-project-more__grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.sy-project-more__grid>article>img,
	.sy-project-more__grid>article>a>img {
		width: calc(100% - 56px);
		height: 220px;
		margin-left: 56px;
	}
}