/* ==========================================================================
   首頁區塊 —— 依 2026-09-03 定案的改版設計
   命名空間 tz-，與舊的 techez- 完全分開。
   ========================================================================== */

/* WordPress 會給每個頂層區塊 24px 的 block-gap（--wp--style--block-gap）。
   首頁的六個區塊各自帶背景色與 96–100px 的上下留白，
   那 24px 只會在兩個區塊之間露出一條頁面底色 ——
   深色 Hero 下方最明顯，看起來像一個空掉的區塊。
   （2026-09-03：同一個症狀的另一半在 hero.css 的 margin-bottom。） */
body.home .entry-content > .wp-block-group {
	margin-block: 0;
}

.tz-wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 40px;
}

/* --- 區塊標頭 --- */

.tz-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Manrope", "Helvetica Neue", Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: #b9995a;
}

.tz-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: #b9995a;
	display: block;
}

.tz-eyebrow--plain::before { display: none; }

.tz-section-title {
	margin: 0;
	font-size: 34px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.4;
	color: #1c1e21;
}

.tz-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
}

.tz-section-head__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tz-section-head--center {
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 48px;
}

.tz-section-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid #d8dbdf;
	font-size: 15px;
	color: #5a5f66;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.tz-section-more:hover {
	color: #b9995a;
	border-bottom-color: #b9995a;
}

/* --- 最新消息 --- */

.tz-news { padding: 96px 0; background: #ffffff; }

.tz-news__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.tz-news__card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e4e6e9;
	background: #ffffff;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tz-news__card:hover {
	border-color: #d3b574;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
	transform: translateY(-2px);
}

.tz-news__thumb {
	height: 190px;
	overflow: hidden;
	background: #f2f3f5;
	flex-shrink: 0;
}

.tz-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.tz-news__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 22px 26px;
}

.tz-news__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tz-chip {
	font-size: 11px;
	letter-spacing: 1px;
	padding: 3px 9px;
	background: #f1ece0;
	color: #9a7c3c;
}

.tz-date {
	font-family: "Manrope", "Helvetica Neue", Helvetica, sans-serif;
	font-size: 13px;
	color: #8b9097;
}

.tz-news__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	font-weight: 500;
	color: #1c1e21;
}

/* --- 產品領域 --- */

.tz-products { padding: 96px 0 100px; background: #f6f7f8; }

.tz-products__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.tz-products__card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}

.tz-products__card:hover {
	box-shadow: 0 14px 36px rgba(0, 0, 0, .09);
	transform: translateY(-3px);
}

.tz-products__thumb {
	height: 260px;
	overflow: hidden;
	flex-shrink: 0;
}

.tz-products__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tz-products__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px 30px 34px;
}

.tz-products__name {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tz-products__name h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: .5px;
	color: #1c1e21;
}

.tz-products__name span {
	font-family: "Manrope", "Helvetica Neue", Helvetica, sans-serif;
	font-size: 12px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #a3a8ae;
}

.tz-products__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.85;
	color: #5a5f66;
}

/* --- 品牌介紹 --- */

.tz-about { padding: 100px 0; background: #ffffff; }

.tz-about__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 72px;
	align-items: center;
}

.tz-about__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.tz-about__text h2 {
	margin: 0;
	font-size: 32px;
	line-height: 1.55;
	font-weight: 500;
	letter-spacing: .5px;
	color: #1c1e21;
}

.tz-about__text p {
	margin: 0;
	font-size: 16px;
	line-height: 2.05;
	font-weight: 300;
	color: #5a5f66;
}

.tz-creds {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 28px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.tz-creds li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #3d4248;
}

.tz-creds li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9995a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5.5 5.5L20 7'/%3E%3C/svg%3E");
}

.tz-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	height: 50px;
	padding: 0 28px;
	margin-top: 10px;
	border: 1px solid #1c1e21;
	font-size: 16px;
	color: #1c1e21;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.tz-btn-outline:hover {
	background: #1c1e21;
	color: #ffffff;
}

