/**
 * WordPress conflict fixes — keep original main.css look.
 * Brand color matches logo YOSON teal (#188870).
 */

:root {
	--k783-primary: #188870;
	--k783-primary-dark: #136b58;
	--k783-primary-light: #2aad92;
	--k783-primary-soft: #eef7f4;
}

/*
 * CRITICAL: WP adds `page` to <body> on static front pages / pages.
 * Template main.css `.page` / `.page a` were for pagination wrappers only.
 * They match body.page and break the whole homepage:
 * - text-align:center → section titles float mid-row (blue bar left, title center)
 * - margin-top:30px → white gap under fixed header / banner
 * - a { white bg } → footer boxes, blank 行业应用, white about CTAs
 */
body.page,
body.home,
body.page-template-default,
body.blog,
body.archive,
body.single,
body.search,
body.error404 {
	text-align: left;
	margin: 0;
	margin-top: 0;
}

body.page a,
body.home a,
body.page-template-default a,
body.blog a,
body.archive a,
body.single a,
body.search a,
body.error404 a {
	background-color: transparent;
	padding: 0;
	margin: 0;
	font-size: inherit;
	color: inherit;
	/* undo pagination display:inline-block; section CSS wins where set */
	display: revert;
}

body.page a:hover,
body.home a:hover,
body.page-template-default a:hover,
body.blog a:hover,
body.archive a:hover,
body.single a:hover,
body.search a:hover,
body.error404 a:hover {
	background-color: transparent;
	color: inherit;
}

/*
 * Pagination — must beat body.{page|archive|…} a resets AND Bootstrap .pagination.
 * Match main.css (.pagebar / .pagination), not the old green .page a pills.
 */
body .pagebar {
	padding: 20px;
	overflow: hidden;
	clear: both;
	margin: 0;
	text-align: center;
}

body .pagebar .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 10px 0 0;
	padding-left: 0;
	list-style: none;
	text-align: center;
}

body .pagebar .pagination a,
body .pagebar .pagination a:hover,
body .pagebar .pagination a:focus {
	display: inline-block;
	background: #fff;
	border: 1px solid #ccc;
	color: #333;
	font-size: 12px;
	padding: 8px 10px;
	margin: 0 2px;
	border-radius: 3px;
	line-height: 100%;
	text-decoration: none;
	box-shadow: none;
}

body .pagebar .pagination a:hover,
body .pagebar .pagination a:focus {
	color: #333;
	border: 1px solid #333;
	background: #fff;
}

body .pagebar .pagination a.page-num-current,
body .pagebar .pagination a.page-num-current:hover {
	color: #fff;
	background: #188870;
	border: 1px solid #188870;
}

body .pagebar .pagination .st {
	font-family: 宋体, SimSun, serif;
}

/* 行业应用: keep bg visible if fixed-attachment fails; don't let link paint white */
.icbox {
	background-color: #1a2a3a;
	background-attachment: scroll;
}

.icbox .icb a {
	background-color: transparent;
	color: #fff;
}

.icbox .icb a:hover {
	background-color: transparent;
	color: #fff;
}

/* About CTAs: transparent pill, not white fill from .page a */
.sy_about .a_right .item .text .more a {
	background-color: transparent;
	color: #fff;
	padding: 0;
}

.sy_about .a_right .item .text .more a:hover {
	background-color: transparent;
	color: #fff;
}

/* Footer links must stay transparent on dark bg */
.footer a,
.footer a:hover {
	background-color: transparent;
	padding: 0;
	margin: 0;
}

.footer .f_top ul li a {
	color: #ccc;
	font-size: 16px;
}

.footer .f_top ul li a:hover {
	color: #188870;
}

.footer .footer-contact-link .tit a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.footer .footer-contact-link .tit a i {
	font-size: 18px;
	color: #188870;
	padding-right: 0;
}

.footer .footer-contact-link .tit a:hover {
	color: #188870;
}

.footer .f_bottom a,
.footer .f_bottom span a {
	color: #ccc;
}

/* Footer menus: keep product/contact columns visible (was hidden at <=850px). */
.footer .f_top .f2.footer-menus {
	display: block !important;
}

.footer .f_top .f2.footer-menus .tit {
	color: #fff;
	font-size: 20px;
	padding-bottom: 16px;
}

