/* ==========================================================================
   Taiputhailand — global
   ========================================================================== */

body {
	font-family: "Noto Sans Thai", sans-serif;
	color: #2c2c2c;
}

/*
 * WordPress's default block-gap spacing adds a margin-top (24px) between
 * the header template part and <main> on every page, since both are
 * top-level siblings under .wp-site-blocks. Every page here needs its
 * banner/hero flush against the header per Figma, so kill it globally
 * instead of patching it per page.
 */
.taiputhailand-main {
	margin-top: 0 !important;
}

body.page-id-27 .taiputhailand-main,
body.page-id-28 .taiputhailand-main {
	padding-top: 65px;
	padding-bottom: 65px;
}

a {
	text-decoration: none;
}

.taiputhailand-section-label {
	font-family: "Barlow Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #F50406;
	margin: 0 0 13px;
}

.taiputhailand-section-label.is-on-dark {
	color: #ffffff;
	padding-top: 45px;
}

.taiputhailand-btn-primary .wp-block-button__link,
.taiputhailand-btn-white .wp-block-button__link,
.taiputhailand-btn-outline .wp-block-button__link {
	font-family: "Noto Sans Thai", sans-serif;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	padding: 18px 35px;
}

.taiputhailand-btn-primary .wp-block-button__link {
	background: #F50406;
	color: #ffffff;
}

.taiputhailand-btn-outline .wp-block-button__link {
	background: #ffffff;
	color: #F50406;
	border: 2px solid #F50406;
}

.taiputhailand-btn-white .wp-block-button__link {
	/*
	 * Figma's "Primary action" component (node 435:2430) for this exact CTA
	 * ("สำรวจเส้นทางประวัติศาสตร์", used on Home + Culture Room) isn't the
	 * plain text pill the shared button padding/radius gave it — it has its
	 * own asymmetric padding, 18px/500-weight text, 10px radius, and a gold
	 * arrow-up-right icon after the label. Both current usages of this class
	 * are this one CTA, so override fully here instead of the generic values
	 * above.
	 */
	/*
	 * The frame itself is a fixed 67px tall in Figma — the padding values
	 * the codegen reported (32/48/31/34) don't actually sum to that height
	 * (32+31+~30px content = 93px), so deriving height from padding alone
	 * made the button ~40% taller than spec. Fix the height to the real
	 * value and let flex centering handle vertical alignment instead.
	 * Width is left auto (content-driven, like the original) rather than
	 * pinned to Figma's literal 321px — the label's layout-width in this
	 * self-hosted Noto Sans Thai file measures far wider than it actually
	 * paints (a known category of bug: combining Thai vowel/tone marks
	 * getting non-zero advance width), so trusting that number for a hard
	 * width wraps the label to 2 lines; nowrap + auto width avoids it.
	 */
	background: #ffffff;
	color: #000000;
	font-size: 18px;
	font-weight: 500;
	border-radius: 10px;
	height: 67px;
	box-sizing: border-box;
	padding: 0 48px 0 34px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	gap: 32px;
}

.taiputhailand-btn-white .wp-block-button__link::after {
	content: "";
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	background: url('../images/icons/icon-arrow-up-right-gold.svg') no-repeat center / contain;
}

/* ==========================================================================
   Header
   ========================================================================== */

.taiputhailand-header {
	max-width: none;
	padding: 0;
}

.taiputhailand-topbar {
	background: #F50406;
	padding: 17px 55px;
	box-sizing: border-box;
}

.taiputhailand-topbar__phone {
	font-family: "Noto Sans Thai", sans-serif;
	color: #ffffff;
	font-weight: 600;
	font-size: 18px;
	margin: 0;
}

.taiputhailand-topbar__social {
	background: #ffffff;
	border-radius: 100px;
	padding: 6px 20px;
	gap: 20px;
}

.taiputhailand-topbar__icon img {
	display: block;
}

.taiputhailand-topbar__icon {
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.taiputhailand-topbar__icon:hover {
	transform: scale(1.15);
	opacity: 0.7;
}

.taiputhailand-mainnav {
	background: #ffffff;
	padding: 19px 55px;
	box-sizing: border-box;
	border-bottom: 1px solid #e4e3df;
}

.taiputhailand-logo {
	gap: 12px;
	align-items: center;
}

.taiputhailand-logo__mark img {
	border-radius: 50%;
	display: block;
}

.taiputhailand-logo__text {
	gap: 0;
}

.taiputhailand-logo__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #000000;
	margin: 0;
	white-space: nowrap;
}

.taiputhailand-logo__sub {
	font-family: "Noto Serif TC", serif;
	font-weight: 500;
	font-size: 15px;
	color: #FE0002;
	margin: 0;
	white-space: nowrap;
}

.taiputhailand-nav-row {
	gap: 24px;
}

.taiputhailand-nav .wp-block-navigation__container,
.taiputhailand-nav .wp-block-navigation-item__content {
	font-family: "Noto Sans Thai", sans-serif;
	gap: 24px;
	font-size: 16px;
	color: #000000;
	letter-spacing: -0.32px;
	white-space: nowrap;
}

.taiputhailand-nav .wp-block-navigation-item__content:hover,
.taiputhailand-nav .wp-block-navigation-item__content:focus {
	color: #F50406;
}

.taiputhailand-nav-mobile-logo {
	display: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open .taiputhailand-nav-mobile-logo {
	display: flex !important;
	margin-bottom: 32px;
}

.taiputhailand-search {
	position: relative;
	display: flex;
	align-items: center;
}

.taiputhailand-search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
}

.taiputhailand-search-form {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid #e4e3df;
	border-radius: 100px;
	padding: 6px 6px 6px 20px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 20;
}

.taiputhailand-search.is-open .taiputhailand-search-form {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.taiputhailand-search-form__input {
	border: none;
	outline: none;
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #222222;
	width: 220px;
	background: transparent;
}

.taiputhailand-search-form__input::placeholder {
	color: #74746f;
}

.taiputhailand-search-form__submit {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #f50406;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 640px) {
	.taiputhailand-search-form {
		right: -16px;
	}

	.taiputhailand-search-form__input {
		width: 160px;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.taiputhailand-hero__banner img {
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 691;
	object-fit: cover;
	display: block;
}

.taiputhailand-hero__intro {
	max-width: 1076px;
	margin: 0 auto;
	padding: 60px 20px;
	text-align: center;
}

.taiputhailand-hero__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 52px;
	font-weight: 600;
	color: #000000;
	margin: 0 0 16px;
}

.taiputhailand-hero__desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.8;
	color: #000000;
	margin: 0 0 42px;
}

.taiputhailand-hero__actions {
	gap: 45px;
}

/* ==========================================================================
   Historical timeline
   ========================================================================== */

.taiputhailand-timeline {
	background: #ffffff;
	padding: 30px 0 180px;
	gap: 40px;
	align-items: flex-start;
}

.taiputhailand-timeline__intro {
	flex: 0 0 340px;
	padding-left: 110px;
	gap: 8px;
	box-sizing: border-box;
}

.taiputhailand-timeline__eyebrow {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 48px;
	color: #F50406;
	margin: 0;
	line-height: 1.1;
}

.taiputhailand-timeline__sub {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 300;
	font-size: 24px;
	color: #222222;
	margin: 0 0 20px;
}

.taiputhailand-timeline__nav {
	gap: 9px;
}

.taiputhailand-timeline__nav-btn img {
	cursor: pointer;
}

.taiputhailand-timeline__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	padding-bottom: 20px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
}

.taiputhailand-timeline__viewport::-webkit-scrollbar {
	display: none;
}

.taiputhailand-timeline__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.taiputhailand-timeline__track {
	position: relative;
	width: 2394px;
	height: 580px;
}

.taiputhailand-timeline__line {
	position: absolute;
	left: 9px;
	right: 0;
	top: 273px;
	border-top: 2px dashed #F50406;
}

.taiputhailand-timeline__dot {
	position: absolute;
	top: 263px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #F50406;
	border: 3px solid #ffffff;
	box-sizing: border-box;
	z-index: 1;
}

.taiputhailand-timeline__col {
	position: absolute;
	top: 0;
	left: 0;
}

.taiputhailand-timeline__text.is-above {
	position: absolute;
	left: 0;
	top: 78px;
}

.taiputhailand-timeline__text.is-below {
	position: absolute;
	left: 0;
	top: 330px;
}

.taiputhailand-timeline__img.is-above {
	position: absolute;
	left: 0;
	top: 0;
}

.taiputhailand-timeline__img.is-below {
	position: absolute;
	left: 0;
	top: 311px;
}

.taiputhailand-timeline__img img {
	width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-timeline__year {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 48px;
	color: #F50406;
	margin: 0;
	line-height: 1.1;
}

.taiputhailand-timeline__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: #222222;
	margin: 6px 0;
}

.taiputhailand-timeline__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #222222;
	margin: 0;
}

/* ==========================================================================
   Culture & heritage
   ========================================================================== */

.taiputhailand-culture {
	position: relative;
	color: #ffffff;
	padding: 0;
	background: #404040;
}

.taiputhailand-culture__top {
	align-items: stretch;
	gap: 0;
}

.taiputhailand-culture__photo {
	flex: 0 0 46.4%;
	max-width: 891px;
	margin: 0;
	overflow: hidden;
}

.taiputhailand-culture__photo img {
	width: 100%;
	height: 100%;
	min-height: 428px;
	object-fit: cover;
	display: block;
}

.taiputhailand-culture__content {
	flex: 1 1 auto;
	max-width: 704px;
	padding: 80px 110px 60px 68px;
	box-sizing: border-box;
}

.taiputhailand-culture__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #ffffff;
	margin: 0 0 20px;
}

.taiputhailand-culture__title-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #F50406;
	margin: 0 0 20px;
}

.taiputhailand-culture__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	margin: 0 0 32px;
}

.taiputhailand-culture__content .taiputhailand-btn-white {
	margin-top: 0;
}

.taiputhailand-culture__cards {
	position: relative;
	z-index: 2;
	gap: 20px;
	padding: 40px 110px 100px;
	box-sizing: border-box;
}

.taiputhailand-culture-card {
	background: #F50406;
	border-radius: 10px;
	padding: 32px 30px;
	flex: 1 1 280px;
	min-width: 260px;
	box-sizing: border-box;
}

.taiputhailand-culture-card__icon {
	margin: 0 0 12px;
}

.taiputhailand-culture-card__icon img {
	filter: brightness(0) invert(1);
}

.taiputhailand-culture-card__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 22px;
	color: #ffffff;
	margin: 0 0 8px;
}

