/* 
 * Spanish Footer Layout CSS
 * 西班牙语版本Footer布局样式
 * 仅用于西班牙语页面
 */

/* ============================================
   西班牙语版本专用样式汇总
   使用选择器，只影响西班牙语页面
   ============================================ */

/* Header电话文本区域位置调整 */
.new_top_phone-hd {
  right: 300px;
}

/* 西班牙语版本专用样式 - 处理长文本 */
.new_top_phone-hd_text-cl {
  font-size: 9px;
  max-width: 220px;
  line-height: 1.3;
  white-space: normal;
  word-wrap: break-word;
}

/* 西班牙语版本专用样式 - Header按钮文本 */
.new_top_info-hd_text {
  font-size: 13px;
}

/* 西班牙语版本专用样式 - Header登录按钮文本 */
.new_top_logu-hd_text {
  font-size: 13px;
}
#g-nav_top-logo-out li{
  flex: 0 0 9%;
}
#g-nav_top-logo-out .new_top_out_text-area-li-sp{
  flex: 0 0 5%;
}
#g-nav_top {
  margin-left: 0px;
  margin-top: -35px;
  /* padding-bottom: 30px; */
}
#g-nav_top-logo-out a {
  color: #3147ab;
  font-size: 0.9em;
  font-weight: normal;
  text-align: center;
  line-height: 1.2em;
  display: flex;
  height: 35px;
  justify-content: center;
  align-items: flex-start;
}
#g-nav_top-logo-out ul{
  gap: 20px;
}
/* 西班牙语版本专用样式 - Footer标题 */
.new_footer_h4 {
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 西班牙语版本专用样式 - Footer链接 */
.new_footer_disc {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  list-style-position: outside;
  display: list-item;
}

.new_footer_disc::marker {
  vertical-align: top;
  line-height: 1;
  padding-top: 0;
  align-self: flex-start;
}

/* 确保列表项内容从顶部开始 */
.new_footer_disc > * {
  vertical-align: top;
}

.new_footer_disc a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
  line-height: 1.4;
}
/* 西班牙语版本专用样式 - Footer区域布局调整 */
.new_footer_link-nation_area {
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 15px;
}

/* 隐藏 ::after 伪元素，避免占用空间 */
.new_footer_link-nation_area::after {
  width: 0 !important;
  flex: 0 0 0 !important;
  display: none !important;
}

.new_footer_rink_box:first-child {
  flex: 0 0 auto;
  min-width: 0;
}

.new_footer_rink_box:not(:first-child) {
  flex: 0 1 auto;
  max-width: 280px;
  min-width: 200px;
}

/* Footer区域布局优化 */
.new_footer_link-nation_box {
  min-width: 0;
  flex: 1 1 280px;
}

.new_footer_link-nation_box h4 {
  word-break: break-word;
}

/* Footer底部导航链接 */
.new_footer_link li {
  white-space: normal;
}

.new_footer_link a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 西班牙语版本 - Footer链接显示为2排（第一排4个，第二排3个，前3个对齐） */
.new_footer_link ul {
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  max-width: 100%;
}

/* 前3个链接项（第1、2、3个）固定宽度，用于对齐 */
.new_footer_link li:nth-child(1),
.new_footer_link li:nth-child(2),
.new_footer_link li:nth-child(3) {
  flex: 0 0 20.5% !important;
  max-width: 20.5% !important;
  margin-right: 10px;
  margin-bottom: 5px;
  white-space: normal;
  box-sizing: border-box;
}

/* 第4个链接项（第一排最后一个）自适应宽度，可以更长 */
.new_footer_link li:nth-child(4) {
  flex: 1 1 auto !important;
  max-width: none !important;
  margin-right: 10px;
  margin-bottom: 5px;
  white-space: normal;
  box-sizing: border-box;
  min-width: 0;
}

/* 第二排前3个链接项（第5、6、7个）与第一排前3个对齐 */
.new_footer_link li:nth-child(5),
.new_footer_link li:nth-child(6),
.new_footer_link li:nth-child(7) {
  flex: 0 0 20.5% !important;
  max-width: 20.5% !important;
  margin-right: 10px;
  margin-bottom: 5px;
  white-space: normal;
  box-sizing: border-box;
}

/* 其他链接项默认样式 */
.new_footer_link li {
  margin-right: 10px;
  margin-bottom: 5px;
  white-space: normal;
  box-sizing: border-box;
}

.new_footer_nav-sp {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}
.new_footer_phone_area{
  width: 400px;
}
footer .new_footer_link a {
  padding: 0 15px;
}
.new_footer_company_area {
  width: 320px;
}
/* 移动端样式 */
@media screen and (max-width:767px) {
  /* 西班牙语版本专用样式 - 移动端Footer标题 */
  .new_footer_h4 {
    font-size: 13px;
    line-height: 1.4;
  }

  /* 西班牙语版本专用样式 - 移动端Footer链接 */
  .new_footer_link-nation_box a {
    font-size: 11px;
    line-height: 1.5;
    word-wrap: break-word;
  }
  .new_footer_phone_area {
    border-radius: 0px;
    width: 100%;
    right: 0px;
    margin-top: 10px;
    text-align: center;
}
}