.footer .f_top .f2.footer-menus ul li a {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	color: #ccc !important;
	line-height: 32px;
	font-size: 16px;
	background: transparent !important;
	padding: 0 !important;
	min-height: 32px;
}

.footer .f_top .f2.footer-menus ul li a i {
	color: #188870;
	padding-right: 0 !important;
}

/* Footer left: logo only */
.footer .footer-brand-logo {
	text-align: center;
}

.footer .footer-brand-logo img {
	width: 140px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	background: #fff;
	border-radius: 4px;
	padding: 8px;
	box-sizing: border-box;
}

.footer .footer-brand-logo p {
	color: #ccc;
	margin: 6px 0 0;
	font-size: 13px;
}

/* Contact column: WeChat / WhatsApp QR under 联系我们 */
.footer .footer-contact-qrs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin: 0 0 12px;
}

.footer .footer-contact-qr {
	text-align: center;
	max-width: 100px;
}

.footer .footer-contact-qr img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: contain;
	background: #fff;
	border-radius: 4px;
	padding: 4px;
	box-sizing: border-box;
}

.footer .footer-contact-qr p {
	color: #ccc;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.3;
}

.footer .footer-form .tit {
	font-size: 20px;
	padding-bottom: 16px;
	color: #fff;
}

.footer .k783-msg-form__fields .k783-msg-row {
	margin-bottom: 10px;
}

.footer .k783-msg-form__fields .k783-msg-row--2 {
	display: flex;
	gap: 8px;
}

.footer .k783-msg-form__fields .k783-msg-row--2 > * {
	flex: 1;
	min-width: 0;
}

.footer .k783-msg-form__fields input,
.footer .k783-msg-form__fields textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #5b6063;
	background: #2a2c30;
	color: #eee;
	padding: 10px 12px;
	font-size: 14px;
	border-radius: 3px;
	outline: none;
}

.footer .k783-msg-form__fields input::placeholder,
.footer .k783-msg-form__fields textarea::placeholder {
	color: #999;
}

.footer .k783-msg-form__fields input:focus,
.footer .k783-msg-form__fields textarea:focus {
	border-color: #188870;
}

.footer .k783-msg-form__fields textarea {
	resize: vertical;
	min-height: 88px;
}

.footer .k783-msg-submit {
	display: inline-block;
	border: 0;
	background: #188870;
	color: #fff;
	padding: 10px 22px;
	font-size: 14px;
	border-radius: 3px;
	cursor: pointer;
}

.footer .k783-msg-submit:hover {
	background: #136b58;
}

.footer .k783-msg-flash {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 3px;
	font-size: 14px;
	line-height: 1.5;
}

.footer .k783-msg-flash.is-ok {
	background: rgba(24, 136, 112, 0.25);
	color: #9fe0d0;
}

.footer .k783-msg-flash.is-err {
	background: rgba(180, 60, 60, 0.25);
	color: #f0b0b0;
}

/* Contact page form (light) */
.k783-contact-form-wrap {
	margin-top: 40px;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.k783-msg-form--light .tit {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 18px;
	text-align: center;
	color: #333;
}

.k783-msg-form--light .k783-msg-row {
	margin-bottom: 12px;
}

.k783-msg-form--light .k783-msg-row--2 {
	display: flex;
	gap: 12px;
}

.k783-msg-form--light .k783-msg-row--2 > * {
	flex: 1;
	min-width: 0;
}

.k783-msg-form--light input,
.k783-msg-form--light textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	padding: 12px 14px;
	font-size: 15px;
	border-radius: 4px;
	outline: none;
}

.k783-msg-form--light input:focus,
.k783-msg-form--light textarea:focus {
	border-color: #188870;
}

.k783-msg-form--light textarea {
	resize: vertical;
	min-height: 120px;
}

.k783-msg-form--light .k783-msg-submit {
	display: inline-block;
	border: 0;
	background: #188870;
	color: #fff;
	padding: 12px 28px;
	font-size: 15px;
	border-radius: 4px;
	cursor: pointer;
}

.k783-msg-form--light .k783-msg-submit:hover {
	background: #136b58;
}

.k783-msg-form--light .k783-msg-flash {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 4px;
	font-size: 14px;
}