.taiputhailand-culture-card__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.3;
	color: #ffffff;
	margin: 0;
}

/* ==========================================================================
   Events / news
   ========================================================================== */

.taiputhailand-events {
	padding: 100px 110px;
	box-sizing: border-box;
	max-width: none;
}

.taiputhailand-events__heading {
	margin-bottom: 54px;
	gap: 32px;
}

.taiputhailand-events__title {
	/*
	 * Lora has no Thai glyphs at all, so the Thai heading text here was
	 * falling through straight to the browser's generic "serif" default —
	 * on this system that's a system Thai font rendered with a synthetic
	 * (faux) bold for font-weight:600, which looks noticeably heavier/
	 * blockier than Figma's own fallback. Naming "Noto Sans Thai" (already
	 * self-hosted at real weight 600) explicitly in the stack makes the
	 * fallback deliberate and matches Figma's rendering instead of leaving
	 * it to whatever font the OS/browser happens to pick.
	 */
	font-family: "Lora", "Noto Sans Thai", serif;
	font-weight: 600;
	font-size: 40px;
	color: #000000;
	margin: 0;
}

.taiputhailand-events__title-cn {
	font-family: "Lora", "Noto Serif SC", serif;
	font-weight: 400;
	display: block;
}

.taiputhailand-events__overview {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #74746f;
	max-width: 311px;
	margin: 0;
}

.taiputhailand-events__tabs {
	border-top: 2px solid #74746f;
	border-bottom: 2px solid #74746f;
	padding: 16px 20px;
	margin-bottom: 45px;
}

.taiputhailand-events__tab {
	font-family: "Noto Sans Thai", sans-serif;
	display: inline-block;
	margin: 0 27px 0 0;
	font-size: 18px;
	color: #74746f;
	cursor: pointer;
}

.taiputhailand-events__tab.is-active {
	color: #F50406;
}

.taiputhailand-events__viewall a {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: #F50406;
}

.taiputhailand-featured-article {
	gap: 40px;
	padding: 45px 0;
	align-items: center;
}

.taiputhailand-featured-article__content {
	flex: 1 1 500px;
	max-width: 834px;
}

.taiputhailand-featured-article__eyebrow {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #F50406;
	margin: 0 0 13px;
}

.taiputhailand-featured-article__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.25;
	color: #000000;
	margin: 0 0 30px;
}

.taiputhailand-featured-article__desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 20px;
	line-height: 1.7;
	color: #74746f;
	margin: 0 0 32px;
}

.taiputhailand-featured-article__photo {
	flex: 0 1 804px;
	margin: 0;
}

.taiputhailand-featured-article__photo img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.taiputhailand-events__grid.wp-block-query {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 56px;
}

.taiputhailand-events__grid ul.wp-block-post-template {
	display: contents;
}

/*
 * wp:post-template's own className ("taiputhailand-event-card") lands on the
 * <ul> it renders (the list wrapper), NOT on each repeated <li> — and that
 * <ul> is immediately made `display:contents` above, which strips its box
 * entirely (no border/shadow/height ever rendered). Each actual card is the
 * <li class="wp-block-post ...">  WordPress generates per post, which never
 * carried the card styling at all — hence no border/box and no equal-height
 * behavior. Target the real per-item element instead. (.taiputhailand-event-card
 * itself is left in place/unused here — it's still used correctly as a plain
 * class on real static divs, e.g. the Culture Room archive grid.)
 */
.taiputhailand-events__grid .wp-block-post {
	border: 1px solid #e4e3df;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	/*
	 * The image (aspect-ratio-driven) + the now-fixed 298px body already sum
	 * to the same height on every card, so equal height doesn't actually
	 * need grid row-stretch — which is just as well, because default grid
	 * stretch through the display:contents <ul> wrapper above renders
	 * inconsistently per item in this engine (some cards get stretched to
	 * the row's full track height, others don't, producing MISMATCHED
	 * heights instead of equal ones). Disabling stretch and letting every
	 * card size to its own now-identical natural content height is more
	 * reliable here than depending on stretch to equalize them.
	 */
	align-self: start;
	/*
	 * WordPress's default block-gap CSS adds margin-block-start to every
	 * sibling but the first inside a ".is-layout-flow" list (the same bug
	 * class as the header/main gap elsewhere in this theme) — the post-
	 * template <ul> carries that class, and even though it's display:contents
	 * here, the selector still matches these <li>s in the DOM. That margin
	 * was shifting every card but the very first down within its own grid
	 * cell, so cards looked misaligned/unequal despite now having identical
	 * natural heights. Grid gap (set on the grid container) already handles
	 * spacing, so this margin is pure bug.
	 */
	margin-block-start: 0 !important;
}

.taiputhailand-event-card__image img {
	width: 100%;
	aspect-ratio: 526 / 286;
	object-fit: cover;
	display: block;
}

.taiputhailand-event-card__body {
	/*
	 * Figma's own card instance (node 541:6787) has NO fixed height or
	 * overflow:hidden at all — its ~298px is just what a 2-line title +
	 * 2-line excerpt naturally adds up to. Forcing a hard 298px + overflow:
	 * hidden here was clipping real posts mid-sentence whenever a title ran
	 * to 3 lines (eating into the excerpt's space). Let the body size to its
	 * natural content instead, and clamp title/excerpt line-counts below so
	 * every real card still lands at the same natural height without ever
	 * hard-cutting text.
	 */
	padding: 28px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.taiputhailand-event-card__category {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: #b22222;
}

.taiputhailand-event-card__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.3;
	color: #2c2c2c;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.taiputhailand-event-card__title a {
	color: inherit;
	/*
	 * Some broader link rule elsewhere makes <a> display:inline-block by
	 * default. An inline-block child defeats -webkit-line-clamp on the
	 * parent <h3> entirely (line-clamp only clips normal inline content —
	 * an atomic inline-block box just renders all of its own wrapped lines
	 * unclamped). Force it back to plain inline so the title's 2-line clamp
	 * above actually takes effect.
	 */
	display: inline;
}

.taiputhailand-event-card__date {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #b22222;
}

.taiputhailand-event-card__excerpt {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: #74746f;
	flex: 1 1 auto;
}

/*
 * wp:post-excerpt renders its actual text in a nested <p
 * class="wp-block-post-excerpt__excerpt">, not directly inside the
 * ".taiputhailand-event-card__excerpt" wrapper div itself — clamping the
 * wrapper has no effect since, from the clamp's point of view, a single
 * block-level child only ever counts as one "line". Clamp the real text
 * element instead.
 */
.taiputhailand-event-card__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.taiputhailand-event-card__footer {
	margin-top: auto;
}

.taiputhailand-event-card__readmore a {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: #b22222;
}

.taiputhailand-event-card__domain {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	margin: 0;
}

/* ==========================================================================
   Membership CTA
   ========================================================================== */

.taiputhailand-membership {
	position: relative;
	padding: 60px 0;
	box-sizing: border-box;
	background-image: url('../images/home/membership-bg-photo.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.taiputhailand-membership__panel-scale {
	position: relative;
	width: 73.3% !important;
	max-width: 1407px !important;
	margin: 0 auto;
}

.taiputhailand-membership__panel {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 15px;
	width: 100%;
	padding: 64px 80px;
	gap: 141px;
	box-sizing: border-box;
	flex-wrap: nowrap;
}

.taiputhailand-membership__info {
	flex: 1 1 618px;
	min-width: 0;
}

.taiputhailand-membership__eyebrow {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #aa820a;
	margin: 0 0 10px;
}

.taiputhailand-membership__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 38px;
	color: #000000;
	margin: 0 0 16px;
}

.taiputhailand-membership__desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #000000;
	margin: 0 0 24px;
}

.taiputhailand-membership__benefits {
	gap: 10px 40px;
}

.taiputhailand-membership__benefit {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #000000;
	margin: 0;
	flex: 0 0 auto;
}

.taiputhailand-check-icon {
	width: 15px;
	height: auto;
	vertical-align: -1px;
	margin-right: 4px;
}

.taiputhailand-inline-icon {
	width: 14px;
	height: auto;
	vertical-align: -1px;
	margin-right: 4px;
}

.taiputhailand-membership__card {
	background: #ffffff;
	border: 2px dashed #e0c571;
	border-radius: 15px;
	padding: 37px 33px;
	flex: 1 1 488px;
	min-width: 0;
	box-sizing: border-box;
	text-align: center;
}

.taiputhailand-membership__card-title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: #000000;
	margin: 0 0 10px;
}

.taiputhailand-membership__card-desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #74746f;
	margin: 0 0 16px;
}

.taiputhailand-membership__card .wp-block-buttons {
	justify-content: center;
}

.taiputhailand-membership__card .wp-block-button {
	width: 100%;
}

.taiputhailand-membership__card .wp-block-button__link {
	background: #F50406;
	width: 100%;
	box-sizing: border-box;
}

.taiputhailand-membership__card-phone {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #000000;
	margin: 16px 0 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.taiputhailand-footer {
	background: #ffffff;
	max-width: none;
	padding: 0;
}

.taiputhailand-footer__columns {
	gap: 20px;
	padding: 50px;
	box-sizing: border-box;
	max-width: none !important;
	width: 100%;
}

.taiputhailand-footer__summary {
	flex: 1 1 500px;
	gap: 24px;
	max-width: 569px;
}

.taiputhailand-footer__identity {
	gap: 20px;
}

.taiputhailand-footer__mark img {
	border-radius: 50%;
	display: block;
}

.taiputhailand-footer__wordmark {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 28px;
	color: #2c2c2c;
	margin: 0;
}

.taiputhailand-footer__wordmark-sub {
	font-family: "Noto Serif SC", serif;
	font-size: 18px;
	color: #F50406;
	margin: 0;
}

.taiputhailand-footer__address,
.taiputhailand-footer__contact {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: #000000;
	margin: 0;
}

.taiputhailand-footer__nav,
.taiputhailand-footer__partners,
.taiputhailand-footer__social {
	flex: 0 1 260px;
	gap: 16px;
}

.taiputhailand-footer__nav-title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 22px;
	color: #F50406;
	margin: 0;
}

.taiputhailand-footer__nav-link {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #2c2c2c;
	margin: 0;
}

.taiputhailand-footer__nav-link a {
	color: #2c2c2c;
}

.taiputhailand-social-link {
	gap: 14px;
}

