/* 598 找店家招商頁 — scoped to .join-page / body only; does not restyle shared header/footer. */
/* Offset on body (same pattern as ett-home/about): matches #kwbcloud_header.travel_header 76→66 @ ≤900px. */
.ett-service-partner-body {
	--esp-header-h: 76px;
	margin: 0;
	background: #FAF8F3;
	padding-top: var(--esp-header-h);
	box-sizing: border-box;
}
@media (max-width: 900px) {
	.ett-service-partner-body { --esp-header-h: 66px; }
}

.join-page * { box-sizing: border-box; }
.join-page {
	margin: 0;
	padding-top: 0; /* avoid double offset with body padding-top */
	background: #FAF8F3;
	color: #26352F;
	font-family: "Noto Sans CJK TC", "Noto Sans TC", system-ui, sans-serif;
	--green: #26352F;
	--gold: #B89A63;
	--paper: #FAF8F3;
	max-width: 100%;
	overflow-x: clip;
}
.join-page #values,
.join-page #social,
.join-page #media-intro,
.join-page #industries,
.join-page #process,
.join-page #faq {
	scroll-margin-top: calc(var(--esp-header-h) + 10px);
}

/* ---- Hero Desktop/Tablet: full-bleed width, scale by aspect, max-height 520px; vertical crop OK ---- */
.join-page .hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	/* 1672×941 → height = width * 941/1672, capped at 520 */
	height: min(520px, calc(100vw * 941 / 1672));
	overflow: hidden;
	background: var(--paper);
}
.join-page .hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Prefer reception faces / interaction when vertically cropped */
	object-position: 62% 42%;
}
/* Owner-approved continuous warm fog over kicker + title + CTA; positioned on hero viewport */
.join-page .hero-fog {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		rgba(250, 248, 243, 0.84) 0%,
		rgba(250, 248, 243, 0.90) 16%,
		rgba(250, 248, 243, 0.84) 29%,
		rgba(250, 248, 243, 0.55) 40%,
		rgba(250, 248, 243, 0.16) 48%,
		rgba(250, 248, 243, 0) 55%
	);
	/* Mask tuned for 520px cap so CTA (~50–60% down) stays under fog */
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		#000 10%,
		#000 58%,
		rgba(0, 0, 0, 0.7) 68%,
		transparent 82%
	);
	mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		#000 10%,
		#000 58%,
		rgba(0, 0, 0, 0.7) 68%,
		transparent 82%
	);
	pointer-events: none;
}
.join-page .hero-copy {
	position: relative;
	z-index: 1;
	width: 49%;
	max-width: 560px;
	padding: 36px 0 36px 4vw;
}
.join-page .hero-copy > p {
	font-size: clamp(16px, 1.5vw, 24px);
	letter-spacing: .06em;
	margin: 0 0 18px;
}
.join-page .hero h1 {
	position: relative;
	width: 430px;
	max-width: 100%;
	margin: 0 0 24px;
	line-height: 1;
}
.join-page .hero h1 img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}
.join-page .cta {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding: 12px 40px;
	min-height: 52px;
	background: var(--gold);
	color: var(--green);
	text-decoration: none;
	border: 1px solid #8F7546;
	border-radius: 99px;
	font-size: 24px;
	font-weight: 600;
}
.join-page .cta:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 4px;
}

.join-page .content {
	max-width: 1200px;
	margin: auto;
	padding: 0 28px 72px;
}
.join-page .content section { padding-top: 42px; }
.join-page .seo-lead {
	max-width: 46rem;
	margin: 0 auto 22px;
	text-align: center;
	font-size: 16px;
	line-height: 1.7;
	color: #52615b;
}
.join-page h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	text-align: center;
	font-family: "Noto Serif CJK TC", "Noto Serif TC", serif;
	font-size: 28px;
	margin: 0 0 28px;
}
.join-page h2:before,
.join-page h2:after {
	content: "";
	width: 64px;
	height: 1px;
	background: var(--gold);
	flex-shrink: 0;
}
.join-page h3 { margin: 12px 0 7px; font-size: 20px; }
.join-page p { line-height: 1.6; }