.k783-msg-form--light .k783-msg-flash.is-ok {
	background: #eef7f4;
	color: #136b58;
}

.k783-msg-form--light .k783-msg-flash.is-err {
	background: #fdf0f0;
	color: #a33;
}

.k783-msg-form--light .k783-msg-row:last-child {
	text-align: center;
}

@media screen and (max-width: 991px) {
	.footer .footer-form {
		margin-top: 20px;
	}
}

@media screen and (max-width: 768px) {
	.footer .footer-brand-logo-col {
		margin-bottom: 16px;
		text-align: center;
	}

	.footer .footer-contact-qrs {
		justify-content: flex-start;
	}

	.footer .k783-msg-form__fields .k783-msg-row--2,
	.k783-msg-form--light .k783-msg-row--2 {
		flex-direction: column;
		gap: 10px;
	}

	.footer .footer-form {
		margin-top: 10px;
	}
}

/* Honor gallery: keep block links clickable for baguetteBox lightbox */
.zhengshu .z_list .l figure a,
.baguetteBoxOne.gallery a,
.baguetteBoxOne.gallery a:hover {
	display: block;
	background-color: transparent;
	padding: 0;
	margin: 0;
	color: inherit;
}

/* About: left copy + one image on the right */
.sy_about {
	background: #fff !important;
	padding: 90px 0 80px !important;
}

.sy_about .about-layout {
	display: flex;
	align-items: flex-start;
	gap: 36px;
}

.sy_about .about-layout__copy {
	flex: 1 1 48%;
	min-width: 0;
}

.sy_about .about-layout__visual {
	flex: 1 1 48%;
	min-width: 0;
}

.sy_about .about-stats {
	display: flex;
	gap: 16px;
	margin-top: 36px;
}

.sy_about .about-stat {
	flex: 1 1 0;
	min-width: 0;
}

.sy_about .about-stat .num-box {
	float: none !important;
}

body.home a.about-one-pic,
.sy_about .about-one-pic {
	display: block !important;
	position: relative;
	width: 100%;
	height: 520px;
	min-height: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #eee;
	padding: 0 !important;
	margin: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.sy_about .about-one-pic img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	object-position: center;
}

.sy_about .about-one-pic__mask {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	padding: 22px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
	box-sizing: border-box;
}

.sy_about .about-one-pic__tag {
	display: inline-block;
	background: #188870;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: 4px;
}

.sy_about .about-one-pic__sub {
	display: block;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	margin-top: 12px;
	max-width: 90%;
}

.sy_about .about-one-pic__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 18px;
	color: #fff;
	font-size: 13px;
}

.sy_about .about-one-pic__more i {
	padding: 0 !important;
	color: #fff !important;
}

@media screen and (max-width: 991px) {
	.sy_about .about-layout {
		flex-direction: column;
		gap: 24px;
	}

	.sy_about .about-one-pic {
		height: 320px;
	}
}

/* Mid banner: landscape image / GIF / MP4 between products and about */
.sy_mid_banner {
	background: #fff;
	padding: 10px 0 50px;
}

body.home a.sy_mid_banner__link,
.sy_mid_banner__link {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	text-decoration: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.sy_mid_banner__media {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 8px;
	vertical-align: top;
	background: #f3f3f3;
}

.sy_mid_banner__media.pc {
	display: block;
}

.sy_mid_banner__media.phone {
	display: none;
}

@media screen and (max-width: 768px) {
	.sy_mid_banner {
		padding: 6px 0 28px;
	}

	.sy_mid_banner__media {
		border-radius: 6px;
	}

	.sy_mid_banner__media.pc {
		display: none;
	}

	.sy_mid_banner__media.phone {
		display: block;
	}
}

/* Home product center: white bg, 3 cards, bottom More (lang-aware) */
.sy_product {
	background: #fff !important;
}

.sy_product .tabs {
	display: none !important;
}

.sy_product .home-product-grid {
	width: 100%;
	background: #fff;
	padding: 30px 20px;
	box-sizing: border-box;
}

.sy_product .title.home-product-title {
	text-align: center;
	border-left: none !important;
	padding-left: 0 !important;
	margin-bottom: 36px;
}

.sy_product .title.home-product-title .t1 {
	font-size: 2.4em;
	font-weight: 700;
	color: #111;
	margin-bottom: 0;
}

.sy_product .home-product-more {
	text-align: center;
	margin-top: 36px;
}

.sy_product .home-product-more a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 168px;
	height: 56px;
	padding: 0 36px !important;
	border: 1px solid #ddd;
	border-radius: 28px;
	background: #fff !important;
	color: #222 !important;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: none !important;
}