.taiputhailand-social-icon-badge {
	display: block;
	line-height: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.taiputhailand-social-icon-badge img {
	display: block;
}

.taiputhailand-social-icon-badge:hover {
	transform: scale(1.1);
	opacity: 0.8;
}

.taiputhailand-social-link__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #2c2c2c;
	margin: 0;
}

.taiputhailand-social-link__handle {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 14px;
	color: #74746f;
	margin: 0;
}

.taiputhailand-footer__legal {
	font-family: "Noto Sans Thai", sans-serif;
	border-top: 1px solid #e4e3df;
	padding: 20px 70px;
	box-sizing: border-box;
	font-size: 16px;
	color: #74746f;
	max-width: none !important;
	width: 100%;
}

.taiputhailand-footer__legal p {
	margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.taiputhailand-topbar,
	.taiputhailand-mainnav {
		padding-left: 24px;
		padding-right: 24px;
	}

	/*
	 * WP core only auto-switches the nav to the hamburger overlay below
	 * 600px, but our 6 bilingual (Thai+Chinese) labels don't fit inline
	 * until well past that — force the overlay toggle earlier instead of
	 * relying on core's fixed breakpoint.
	 */
	.taiputhailand-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.taiputhailand-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.taiputhailand-timeline__intro {
		padding-left: 24px;
		flex-basis: auto;
	}

	.taiputhailand-events {
		padding: 60px 24px;
	}

	.taiputhailand-culture__top {
		flex-direction: column;
	}

	.taiputhailand-culture__photo {
		flex-basis: auto;
		max-width: none;
		width: 100%;
	}

	.taiputhailand-culture__photo img {
		min-height: 260px;
	}

	.taiputhailand-culture__content {
		max-width: none;
		padding: 40px 24px 0;
	}

	.taiputhailand-culture__cards {
		padding: 32px 24px 60px;
	}

	.taiputhailand-membership__panel-scale {
		width: 100% !important;
		max-width: none !important;
	}

	.taiputhailand-membership__panel {
		flex-direction: column;
		padding: 40px 24px;
		gap: 32px;
	}
}

@media (max-width: 900px) {
	.taiputhailand-topbar__phone {
		font-size: 14px;
	}

	.taiputhailand-mainnav {
		flex-wrap: nowrap;
	}

	.taiputhailand-logo,
	.taiputhailand-logo__text {
		min-width: 0;
		flex-shrink: 1;
	}

	.taiputhailand-logo__sub {
		white-space: normal;
		font-size: 11px;
		overflow-wrap: break-word;
	}

	.taiputhailand-nav-row {
		flex-shrink: 0;
	}

	.taiputhailand-timeline {
		flex-direction: column;
	}

	.taiputhailand-mainnav {
		flex-wrap: wrap;
		gap: 12px;
	}

	.taiputhailand-logo__title {
		font-size: 18px;
		white-space: normal;
	}

	.taiputhailand-hero__title {
		font-size: 32px;
	}

	.taiputhailand-hero__intro {
		padding: 40px 20px;
	}

	.taiputhailand-events__grid.wp-block-query {
		grid-template-columns: 1fr;
	}

	.taiputhailand-events__heading {
		flex-direction: column;
		align-items: flex-start;
	}

	.taiputhailand-membership__card {
		flex-basis: auto;
		width: 100%;
	}

	.taiputhailand-footer__columns {
		flex-direction: column;
	}

	.taiputhailand-footer__summary,
	.taiputhailand-footer__nav,
	.taiputhailand-footer__partners,
	.taiputhailand-footer__social {
		flex-basis: auto;
		max-width: none;
	}

	.taiputhailand-footer__legal {
		flex-direction: column;
		gap: 8px;
	}
}

/* ==========================================================================
   About Us — hero
   ========================================================================== */

.taiputhailand-aboutus-hero {
	background: #fdf4ea;
	padding: 0 0 70px;
}

.taiputhailand-aboutus-hero__collage {
	margin: 0 auto -260px;
	max-width: 1920px;
}

.taiputhailand-aboutus-hero__collage img {
	width: 100%;
	height: auto;
	display: block;
	mix-blend-mode: multiply;
}

.taiputhailand-aboutus-hero__intro {
	max-width: 1089px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.taiputhailand-aboutus-hero__eyebrow {
	font-family: "Barlow Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #74746f;
	margin: 0 0 10px;
}

.taiputhailand-aboutus-hero__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 48px;
	font-weight: 600;
	color: #000000;
	margin: 0 0 14px;
}

.taiputhailand-aboutus-hero__subtitle-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #f50406;
	margin: 0 0 24px;
}

.taiputhailand-aboutus-hero__desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #2c2c2c;
	margin: 0;
}

/* ==========================================================================
   About Us — founding history
   ========================================================================== */

.taiputhailand-aboutus-history {
	max-width: none !important;
	width: 100%;
	padding: 60px 110px;
	box-sizing: border-box;
	gap: 56px;
	align-items: center;
}

.taiputhailand-aboutus-history__text {
	flex: 1 1 500px;
	min-width: 0;
}

.taiputhailand-aboutus-history__heading-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #000000;
	margin: 0 0 14px;
}

.taiputhailand-aboutus-history__heading-th {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #000000;
	margin: 28px 0 14px;
}

.taiputhailand-aboutus-history__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #000000;
	margin: 0;
}

.taiputhailand-aboutus-history__photo {
	flex: 0 1 460px;
	margin: 0;
}

.taiputhailand-aboutus-history__photo img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   About Us — founding / portraits
   ========================================================================== */

.taiputhailand-aboutus-founding {
	max-width: none;
	background: linear-gradient(180deg, #fdf4ea 32%, rgba(253, 244, 234, 0.5) 71%, rgba(253, 244, 234, 0.2) 100%);
	padding: 70px 110px 120px;
	box-sizing: border-box;
}

.taiputhailand-aboutus-founding__intro {
	max-width: 965px;
	margin: 0 auto 50px;
	text-align: center;
}

.taiputhailand-aboutus-founding__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 36px;
	color: #000000;
	margin: 0 0 16px;
}

.taiputhailand-aboutus-founding__title-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #f50406;
	margin: 0 0 20px;
}

.taiputhailand-aboutus-founding__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #74746f;
	margin: 0;
}

.taiputhailand-aboutus-group-heading {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #000000;
	text-align: center;
	margin: 0 0 36px;
}

.taiputhailand-aboutus-divider {
	max-width: 1700px;
	margin: 10px auto 46px;
	border: none;
	border-top: 1px solid #e0c571;
}

.taiputhailand-aboutus-portraits {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 36px 40px;
	margin: 0 0 46px;
}

.taiputhailand-aboutus-portraits.is-wide {
	max-width: 1488px;
	margin-left: auto;
	margin-right: auto;
}

.taiputhailand-aboutus-portraits.is-registrars {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.taiputhailand-aboutus-portrait {
	width: 218px;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.taiputhailand-aboutus-portrait__photo {
	width: 100%;
	aspect-ratio: 218 / 294;
	border: 2px solid #aa820a;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
}

.taiputhailand-aboutus-portrait.is-founder .taiputhailand-aboutus-portrait__photo {
	aspect-ratio: 218 / 357;
}

.taiputhailand-aboutus-portrait__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.taiputhailand-aboutus-portrait__name-th {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 20px;
	color: #aa820a;
	margin: 0;
	line-height: 1.3;
}

.taiputhailand-aboutus-portrait__name-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	margin: 0;
	line-height: 1.3;
}

/* ==========================================================================
   About Us — building history
   ========================================================================== */

.taiputhailand-aboutus-building {
	max-width: none !important;
	width: 100%;
	background: #ffffff;
	padding: 90px 110px;
	box-sizing: border-box;
}

.taiputhailand-aboutus-building__header {
	text-align: center;
	margin-bottom: 48px;
}

.taiputhailand-aboutus-building__intro {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #000000;
	max-width: 1480px;
	margin: 0 auto 40px;
}

.taiputhailand-aboutus-building__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 36px;
	color: #000000;
	margin: 0 0 14px;
}

.taiputhailand-aboutus-building__title-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 32px;
	color: #f50406;
	margin: 0;
}

.taiputhailand-aboutus-building__row {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 56px;
	align-items: flex-start;
}

.taiputhailand-aboutus-building__text {
	flex: 1 1 600px;
	min-width: 0;
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #000000;
}

.taiputhailand-aboutus-building__photos {
	flex: 0 0 420px;
	gap: 24px;
}

.taiputhailand-aboutus-building__photos img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

@media (max-width: 1100px) {
	.taiputhailand-aboutus-hero__title {
		font-size: 34px;
	}

	.taiputhailand-aboutus-history {
		padding: 50px 24px;
	}

	.taiputhailand-aboutus-founding {
		padding: 50px 24px 80px;
	}

	.taiputhailand-aboutus-building {
		padding: 60px 24px;
	}

	.taiputhailand-aboutus-building__row {
		flex-direction: column;
	}

	.taiputhailand-aboutus-building__photos {
		flex-basis: auto;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.taiputhailand-aboutus-hero__title {
		font-size: 26px;
	}

	.taiputhailand-aboutus-hero__subtitle-cn,
	.taiputhailand-aboutus-founding__title-cn {
		font-size: 28px;
	}

	.taiputhailand-aboutus-history__heading-cn,
	.taiputhailand-aboutus-founding__title,
	.taiputhailand-aboutus-building__title {
		font-size: 26px;
	}

	.taiputhailand-aboutus-portrait {
		width: 150px;
	}
}

@media (max-width: 640px) {
	.taiputhailand-topbar {
		flex-wrap: wrap;
		gap: 10px;
	}

	.taiputhailand-hero__title {
		font-size: 26px;
	}

	.taiputhailand-culture__title {
		font-size: 28px;
	}

	.taiputhailand-culture__cards {
		flex-direction: column;
	}

	.taiputhailand-culture-card {
		flex-basis: auto;
	}

	.taiputhailand-events__title {
		font-size: 28px;
	}
}

/* ==========================================================================
   Committee page
   ========================================================================== */

.taiputhailand-committee-banner {
	margin: 0;
	max-width: none !important;
}

.taiputhailand-committee-banner__img {
	margin: 0;
}

.taiputhailand-committee-banner__img img {
	display: block;
	width: 100%;
	height: 248px;
	object-fit: cover;
}

.taiputhailand-committee-banner.is-bottom {
	margin-top: 60px;
}

.taiputhailand-committee-intro {
	max-width: 900px;
	margin: 56px auto 0;
	padding: 0 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.taiputhailand-committee-intro .taiputhailand-section-label {
	margin: 0;
	color: #000000;
}

.taiputhailand-committee-intro__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #000000;
	margin: 0;
}

.taiputhailand-committee-intro__cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #f50406;
	margin: 0;
}