.join-page .values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	text-align: center;
}
.join-page .values article + article { border-left: 1px solid #d9dedb; }
.join-page .icon {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: auto;
}
.join-page .icon img { width: 45%; height: 45%; }
.join-page .gold { background: var(--gold); }
.join-page .green { background: var(--green); }
.join-page .values p { margin: 0; color: #52615b; font-size: 18px; }

/* ---- Social showcase ---- */
.join-page .social-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 12px;
	justify-items: center;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.join-page .social-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-align: center;
}
.join-page .social-logo {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.join-page .social-logo img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
}
.join-page .social-item span {
	font-size: 14px;
	color: #52615b;
	line-height: 1.3;
}

/* ---- Media intro (text only) ---- */
.join-page .media-intro-card {
	max-width: 46rem;
	margin: 0 auto;
	text-align: center;
}
.join-page .media-intro-card > p {
	margin: 0 0 14px;
	color: #52615b;
	font-size: 16px;
}
.join-page .media-intro-card .media-quota {
	margin: 18px 0 0;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #e2e3dd;
	border-radius: 10px;
	color: var(--green);
	font-size: 15px;
	text-align: left;
}
.join-page .media-intro-card .media-quota strong {
	color: var(--green);
	font-weight: 700;
}
.join-page .media-intro-card .media-quota .note {
	display: block;
	margin-top: 8px;
	color: #52615b;
	font-size: 14px;
	font-weight: 400;
}
.join-page .media-intro-card .media-upsell {
	margin: 14px 0 0;
	color: var(--gold);
	font-size: 15px;
	font-weight: 600;
}

.join-page .industries {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.join-page .industry {
	overflow: hidden;
	border: 1px solid #e2e3dd;
	background: #fff;
	border-radius: 10px;
	text-align: center;
	min-width: 0;
}
.join-page .industry-photo {
	width: 100%;
	height: auto;
	/* Desktop flat ratio ~2.33 (design-ref); unchanged this round */
	aspect-ratio: 7 / 3;
	object-fit: cover;
	object-position: center;
	display: block;
}
.join-page .industry > div { padding: 2px 12px 14px; }
.join-page .industry p {
	font-size: 15px;
	color: #52615b;
	margin: 0;
	overflow-wrap: anywhere;
}
.join-page .steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.join-page .steps article {
	display: flex;
	gap: 18px;
	border: 1px solid #e2e3dd;
	background: #fff;
	border-radius: 10px;
	padding: 22px;
	min-width: 0;
}
.join-page .steps .icon {
	width: 62px;
	height: 62px;
	margin: 0;
	flex-shrink: 0;
}
.join-page .steps h3 {
	margin: 4px 0 10px;
	font-size: 18px;
	overflow-wrap: anywhere;
}
.join-page .steps p {
	margin: 0;
	font-size: 15px;
	color: #52615b;
	overflow-wrap: anywhere;
}
.join-page .number {
	color: var(--gold);
	font-family: serif;
	font-weight: 600;
	font-size: 24px;
}
.join-page .faq details {
	background: #fff;
	border: 1px solid #e2e3dd;
	border-radius: 8px;
	padding: 14px 20px;
	margin-bottom: 10px;
}
.join-page .faq summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 17px;
}
.join-page .faq summary:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}
.join-page .faq details p { margin: 8px 0 0; color: #52615b; }

/* ---- Tablet: same full-bleed crop + fog as Desktop; title/copy sizing only ---- */
@media (min-width: 701px) and (max-width: 1024px) {
	.join-page .hero {
		height: min(520px, calc(100vw * 941 / 1672));
	}
	.join-page .hero-photo {
		object-fit: cover;
		object-position: 65% 40%;
	}
	.join-page .hero-copy {
		width: 54%;
		max-width: 480px;
		padding: 28px 0 28px 3.5vw;
	}
	.join-page .hero h1 {
		width: 370px;
		max-width: 100%;
		margin: 0 0 20px;
	}
	.join-page .cta { font-size: 20px; min-height: 48px; padding: 10px 32px; }
	.join-page .social-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 8px; }
	.join-page .social-logo { width: 50px; height: 50px; }
	.join-page .social-logo img { width: 42px; height: 42px; }
	.join-page .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* PASS: +25% image-area height — do not change */
	.join-page .industry-photo { aspect-ratio: 28 / 15; }
	.join-page .steps article { padding: 16px; gap: 10px; }
	.join-page .steps .icon { width: 42px; height: 42px; }
	.join-page .steps h3 { font-size: 17px; }
	.join-page h2 { font-size: 25px; }
}

