/**
 * Taifeng V27 mobile-only presentation owner.
 *
 * The stylesheet is also enqueued with a max-width media attribute. Keeping
 * every declaration inside the same boundary makes the V25 desktop surface a
 * frozen baseline while the production database homepage receives a compact,
 * touch-first layout.
 */

@media (max-width: 767px) {
	:root {
		--taifeng-mobile-gutter: 16px;
		--taifeng-mobile-section-space: 48px;
		--taifeng-mobile-radius: 18px;
		--taifeng-mobile-shadow: 0 14px 36px rgba(7, 31, 54, 0.1);
	}

	html,
	body {
		max-width: 100%;
		overflow-x: clip;
	}

	/* One-row mobile header: Logo, the real GTranslate owner and WP menu. */
	.taifeng-header-shell {
		position: relative;
		z-index: 100;
		height: 70px;
		min-height: 70px;
		max-height: 70px;
		overflow: visible;
		background: #fff;
		border-bottom: 1px solid #dce7ed;
	}

	.taifeng-topbar {
		position: absolute;
		inset: 0;
		z-index: 3;
		height: 70px;
		min-height: 70px;
		padding: 0 !important;
		background: transparent !important;
		pointer-events: none;
	}

	.taifeng-topbar__inner {
		position: relative;
		width: 100% !important;
		height: 70px;
		margin: 0 !important;
		padding: 0 !important;
		pointer-events: none;
	}

	.taifeng-topbar__inner > p,
	.taifeng-topbar__contacts > p {
		display: none !important;
	}

	.taifeng-topbar__contacts {
		position: static !important;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.taifeng-topbar-language {
		position: absolute !important;
		top: 13px;
		right: 70px;
		z-index: 102;
		display: block !important;
		width: min(104px, 28vw);
		margin: 0 !important;
		padding: 0 !important;
		pointer-events: auto;
	}

	.taifeng-topbar-language .gtranslate_wrapper,
	.taifeng-topbar-language .gt_switcher,
	.taifeng-topbar-language .gt_selected {
		width: 100% !important;
		max-width: 104px;
		margin: 0 !important;
	}

	.taifeng-topbar-language .gt_selected > a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		height: 44px !important;
		min-height: 44px;
		padding: 0 10px !important;
		border: 1px solid #dce7ed !important;
		border-radius: 12px;
		background: #fff !important;
		color: #153e65 !important;
		font-size: 13px !important;
		line-height: 1 !important;
		box-shadow: 0 7px 18px rgba(7, 31, 54, 0.08);
	}

	.taifeng-topbar-language .gt_option {
		position: absolute !important;
		top: 48px;
		right: 0;
		z-index: 105;
		width: min(220px, calc(100vw - 32px)) !important;
		max-height: min(60vh, 420px);
		overflow-y: auto;
		border: 1px solid #dce7ed;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 18px 44px rgba(7, 31, 54, 0.2);
	}

	.taifeng-topbar-language .gt_option a {
		min-height: 44px;
		padding: 11px 14px !important;
	}

	.taifeng-site-header {
		position: relative;
		z-index: 2;
		height: 70px;
		min-height: 70px;
		padding: 0 !important;
	}

	.taifeng-site-header__inner {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		height: 70px;
		margin: 0 !important;
		padding: 0 var(--taifeng-mobile-gutter) !important;
		gap: 8px !important;
	}

	.taifeng-site-logo {
		position: relative;
		z-index: 4;
		width: 136px !important;
		height: 48px;
		margin: 0 !important;
		padding: 0 !important;
	}

	.taifeng-site-logo a,
	.taifeng-site-logo img {
		display: block;
		width: 136px !important;
		height: 48px !important;
		object-fit: contain;
		object-position: left center;
	}

	.taifeng-primary-navigation {
		position: relative;
		z-index: 106;
		margin-left: auto;
	}

	.taifeng-primary-navigation .wp-block-navigation__container {
		display: none !important;
	}

	.taifeng-primary-navigation .wp-block-navigation__responsive-container-open,
	.taifeng-primary-navigation .wp-block-navigation__responsive-container-close {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		padding: 9px !important;
		border: 1px solid #dce7ed;
		border-radius: 12px;
		background: #fff;
		color: #153e65;
	}

	.taifeng-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
		z-index: 110;
		padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
		background: #fff;
	}

	.taifeng-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		display: flex !important;
		gap: 8px !important;
	}

	/* Hero: fixed mobile image panel followed by a readable navy copy panel. */
	.taifeng-home-hero-carousel {
		display: block;
		min-height: 0;
		padding: 0 !important;
		background: #071f36;
		color: #fff;
	}

	.taifeng-hero-stage {
		position: relative;
		display: block !important;
		width: 100%;
		height: 230px;
		min-height: 230px;
		overflow: hidden;
		scroll-snap-type: none;
		background: #0d2c48;
	}

	.taifeng-hero-stage::after {
		content: "";
		position: absolute;
		inset: auto 0 0;
		z-index: 1;
		height: 30%;
		background: linear-gradient(180deg, rgba(7, 31, 54, 0), rgba(7, 31, 54, 0.32));
		pointer-events: none;
	}

	.taifeng-hero-slide {
		position: absolute !important;
		inset: 0;
		display: none;
		width: 100%;
		height: 230px;
		min-height: 230px !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		background-size: cover !important;
		animation: none !important;
		transform: none !important;
		opacity: 1 !important;
	}

	.taifeng-hero-slide--1 {
		display: block;
		background-image: url("../images/hero-product-portfolio-v23-960.webp") !important;
	}

	.taifeng-hero-slide--2 {
		background-image: url("../images/hero-global-b2b-map-v24-960.webp") !important;
	}

	.taifeng-hero-slide--3 {
		background-image: url("../images/hero-overseas-b2b-v23-960.webp") !important;
	}

	.taifeng-home-hero-carousel:has(.taifeng-hero-slide--2:target) .taifeng-hero-slide--1,
	.taifeng-home-hero-carousel:has(.taifeng-hero-slide--3:target) .taifeng-hero-slide--1 {
		display: none;
	}

	.taifeng-home-hero-carousel .taifeng-hero-slide:target {
		display: block;
	}

	.taifeng-hero-slide__controls {
		position: absolute;
		right: var(--taifeng-mobile-gutter);
		bottom: 12px;
		z-index: 3;
		display: flex;
		gap: 8px;
	}

	.taifeng-hero-slide__controls a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(255, 255, 255, 0.62);
		border-radius: 50%;
		background: rgba(7, 31, 54, 0.62);
		color: #fff;
		text-decoration: none;
		backdrop-filter: blur(8px);
	}

	.taifeng-home-hero__content,
	.taifeng-home-hero__content--carousel {
		position: relative !important;
		inset: auto !important;
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 28px var(--taifeng-mobile-gutter) 36px !important;
		background: #071f36;
		pointer-events: auto;
	}

	.taifeng-home-hero__copy {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.taifeng-home-hero__copy .taifeng-section-eyebrow {
		margin: 0 0 12px;
		color: #72d9ee !important;
		font-size: 12px !important;
		font-weight: 750;
		letter-spacing: 0.12em;
	}

	.taifeng-home-hero__copy h1 {
		margin: 0;
		font-size: clamp(34px, 10.5vw, 44px) !important;
		line-height: 0.98;
		letter-spacing: -0.035em;
		text-wrap: balance;
	}

	.taifeng-home-hero__copy > p:not(.taifeng-section-eyebrow) {
		margin: 18px 0 0;
		font-size: 17px !important;
		line-height: 1.55;
		color: rgba(255, 255, 255, 0.82) !important;
	}

	.taifeng-home-hero__copy .wp-block-buttons {
		display: flex !important;
		flex-direction: column;
		width: 100%;
		margin-top: 24px;
		gap: 10px !important;
	}

	.taifeng-home-hero__copy .wp-block-button,
	.taifeng-home-hero__copy .wp-block-button__link {
		width: 100% !important;
		min-height: 50px;
	}

	.taifeng-home-hero__copy .wp-block-button__link {
		padding: 13px 18px !important;
		border-radius: 12px;
		font-size: 16px;
		font-weight: 750;
	}

	/* Shared mobile rhythm and readable type. */
	.taifeng-home:not(.taifeng-home-hero-carousel) {
		padding-top: var(--taifeng-mobile-section-space) !important;
		padding-bottom: var(--taifeng-mobile-section-space) !important;
	}

	.taifeng-home > .alignwide,
	.taifeng-home .alignwide {
		width: auto !important;
		max-width: none !important;
		margin-right: var(--taifeng-mobile-gutter) !important;
		margin-left: var(--taifeng-mobile-gutter) !important;
	}

	.taifeng-home .taifeng-section-eyebrow {
		margin-bottom: 10px;
		font-size: 12px !important;
		font-weight: 750;
		letter-spacing: 0.12em;
	}

	.taifeng-home h2 {
		margin-top: 0;
		margin-bottom: 14px;
		font-size: clamp(28px, 8vw, 36px) !important;
		line-height: 1.08;
		letter-spacing: -0.025em;
		text-wrap: balance;
	}

	.taifeng-home .taifeng-section-intro {
		max-width: 36rem;
		margin: 0 0 24px;
		font-size: 16px !important;
		line-height: 1.6;
	}

	/* Four sourcing capabilities as a compact vertical sequence. */
	.taifeng-home-capabilities__grid {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100%;
		margin-top: 26px;
		gap: 12px !important;
	}

	.taifeng-home-capabilities__grid > .wp-block-column,
	.taifeng-home-capabilities__grid > .taifeng-home-capability-card {
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		flex-basis: auto !important;
	}

	.taifeng-home-capability-card {
		position: relative;
		min-height: 0 !important;
		padding: 22px 20px 22px 70px !important;
		border: 1px solid #dce7ed;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 8px 22px rgba(7, 31, 54, 0.06);
	}

	.taifeng-home-capability-card__index {
		position: absolute;
		top: 22px;
		left: 20px;
		margin: 0 !important;
		color: #0ca3c9;
		font-size: 13px;
		font-weight: 800;
	}

	.taifeng-home-capability-card h3 {
		margin: 0 0 7px;
		font-size: 19px;
		line-height: 1.2;
	}

	.taifeng-home-capability-card p:not(.taifeng-home-capability-card__index) {
		margin: 0;
		font-size: 15px;
		line-height: 1.55;
	}

	/* Nine compact product groups: two columns, final category fills its row. */
	.taifeng-category-grid-balanced,
	.taifeng-category-grid-balanced.alignwide {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: 100% !important;
		margin: 24px 0 0 !important;
		gap: 12px !important;
	}

	.taifeng-category-card-balanced {
		min-width: 0;
		min-height: 0 !important;
		overflow: hidden;
		border: 1px solid #dce7ed;
		border-radius: 15px;
		background: #fff;
		box-shadow: 0 7px 20px rgba(7, 31, 54, 0.06);
	}

	.taifeng-category-card-balanced > a:first-child {
		display: grid;
		grid-template-rows: auto 1fr;
		height: 100%;
		color: #153e65;
		text-decoration: none;
	}

	.taifeng-category-card-balanced img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 1;
		object-fit: cover;
		background: #f4f8fa;
	}

	.taifeng-category-card-balanced span {
		display: flex;
		align-items: center;
		min-height: 64px;
		padding: 12px 13px 14px;
		font-size: 15px;
		font-weight: 760;
		line-height: 1.28;
	}

	.taifeng-category-card-balanced > p,
	.taifeng-category-card-balanced .taifeng-card-inquiry {
		display: none !important;
	}

	.taifeng-category-card-balanced:last-child:nth-child(odd) {
		box-sizing: border-box;
		grid-column: 1 / -1;
		width: 100%;
		justify-self: center;
	}

	/* Application contexts become a deliberate swipe rail. */
	.taifeng-home-applications__grid {
		display: flex !important;
		flex-wrap: nowrap !important;
		width: 100%;
		margin-top: 24px;
		padding: 0 0 12px;
		gap: 12px !important;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	.taifeng-home-applications__grid > .wp-block-column,
	.taifeng-home-applications__grid > .taifeng-home-application-card {
		flex: 0 0 82% !important;
		width: 82% !important;
		min-width: 82% !important;
		max-width: 82% !important;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.taifeng-home-application-card {
		overflow: hidden;
		border: 1px solid #cfe1ea;
		border-radius: var(--taifeng-mobile-radius);
		background: #fff;
		box-shadow: var(--taifeng-mobile-shadow);
	}

	.taifeng-home-application-card__media {
		margin: 0 !important;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		background: #e8f7fb;
	}

	.taifeng-home-application-card__media img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover;
	}

	.taifeng-home-application-card__body {
		padding: 20px !important;
	}

	.taifeng-home-application-card__body h3 {
		margin: 0 0 8px;
		font-size: 21px;
		line-height: 1.2;
	}

	.taifeng-home-application-card__body p {
		margin: 0;
		font-size: 15px;
		line-height: 1.55;
	}

	/* About cover becomes an image row followed by an independent copy row. */
	.taifeng-home-about__frame {
		overflow: hidden;
		border-radius: 20px;
		box-shadow: var(--taifeng-mobile-shadow);
	}

	.taifeng-home-about__cover {
		position: relative;
		display: grid !important;
		grid-template-rows: 220px auto;
		align-items: stretch !important;
		min-height: 0 !important;
		padding: 0 !important;
		overflow: hidden;
		background: #071f36;
	}

	.taifeng-home-about__cover .wp-block-cover__image-background {
		position: relative !important;
		inset: auto !important;
		grid-row: 1;
		width: 100% !important;
		height: 220px !important;
		min-height: 220px;
		object-fit: cover;
		object-position: center;
	}

	.taifeng-home-about__cover .wp-block-cover__background {
		position: absolute !important;
		inset: 0 0 auto !important;
		z-index: 1;
		display: block;
		height: 220px !important;
		background: linear-gradient(180deg, rgba(7, 31, 54, 0.02), rgba(7, 31, 54, 0.26)) !important;
	}

	.taifeng-home-about__cover .wp-block-cover__inner-container {
		position: relative !important;
		z-index: 2;
		grid-row: 2;
		width: 100%;
		padding: 26px 22px 30px;
		background: #071f36;
	}

	.taifeng-home-about__copy {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		color: #fff;
		transform: none !important;
	}

	.taifeng-home-about__copy h2 {
		color: #fff !important;
		font-size: 30px !important;
	}

	.taifeng-home-about__copy p {
		font-size: 16px;
		line-height: 1.6;
		color: rgba(255, 255, 255, 0.82);
	}

	/* Deep sections stay useful without creating a 12,000px mobile page. */
	.taifeng-home-factory-media .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}

	.taifeng-home-factory-media .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.taifeng-video-fallback {
		min-height: 210px !important;
		border-radius: var(--taifeng-mobile-radius);
	}

	.taifeng-home-inquiry > .alignwide {
		padding: 28px 22px !important;
		border-radius: 20px;
	}

	.taifeng-home-inquiry .wp-block-buttons,
	.taifeng-home-inquiry .wp-block-button,
	.taifeng-home-inquiry .wp-block-button__link,
	.taifeng-home-form-slot {
		width: 100% !important;
	}

	.taifeng-home-inquiry .wp-block-button__link {
		min-height: 50px;
		border-radius: 12px;
	}

	/* Product archive keeps native swipe while desktop keeps V25 auto-scroll. */
	.taifeng-product-archive__rail-heading {
		align-items: flex-start;
		gap: 10px;
	}

	.taifeng-product-rail__toggle {
		display: none !important;
	}

	.taifeng-product-rail.wp-block-post-template {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 12px !important;
		overflow-x: auto !important;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	.taifeng-product-rail.wp-block-post-template > li {
		flex: 0 0 82% !important;
		width: 82% !important;
		min-width: 82% !important;
		max-width: 82% !important;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.taifeng-product-card--rail {
		height: auto !important;
		min-height: 0 !important;
	}

	/* Compact footer and safe-area-aware direct WhatsApp entry. */
	.taifeng-site-footer {
		padding-top: 38px !important;
		padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
	}

	.taifeng-site-footer__grid {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		width: auto !important;
		margin: 0 var(--taifeng-mobile-gutter) !important;
		gap: 30px !important;
	}

	.taifeng-site-footer__brand,
	.taifeng-site-footer__information {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.taifeng-site-footer__brand h2 {
		margin: 0 0 8px;
		font-size: 25px;
	}

	.taifeng-site-footer__brand p {
		max-width: 32rem;
		margin: 0;
		font-size: 14px;
		line-height: 1.55;
	}

	.taifeng-site-footer__info-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px 18px !important;
	}

	.taifeng-site-footer__info-column {
		min-width: 0;
	}

	.taifeng-site-footer__info-column:first-child {
		grid-column: 1 / -1;
	}

	.taifeng-footer-links {
		margin: 0 !important;
		padding: 0 !important;
		list-style: none;
	}

	.taifeng-footer-links a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 7px 0;
	}

	.taifeng-footer-bottom {
		margin-top: 24px !important;
		padding-top: 18px !important;
		font-size: 12px;
	}

	.taifeng-whatsapp-float {
		right: max(16px, env(safe-area-inset-right)) !important;
		bottom: max(16px, env(safe-area-inset-bottom)) !important;
		z-index: 90 !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 56px !important;
		height: 56px !important;
		min-width: 56px;
		min-height: 56px;
	}

	/* Narrowest supported width uses one product-group column. */
	@media (max-width: 340px) {
		.taifeng-topbar-language {
			right: 66px;
			width: 80px;
		}

		.taifeng-site-logo,
		.taifeng-site-logo a,
		.taifeng-site-logo img {
			width: 124px !important;
		}

		.taifeng-category-grid-balanced,
		.taifeng-category-grid-balanced.alignwide {
			grid-template-columns: minmax(0, 1fr) !important;
		}

		.taifeng-category-card-balanced:last-child:nth-child(odd) {
			grid-column: auto;
			width: 100%;
		}
	}

	/* V28 mobile production-cascade repair. */
	html body .taifeng-topbar {
		position: absolute !important;
		inset: 0 !important;
		height: 70px !important;
		min-height: 70px !important;
		max-height: 70px !important;
	}

	html body .taifeng-topbar__inner,
	html body .taifeng-site-header,
	html body .taifeng-site-header__inner {
		position: relative !important;
		height: 70px !important;
		min-height: 70px !important;
		max-height: 70px !important;
	}

	html body .taifeng-header-shell .taifeng-site-header .taifeng-site-logo,
	html body .taifeng-header-shell .taifeng-site-header .taifeng-site-logo a,
	html body .taifeng-header-shell .taifeng-site-header .taifeng-site-logo img {
		width: 136px !important;
		min-width: 0 !important;
		max-width: 136px !important;
		height: 48px !important;
		min-height: 0 !important;
		max-height: 48px !important;
	}

	html body .taifeng-site-header .taifeng-site-header__inner {
		box-sizing: border-box;
		width: 100% !important;
		padding: 0 16px !important;
	}

	html body .taifeng-topbar-language {
		position: absolute !important;
		top: 13px !important;
		right: 70px !important;
		bottom: auto !important;
		left: auto !important;
		flex: 0 0 auto !important;
		width: min(104px, 28vw) !important;
		height: 44px !important;
		min-height: 44px !important;
		overflow: visible !important;
	}

	html body .taifeng-topbar-language > .gtranslate_wrapper,
	html body .taifeng-topbar-language .gt_switcher,
	html body .taifeng-topbar-language .gt_selected {
		position: relative !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 104px !important;
		height: 44px !important;
		min-height: 44px !important;
		overflow: visible !important;
	}

	html body .taifeng-topbar-language .gt_selected > a {
		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 44px !important;
		max-width: none !important;
		display: block !important;
		padding: 0 20px 0 8px !important;
		line-height: 42px !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	html body .taifeng-topbar-language .gt_selected > a img {
		width: 20px !important;
		height: 14px !important;
		margin-right: 5px !important;
		vertical-align: middle;
		object-fit: contain;
	}

	html body .taifeng-topbar-language .gt_option {
		position: absolute !important;
		top: 48px !important;
		right: 0 !important;
		bottom: auto !important;
		left: auto !important;
		box-sizing: border-box !important;
		width: min(220px, calc(100vw - 32px)) !important;
		min-width: 0 !important;
		height: auto !important;
		max-height: min(60vh, 420px) !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		background: #fff !important;
	}

	html body .taifeng-topbar-language .gt_option a {
		display: flex !important;
		align-items: center;
		gap: 8px;
		box-sizing: border-box !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 8px 14px !important;
		font-size: 14px !important;
		line-height: 1.2 !important;
	}

	html body .taifeng-topbar-language .gt_option a img {
		width: 24px !important;
		height: 16px !important;
		margin: 0 !important;
		object-fit: contain;
	}

	html body.home .taifeng-home-applications .taifeng-home-applications__grid {
		display: flex !important;
		grid-template-columns: none !important;
		flex-wrap: nowrap !important;
		box-sizing: border-box;
		width: 100% !important;
		padding-right: 16px !important;
		padding-left: 16px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-padding-inline: 16px;
	}

	html body.home .taifeng-home-applications .taifeng-home-applications__grid > .wp-block-column,
	html body.home .taifeng-home-applications .taifeng-home-applications__grid > .taifeng-home-application-card {
		flex: 0 0 100% !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
	}

	html body.home .taifeng-category-card-balanced:last-child:nth-child(odd) {
		padding: 0 !important;
	}

	html body.home .taifeng-category-card-balanced:last-child:nth-child(odd) > a:first-child {
		display: grid;
		grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
		grid-template-rows: auto;
		align-items: center;
		overflow: hidden;
	}

	html body.home .taifeng-category-card-balanced:last-child:nth-child(odd) > a:first-child img {
		box-sizing: border-box;
		height: clamp(132px, 40vw, 180px) !important;
		aspect-ratio: auto;
		margin: 0 !important;
		padding: 12px;
		border: 0;
		background: #fff;
		object-fit: contain !important;
		object-position: center !important;
	}

	html body.home .taifeng-category-card-balanced:last-child:nth-child(odd) > a:first-child span {
		box-sizing: border-box;
		min-height: 0;
		padding: 16px;
		font-size: clamp(16px, 4.3vw, 18px);
		line-height: 1.35;
		text-wrap: balance;
	}

	/* Respect the platform motion preference without disabling manual rails. */
	@media (prefers-reduced-motion: reduce) {
		html {
			scroll-behavior: auto !important;
		}

		[data-taifeng-reveal],
		.taifeng-hero-slide,
		.taifeng-home-capability-card,
		.taifeng-category-card-balanced,
		.taifeng-home-application-card,
		.taifeng-product-rail.wp-block-post-template,
		.taifeng-product-card--rail {
			animation: none !important;
			transition: none !important;
			transform: none !important;
		}
	}
}