.taiputhailand-committee-intro__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: #222222;
	margin: 0;
	max-width: 796px;
}

.taiputhailand-committee-roster {
	max-width: 1700px;
	margin: 56px auto 0;
	padding: 0 20px;
}

.taiputhailand-committee-timeline {
	position: relative;
	padding-left: 56px;
}

.taiputhailand-committee-timeline::before {
	/* Figma's actual line asset (node 242:2718): stroke-width 4, #E2A94A. */
	content: "";
	position: absolute;
	left: 12px;
	top: 12px;
	bottom: 12px;
	width: 4px;
	background: #e2a94a;
}

.taiputhailand-committee-row {
	position: relative;
	margin-bottom: 16px;
}

.taiputhailand-committee-row__dot {
	position: absolute;
	/*
	 * Figma's actual dot asset (node 242:2696) is a 30px circle: white fill,
	 * stroke-width 6, stroke #E2A94A — a hollow ring, not a filled dot with a
	 * white border + separate gold box-shadow ring. Matched exactly below
	 * (18px white content box + 6px border = 30px total), and re-centered on
	 * the timeline line/pill for the new total size.
	 */
	left: -57px;
	/*
	 * Fixed to 32px (half of the 64px pill height), not top:50% of the row —
	 * the row now also contains the expand/collapse panel, so a percentage
	 * would re-center the dot on the whole (variable-height) row and make it
	 * drift down whenever that row is open.
	 */
	top: 32px;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	border: 6px solid #e2a94a;
	z-index: 1;
}

.taiputhailand-committee-row__pill {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 64px;
	border: none;
	border-radius: 10px;
	overflow: hidden;
	background: #e6e6e6;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
}

.taiputhailand-committee-row__arrow img {
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.taiputhailand-committee-row.is-open .taiputhailand-committee-row__arrow img {
	transform: rotate(0deg);
}

.taiputhailand-committee-row.is-current .taiputhailand-committee-row__dot {
	top: 22px;
}

.taiputhailand-committee-row__panel {
	display: none;
}

.taiputhailand-committee-row.is-open .taiputhailand-committee-row__panel {
	display: block;
}

.taiputhailand-committee-row__placeholder {
	max-width: 1568px;
	margin: 24px auto 0;
	padding: 40px;
	text-align: center;
	border: 1px solid #e4e3df;
	border-radius: 10px;
	background: #fafafa;
	color: #74746f;
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
}

.taiputhailand-committee-row__red {
	flex: 0 0 34.5%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #f50406;
	padding: 0 16px 0 27px;
	min-width: 0;
}

.taiputhailand-committee-row__label {
	color: #ffffff;
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 24px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.taiputhailand-committee-row__arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.taiputhailand-committee-row__arrow img {
	/*
	 * Figma renders this icon at its native 14x8 size inside a 36px circle
	 * (confirmed via the node's own inset percentages: 38.89% vertical /
	 * 30.56% horizontal of 36px = exactly 8px / 14px, unscaled) — width/
	 * height 36x36 here was stretching the icon into a square and distorting
	 * its shape (looked like a checkmark instead of a clean chevron).
	 * The 36x36 circle is now padding around the native-size icon instead.
	 */
	width: 14px;
	height: 8px;
	background: #ffffff;
	border-radius: 100px;
	padding: 14px 11px;
	box-sizing: content-box;
}

.taiputhailand-committee-row__cn {
	flex: 1;
	display: flex;
	align-items: center;
	padding-left: 24px;
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #222222;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.taiputhailand-committee-photo-wrap {
	max-width: 1568px;
	margin: 40px auto;
}

.taiputhailand-committee-photo-wrap img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #222222;
}

.taiputhailand-committee-history {
	display: flex;
	flex-direction: column;
}

@media (max-width: 1800px) {
	.taiputhailand-committee-row__label,
	.taiputhailand-committee-row__cn {
		font-size: 18px;
	}
}

@media (max-width: 900px) {
	.taiputhailand-committee-row__red {
		flex-basis: 50%;
	}

	.taiputhailand-committee-row__label {
		font-size: 16px;
	}

	.taiputhailand-committee-row__cn {
		font-size: 16px;
	}

	.taiputhailand-committee-row__pill {
		height: auto;
		min-height: 64px;
	}
}

@media (max-width: 640px) {
	.taiputhailand-committee-intro__title {
		font-size: 26px;
	}

	.taiputhailand-committee-row__label,
	.taiputhailand-committee-row__cn {
		font-size: 13px;
		white-space: normal;
	}

	.taiputhailand-committee-row__arrow img {
		width: 11px;
		height: 6px;
		padding: 11px 8.5px;
	}

	.taiputhailand-committee-banner__img img {
		height: 140px;
	}
}

/* ==========================================================================
   Contact Us page
   ========================================================================== */

.taiputhailand-contactus-hero {
	position: relative;
	margin: 0;
	max-width: none !important;
	padding: 60px 70px 70px;
	overflow: hidden;
}

.taiputhailand-contactus-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	max-width: none !important;
	width: 100%;
}

.taiputhailand-contactus-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
}

.taiputhailand-contactus-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8) 80%, #ffffff 100%);
}

.taiputhailand-contactus-hero__row {
	position: relative;
	z-index: 1;
	max-width: 1780px;
	margin: 0 auto;
	gap: 40px;
	align-items: center;
}

.taiputhailand-contactus-info {
	flex: 1 1 700px;
	max-width: 769px;
}

.taiputhailand-contactus-info__label {
	font-family: "Barlow Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #74746f;
	margin: 0 0 32px;
}

.taiputhailand-contactus-info__title {
	/* See .taiputhailand-events__title above: Lora has no Thai glyphs, so
	   name "Noto Sans Thai" explicitly instead of leaving Thai text to an
	   uncontrolled (synthetic-bold-looking) generic serif fallback. */
	font-family: "Lora", "Noto Sans Thai", serif;
	font-size: 40px;
	font-weight: 600;
	color: #000000;
	line-height: 1.3;
	margin: 0 0 32px;
}

.taiputhailand-contactus-info__title-cn {
	/* Lora has no Chinese glyphs either; name the already-loaded Chinese
	   serif webfont explicitly instead of an undefined generic fallback. */
	font-family: "Lora", "Noto Serif SC", serif;
	font-weight: 400;
}

.taiputhailand-contactus-membership {
	margin-bottom: 24px;
}

.taiputhailand-contactus-membership__heading {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: #f50406;
	margin: 0 0 16px;
}

.taiputhailand-contactus-membership__subheading {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #222222;
	margin: 16px 0 6px;
}

.taiputhailand-contactus-membership__list {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #222222;
	margin: 0 0 6px;
	padding-left: 24px;
}

.taiputhailand-contactus-membership__list li {
	margin-bottom: 4px;
}

.taiputhailand-contactus-divider {
	max-width: 100%;
	margin: 24px 0;
	border: none;
	border-top: 1px solid #e4e3df;
}

.taiputhailand-contactus-address {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.8;
	color: #222222;
	margin: 0 0 24px;
}

.taiputhailand-contactus-follow__label {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #222222;
	margin: 0 0 16px;
}

.taiputhailand-contactus-follow__icons {
	gap: 24px;
}

.taiputhailand-contactus-follow__icon {
	display: flex;
}

.taiputhailand-contactus-map {
	position: relative;
	flex: 0 0 auto;
	width: 900px;
	max-width: 100%;
	/*
	 * The downloaded map-mockup.png's own native size (1417x742, ratio 1.91)
	 * doesn't match the Figma frame it's cropped into (847x833, ratio
	 * ~1.02) — Figma object-fit:covers this image inside a near-square
	 * frame, it isn't meant to render at its own raw aspect ratio. Pin the
	 * container to the frame's ratio and let the image cover+crop into it,
	 * instead of height:auto squashing it into a flat strip.
	 */
	aspect-ratio: 847 / 833;
}

.taiputhailand-contactus-map__base {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.taiputhailand-contactus-map__card {
	position: absolute;
	left: 36px;
	top: 38px;
	width: 26.09%;
	height: auto;
}

@media (min-width: 1025px) and (max-width: 1899px) {
	.taiputhailand-contactus-hero {
		padding: 60px 70px 70px;
	}

	.taiputhailand-contactus-hero__row {
		gap: 24px;
	}

	.taiputhailand-contactus-info {
		flex-basis: 500px;
		max-width: 540px;
	}

	.taiputhailand-contactus-map {
		width: 570px;
	}
}

@media (max-width: 1024px) {
	.taiputhailand-contactus-hero {
		padding: 40px 24px 50px;
	}

	.taiputhailand-contactus-map {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.taiputhailand-contactus-info__title {
		font-size: 28px;
	}

	.taiputhailand-contactus-membership__heading {
		font-size: 20px;
	}
}

/* =========================================================
   Knowledge hub (page-knowledge.html)
   ========================================================= */

.taiputhailand-knowledge-hero__banner img {
	display: block;
	width: 100%;
	height: 476px;
	object-fit: cover;
}

.taiputhailand-knowledge-intro {
	max-width: 900px;
	margin: 72px auto 0;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.taiputhailand-knowledge-intro__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #222222;
	margin: 0;
	line-height: 1.2;
}

.taiputhailand-knowledge-intro__title-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #f50406;
	margin: 0;
}

.taiputhailand-knowledge-intro__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: #222222;
	margin: 0;
}

.taiputhailand-knowledge-cards {
	max-width: 1700px;
	margin: 56px auto 100px;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 56px;
}

.taiputhailand-knowledge-card {
	display: flex;
	flex-direction: column;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	background: #ffffff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.taiputhailand-knowledge-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	transform: translateY(-3px);
}

.taiputhailand-knowledge-card__image {
	height: 286px;
	border: 1px solid #e4e3df;
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	overflow: hidden;
}

.taiputhailand-knowledge-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.taiputhailand-knowledge-card__body {
	border: 1px solid #e4e3df;
	border-top: none;
	border-radius: 0 0 6px 6px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	flex: 1;
}

.taiputhailand-knowledge-card__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.taiputhailand-knowledge-card__label {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: #b22222;
	margin: 0;
}

.taiputhailand-knowledge-card__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 24px;
	line-height: 1.3;
	color: #2c2c2c;
	margin: 0;
}

.taiputhailand-knowledge-card__dash {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #b22222;
	margin: 0;
}

.taiputhailand-knowledge-card__desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: #74746f;
	margin: 0;
}