.sy_product .home-product-more a i {
	color: #188870;
	font-size: 22px;
	padding: 0 !important;
}

.sy_product .home-product-more a:hover {
	border-color: #188870;
	color: #188870 !important;
	background: #fff !important;
}

.sy_product .home-product-grid .l1 {
	border: 1px solid #f2f2f2;
	margin-bottom: 20px;
	height: 100%;
	background: #fff;
}

.sy_product .home-product-grid .l1 a,
.sy_product .home-product-grid .l1 a:focus,
.sy_product .home-product-grid .l1 a:focus-visible {
	display: block !important;
	outline: none;
	box-shadow: none;
	color: inherit;
	background: transparent;
	padding: 0;
	min-height: 0;
}

.sy_product .home-product-grid .l1 .pic {
	overflow: hidden;
	background: #fff;
}

.sy_product .home-product-grid .l1 .pic img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	transition: all .8s ease 0s;
}

.sy_product .home-product-grid .l1 .box {
	padding: 24px 18px;
	background: #f2f2f2;
}

.sy_product .home-product-grid .l1 .box .t {
	font-size: 20px;
	color: #222;
	margin-bottom: 10px;
}

.sy_product .home-product-grid .l1 .box .txt {
	color: #888;
	font-size: 15px;
	line-height: 26px;
	min-height: 52px;
}

.sy_product .home-product-grid .l1 .box .more {
	margin-top: 20px;
	color: #333;
	font-size: 15px;
}

.sy_product .home-product-grid .l1 .box .more i {
	padding-left: 8px;
	color: #188870;
}

.sy_product .home-product-grid .l1 a:hover .pic img {
	transform: scale(1.08);
}

.sy_product .home-product-grid .l1 a:hover .box .t {
	color: #188870;
}

@media screen and (max-width: 768px) {
	.sy_product .home-product-grid {
		padding: 15px 10px;
	}

	.sy_product .home-product-grid .l1 .box .txt {
		display: none;
	}

	.sy_product .home-product-grid .l1 .box {
		padding: 16px 12px;
	}

	.sy_product .home-product-grid .l1 .box .t {
		font-size: 16px;
	}
}

/* Kill WP image intrinsic-size / auto sizes side effects */
img:is([sizes='auto' i], [sizes^='auto,' i]) {
	contain-intrinsic-size: none;
}

/* Logo: kill whitespace line-boxes that inflate header height */
header .logo,
header .logo > a,
header .logo .l_left,
header .logo .clearboth {
	line-height: 0 !important;
	font-size: 0 !important;
}

header .logo > a {
	display: block;
}

header .logo .l_left img,
header .logo img {
	display: block !important;
	height: 64px !important;
	width: auto !important;
	max-width: 330px !important;
	vertical-align: top !important;
	aspect-ratio: auto !important;
}

header .logo .l_left {
	width: 330px;
	margin-top: 10px;
	margin-bottom: 10px;
}

header .logo .clearboth {
	height: 0 !important;
	overflow: hidden;
}

/* Match original header height + banner offset (desktop) */
header {
	height: 84px !important;
	overflow: visible;
}

header .container {
	height: 84px;
}

.banner,
.ny_banner {
	margin-top: 84px !important;
}

/* WP admin bar sits above fixed header — avoid overlap + white gap */
.admin-bar header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar header {
		top: 46px;
	}
}

/* Full-bleed banner slides (no swiper gap) */
.banner .swiper-slide {
	margin-right: 0 !important;
	width: 100% !important;
}

.banner .swiper-slide img.pc {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
}

/* Banner: no overlay copy — only a centered CTA near bottom (blue-block position). */
.banner .swiper-slide .text1 {
	display: none !important;
}