.tz-about__figure { position: relative; }

.tz-about__figure img {
	width: 100%;
	height: 520px;
	object-fit: cover;
	display: block;
}

.tz-about__figure::after {
	content: "";
	position: absolute;
	left: -18px;
	bottom: -18px;
	width: 120px;
	height: 120px;
	border-left: 3px solid #d3b574;
	border-bottom: 3px solid #d3b574;
}

/* --- Acronis --- */

.tz-acpc { background: #23272b; }

.tz-acpc__grid {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.tz-acpc__figure {
	min-height: 520px;
	overflow: hidden;
}

.tz-acpc__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tz-acpc__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	padding: 80px 64px;
}

.tz-acpc__text h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.6;
	font-weight: 500;
	letter-spacing: .5px;
	color: #ffffff;
}

.tz-points {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tz-points li {
	display: flex;
	gap: 14px;
	margin: 0;
	font-size: 16px;
	line-height: 1.9;
	font-weight: 300;
	color: rgba(255, 255, 255, .78);
}

.tz-points li::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-top: 6px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3b574' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5.5 5.5L20 7'/%3E%3C/svg%3E");
}

.tz-btn-solid {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	height: 52px;
	padding: 0 30px;
	margin-top: 8px;
	background: #d3b574;
	color: #1c1e21;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s ease;
}

.tz-btn-solid:hover { background: #e5cd97; color: #1c1e21; }

/* --- 合作品牌 --- */

.tz-partners {
	padding: 78px 0 84px;
	background: #ffffff;
	border-bottom: 1px solid #eaecee;
}

.tz-partners__inner {
	display: flex;
	flex-direction: column;
	gap: 36px;
	align-items: center;
}

.tz-partners__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 52px;
	align-items: center;
	width: 100%;
}

.tz-partners__grid img {
	width: 100%;
	max-height: 78px;
	object-fit: contain;
	display: block;
}

/* --- 響應式 --- */

@media (max-width: 1200px) {
	.tz-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tz-about__grid { gap: 48px; }
	.tz-acpc__text { padding: 64px 44px; }
}

@media (max-width: 1024px) {
	.tz-wrap { padding: 0 28px; }
	.tz-news, .tz-products, .tz-about { padding: 72px 0; }
	.tz-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tz-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.tz-about__grid { grid-template-columns: 1fr; gap: 40px; }
	.tz-about__figure img { height: 360px; }
	.tz-acpc__grid { grid-template-columns: 1fr; }
	/* ACPC 那張圖是 500x500 的完成稿（上方標題／中間插畫／下方標語），
	   單欄之後若還鎖 260px 高，cover 會從上下各裁掉 65px，正好切掉標題。
	   放掉高度限制，讓方形圖完整呈現。 */
	.tz-acpc__figure { min-height: 0; }
	.tz-acpc__figure img { height: auto; }
	.tz-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 767px) {
	.tz-wrap { padding: 0 20px; }
	.tz-news, .tz-products, .tz-about { padding: 56px 0 60px; }
	.tz-section-title { font-size: 26px; }
	.tz-section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
	.tz-news__grid { grid-template-columns: 1fr; gap: 20px; }
	.tz-products__grid { grid-template-columns: 1fr; gap: 20px; }
	.tz-products__thumb { height: 168px; }
	.tz-products__body { padding: 22px 20px 26px; }
	.tz-products__name h3 { font-size: 20px; }
	.tz-about__text h2 { font-size: 25px; }
	.tz-creds { grid-template-columns: 1fr; gap: 11px; }
	.tz-btn-outline { align-self: stretch; justify-content: center; }
	.tz-acpc__text { padding: 44px 20px 50px; }
	.tz-acpc__text h2 { font-size: 24px; }
	.tz-btn-solid { align-self: stretch; justify-content: center; }
	.tz-partners { padding: 44px 0 48px; }
	.tz-partners__grid { gap: 30px 24px; }
	.tz-partners__grid img { max-height: 56px; }
}