.taiputhailand-knowledge-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.taiputhailand-knowledge-card__more {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: #b22222;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.taiputhailand-knowledge-card__arrow {
	width: 20px;
	height: 20px;
}

.taiputhailand-knowledge-card__domain {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.taiputhailand-knowledge-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.taiputhailand-knowledge-hero__banner img {
		height: 220px;
	}

	.taiputhailand-knowledge-intro {
		margin-top: 40px;
	}

	.taiputhailand-knowledge-intro__title {
		font-size: 28px;
	}

	.taiputhailand-knowledge-cards {
		grid-template-columns: 1fr;
		margin-top: 40px;
	}

	.taiputhailand-knowledge-card__footer {
		flex-wrap: wrap;
	}
}

/* =========================================================
   Shared "Knowledge" article eyebrow — used by the hub and
   all three Knowledge feature article pages.
   ========================================================= */

.taiputhailand-article-eyebrow {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 1.6px;
	color: #000000;
	margin: 0;
}

/* ==========================================================================
   Culture Room page
   ========================================================================== */

.taiputhailand-cultureroom-hero {
	/*
	 * Figma's actual background (node 435:2402/2404) is a real photo of the
	 * exhibit's timeline wall, darkened with an 80% black overlay — not a
	 * flat placeholder gradient. The flat gradient read as visibly flatter/
	 * lighter than the design and let the black watermark text show up more
	 * than intended (it's meant to all but disappear into the dark photo).
	 */
	position: relative;
	background: #000000;
	padding: 70px 110px 90px;
	box-sizing: border-box;
	overflow: hidden;
}

.taiputhailand-cultureroom-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	/*
	 * Figma (node 435:2404) doesn't "cover"-fit this photo centered — it
	 * places it at an explicit oversized size/offset so only a specific,
	 * off-center slice shows (mostly the right two-thirds, vertically
	 * mid-upper). "cover" centered showed a much more legible/readable part
	 * of the exhibit wall (big numbers, clear text) than the design, which
	 * is why it looked so much busier/brighter than Figma's own render.
	 *
	 * Percentages, not fixed px: hardcoding 2851px/-871px only reproduces
	 * this crop when the section happens to render at exactly the 1920px
	 * reference width — at any other width (a narrower browser, a
	 * scrollbar eating 15px, a different breakpoint) the crop silently
	 * drifts. background-size/-position in % are resolved against this
	 * element's OWN current box, so the same relative crop holds at any
	 * width — this is the fix to apply anywhere else this pattern repeats.
	 */
	background: url('../images/cultureroom/hero-bg-texture.png') no-repeat;
	background-size: 148.49% 253.47%;
	background-position: 93.54% 40.75%;
	z-index: 0;
}

.taiputhailand-cultureroom-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 0;
}

.taiputhailand-cultureroom-hero__watermark {
	/* Now a normal first child of the content column (flex stack) instead
	   of an absolutely-positioned sibling — flows with, and gets its gap
	   from, the same rules as the rest of that column. */
	text-align: left;
	font-family: "Ma Shan Zheng", cursive;
	font-size: 52px;
	color: #000000;
}

.taiputhailand-cultureroom-hero__row {
	position: relative;
	z-index: 2;
	gap: 68px;
	align-items: flex-start;
	justify-content: center;
	max-width: none !important;
	width: 100%;
}

.taiputhailand-cultureroom-hero__photo-col {
	flex: 0 1 891px;
}

.taiputhailand-cultureroom-hero__photo {
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
}

.taiputhailand-cultureroom-hero__photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 891 / 485;
	object-fit: cover;
	display: block;
}

.taiputhailand-cultureroom-hero__caption {
	text-align: center;
	color: #ffffff;
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	margin: 20px 0 0;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.taiputhailand-cultureroom-hero__content {
	/*
	 * Figma's text stack (node 435:2425: label/heading/title-cn/desc) is an
	 * auto-layout frame with a uniform 20px gap — but the button (node
	 * 435:2430) is a separate sibling positioned independently at a 31px
	 * gap below that frame, not part of its auto-layout. Each gets its own
	 * exact margin-bottom below rather than one uniform flex gap, since the
	 * last gap genuinely is bigger than the rest (confirmed from the raw
	 * node positions: frame bottom 487, button top 518).
	 */
	flex: 0 1 704px;
	display: flex;
	flex-direction: column;
}

.taiputhailand-cultureroom-hero__content > * {
	margin: 0 0 20px;
}

.taiputhailand-cultureroom-hero__content > *:last-child {
	margin-bottom: 0;
}

.taiputhailand-cultureroom-hero__desc {
	/* The one exception to the uniform 20px gap above — see note on
	   .taiputhailand-cultureroom-hero__content. */
	margin-bottom: 31px;
}

.taiputhailand-cultureroom-hero__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #ffffff;
}

.taiputhailand-cultureroom-hero__title-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #F50406;
}

.taiputhailand-cultureroom-hero__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: #ffffff;
}

.taiputhailand-cultureroom-chronology {
	/* Figma's photo row (node 440:2766 etc.) spans x:52 to x:1859 in the
	   1920px frame — a ~55px side margin, not the 110px used elsewhere. */
	padding: 70px 55px 100px;
	text-align: center;
}

/*
 * align:full + layout:constrained only makes the BACKGROUND full-width —
 * WordPress still caps each DIRECT CHILD at contentSize (1200px) via
 * `.is-layout-constrained > *`, which is why max-width:none on the section
 * itself did nothing. Overriding the children (not the section) is what
 * actually lets the photo row / line / year columns go wide.
 */
.taiputhailand-cultureroom-chronology > *:not(.taiputhailand-cultureroom-chronology__heading) {
	max-width: none !important;
}

.taiputhailand-cultureroom-chronology__heading {
	max-width: 569px;
	margin: 0 auto 50px;
}

.taiputhailand-cultureroom-eyebrow {
	font-family: "Barlow Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.6px;
	font-size: 16px;
	color: #F50406;
	margin: 0 0 16px;
}

.taiputhailand-cultureroom-chronology__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 52px;
	color: #000000;
	margin: 0;
}

.taiputhailand-cultureroom-chronology__thumbs {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 50px;
}

.taiputhailand-cultureroom-chronology__thumb {
	flex: 1 1 0;
}

.taiputhailand-cultureroom-chronology__thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 437 / 326;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.taiputhailand-cultureroom-chronology__line {
	/*
	 * Figma's actual line (node 446:2809) is a dashed gray (#808080) rule,
	 * not solid #e4e3df, and there's a small red upward triangle (node
	 * 446:2865, "continues" marker) sitting just past the last dot.
	 *
	 * The `padding: 0 40px` this used to have made the 4 dots space
	 * themselves out over a narrower (900px) inset width than the photo
	 * thumbnails / year columns above and below them (980px, no padding,
	 * same 24px gap) — so the dots drifted away from their columns the
	 * further from center they were (62px off at the two end columns).
	 * Matching this row's gap/no-padding to .__thumbs and .__cols exactly
	 * makes each dot's flex slot the same width as its column, so centering
	 * the dot within its own slot lines it up with the column under it.
	 */
	position: relative;
	border-top: 1px dashed #808080;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.taiputhailand-cultureroom-chronology__line::after {
	/* The raw SVG asset (node 446:2865) is an upward-pointing triangle, but
	   Figma renders it rotated 90° to point right, continuing the line's
	   direction — rotating it here instead of just placing it as-is. */
	content: "";
	position: absolute;
	right: -13px;
	top: calc(50% - 17px);
	transform: rotate(90deg);
	width: 17px;
	height: 20px;
	background: url('../images/cultureroom/timeline-arrow.svg') no-repeat center / contain;
}

.taiputhailand-cultureroom-chronology__dot {
	/*
	 * flex:1 1 0 makes this dot's slot exactly as wide as its matching
	 * photo-thumbnail/year-column slot (see .__line), and centering the
	 * actual circle within that slot is what lines each dot up under its
	 * own column instead of under an evenly-spaced position that ignores
	 * the columns' real layout.
	 */
	flex: 1 1 0;
	display: flex;
	justify-content: center;
	margin-top: -11.5px;
}

.taiputhailand-cultureroom-chronology__dot::before {
	/*
	 * Figma's dot (node 446:2813 etc.) is a white circle with a thin red
	 * outline and a smaller solid-red circle centered inside it — not a
	 * big solid-red circle with a thick white border.
	 */
	content: "";
	display: block;
	width: 23px;
	height: 23px;
	background: url('../images/cultureroom/timeline-dot.svg') no-repeat center / contain;
}

.taiputhailand-cultureroom-chronology__cols {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}

.taiputhailand-cultureroom-chronology__col {
	flex: 1 1 0;
}

.taiputhailand-cultureroom-chronology__year {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 56px;
	color: #F50406;
	margin: 0 0 15px;
}

.taiputhailand-cultureroom-chronology__caption {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #222222;
	margin: 0 0 15px;
}

.taiputhailand-cultureroom-chronology__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.45;
	color: #222222;
	margin: 0;
}

.taiputhailand-cultureroom-gallery {
	padding: 0 55px 90px;
	text-align: center;
}

.taiputhailand-cultureroom-gallery > *:not(.taiputhailand-cultureroom-gallery__heading) {
	max-width: none !important;
}

.taiputhailand-cultureroom-gallery__heading {
	max-width: 820px;
	margin: 0 auto 50px;
}

.taiputhailand-cultureroom-gallery__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 52px;
	color: #000000;
	margin: 0 0 10px;
}

.taiputhailand-cultureroom-gallery__title-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #F50406;
	margin: 0;
}

.taiputhailand-cultureroom-gallery__row {
	display: flex;
	gap: 20px;
}

.taiputhailand-cultureroom-gallery__row.is-opening {
	justify-content: space-between;
}

.taiputhailand-cultureroom-gallery__row.is-opening .taiputhailand-cultureroom-gallery__photo {
	flex: 1 1 0;
}

.taiputhailand-cultureroom-gallery__row.is-artifacts {
	gap: 0;
}

.taiputhailand-cultureroom-gallery__photo img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.taiputhailand-cultureroom-gallery__row.is-artifacts .taiputhailand-cultureroom-gallery__photo img {
	/*
	 * The artifacts row (node 446:2871 etc.) is 456px tall — noticeably
	 * taller than the opening-ceremony row's own real 280px spec (node
	 * "453034" etc.) that .__photo img's shared height was actually
	 * written for. This rule already existed to override border-radius
	 * here but kept the same wrong 280-ish height (320px) instead of the
	 * real 456px, squashing these into a shorter, over-cropped strip.
	 */
	border-radius: 0;
	height: 456px;
}