.banner .swiper-slide .banner-cta {
	position: absolute;
	left: 50%;
	top: auto;
	bottom: 8%;
	transform: translateX(-50%);
	z-index: 3;
	width: auto;
	text-align: center;
	pointer-events: none;
}

body.home a.banner-cta .more,
.banner .swiper-slide .banner-cta .more {
	pointer-events: auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 160px;
	height: 48px;
	padding: 0 28px !important;
	margin: 0 !important;
	float: none !important;
	border-radius: 24px;
	background-image: linear-gradient(to right, #188870, #2aad92) !important;
	background-color: #188870 !important;
	color: #fff !important;
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.banner .swiper-slide .banner-cta .more i {
	padding: 0 !important;
	color: #fff !important;
	font-size: 16px;
}

.banner .swiper-slide .banner-cta .more:hover {
	background: #fff !important;
	background-image: none !important;
	color: #188870 !important;
}

.banner .swiper-slide .banner-cta .more:hover i {
	color: #188870 !important;
}

.banner .swiper-container-horizontal > .swiper-pagination-bullets {
	left: 50% !important;
	transform: translateX(-50%);
	width: auto !important;
	bottom: 18px !important;
}

@media screen and (max-width: 768px) {
	.banner .swiper-slide .banner-cta {
		bottom: 10%;
	}

	body.home a.banner-cta .more,
	.banner .swiper-slide .banner-cta .more {
		min-width: 120px;
		height: 38px;
		padding: 0 18px !important;
		font-size: 13px;
	}
}

/* WP may add p margins inside theme blocks */
.sy_about .a_con p,
.sy_product .box .txt,
.adminbuy_cn > p:last-child {
	margin-bottom: 0;
}

/* Reset WP figure/img defaults that break product cards */
.sy_product .l1 .pic img,
.sy_news img,
.icbox img,
.footer img {
	height: auto;
	max-width: 100%;
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

/* Bootstrap .nav must not break theme header nav floats (desktop only) */
header #menu.nav,
header .nav {
	display: block;
	float: right;
	padding-left: 0;
	margin-bottom: 0;
}

header .nav > ul {
	display: block;
	list-style: none;
	margin-bottom: 0;
}

/*
 * Mobile header / hamburger menu.
 * Previous display:block !important on .nav overrode main.css @media hide rule.
 */
@media screen and (max-width: 768px) {
	header {
		height: auto !important;
		min-height: 60px;
	}

	header .container {
		height: auto;
		min-height: 60px;
		width: 100%;
		padding: 0 15px;
		position: relative;
	}

	header .logo .l_left {
		width: auto !important;
		max-width: 60%;
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}

	header .logo .l_left img,
	header .logo img {
		height: 40px !important;
		max-width: 100% !important;
	}

	header #menu.nav,
	header .nav {
		display: none !important;
	}

	header .yy,
	header .sp_nav {
		display: block !important;
	}

	.banner,
	.ny_banner {
		margin-top: 60px !important;
	}

	.admin-bar .banner,
	.admin-bar .ny_banner {
		margin-top: 106px !important;
	}

	/* Slide-down panel: use transform so it is not clipped by header height */
	header .sjj_nav {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		top: 60px !important;
		height: calc(100vh - 60px) !important;
		z-index: 10000 !important;
		transform: translateY(-120%);
		transition: transform ease 0.35s;
		-webkit-overflow-scrolling: touch;
	}

	header .sjj_nav.nav_show {
		transform: translateY(0) !important;
		background: #555 !important;
	}

	/* Arrow only — do not cover the whole row (blocks parent link) */
	header .sjj_nav ul li > i.sp_nav_xjb {
		width: 48px !important;
		padding: 0 !important;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.admin-bar header .sjj_nav {
		top: 106px !important;
		height: calc(100vh - 106px) !important;
	}

	.admin-bar header {
		top: 46px;
	}

	body.k783-nav-open {
		overflow: hidden;
	}
}

/* Prevent WP block library from styling lists */
header ul,
.footer ul,
.sy_product ul,
.sy_news ul,
.icbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Hide leftover mobile SVG size blowups if any */
.sp_nav_xjb svg {
	width: 1em;
	height: 1em;
}

/*
 * News list (#fh5co-board): CSS grid — float layout wraps unevenly when
 * card heights differ (long titles). Grid keeps 4 neat columns.
 */
#fh5co-board {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 0;
	width: 100%;
	overflow: visible;
	align-items: stretch;
}

/* Hide salvattore config text leaked as "4 .column.size-1of4". */
#fh5co-board[data-columns]::before {
	content: none !important;
	display: none !important;
}

#fh5co-board .column,
#fh5co-board .column.size-1of4,
#fh5co-board .column.size-1of3,
#fh5co-board .column.size-1of2 {
	float: none !important;
	width: 100% !important;
	max-width: none;
	box-sizing: border-box;
}

#fh5co-board .item {
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
	overflow: hidden;
	isolation: isolate;
}

