/* Spanish pages only — do not affect ZH */
/* 全站西语（含导航）统一 Arial，盖过 Assistant / Abel / 雅黑等 */
html[lang="es"],
html[lang="es"] body,
html[lang="es"] body *:not(.iconfont):not([class*="iconfont"]),
body.page-es,
body.page-es *:not(.iconfont):not([class*="iconfont"]) {
	font-family: Arial, Helvetica, sans-serif !important;
}
html[lang="es"] .iconfont,
html[lang="es"] [class*="iconfont"],
html[lang="es"] .iconfont *,
body.page-es .iconfont,
body.page-es [class*="iconfont"],
body.page-es .iconfont * {
	font-family: "iconfont" !important;
}

/* Clear letter-spacing on ES titles (home + inner) */
html[lang="es"] .title h2,
html[lang="es"] .tit3 h4,
html[lang="es"] .history-hd h2,
html[lang="es"] .con_03 h1,
html[lang="es"] .con_03 h2,
html[lang="es"] .n_bt .tpleft,
html[lang="es"] .volant_sec_title h2,
html[lang="es"] .volant_text_1,
html[lang="es"] .volant_title_1,
html[lang="es"] .volant_polaris_banner .volant_title_1,
html[lang="es"] .volant_pro_cat_hd,
html[lang="es"] #bottom .lm_t h1,
body.page-es .title h2,
body.page-es .tit3 h4,
body.page-es .history-hd h2,
body.page-es .con_03 h1,
body.page-es .con_03 h2,
body.page-es .n_bt .tpleft,
body.page-es .volant_sec_title h2,
body.page-es .volant_text_1,
body.page-es .volant_title_1,
body.page-es .volant_polaris_banner .volant_title_1,
body.page-es .volant_pro_cat_hd,
body.page-es #bottom .lm_t h1 {
	letter-spacing: 0 !important;
}

/* Product category / product title capitalize */
html[lang="es"] .ny_pro_bt a,
html[lang="es"] .volant_pro_col_name,
html[lang="es"] .volant_pro_cat_hd,
html[lang="es"] .dropdown_menu2 a,
html[lang="es"] #bottom .bot_02 ul a,
html[lang="es"] .volant_ul a,
html[lang="es"] .volant_product_detail_info-hd,
html[lang="es"] .volant_sec_title h2,
body.page-es .ny_pro_bt a,
body.page-es .volant_pro_col_name,
body.page-es .volant_pro_cat_hd,
body.page-es .dropdown_menu2 a,
body.page-es #bottom .bot_02 ul a,
body.page-es .volant_ul a,
body.page-es .volant_product_detail_info-hd,
body.page-es .volant_sec_title h2 {
	text-transform: capitalize;
}

/* ES 下拉：自适应宽度、单行；PC 相对上方栏目水平居中 */
html[lang="es"] .header .navbar_nav li.dropdown .dropdown_menu,
html[lang="es"] .header .navbar_nav li.dropdown .dropdown_menu2,
body.page-es .header .navbar_nav li.dropdown .dropdown_menu,
body.page-es .header .navbar_nav li.dropdown .dropdown_menu2 {
	width: auto;
	min-width: 100%;
	max-width: none;
	white-space: nowrap;
}
html[lang="es"] .header .navbar_nav li.dropdown .dropdown_menu a,
html[lang="es"] .header .navbar_nav li.dropdown .dropdown_menu2 a,
body.page-es .header .navbar_nav li.dropdown .dropdown_menu a,
body.page-es .header .navbar_nav li.dropdown .dropdown_menu2 a {
	white-space: nowrap;
	padding-left: 16px;
	padding-right: 16px;
}
@media screen and (min-width: 1024px) {
	html[lang="es"] .header .navbar_nav li.dropdown .dropdown_menu,
	html[lang="es"] .header .navbar_nav li.dropdown .dropdown_menu2,
	body.page-es .header .navbar_nav li.dropdown .dropdown_menu,
	body.page-es .header .navbar_nav li.dropdown .dropdown_menu2 {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
	/* 语言在最右侧，居中易出屏 → 右对齐 */
	html[lang="es"] .header .navbar_nav li.nav-lang .dropdown_menu,
	body.page-es .header .navbar_nav li.nav-lang .dropdown_menu {
		left: auto;
		right: 0;
		transform: none;
	}
}

/* Footer：西语版文案更长，左栏加宽、允许换行，栏目略收 */
html[lang="es"] .hlwrap #bottom .bot_contact,
body.page-es .hlwrap #bottom .bot_contact {
	width: 40%;
	max-width: none;
	margin-right: 2%;
	box-sizing: border-box;
}
html[lang="es"] .hlwrap #bottom .bot_02,
body.page-es .hlwrap #bottom .bot_02 {
	width: 12.5%;
	margin-left: 1.5%;
	box-sizing: border-box;
}
html[lang="es"] .hlwrap #bottom .bot_contact .box p,
body.page-es .hlwrap #bottom .bot_contact .box p {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
html[lang="es"] .hlwrap #bottom .bot_contact .bq,
body.page-es .hlwrap #bottom .bot_contact .bq {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	line-height: 1.7;
}
html[lang="es"] .hlwrap #bottom .bot_contact .bq .zzb07tail,
body.page-es .hlwrap #bottom .bot_contact .bq .zzb07tail {
	display: inline;
}