.taiputhailand-cultureroom-closing__photo {
	margin: 0;
}

.taiputhailand-cultureroom-closing__photo img {
	/*
	 * Same bug class as the hero background and the contact-us map: this
	 * raster asset's own native size (3900x2600, ratio 1.5:1) isn't the
	 * frame Figma actually crops it into (1920x725, ratio ~2.65:1) — using
	 * height:auto showed the image at its own much-taller native ratio
	 * instead of Figma's wide panoramic crop, which also shrank the
	 * baked-in text relative to the page and made the panel look sparser/
	 * taller than the design. object-position replicates Figma's exact
	 * off-center crop (computed from its mask-group offsets).
	 */
	width: 100%;
	aspect-ratio: 1920 / 725;
	object-fit: cover;
	object-position: 44.03% 32.56%;
	display: block;
}

/* Static archive grid — reuses .taiputhailand-event-card styling without
   requiring the wp:query wrapper (used on the Culture Room sub-pages). */
.taiputhailand-cultureroom-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 56px;
	width: 100%;
}

@media (min-width: 1025px) and (max-width: 1899px) {
	.taiputhailand-cultureroom-hero {
		padding: 70px 70px 90px;
	}

	.taiputhailand-cultureroom-hero__row {
		gap: 32px;
	}

	.taiputhailand-cultureroom-hero__photo-col {
		flex: 0 1 560px;
	}

	.taiputhailand-cultureroom-hero__content {
		flex: 0 1 440px;
	}
}

@media (max-width: 1024px) {
	.taiputhailand-cultureroom-hero__row {
		flex-direction: column;
		align-items: center;
	}

	.taiputhailand-cultureroom-chronology__thumbs,
	.taiputhailand-cultureroom-chronology__cols,
	.taiputhailand-cultureroom-gallery__row {
		flex-wrap: wrap;
	}

	.taiputhailand-cultureroom-chronology__line {
		display: none;
	}

	.taiputhailand-cultureroom-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.taiputhailand-cultureroom-hero,
	.taiputhailand-cultureroom-chronology,
	.taiputhailand-cultureroom-gallery {
		padding-left: 24px;
		padding-right: 24px;
	}

	.taiputhailand-cultureroom-hero__title {
		font-size: 28px;
	}

	.taiputhailand-cultureroom-chronology__title,
	.taiputhailand-cultureroom-gallery__title {
		font-size: 32px;
	}

	.taiputhailand-cultureroom-gallery__row {
		flex-direction: column;
	}

	.taiputhailand-cultureroom-gallery__row.is-artifacts .taiputhailand-cultureroom-gallery__photo {
		flex-basis: auto !important;
	}

	.taiputhailand-cultureroom-archive-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   Knowledge article shared intro header
   (used by longevity-city, our-ancestors, taipu-migration-history)
   ========================================================= */

.taiputhailand-article-header {
	max-width: 900px;
	margin: 72px auto 0;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.taiputhailand-article-title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #000000;
	margin: 0;
	line-height: 1.2;
}

.taiputhailand-article-title-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #f50406;
	margin: 0;
}

/* =========================================================
   Knowledge — Longevity City article (page-longevity-city.html)
   ========================================================= */

.taiputhailand-longevity-hero__banner img {
	display: block;
	width: 100%;
	height: 731px;
	object-fit: cover;
}

.taiputhailand-longevity-caption {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: #af8401;
	text-align: center;
	margin: 0;
	line-height: 1.4;
}

.taiputhailand-longevity-info {
	max-width: 1460px;
	margin: 70px auto;
	padding: 0 20px;
	gap: 56px;
	align-items: flex-start;
}

.taiputhailand-longevity-info__text {
	flex: 1 1 700px;
	min-width: 0;
}

.taiputhailand-longevity-info__heading {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #222222;
	margin: 0 0 8px;
}

.taiputhailand-longevity-info__heading-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #f50406;
	margin: 0 0 20px;
}

.taiputhailand-longevity-info__desc,
.taiputhailand-longevity-info__desc-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #222222;
	margin: 0 0 16px;
}

.taiputhailand-longevity-info__list {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #222222;
	margin: 0 0 16px;
	padding-left: 22px;
}

.taiputhailand-longevity-info__list li {
	margin-bottom: 4px;
}

.taiputhailand-longevity-info__source {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 16px;
	color: #222222;
	margin: 0 0 24px;
	word-break: break-word;
}

.taiputhailand-longevity-info__photo {
	flex: 0 1 460px;
}

/* The source asset (longevity-ceremony-photo.png) is a tall 1088x3904
   composite sheet; only a small region of it is the actual ceremony
   photo. Figma crops to that region via a clipped, oversized/offset
   image inside a small fixed viewport — replicate that here instead of
   rendering the whole sheet at width:100%/height:auto (which previously
   spilled unrelated mockup content down the page). */
.taiputhailand-longevity-info__photo .wp-block-image {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 460 / 334;
	margin: 0;
}

.taiputhailand-longevity-info__photo img {
	position: absolute;
	width: 236.52%;
	max-width: none;
	height: 1168.86%;
	left: -126.52%;
	top: -317.37%;
	border-radius: 0;
	display: block;
}

.taiputhailand-longevity-info__photo-caption {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #222222;
	text-align: center;
	margin: 16px 0 0;
	line-height: 1.4;
}

.taiputhailand-longevity-stats {
	position: relative;
	background-image: url('../images/knowledge/longevity-stats-overlay.png');
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0 0;
	background-position-y: 38px;
	box-sizing: border-box;
	margin-block-start: 0;
}

.taiputhailand-longevity-stats__heading {
	text-align: center;
	margin: 0 0 56px;
}

.taiputhailand-longevity-stats__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #000000;
	margin: 0 0 12px;
}

.taiputhailand-longevity-stats__title-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #f50406;
	margin: 0;
}

.taiputhailand-longevity-stats__grid {
	max-width: 786px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 86px;
	position: relative;
}

.taiputhailand-longevity-stats__grid::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 2px dashed #f50406;
	opacity: 0.5;
}

.taiputhailand-longevity-stats__grid::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	border-left: 2px dashed #f50406;
	opacity: 0.5;
}

.taiputhailand-longevity-stats__cell {
	position: relative;
	z-index: 1;
}

.taiputhailand-longevity-stats__number {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 56px;
	color: #f50406;
	margin: 0;
	line-height: 1.1;
}

.taiputhailand-longevity-stats__label {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #000000;
	margin: 5px 0 0;
	line-height: 1.3;
}

.taiputhailand-longevity-secret {
	background: #202020;
	padding: 70px 20px 60px;
	box-sizing: border-box;
	text-align: center;
}

.taiputhailand-longevity-secret__divider {
	width: calc(100% + 40px) !important;
	max-width: calc(100% + 40px) !important;
	margin: -78px -20px 20px !important;
}

.taiputhailand-longevity-secret__divider img {
	width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-longevity-secret__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 36px;
	color: #ffffff;
	margin: 0 0 10px;
}

.taiputhailand-longevity-secret__title-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #f50406;
	margin: 0 0 24px;
}

.taiputhailand-longevity-secret__quote {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #a58e6c;
	max-width: 1100px;
	margin: 0 auto 50px;
	line-height: 1.4;
}

.taiputhailand-longevity-secret__chart {
	max-width: 980px;
	margin: 0 auto;
}

.taiputhailand-longevity-secret__chart img {
	width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-longevity-secret__footnote {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 24px;
	color: #ffffff;
	margin: 40px 0 0;
}

@media (max-width: 1024px) {
	.taiputhailand-longevity-info {
		flex-direction: column;
	}

	.taiputhailand-longevity-info__photo {
		flex-basis: auto;
		width: 100%;
	}

	.taiputhailand-longevity-stats__grid {
		grid-template-columns: 1fr;
		max-width: 400px;
	}

	.taiputhailand-longevity-stats__grid::after {
		display: none;
	}

}

@media (max-width: 640px) {
	.taiputhailand-longevity-hero__banner img {
		height: 260px;
	}

	.taiputhailand-article-title {
		font-size: 28px;
	}

	.taiputhailand-longevity-stats__number {
		font-size: 40px;
	}

	.taiputhailand-longevity-secret__quote {
		font-size: 20px;
	}
}

/* Culture & Heritage teaser cards (Home) now link out to the Culture Room
   hub and its two sub-pages — keep the title links visually unstyled. */
.taiputhailand-culture-card__title a {
	color: inherit;
	text-decoration: none;
}

/* ==========================================================================
   Blog archive
   ========================================================================== */

.taiputhailand-blog {
	padding-top: 60px;
}

.taiputhailand-events__grid.wp-block-query .wp-block-query-pagination {
	grid-column: 1 / -1;
	display: flex;
	margin: 8px 0 0;
}

.taiputhailand-blog-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
}

.taiputhailand-blog-pagination .page-numbers {
	font-family: "Noto Sans Thai", sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 5px;
	font-weight: 600;
	font-size: 16px;
	color: #000000;
	text-decoration: none;
}

.taiputhailand-blog-pagination .page-numbers.current {
	background: #B22222;
	color: #ffffff;
}

.taiputhailand-blog-pagination .page-numbers.dots {
	width: auto;
	color: #74746f;
}

/* ==========================================================================
   Single post
   ========================================================================== */

.taiputhailand-single-intro {
	padding: 40px 110px 0;
	box-sizing: border-box;
	max-width: none;
}

.taiputhailand-single-breadcrumb {
	gap: 14px;
	margin-bottom: 52px;
	flex-wrap: wrap;
}

.taiputhailand-single-breadcrumb__link a {
	font-family: "Noto Sans Thai", sans-serif;
	color: #74746f;
	font-size: 16px;
}

.taiputhailand-single-breadcrumb__sep {
	font-family: "Noto Sans Thai", sans-serif;
	color: #74746f;
	font-size: 16px;
	margin: 0;
}

.taiputhailand-single-breadcrumb__current {
	font-family: "Noto Sans Thai", sans-serif;
	color: #222222;
	font-size: 16px;
	margin: 0;
	max-width: 600px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.taiputhailand-single-heading {
	margin-bottom: 30px;
}

.taiputhailand-single-category {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 20px;
	color: #F50406;
	margin-bottom: 18px;
}

.taiputhailand-single-category a {
	color: inherit;
}

.taiputhailand-single-title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 56px;
	line-height: 1.32;
	color: #222222;
	margin: 0 0 28px;
}