#fh5co-board .item:after {
	bottom: 0 !important;
	z-index: 2;
}

#fh5co-board .item .fh5co-desc {
	flex: 1;
	display: flex;
	flex-direction: column;
}

#fh5co-board .item .fh5co-desc .time {
	margin-top: auto;
}

/* Never hide news cards waiting for missing wow/salvattore */
.ny_news .animate-box,
#fh5co-board .animate-box {
	opacity: 1 !important;
}

/* Title links inside cards must wrap to 2 lines max for even rows */
#fh5co-board .item .fh5co-desc .tit a {
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

#fh5co-board .item .fh5co-board-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

@media screen and (max-width: 850px) {
	#fh5co-board {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 700px) {
	#fh5co-board {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 450px) {
	#fh5co-board {
		grid-template-columns: 1fr;
	}
}

/* Inner pages: content area breathing room */
.ny_wap .adminbuy_cn {
	overflow: hidden;
}

.ny_wap .adminbuy_cn img {
	max-width: 100%;
	height: auto;
}

.news_show .news_left .nr,
.page-template-default .adminbuy_cn {
	line-height: 1.8;
}

/* Product list empty-state */
.ny_product .p_list .empty {
	padding: 40px 0;
	color: #888;
	list-style: none;
}

/* Application cards: ensure images fill */
.zhengshu .z_list .l figure a img {
	width: 100%;
	height: auto;
	display: block;
}

/* Product detail CTA under short description */
.ny_product .p_show .p_top .p_top_right .p_actions {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ny_product .p_show .p_top .p_top_right .p_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	font-size: 15px;
	line-height: 1.4;
	border-radius: 2px;
	text-decoration: none !important;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ny_product .p_show .p_top .p_top_right .p_btn i {
	font-size: 18px;
}

.ny_product .p_show .p_top .p_top_right .p_btn_primary {
	background: linear-gradient(153deg, #188870 0%, #136b58 100%);
	color: #fff !important;
	border: none;
}

.ny_product .p_show .p_top .p_top_right .p_btn_primary:hover {
	opacity: 0.92;
	color: #fff !important;
}

.ny_product .p_show .p_top .p_top_right .p_btn_outline {
	background: #fff;
	color: #188870 !important;
	border: 1px solid #188870;
}

.ny_product .p_show .p_top .p_top_right .p_btn_outline:hover {
	background: #188870;
	color: #fff !important;
}

/* Language switcher dropdown (desktop + mobile) */
.k783-lang-globe {
	margin-right: 6px;
	font-size: 22px;
	vertical-align: middle;
	color: #188870;
}

#menu ul li.k783-lang,
#menu2 ul li.k783-lang-m {
	position: relative;
}

#menu ul li.k783-lang > ul.k783-lang-menu,
#menu2 ul li.k783-lang-m > ul.k783-lang-menu {
	display: none;
	position: absolute;
	top: 84px;
	left: auto;
	right: 0;
	z-index: 99999;
	width: 160px;
	min-width: 140px;
	padding: 8px 0;
	padding-left: 0 !important;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	border-top: 1px solid #ddd;
}

#menu ul li.k783-lang > ul.k783-lang-menu li,
#menu2 ul li.k783-lang-m > ul.k783-lang-menu li {
	float: none;
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
}

#menu ul li.k783-lang > ul.k783-lang-menu li a,
#menu2 ul li.k783-lang-m > ul.k783-lang-menu li a {
	display: block;
	padding: 8px 20px;
	line-height: 28px;
	font-size: 15px;
	text-align: left;
	border-bottom: none !important;
	color: #333;
	font-weight: normal;
}

