/* Pasajeen Mobile Home Polish 0.4.3 — readable text on every Route Hub page (Owner 2026-10-14: "หน้ารวมบทความ ขออักษร
 * ใหญ่ขึ้นอีกหน่อย", "อักษรตัวเล็กเกินไป"). The Page 18550 standard block sets these texts at .66–.92em; this layer
 * raises them together on every page that carries .pz-route-hub, so all Hubs stay identical (Skill 9B.4A). Font sizes
 * only; no page content is edited. "body.page .pz-route-hub" outranks the page's own style block. */
body.page .pz-route-hub .pz-route-hero .pz-route-eyebrow { font-size: .86em; }
body.page .pz-route-hub .pz-route-hero > p:not(.pz-route-eyebrow) { font-size: 1.04em; }
body.page .pz-route-hub .pz-route-stat { font-size: .92em; }
body.page .pz-route-hub .pz-route-actions a { font-size: 1em; }
body.page .pz-route-hub .pz-route-note { font-size: 1em; line-height: 1.7; }
body.page .pz-route-hub .pz-route-jump a { font-size: .96em; }
body.page .pz-route-hub .pz-route-section > .pz-route-kicker { font-size: .86em; }
body.page .pz-route-hub .pz-route-section > p:not(.pz-route-kicker) { font-size: 1em; line-height: 1.7; }
body.page .pz-route-hub .pz-route-number { font-size: .95em; }
body.page .pz-route-hub .pz-route-title { font-size: 1.04em; line-height: 1.5; }
body.page .pz-route-hub .pz-route-access { font-size: .76em; }
body.page .pz-route-hub .pz-route-foot { font-size: 1em; line-height: 1.7; }
body.page .pz-route-hub .pz-route-story li { font-size: .96em; }
body.page .pz-route-hub .pz-route-choice span { font-size: .96em; }
body.page .pz-route-hub .pz-route-choice a { font-size: .96em; }

/* 0.5.15: shared disclosure-button treatment for collapsed lesson groups on every Route Hub. */
body.page .pz-route-hub .pz-route-more > summary {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: .55em;
	margin-top: 14px;
	padding: 12px 18px;
	border: 1px solid #27675c;
	border-radius: 14px;
	background: #2f7568;
	color: #fff;
	font-weight: 800;
	text-align: center;
	cursor: pointer;
	list-style: none;
	box-shadow: 0 7px 16px rgba(47,117,104,.18);
}
body.page .pz-route-hub .pz-route-more > summary::-webkit-details-marker { display: none; }
body.page .pz-route-hub .pz-route-more > summary::after {
	content: "↓";
	font-size: 1.2em;
	line-height: 1;
	transition: transform .18s ease;
}
body.page .pz-route-hub .pz-route-more[open] > summary::after { transform: rotate(180deg); }
body.page .pz-route-hub .pz-route-more > summary:hover,
body.page .pz-route-hub .pz-route-more > summary:focus-visible {
	background: #245f55;
	outline: 3px solid rgba(47,117,104,.24);
	outline-offset: 3px;
}
body.page .pz-route-hub .pz-route-more[open] > .pz-route-lessons { margin-top: 12px; }

/* 0.5.14: a Route Hub starts with its own hero artwork; the saved theme excerpt remains in WordPress. */
body.page.pz-route-hub-page .page-header-excerpt { display: none; }

@media (max-width: 760px) {
	/* 0.5.11: #main is the stable parent of both the theme-rendered loose excerpt and the Hub. The Hub frame keeps
	 * the Owner-approved 2mm phone gutter. Theme row/column padding is neutralized only on verified Route Hub pages;
	 * the loose excerpt receives the remaining padding needed to stay one character from the viewport. */
	body.page.pz-route-hub-page #main {
		box-sizing: border-box;
		padding-inline: 2mm;
		overflow-x: hidden;
	}
	body.page.pz-route-hub-page .page-header-excerpt {
		box-sizing: border-box;
		padding-inline: calc(1em - 2mm);
	}
	body.page.pz-route-hub-page .row-main {
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}
	body.page.pz-route-hub-page .row-main > .col {
		padding-inline: 0;
	}
	body.page.pz-route-hub-page .pz-route-hub {
		box-sizing: border-box;
		width: 100%;
		max-width: none;
		margin-inline: 0;
		padding-inline: 0;
	}
	body.page .pz-route-hub .pz-route-hero .pz-route-eyebrow { font-size: .82em; }
	body.page .pz-route-hub .pz-route-hero > p:not(.pz-route-eyebrow) { font-size: 1em; }
	body.page .pz-route-hub .pz-route-stat { font-size: .88em; }
	body.page .pz-route-hub .pz-route-actions a { font-size: .96em; }
	body.page .pz-route-hub .pz-route-note { font-size: .96em; }
	body.page .pz-route-hub .pz-route-jump a { font-size: .92em; }
	body.page .pz-route-hub .pz-route-section > p:not(.pz-route-kicker) { font-size: .96em; }
	body.page .pz-route-hub .pz-route-title { font-size: 1em; }
	body.page .pz-route-hub .pz-route-foot { font-size: .96em; }
	body.page .pz-route-hub .pz-route-story li { font-size: .92em; }
}

/* 0.5.17 (Control 2026-10-20, hub health sweep): the route-switch links inside a Route Hub (.pz-route-switch .pz-route-choice a,
 * Hubs 27372 and 26997: กำลังดูเส้นทางนี้ / เปิดเส้นทาง… →) were 30 px high; they now meet the 44 px tap rule. */
body.page .pz-route-hub .pz-route-switch .pz-route-choice a { min-height: 44px; align-items: center; }