.taiputhailand-single-meta {
	border-top: 1px solid #e4e3df;
	padding-top: 8px;
	padding-bottom: 28px;
}

.taiputhailand-single-date {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	margin: 0;
}

.taiputhailand-single-meta__divider {
	display: inline-block;
	width: 1px;
	height: 20px;
	background: #e4e3df;
	margin: 0 24px;
}

.taiputhailand-single-publisher {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	margin: 0;
}

.taiputhailand-single-hero.wp-block-post-featured-image {
	margin: 0;
}

.taiputhailand-single-hero img {
	width: 100%;
	max-height: 1000px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.taiputhailand-single-reading {
	padding: 44px 110px 100px;
	box-sizing: border-box;
	max-width: none;
}

.taiputhailand-single-content {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 24px;
	line-height: 1.9;
	color: #494944;
	max-width: none;
}

.taiputhailand-single-content > * {
	max-width: 1700px;
}

.taiputhailand-single-content p {
	margin: 0 0 30px;
}

.taiputhailand-single-content img {
	border-radius: 8px;
}

.taiputhailand-single-topics {
	align-items: center;
	gap: 12px;
	margin-top: 44px;
}

.taiputhailand-single-topics__label {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 17px;
	color: #74746f;
	margin: 0;
}

.taiputhailand-single-topics__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.taiputhailand-single-topics__terms a {
	font-family: "Noto Sans Thai", sans-serif;
	display: inline-flex;
	background: #faf8f6;
	color: #F50406;
	padding: 8px 16px;
	font-size: 17px;
	text-decoration: none;
}

.taiputhailand-single-related {
	padding: 0 110px 100px;
	box-sizing: border-box;
	max-width: none;
}

.taiputhailand-single-related__heading {
	margin-bottom: 54px;
}

.taiputhailand-single-related__title {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #222222;
	margin: 0;
}

.taiputhailand-single-related__title-cn {
	font-family: "Noto Serif SC", serif;
	font-weight: 400;
	font-size: 25px;
}

@media (max-width: 1024px) {
	.taiputhailand-single-intro,
	.taiputhailand-single-reading,
	.taiputhailand-single-related {
		padding-left: 40px;
		padding-right: 40px;
	}

	.taiputhailand-single-title {
		font-size: 38px;
	}

	.taiputhailand-single-content {
		font-size: 19px;
	}

	.taiputhailand-single-related__title {
		font-size: 30px;
	}
}

@media (max-width: 640px) {
	.taiputhailand-single-intro,
	.taiputhailand-single-reading,
	.taiputhailand-single-related {
		padding-left: 20px;
		padding-right: 20px;
	}

	.taiputhailand-single-title {
		font-size: 28px;
	}

	.taiputhailand-single-meta {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   Notable Tai-Pu people
   ========================================================================== */

.taiputhailand-notablepeople-intro {
	text-align: center;
	padding: 60px 110px 20px;
	max-width: none;
	box-sizing: border-box;
}

.taiputhailand-notablepeople-intro__eyebrow {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 1.6px;
	color: #222222;
	margin: 0 0 20px;
}

.taiputhailand-notablepeople-intro__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #222222;
	margin: 0 0 20px;
}

.taiputhailand-notablepeople-intro__subtitle-cn {
	font-family: "Ma Shan Zheng", cursive;
	font-size: 36px;
	color: #F50406;
	margin: 0;
}

.taiputhailand-notablepeople-list {
	padding: 40px 110px 0px;
	max-width: none;
	box-sizing: border-box;
}

.taiputhailand-notablepeople-person {
	position: relative;
	display: grid;
	width: calc(100% + 220px);
	margin: 0 -110px 50px;
}

.taiputhailand-notablepeople-person__bg,
.taiputhailand-notablepeople-person__content {
	grid-column: 1;
	grid-row: 1;
}

.taiputhailand-notablepeople-person__bg {
	margin: 0;
	width: 100%;
	align-self: start;
	/* Taller than the image itself (1920/890) and anchored to the bottom, so
	   the extra height becomes blank space above the artwork — giving long
	   real bios room to sit above the illustration instead of over it. */
	aspect-ratio: 1920 / 1200;
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% auto;
}

.taiputhailand-notablepeople-person--1 {
	background-image: url('../images/notablepeople/bg-1-zhang-bishi.png');
}

.taiputhailand-notablepeople-person--2 {
	background-image: url('../images/notablepeople/bg-2-lee-kuan-yew.png');
}

.taiputhailand-notablepeople-person--3 {
	background-image: url('../images/notablepeople/bg-3-tian-jiabing.png');
}

.taiputhailand-notablepeople-person--4 {
	background-image: url('../images/notablepeople/bg-4-zou-lu.png');
	margin-bottom: 0;
}

.taiputhailand-notablepeople-person__content {
	position: relative;
	z-index: 1;
	align-self: start;
	justify-self: start;
	padding: 70px 110px 40px;
	box-sizing: border-box;
	max-width: 63%;
	gap: 36px;
}

.taiputhailand-notablepeople-person.is-reverse .taiputhailand-notablepeople-person__content {
	justify-self: end;
}

.taiputhailand-notablepeople-person__block {
	margin-bottom: 24px;
}

.taiputhailand-notablepeople-person__block:last-child {
	margin-bottom: 0;
}

.taiputhailand-notablepeople-person__name {
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 36px;
	color: #000000;
	margin: 0 0 16px;
}

.taiputhailand-notablepeople-person__name.is-th {
	font-size: 28px;
	color: #B22222;
}

.taiputhailand-notablepeople-person__bio {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #74746f;
	margin: 0;
}

/* Zhang Bishi / Tian Jiabing / Zou Lu have noticeably longer real bios than
   Lee Kuan Yew's — long enough that even tightened, the tail end still runs
   over the illustration in their own background image. A white halo (no
   background box) keeps that tail legible against whatever is behind it. */
.taiputhailand-notablepeople-person--1 .taiputhailand-notablepeople-person__bio,
.taiputhailand-notablepeople-person--3 .taiputhailand-notablepeople-person__bio,
.taiputhailand-notablepeople-person--4 .taiputhailand-notablepeople-person__bio {
	line-height: 1.4;
	text-shadow:
		-2px -2px 4px #fff,
		2px -2px 4px #fff,
		-2px 2px 4px #fff,
		2px 2px 4px #fff,
		0 0 8px #fff,
		0 0 8px #fff;
}

.taiputhailand-notablepeople-divider {
	max-width: 1700px;
	margin: 0 auto 50px;
	border: none;
	border-top: 1px solid #e0c571;
}

@media (max-width: 1024px) {
	.taiputhailand-notablepeople-intro,
	.taiputhailand-notablepeople-list {
		padding-left: 40px;
		padding-right: 40px;
	}

	.taiputhailand-notablepeople-intro__title {
		font-size: 30px;
	}

	.taiputhailand-notablepeople-person__name {
		font-size: 28px;
	}

	.taiputhailand-notablepeople-person__name.is-th {
		font-size: 22px;
	}

	.taiputhailand-notablepeople-person {
		width: calc(100% + 80px);
		margin: 0 -40px 50px;
	}

	.taiputhailand-notablepeople-person--4 {
		margin-bottom: 0;
	}

	.taiputhailand-notablepeople-person__content {
		padding: 40px 40px 24px;
	}
}

@media (max-width: 768px) {
	.taiputhailand-notablepeople-person {
		display: block;
	}

	.taiputhailand-notablepeople-person__bg {
		margin-bottom: 24px;
		aspect-ratio: 1920 / 890;
		background-position: top center;
	}

	.taiputhailand-notablepeople-person__content {
		max-width: 100%;
		padding: 0 40px 24px;
	}
}

@media (max-width: 640px) {
	.taiputhailand-notablepeople-intro,
	.taiputhailand-notablepeople-list {
		padding-left: 20px;
		padding-right: 20px;
	}

	.taiputhailand-notablepeople-person {
		width: calc(100% + 40px);
		margin: 0 -20px 40px;
	}

	.taiputhailand-notablepeople-person--4 {
		margin-bottom: 0;
	}

	.taiputhailand-notablepeople-person__content {
		padding: 0 20px 20px;
	}
}

/* =========================================================
   Knowledge — Our Ancestors article (page-our-ancestors.html)
   ========================================================= */

.taiputhailand-ancestors-eyebrow {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 1.6px;
	color: #000000;
	margin: 0 0 8px;
}

.taiputhailand-ancestors-tags-img {
	margin: 63px 0 0;
}

.taiputhailand-ancestors-tags-img img {
	width: 330px;
	max-width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-ancestors-source {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 14px;
	color: #222222;
	text-align: right;
	margin: 28px 0 0;
	word-break: break-word;
}

.taiputhailand-ancestors-pin-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #fdf4ea;
	border: 1px solid #e0c571;
	border-radius: 10px;
	padding: 12px 16px;
	max-width: 340px;
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #222222;
	margin: 16px 0 0 200px;
}

.taiputhailand-ancestors-pin-note__icon {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-top: 2px;
}

.taiputhailand-ancestors-locator {
	margin: 24px 0 0;
}

.taiputhailand-ancestors-locator img {
	width: 300px;
	max-width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-ancestors-section2__map,
.taiputhailand-ancestors-section3__photo .wp-block-image {
	position: relative;
}

.taiputhailand-ancestors-section2__map img.taiputhailand-ancestors-decor,
.taiputhailand-ancestors-section3__photo img.taiputhailand-ancestors-decor {
	position: absolute;
	width: 90px;
	height: auto;
	border: none;
	border-radius: 0;
	box-shadow: none;
	pointer-events: none;
	z-index: 2;
}

.taiputhailand-ancestors-section2__map img.taiputhailand-ancestors-decor.taiputhailand-ancestors-decor--pine-tl {
	width: 290px;
	top: 9px;
	left: -116px;
}

.taiputhailand-ancestors-section2__map img.taiputhailand-ancestors-decor.taiputhailand-ancestors-decor--cloud-tr {
	width: 372px;
	top: -65px;
	right: -100px;
}

.taiputhailand-ancestors-section3__photo img.taiputhailand-ancestors-decor.taiputhailand-ancestors-decor--pine-br {
	width: 201px;
	bottom: -14px;
	right: -86px;
}

.taiputhailand-ancestors-sketches {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	margin-top: 24px;
}

.taiputhailand-ancestors-sketches img {
	width: 285px;
	height: auto;
}

.taiputhailand-ancestors-section1 {
	max-width: 1700px;
	margin: 70px auto;
	padding: 0 20px;
	gap: 60px;
	align-items: flex-start;
}

.taiputhailand-ancestors-section1__text {
	flex: 1 1 500px;
	max-width: 580px;
}

.taiputhailand-ancestors-section1__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 40px;
	color: #222222;
	margin: 20px 0;
}

.taiputhailand-ancestors-section1__desc,
.taiputhailand-ancestors-section1__desc-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 20px;
	line-height: 1.5;
	margin: 0 0 20px;
}

.taiputhailand-ancestors-section1__desc {
	color: #222222;
}

.taiputhailand-ancestors-section1__desc-cn {
	color: #000000;
}

.taiputhailand-ancestors-section1__map {
	flex: 1 1 700px;
	margin: 0;
}

.taiputhailand-ancestors-section1__map img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	border: 8px solid #ffffff;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
	display: block;
}