/* 发展历程：西语版文案更长，加大背景区底部留白，避免文字贴底 */
html[lang="es"] .hlwrap .con_history.volant_page_licheng,
body.page-es .hlwrap .con_history.volant_page_licheng {
	padding-bottom: 160px;
}
html[lang="es"] .hlwrap .con_history.volant_page_licheng .history-board,
body.page-es .hlwrap .con_history.volant_page_licheng .history-board {
	margin-bottom: 50px;
}

/* 产品详情联系人：CMS 标签「Correo electrónico」远长于 36/52px → 按内容撑开，避免与邮箱叠字 */
html[lang="es"] .volant_product_detail_catdes .volant_biz_card_meta li > span:first-child,
body.page-es .volant_product_detail_catdes .volant_biz_card_meta li > span:first-child {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 4.5em !important;
	max-width: 45% !important;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	overflow: visible !important;
}
html[lang="es"] .volant_product_detail_catdes .volant_biz_card_meta li > span:last-child,
body.page-es .volant_product_detail_catdes .volant_biz_card_meta li > span:last-child {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}
html[lang="es"] .volant_page_contact .volant_biz_card_meta li span,
body.page-es .volant_page_contact .volant_biz_card_meta li span {
	flex: 0 0 auto;
	width: auto;
	min-width: 4.5em;
	white-space: nowrap;
	word-break: keep-all;
}

/* 手机端西语版页脚：盖过 PC 的 40% 宽，避免挤在左侧；加大行距与内边距 */
@media screen and (max-width: 1023px) {
	html[lang="es"] .hlwrap #bottom,
	body.page-es .hlwrap #bottom {
		padding: 40px 0 32px;
	}
	html[lang="es"] .hlwrap #bottom .wm,
	body.page-es .hlwrap #bottom .wm {
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact,
	body.page-es .hlwrap #bottom .bot_contact {
		float: none;
		width: 100% !important;
		max-width: none;
		margin: 0;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact .tel2,
	body.page-es .hlwrap #bottom .bot_contact .tel2 {
		font-size: 16px;
		line-height: 1.5;
		padding-top: 0;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact .tel,
	body.page-es .hlwrap #bottom .bot_contact .tel {
		font-size: 20px;
		line-height: 1.4;
		margin-top: 10px;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact .box,
	body.page-es .hlwrap #bottom .bot_contact .box {
		margin-top: 16px;
		line-height: 1.8;
		font-size: 14px;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact .box p,
	body.page-es .hlwrap #bottom .bot_contact .box p {
		line-height: 1.85;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact .bq,
	body.page-es .hlwrap #bottom .bot_contact .bq {
		padding-top: 10px;
		line-height: 1.35;
		font-size: 12px;
	}
	/* br 隐藏，由 .bq-line 自己成行，去掉多余空行 */
	html[lang="es"] .hlwrap #bottom .bot_contact .bq > br,
	body.page-es .hlwrap #bottom .bot_contact .bq > br {
		display: none;
	}
	html[lang="es"] .hlwrap #bottom .bot_contact .bq .bq-line,
	body.page-es .hlwrap #bottom .bot_contact .bq .bq-line {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		max-width: 100%;
		margin: 0;
		padding: 0;
		line-height: 1.35;
	}
}