/* ---- Mobile: keep photo + paper copy stack; no desktop crop/fog ---- */
@media (max-width: 700px) {
	.join-page .hero {
		display: flex;
		flex-direction: column;
		height: auto;
		overflow: visible;
	}
	.join-page .hero-photo {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 1672 / 941;
		object-fit: contain;
		object-position: center;
	}
	.join-page .hero-fog { display: none; }
	.join-page .hero-copy {
		width: 100%;
		max-width: none;
		padding: 22px 16px 12px;
		text-align: center;
		background: var(--paper);
	}
	.join-page .hero-copy > p { font-size: 14px; margin-bottom: 16px; }
	.join-page .hero h1 {
		width: min(100%, 340px);
		margin: 0 auto 18px;
	}
	.join-page .cta { font-size: 18px; min-height: 46px; padding: 10px 30px; }
	.join-page .content { padding: 0 16px 48px; }
	.join-page .content section { padding-top: 30px; }
	.join-page .seo-lead { font-size: 14px; margin-bottom: 16px; }
	.join-page h2 {
		font-size: 21px;
		gap: 10px;
		margin-bottom: 20px;
		line-height: 1.5;
	}
	.join-page h2:before,
	.join-page h2:after { width: 20px; }
	.join-page .values-section h2 { font-size: 19px; }
	.join-page .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.join-page .values .icon { width: 54px; height: 54px; }
	.join-page .values h3 { font-size: 16px; margin: 10px 0 6px; }
	.join-page .values p { font-size: 13px; line-height: 1.6; }
	.join-page .values article { padding: 0 4px; }
	.join-page .social-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px 10px;
	}
	.join-page .social-logo { width: 48px; height: 48px; }
	.join-page .social-logo img { width: 40px; height: 40px; }
	.join-page .social-item span { font-size: 12px; }
	.join-page .media-intro-card > p { font-size: 14px; }
	.join-page .media-intro-card .media-quota { font-size: 14px; padding: 14px; }
	.join-page .media-intro-card .media-upsell { font-size: 14px; }
	.join-page .industries {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	/* +25% image-area height vs prior 7/3 → 28/15 */
	.join-page .industry-photo { aspect-ratio: 28 / 15; }
	.join-page .industry > div { padding: 0 7px 10px; }
	.join-page .industry h3 { font-size: 17px; margin: 8px 0 4px; }
	.join-page .industry p { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
	.join-page .steps { grid-template-columns: 1fr; gap: 10px; }
	.join-page .steps article { padding: 15px; gap: 16px; }
	.join-page .steps .icon { width: 52px; height: 52px; }
	.join-page .steps h3 {
		display: block;
		margin: 4px 0 8px;
		font-size: 17px;
		line-height: 1.35;
	}
	.join-page .steps p { font-size: 14px; margin-top: 0; }
	.join-page .faq details { padding: 12px; }
	.join-page .faq summary { font-size: 15px; }
	.join-page .faq details p { font-size: 14px; }
}

@media (max-width: 360px) {
	.join-page .hero h1 { width: 100%; max-width: 100%; }
}