.taiputhailand-ancestors-section2,
.taiputhailand-ancestors-section3 {
	max-width: 1700px;
	margin: 80px auto;
	padding: 0 20px;
	gap: 60px;
	align-items: center;
}

.taiputhailand-ancestors-section2__map,
.taiputhailand-ancestors-section3__photo .wp-block-image {
	flex: 1 1 500px;
	margin: 0;
}

.taiputhailand-ancestors-section2__map img,
.taiputhailand-ancestors-section3__photo img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	border: 8px solid #ffffff;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
	display: block;
}

.taiputhailand-ancestors-section2__text,
.taiputhailand-ancestors-section3__text {
	flex: 1 1 500px;
	max-width: 583px;
}

.taiputhailand-ancestors-section2__title,
.taiputhailand-ancestors-section3__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 32px;
	color: #f50406;
	margin: 0 0 6px;
}

.taiputhailand-ancestors-section2__title-cn,
.taiputhailand-ancestors-section3__title-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #222222;
	margin: 0 0 16px;
}

.taiputhailand-ancestors-section2__desc,
.taiputhailand-ancestors-section3__desc {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 20px;
	line-height: 1.3;
	color: #222222;
	margin: 0 0 16px;
}

.taiputhailand-ancestors-section2__desc-cn,
.taiputhailand-ancestors-section3__desc-cn {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 20px;
	line-height: 1.5;
	color: #000000;
	margin: 0;
	max-width: 441px;
}

.taiputhailand-ancestors-section3 {
	margin-bottom: 100px;
}

.taiputhailand-ancestors-section3__photo {
	flex: 1 1 500px;
}

@media (max-width: 1100px) {
	.taiputhailand-ancestors-section1,
	.taiputhailand-ancestors-section2,
	.taiputhailand-ancestors-section3 {
		flex-direction: column;
	}

	.taiputhailand-ancestors-section1__text,
	.taiputhailand-ancestors-section2__text,
	.taiputhailand-ancestors-section3__text {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.taiputhailand-ancestors-pin-note {
		margin-left: 0;
		max-width: none;
	}

	.taiputhailand-ancestors-section1__title {
		font-size: 28px;
	}

	.taiputhailand-ancestors-section2__title,
	.taiputhailand-ancestors-section3__title,
	.taiputhailand-ancestors-section2__title-cn,
	.taiputhailand-ancestors-section3__title-cn {
		font-size: 26px;
	}
}

/* =========================================================
   Knowledge — Migration History article
   (page-taipu-migration-history.html)
   ========================================================= */

.taiputhailand-migration-map {
	max-width: 960px;
	margin: 56px auto 0;
	padding: 0 20px;
}

.taiputhailand-migration-map img {
	width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-migration-timeline {
	position: relative;
	max-width: 1700px;
	margin: 60px auto 100px;
	padding: 0 20px;
}

.taiputhailand-migration-bar {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 300px;
	transform: translateX(-50%);
	background: #f50406;
	z-index: 0;
	overflow: hidden;
}

.taiputhailand-migration-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('../images/knowledge/migration/timeline-bar-texture.png');
	background-size: cover;
	background-position: center;
	opacity: 0.2;
}

.taiputhailand-migration-row {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	padding: 60px 0;
}

.taiputhailand-migration-row:not(.is-reverse) {
	justify-content: flex-start;
}

.taiputhailand-migration-row.is-reverse {
	justify-content: flex-end;
}

.taiputhailand-migration-row__text {
	flex: 0 1 616px;
	width: 616px;
	max-width: calc(50% - 170px);
}

.taiputhailand-migration-row:not(.is-reverse) .taiputhailand-migration-row__text {
	margin-left: -20px;
}

.taiputhailand-migration-row.is-reverse .taiputhailand-migration-row__text {
	margin-right: -20px;
}

.taiputhailand-migration-row__image {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 440px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.taiputhailand-migration-row:not(.is-reverse) .taiputhailand-migration-row__image {
	left: calc(50% + 75px);
}

.taiputhailand-migration-row.is-reverse .taiputhailand-migration-row__image {
	right: calc(50% + 75px);
}

.taiputhailand-migration-row__image img {
	width: 100%;
	height: auto;
	display: block;
}

.taiputhailand-migration-row__year {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 48px;
	color: #ffffff;
	white-space: nowrap;
	margin: 0;
	z-index: 2;
	text-align: center;
}

.taiputhailand-migration-row:not(.is-reverse) .taiputhailand-migration-row__year {
	left: calc(50% - 37.5px);
}

.taiputhailand-migration-row.is-reverse .taiputhailand-migration-row__year {
	left: calc(50% + 37.5px);
}

.taiputhailand-migration-row__title {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #222222;
	margin: 0 0 4px;
}

.taiputhailand-migration-row__title-th {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: #222222;
	margin: 0 0 10px;
}

.taiputhailand-migration-row__desc-cn,
.taiputhailand-migration-row__desc-th {
	font-family: "Barlow Semi Condensed", "Noto Sans Thai", sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #222222;
	margin: 0 0 8px;
}

@media (max-width: 1100px) {
	.taiputhailand-migration-bar {
		left: 20px;
		width: 6px;
		transform: none;
	}

	.taiputhailand-migration-row,
	.taiputhailand-migration-row.is-reverse {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		padding-left: 56px;
		gap: 20px;
	}

	.taiputhailand-migration-row__year {
		position: static;
		transform: none;
		color: #f50406;
		font-size: 36px;
		text-align: left;
	}

	.taiputhailand-migration-row__text,
	.taiputhailand-migration-row.is-reverse .taiputhailand-migration-row__text {
		width: auto;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.taiputhailand-migration-row__image,
	.taiputhailand-migration-row.is-reverse .taiputhailand-migration-row__image {
		position: static;
		transform: none;
		left: auto;
		right: auto;
		width: 100%;
		max-width: 440px;
	}
}

@media (max-width: 640px) {
	.taiputhailand-article-title {
		font-size: 26px;
	}

	.taiputhailand-migration-row__title,
	.taiputhailand-migration-row__title-th {
		font-size: 20px;
	}
}

/* =========================================================
   Audit fixes — Knowledge hub / Guardian Deity / Education Fund
   pages vs Figma (nodes 517:2598, 530:3123, 530:3421)
   ========================================================= */

/* Figma spec is text-black (#000000); theme had #222222. */
.taiputhailand-knowledge-intro__title,
.taiputhailand-knowledge-intro__desc {
	color: #000000;
}

/* Figma spec for the events-listing "ACTIVITIES & PHOTO GALLERIES"
   label is #74746f (gray), not the base component's red. */
.taiputhailand-events__heading .taiputhailand-section-label {
	color: #74746f;
}

/* Figma spec shows a 54px gap between the two tab labels; the
   per-tab margin-right was only producing ~24-27px. */
.taiputhailand-events__tabs .taiputhailand-events__tab {
	margin-right: 0;
}

.taiputhailand-events__tabs > .wp-block-group {
	gap: 54px;
}

/* ==========================================================================
   Audit fixes: blog archive / notable people / single post
   (page-blog.html, page-notable-people.html, single.html)
   ========================================================================== */

/* Figma spec (283:2564 / 283:2641) shows the single-post "ACTIVITIES & PHOTO
   GALLERIES" eyebrow and the "MORE FROM OUR COMMUNITY" related-articles label
   in gray #74746f, matching the blog archive — not the base component's red. */
.taiputhailand-single-heading .taiputhailand-section-label,
.taiputhailand-single-related__heading .taiputhailand-section-label {
	color: #74746f;
}

/* Figma spec (316:2048, 277:3006, etc.) shows BOTH the Chinese and Thai
   person-name headings at the same size/weight/color: 40px semibold black,
   leading 50px. The implementation had the base at 36px and the Thai (.is-th)
   variant shrunk to 28px and recolored to maroon #B22222 — neither matches. */
.taiputhailand-notablepeople-person__name {
	font-size: 40px;
	line-height: 50px;
}

.taiputhailand-notablepeople-person__name.is-th {
	font-size: 40px;
	color: #000000;
}

/* Figma spec (316:2049 etc.) is 20px body copy, not 18px. */
.taiputhailand-notablepeople-person__bio {
	font-size: 20px;
}

/* Figma spec (352:2260, 352:2261) is text-black (#000000); theme had #222222. */
.taiputhailand-notablepeople-intro__eyebrow,
.taiputhailand-notablepeople-intro__title {
	color: #000000;
}

@media (max-width: 1024px) {
	.taiputhailand-notablepeople-person__name.is-th {
		font-size: 28px;
	}
}

/* ==========================================================================
   Search results
   ========================================================================== */

.taiputhailand-search-results__term {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	margin: 12px 0 0;
}

.taiputhailand-search-results__term mark {
	background: none;
	color: #222222;
	font-weight: 600;
}

.taiputhailand-search-results__empty {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	color: #74746f;
	grid-column: 1 / -1;
}

.taiputhailand-search-results__empty a {
	color: #f50406;
	font-weight: 600;
}

/* ==========================================================================
   404
   ========================================================================== */

.taiputhailand-404 {
	padding: 140px 110px;
	box-sizing: border-box;
	max-width: none;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.taiputhailand-404__title {
	font-family: "Lora", "Noto Sans Thai", serif;
	font-size: 40px;
	font-weight: 600;
	color: #000000;
	line-height: 1.3;
	margin: 16px 0 24px;
}

.taiputhailand-404__title-cn {
	font-family: "Lora", "Noto Serif SC", serif;
	font-weight: 400;
}

.taiputhailand-404__desc {
	font-family: "Noto Sans Thai", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #74746f;
	max-width: 560px;
	margin: 0 0 32px;
}