#menu ul li.k783-lang > ul.k783-lang-menu li a.on,
#menu ul li.k783-lang > ul.k783-lang-menu li a:hover,
#menu2 ul li.k783-lang-m > ul.k783-lang-menu li a.on,
#menu2 ul li.k783-lang-m > ul.k783-lang-menu li a:hover {
	color: #188870;
	background: #f6f7f7;
	border-bottom: none !important;
}

@media screen and (max-width: 768px) {
	/* Compact language toggle beside hamburger — not a full language list */
	header #menu2.yy {
		display: block !important;
		float: right;
		margin-right: 8px;
		max-width: 46%;
	}

	header #menu2.yy > ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	header #menu2.yy > ul > li.k783-lang-m {
		list-style: none;
	}

	header #menu2.yy > ul > li.k783-lang-m > a.k783-lang-toggle {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		line-height: 60px;
		padding: 0 6px;
		font-size: 14px;
		font-weight: 600;
		color: #222;
		white-space: nowrap;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	header #menu2.yy .k783-lang-globe {
		font-size: 20px;
		margin-right: 2px;
	}

	header #menu2.yy .k783-lang-label {
		max-width: 5.5em;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	header #menu2.yy .ion-ios-arrow-down {
		font-size: 12px;
		margin-left: 2px;
		padding-left: 0 !important;
	}

	header #menu2 ul li.k783-lang-m > ul.k783-lang-menu {
		top: 58px;
		right: 0;
		left: auto;
		width: 150px;
		max-height: 70vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	header .sp_nav {
		margin-left: 4px;
	}
}

/* Homepage — Discover more (customer cases) */
/* Discover: dual-row auto marquee, small tiles, white edge fades, no arrows */
.sy_discover {
	padding: 56px 0 64px;
	background: #fff;
	overflow: hidden;
}

.sy_discover_hd {
	text-align: center;
	margin-bottom: 28px;
	padding: 0 16px;
}

.sy_discover_hd .t1 {
	font-size: 2.2em;
	font-weight: 700;
	color: #111;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.sy_discover_marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 4px 0;
}

.sy_discover_fade {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 72px;
	z-index: 2;
	pointer-events: none;
}

.sy_discover_fade--l {
	left: 0;
	background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.sy_discover_fade--r {
	right: 0;
	background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.sy_discover_row {
	display: block;
	overflow: hidden;
	margin: 0 0 14px;
	width: 100%;
}

.sy_discover_row:last-child {
	margin-bottom: 0;
}

.sy_discover_track {
	display: flex;
	width: max-content;
	min-width: 100%;
	gap: 14px;
	will-change: transform;
	margin: 0;
	transform: translateX(0);
}

/* Both rows start full (translateX 0); second row reverses direction. */
.sy_discover_row--ltr .sy_discover_track {
	animation: k783DiscoverScroll 40s linear infinite;
}

.sy_discover_row--rtl .sy_discover_track {
	animation: k783DiscoverScroll 44s linear infinite reverse;
}

.sy_discover_marquee:hover .sy_discover_track {
	animation-play-state: paused;
}

body.home a.sy_discover_tile,
body.page a.sy_discover_tile,
.sy_discover_tile {
	display: block !important;
	flex: 0 0 auto;
	width: 222px;
	height: 138px;
	border-radius: 6px;
	overflow: hidden;
	background: #eee;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.sy_discover_tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.sy_discover_tile:hover img {
	transform: scale(1.06);
}

@keyframes k783DiscoverScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media screen and (max-width: 768px) {
	.sy_discover {
		padding: 40px 0 48px;
	}

	.sy_discover_hd {
		margin-bottom: 20px;
	}

	.sy_discover_hd .t1 {
		font-size: 1.6em;
	}

	.sy_discover_fade {
		width: 36px;
	}

	body.home a.sy_discover_tile,
	body.page a.sy_discover_tile,
	.sy_discover_tile {
		width: 168px;
		height: 105px;
	}

	.sy_discover_track {
		gap: 10px;
	}

	.sy_discover_row--ltr .sy_discover_track {
		animation-duration: 32s;
	}

	.sy_discover_row--rtl .sy_discover_track {
		animation-duration: 36s;
	}
}

