/*
    Theme Name: HLHRapidSolution
    Theme URI:
    Description: 自定义主题，适用于WordPress 6.0及以上版本。支持区块编辑器，具有响应式布局和自定义颜色选项。
    Author: liling
    Author URI: // 作者网站（可选）
    Version: 1.0
    License: GNU General Public License v2 or later  // 许可证（推荐GPL）
    License URI: https://www.gnu.org/licenses/gpl-2.0.html  // 许可证链接
    Text Domain: HLHRapidSolution  // 文本域（用于国际化，与主题目录名一致）
    Tags: block-theme, responsive-layout, custom-colors, custom-logo
    Requires at least: 6.0  // 最低WordPress版本要求
    Tested up to: 6.4  // 测试通过的最高WordPress版本
*/

p,
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
}

body {
  margin: 0px !important;
  padding: 0px !important;
  background: #ffffff !important;
  font-family: 'Roboto', sans-serif !important;
  color: #1e293b !important;
}

p {
  font-size: 18px !important;
}

h1,
article h1,
aside h1,
nav h1,
section h1 {
  font-weight: bold;
  font-size: 40px;
}

h2 {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}

h3 {
  font-size: 24px;
}

a {
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  margin: 0;
}

ul {
  padding-left: 0;
  margin: 0;
}

li {
  list-style-type: none;
}

/* 基础 Flex 容器 */
.flex {
  display: flex;
}

/* 方向控制 */
.flex-row {
  flex-direction: row;
  /* 默认横向 */
}

.flex-col {
  flex-direction: column;
  /* 纵向 */
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-col-reverse {
  flex-direction: column-reverse;
}

/* 换行控制（解决内容溢出） */
.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
  /* 默认不换行 */
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

/* 水平对齐（justify-content） */
.justify-start {
  justify-content: flex-start;
  /* 左/上对齐 */
}

.justify-center {
  justify-content: center;
  /* 水平居中 */
}

.justify-end {
  justify-content: flex-end;
  /* 右/下对齐 */
}

.justify-between {
  justify-content: space-between;
  /* 两端对齐（常用：导航左右分布） */
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

/* 垂直对齐（align-items） */
.align-start {
  align-items: flex-start;
}

.align-center {
  align-items: center;
  /* 垂直居中（常用：单行内容居中） */
}

.align-end {
  align-items: flex-end;
}

.align-baseline {
  align-items: baseline;
}

.align-stretch {
  align-items: stretch;
  /* 项目高度撑满容器 */
}

/* 多行垂直对齐（align-content） */
.align-content-start {
  align-content: flex-start;
}

.align-content-center {
  align-content: center;
}

.align-content-between {
  align-content: space-between;
}

/* 间距（gap）- 按尺寸分类 */
.gap-sm {
  gap: var(--flex-gap-sm);
}

.gap-md {
  gap: var(--flex-gap-md);
}

.gap-lg {
  gap: var(--flex-gap-lg);
}

.gap-xl {
  gap: var(--flex-gap-xl);
}

/* 项目自适应 */
.flex-1 {
  flex: 1;
  /* 等分剩余空间（常用：多列平分） */
}

.flex-auto {
  flex: auto;
}

.flex-none {
  flex: none;
  /* 项目不缩放（固定宽度） */
}

/* 项目缩放控制 */
.flex-grow-1 {
  flex-grow: 1;
  /* 允许放大 */
}

.flex-grow-0 {
  flex-grow: 0;
  /* 禁止放大 */
}

.flex-shrink-1 {
  flex-shrink: 1;
  /* 允许缩小 */
}

.flex-shrink-0 {
  flex-shrink: 0;
  /* 禁止缩小（常用：Logo/图标固定尺寸） */
}

.page-content {
  margin-bottom: 0px;
}

/* 导航栏样式 */
.header-inner {
  width: 100%;
  height: 80px;
  background: #0f3460;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  transition: 0.25s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-inner.scroll-active {
  background: #0f3460;
}

.header-inner-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.header-inner-container--left {
  display: flex;
  gap: 50px;
}

.site-branding img {
  width: 210px;
  height: auto;
  object-fit: contain;
}

.header-nav {
}
.main-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.main-menu > li {
  min-width: 110px;
  text-align: center;
}

.main-menu > li > a {
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  position: relative;
  display: block;
}

.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-parent > a,
.main-menu > li.current-page-ancestor > a {
  color: #3b82f6;
}

.main-menu > li > a::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  opacity: 0;
}

/* Mega下拉面板 默认隐藏 */
.mega-dropdown {
  display: none;
  flex-wrap: wrap;
  gap: 8px 30px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  background: #ffffff;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  padding: 30px 30px 25px;
  box-sizing: border-box;
  list-style: none;
  align-content: start;
  grid-template-columns: 1fr 1fr;
}

.main-menu > li:nth-child(2) > .mega-dropdown {
  width: 840px;
  min-height: 455px;
}

.main-menu > li:nth-child(3) > .mega-dropdown {
  width: 980px;
  gap: 8px 10px;
  grid-template-columns: 1fr 1fr 1fr;
}

.main-menu > li:nth-child(4) > .mega-dropdown {
  min-height: 510px;
}

.main-menu > li:nth-child(5) > .mega-dropdown {
  width: 550px;
  gap: 8px 10px;
}

/* hover显示大下拉 */
.main-menu > li:hover > .mega-dropdown {
  display: grid;
}

.mega-panel-heading {
  grid-column: 1 / -1;
  width: 100%;
  list-style: none;
  font-weight: 400;
  font-size: 18px;
  color: #1e293b;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #cccccc;
  text-align: left;
}
/* 父级菜单项：带图标 + 标题 */
.mega-item {
  width: 100%;
  max-width: 350px;
  height: 48px;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.mega-item:hover,
.mega-item.current-menu-item {
  background: #f1f3f4;
  border-radius: 4px;
}

.main-menu > li:nth-child(2) .mega-item,
.main-menu > li:nth-child(4) .mega-item {
  flex-direction: column;
  height: 48px;
}

.main-menu > li:nth-child(2) .mega-item:nth-child(2):hover,
.main-menu > li:nth-child(2) .mega-item.current-menu-item:nth-child(2),
.main-menu > li:nth-child(4) .mega-item:nth-child(2):hover,
.main-menu > li:nth-child(4) .mega-item.current-menu-item:nth-child(2) {
  position: relative;
  background: #ffffff;
}

.main-menu > li:nth-child(2) .mega-item:nth-child(2):hover::before,
.main-menu > li:nth-child(2) .mega-item.current-menu-parent:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: calc(100% - 40px);
  height: 100%;
  background: #f1f3f4;
  border-radius: 4px;
}

/* 第1个直接子级 .mega‑item → 固定放在第一列 */
.main-menu > li:nth-child(2) .mega-item:nth-child(2),
.main-menu > li:nth-child(4) .mega-item:nth-child(2) {
  grid-column: 1 / 2;
  list-style: none;
}

/* 从第2个开始，所有剩下直接子级 .mega‑item 全部放到第二列 */
.main-menu > li:nth-child(2) .mega-item:nth-child(3),
.main-menu > li:nth-child(2) .mega-item:nth-child(4),
.main-menu > li:nth-child(2) .mega-item:nth-child(5),
.main-menu > li:nth-child(2) .mega-item:nth-child(6),
.main-menu > li:nth-child(2) .mega-item:nth-child(7),
.main-menu > li:nth-child(2) .mega-item:nth-child(8),
.main-menu > li:nth-child(2) .mega-item:nth-child(9),
.main-menu > li:nth-child(4) .mega-item:nth-child(3),
.main-menu > li:nth-child(4) .mega-item:nth-child(4) {
  grid-column: 2 / 3;
  list-style: none;
}

.mega-item > a {
  width: 100%;
  display: block;
  gap: 14px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  height: 100%;
  line-height: 40px;
  flex-shrink: 0;
  color: #1e293b;
  text-align: left;
  padding: 5px;
  padding-left: 50px;
  box-sizing: border-box;
  position: relative;
  border-radius: 4px;
}

.mega-item:hover > a,
.mega-item.current-menu-item > a,
.mega-item.current-menu-parent > a {
  color: #3b82f6;
}

.main-menu > li:nth-child(4) .mega-item:nth-child(2) > a {
  display: none;
}

/* 图标占位 */
.mega-item > a::before {
  position: absolute;
  content: '';
  top: 5px;
  left: 5px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

#menu-3d-printing-services > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/3d-printing-services-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-3d-printing-services:hover > a::before,
#menu-3d-printing-services.current-menu-item > a::before,
#menu-3d-printing-services.current-menu-parent > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/3d-printing-services-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-cnc-machining-services > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/cnc-machining-services-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-cnc-machining-services:hover > a::before,
#menu-cnc-machining-services.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/cnc-machining-services-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-sheet-metal-fabrication-service > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/sheet-metal-fabrication-service-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-sheet-metal-fabrication-service:hover > a::before,
#menu-sheet-metal-fabrication-service.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/sheet-metal-fabrication-service-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-vacuum-casting-services > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/vacuum-casting-services-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-vacuum-casting-services:hover > a::before,
#menu-vacuum-casting-services.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/vacuum-casting-services-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-injection-molding-service > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/injection-molding-service-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-injection-molding-service:hover > a::before,
#menu-injection-molding-service.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/injection-molding-service-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-die-casting-services > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/die-casting-services-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-die-casting-services:hover > a::before,
#menu-die-casting-services.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/die-casting-services-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-aluminium-extrusion > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/aluminium-extrusion-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-aluminium-extrusion:hover > a::before,
#menu-aluminium-extrusion.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/aluminium-extrusion-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-aerospace-038-uav > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/aerospace-038-uav-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-aerospace-038-uav:hover > a::before,
#menu-aerospace-038-uav.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/aerospace-038-uav-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-consumer-products > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/consumer-products-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-consumer-products:hover > a::before,
#menu-consumer-products.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/consumer-products-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-robotics-038-automation > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/robotics-038-automation-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-robotics-038-automation:hover > a::before,
#menu-robotics-038-automation.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/robotics-038-automation-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-medical > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/medical-icon.webp') no-repeat
    center center;
  background-size: contain;
  z-index: 1;
}
#menu-medical:hover > a::before,
#menu-medical.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/medical-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-automotive > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/automotive-icon.webp') no-repeat
    center center;
  background-size: contain;
  z-index: 1;
}
#menu-automotive:hover > a::before,
#menu-automotive.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/automotive-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-industrial-equipment > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/industrial-equipment-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-industrial-equipment:hover > a::before,
#menu-industrial-equipment.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/industrial-equipment-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-surface-finishing > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/surface-finishing-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-surface-finishing:hover > a::before,
#menu-surface-finishing.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/surface-finishing-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-technical-blog > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/technical-blog-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-technical-blog:hover > a::before,
#menu-technical-blog.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/technical-blog-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-company-overview > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/company-overview-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-company-overview:hover > a::before,
#menu-company-overview.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/company-overview-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-factory-tour > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/factory-tour-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-factory-tour:hover > a::before,
#menu-factory-tour.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/factory-tour-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-contact-us > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/contact-us-icon.webp') no-repeat
    center center;
  background-size: contain;
  z-index: 1;
}
#menu-contact-us:hover > a::before,
#menu-contact-us.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/contact-us-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

#menu-video-gallery > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/video-gallery-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}
#menu-video-gallery:hover > a::before,
#menu-video-gallery.current-menu-item > a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/video-gallery-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

.sub-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-menu > li:nth-child(2) > .mega-dropdown .sub-menu {
  margin-top: -6px;
}

.mega-child-item {
  width: 100%;
  height: 48px;
  list-style: none;
  font-weight: 400;
  font-size: 14px;
  color: #1e293b;
  text-align: left;
  padding-left: 50px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}

.mega-child-item:hover::before,
.mega-child-item.current-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: calc(100% - 40px);
  height: 100%;
  background: #f1f3f4;
  border-radius: 4px;
}

.mega-child-item a {
  width: 100%;
  line-height: 48px;
  text-decoration: none;
  color: #1e293b;
  font-size: 16px;
  position: relative;
  display: block;
  padding-left: 10px;
  margin-left: -10px;
  border-radius: 4px;
}

.mega-child-item:hover a,
.mega-child-item.current-menu-item a {
  color: #3b82f6;
}

.main-menu
  > li:nth-child(4)
  .mega-item:nth-child(2)
  > .sub-menu
  .mega-child-item:nth-child(1)
  a::before {
  position: absolute;
  content: '';
  top: 4px;
  left: -45px;
  width: 40px;
  height: 40px;
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/materials-guide-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

.main-menu
  > li:nth-child(4)
  .mega-item:nth-child(2):hover
  > .sub-menu
  .mega-child-item:nth-child(1)
  a::before,
.main-menu
  > li:nth-child(4)
  .mega-item.current-menu-item:nth-child(2)
  > .sub-menu
  .mega-child-item:nth-child(1)
  a::before,
.main-menu
  > li:nth-child(4)
  .mega-item.current-menu-parent:nth-child(2)
  > .sub-menu
  .mega-child-item:nth-child(1)
  a::before {
  background: url('http://test.qsybp.com/wp-content/uploads/2026/09/materials-guide-hover-icon.webp')
    no-repeat center center;
  background-size: contain;
  z-index: 1;
}

.site-info {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.site-header #fold-btn,
.site-header #close-btn {
  width: 35px;
  font-size: 21px;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  display: none;
}

.main-navigation .request-button {
  width: 90%;
  margin: 20px auto;
  display: none;
}

.main-navigation .pll-lang-switch {
  display: none;
}

/* 外层容器 */
.pll-lang-switch {
  position: relative;
  display: inline-flex;
  margin-right: 20px;
  z-index: 99;
}

/* 顶部触发按钮 匹配原图样式 */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 8px 40px 8px 12px;
  border: 1px solid #eee;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  color: #1e293b;
  position: relative;
}
.lang-trigger img {
  width: 30px !important;
  height: 20px !important;
  object-fit: cover;
}
/* 自定义下拉箭头 */
.lang-trigger .arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #333;
}

/* 下拉面板基础样式 */
.lang-dropdown {
  display: none; /* 默认隐藏 */
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  overflow: hidden;
  min-width: 100%;
}
/* 下拉展开类 */
.lang-dropdown.show {
  display: block;
}

/* 下拉选项通用样式 */
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-weight: 400;
  font-size: 14px;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-item img {
  width: 30px !important;
  height: 20px !important;
  object-fit: cover;
}

/* 选中项样式（完美生效，替代option:checked） */
.lang-item.active {
  background-color: #3b82f6;
  color: #fff;
}
/* hover样式 */
.lang-item:hover:not(.active) {
  background-color: #f0f0f0;
}

/* 底部 */
.footer-inner {
  position: relative;
  width: 100%;
  padding: 70px 0px 30px;
  box-sizing: border-box;
  background: #0f3460;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: #fff;
  display: none;
}

.footer-inner .footer-content {
  width: 90%;
  max-width: 1550px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.footer-inner .footer-content .footer-content-left {
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-inner .footer-content .footer-logo {
  width: 100%;
  max-width: 243px;
  margin-bottom: 20px;
}

.footer-inner .footer-content .footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-inner .footer-content .footer-email-phone {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-inner .footer-content .footer-content-item {
  gap: 10px;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
}

.footer-inner .footer-content .footer-content-item img {
  width: 27px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-inner .footer-content .footer-content-item span {
  word-break: break-word;
}

.footer-inner .footer-content .footer-content-item a {
  color: #ffffff;
}

.footer-follow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: bold;
  font-size: 24px;
  color: #ffffff;
  text-align: center;
  padding-top: 30px;
}
.footer-whatsapp-title {
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
}

.footer-copyright {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  justify-content: flex-end;
  align-items: center;
}

.footer-copyright-list {
  display: none;
  align-items: center;
  gap: 10px;
}
.footer-follow-item {
  display: flex;
  align-items: center;
}
.footer-follow-item a {
  display: flex;
  align-items: center;
}
.footer-copyright-item {
  display: none;
  align-items: center;
}
.footer-copyright-item a {
  display: flex;
  align-items: center;
}
.footer-content-right {
  padding-top: 30px;
}
.footer-content-right .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.footer-content-right .menu > ul,
.footer-content-right #footer_nav {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.footer-content-right .menu > ul .page_item,
.footer-content-right .menu > .menu-item {
  width: 230px;
  display: flex;
  flex-direction: column;
}
.footer-content-right .menu > .menu-item:nth-child(3) {
  width: 180px;
}
.footer-content-right .menu > .menu-item:nth-child(4) {
  width: 160px;
}
.footer-content-right .menu > ul .page_item > a,
.footer-content-right .menu > .menu-item > a {
  font-weight: bold;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 25px;
}
.footer-content-right .menu > ul .page_item .children .page_item > a,
.footer-content-right .menu > .menu-item .sub-menu .menu-item > a {
  width: 220px;
  font-weight: 400;
  font-size: 18px;
  color: #999999;
  line-height: 36px;
  margin: 0;
}
.footer-content-right .menu > ul .page_item .children .page_item > a:hover,
.footer-content-right .menu > .menu-item .sub-menu .menu-item > a:hover,
.footer-content-right .menu > .menu-item .sub-menu .current_page_item > a,
.footer-content-right .menu > .menu-item .sub-menu .current-page-ancestor > a {
  color: #3b82f6;
}

.site-main {
  margin-top: 80px;
}

.request-button {
  padding: 12px 26px;
  box-sizing: border-box;
  background: #3b82f6;
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  pointer-events: auto;
  z-index: 1;
  position: relative;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

.request-button:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* 404 */
.content-area {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content-area .page-title {
  margin-bottom: 20px;
}

.content-area .page-content .btn {
  padding: 8px 25px;
  box-sizing: border-box;
  background: #4e4ad9;
  border-radius: 10px;
  font-size: 18px;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}

/* 所有区块的外层容器，统一设置上下间距 */
.wp-block {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  max-width: 1200px !important;
}

/* 段落区块：修改字体、行高、颜色 */
.wp-block-paragraph {
  font-family: 'Roboto';
  font-size: 16px;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 1rem;
}

.wp-block-heading {
  font-weight: 600;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* H1标题 */
.wp-block-heading-h1 {
  font-size: 40px;
  border-bottom: 2px solid #4e4ad9;
  padding-bottom: 0.5rem;
}

/* H2标题 */
.wp-block-heading-h2 {
  font-size: 32px;
}

.header-banner-h2 {
  font-size: 26px;
}

.wp-block-image img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none !important;
  max-width: 100%;
  height: auto;
}

/* 按钮区块：定制按钮样式 */
.wp-block-button__link {
  background-color: #3b82f6;
  color: #ffffff !important;
}

/* 按钮hover效果 */
.wp-block-button__link:hover {
  background: #3b82f6 !important;
}

.wp-block.custom-block-style {
  background-color: #f8f9fa;
  padding: 2rem;
  border-left: 4px solid #3b82f6;
  border-radius: 0 4px 4px 0;
}

@media screen and (max-width: 760px) {
  h1,
  article h1,
  aside h1,
  nav h1,
  section h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 25px !important;
  }

  p {
    font-size: 16px !important;
  }

  .request-button {
    white-space: wrap;
    border-radius: 0px;
    font-weight: 400;
  }

  .site-main {
    margin-top: 55px;
  }

  .header-inner {
    height: 55px;
    padding: 0;
    padding-right: 0px;
  }

  .site-branding img {
    width: 120px;
  }

  .header-inner-container--left {
    width: 100%;
    justify-content: space-between;
  }

  .site-info {
    display: none;
  }

  .site-header #fold-btn {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    background: #f8f8f8;
    width: 100%;
    height: calc(100vh - 55px);
    max-height: calc(100vh - 55px);
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
  }

  .header-nav {
    height: 68%;
    overflow-y: auto;
  }
  .main-menu {
    width: 90%;
    margin: 20px auto;
    flex-direction: column;
    gap: 5px;
  }
  .main-menu > li {
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    padding: 0px 0 10px;
    gap: 0px;
  }
  .main-menu > li > a {
    font-size: 18px;
    color: #1e293b;
  }
  .main-menu .mega-dropdown {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    position: static;
    transform: none;
    padding: 0px 10px;
    background: transparent;
    box-shadow: none;
    gap: 5px !important;
    min-height: auto !important;
  }
  .mega-panel-heading {
    display: none;
  }
  .mega-item {
    max-width: none;
    height: auto !important;
    gap: 0px;
  }
  .mega-item > a {
    padding: 0;
    padding-left: 10px;
    height: auto !important;
    font-size: 16px;
  }
  .mega-item > a::before {
    display: none !important;
  }
  .main-menu
    > li:nth-child(4)
    .mega-item:nth-child(2)
    > .sub-menu
    .mega-child-item:nth-child(1)
    a::before {
    display: none !important;
  }
  .main-menu > li:nth-child(4) .mega-item:nth-child(2) > a {
    display: block;
  }
  .sub-menu {
    gap: 5px;
  }
  .mega-child-item {
    padding-left: 10px;
    height: 40px;
  }
  .mega-child-item a {
    line-height: 40px;
  }
  .mega-child-item:hover::before,
  .mega-child-item.current-menu-item::before {
    left: 0px;
    width: 100%;
  }
  .main-menu > li:nth-child(2) .mega-item:nth-child(2):hover,
  .main-menu > li:nth-child(2) .mega-item.current-menu-item:nth-child(2),
  .main-menu > li:nth-child(4) .mega-item:nth-child(2):hover,
  .main-menu > li:nth-child(4) .mega-item.current-menu-item:nth-child(2) {
    background: transparent;
  }
  .main-menu > li:nth-child(2) .mega-item:nth-child(2):hover::before,
  .main-menu > li:nth-child(2) .mega-item.current-menu-parent:nth-child(2)::before {
    display: none;
  }
  .main-menu > li:nth-child(2) > .mega-dropdown .sub-menu {
    margin-top: 0px;
    padding-top: 8px;
    background: transparent;
  }

  .main-navigation .request-button {
    display: block;
  }

  .main-navigation .pll-lang-switch {
    width: 90%;
    margin: 20px auto 0;
    display: block;
  }

  .footer-inner {
    padding: 0 0 20px;
    overflow: hidden;
  }

  .footer-inner .footer-content {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }

  .footer-line {
    display: block;
  }

  .footer-inner .footer-content .footer-email-phone {
    flex-direction: column;
    gap: 10px;
  }

  .footer-inner .footer-content .footer-content-left {
    width: 500px;
    text-align: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    margin-top: 0px;
    padding: 20px 0px;
  }

  .footer-content-right .menu > .menu-item:nth-child(3) {
    width: 220px;
  }

  .footer-inner .footer-content .footer-content-item,
  .footer-inner .footer-content .footer-content-item a {
    color: #ffffff;
  }

  .footer-content-right .menu > ul .page_item > a,
  .footer-content-right .menu > .menu-item > a {
    font-size: 20px;
  }

  .footer-content-right .menu > ul .page_item .children .page_item > a,
  .footer-content-right .menu > .menu-item .sub-menu .menu-item > a {
    font-size: 16px;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
  }

  .footer-copyright-title {
    text-align: center;
    font-size: 16px;
  }

  .footer-inner .footer-content .footer-content-item {
    align-items: center;
    font-size: 16px;
  }

  .footer-inner .footer-content .footer-address {
    flex-direction: column;
  }

  .footer-inner .footer-content .footer-content-item.footer-address span {
    max-width: 300px;
  }

  .footer-content-right .menu > ul,
  .footer-content-right #footer_nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media screen and (min-width: 760px) and (max-width: 1020px) {
  .site-main {
    margin-top: 55px;
  }

  .header-inner {
    height: 55px;
    padding: 0;
    padding-right: 0px;
  }

  .site-branding img {
    width: 120px;
  }

  .header-inner-container--left {
    width: 100%;
    justify-content: space-between;
  }

  .site-info {
    display: none;
  }

  .site-header #fold-btn {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    background: #f8f8f8;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
  }

  .header-nav {
    height: 68%;
    overflow-y: auto;
  }
  .main-menu {
    width: 90%;
    margin: 20px auto;
    flex-direction: column;
    gap: 5px;
  }
  .main-menu > li {
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    padding: 0px 0 10px;
    gap: 0px;
  }
  .main-menu > li > a {
    font-size: 18px;
    color: #1e293b;
  }
  .main-menu .mega-dropdown {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    position: static;
    transform: none;
    padding: 0px 10px;
    background: transparent;
    box-shadow: none;
    gap: 5px !important;
    min-height: auto !important;
  }
  .mega-panel-heading {
    display: none;
  }
  .mega-item {
    max-width: none;
    height: auto !important;
    gap: 0px;
  }
  .mega-item > a {
    padding: 0;
    padding-left: 10px;
    height: auto !important;
    font-size: 16px;
  }
  .mega-item > a::before {
    display: none !important;
  }
  .main-menu
    > li:nth-child(4)
    .mega-item:nth-child(2)
    > .sub-menu
    .mega-child-item:nth-child(1)
    a::before {
    display: none !important;
  }
  .main-menu > li:nth-child(4) .mega-item:nth-child(2) > a {
    display: block;
  }
  .sub-menu {
    gap: 5px;
  }
  .mega-child-item {
    padding-left: 10px;
    height: 40px;
  }
  .mega-child-item a {
    line-height: 40px;
  }
  .mega-child-item:hover::before,
  .mega-child-item.current-menu-item::before {
    left: 0px;
    width: 100%;
  }
  .main-menu > li:nth-child(2) .mega-item:nth-child(2):hover,
  .main-menu > li:nth-child(2) .mega-item.current-menu-item:nth-child(2),
  .main-menu > li:nth-child(4) .mega-item:nth-child(2):hover,
  .main-menu > li:nth-child(4) .mega-item.current-menu-item:nth-child(2) {
    background: transparent;
  }
  .main-menu > li:nth-child(2) .mega-item:nth-child(2):hover::before,
  .main-menu > li:nth-child(2) .mega-item.current-menu-parent:nth-child(2)::before {
    display: none;
  }
  .main-menu > li:nth-child(2) > .mega-dropdown .sub-menu {
    margin-top: 0px;
    padding-top: 8px;
    background: #f8f8f8;
  }

  .main-navigation .request-button {
    display: block;
  }

  .main-navigation .pll-lang-switch {
    width: 90%;
    margin: 20px auto 0;
    display: block;
  }

  .footer-inner {
    padding: 0 0 20px;
    overflow: hidden;
  }

  .footer-inner .footer-content {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }

  .footer-line {
    display: block;
  }

  .footer-inner .footer-content .footer-content-left {
    width: 500px;
    text-align: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    margin-top: 0px;
    padding: 20px 0px;
  }

  .footer-inner .footer-content .footer-content-item,
  .footer-inner .footer-content .footer-content-item a {
    color: #ffffff;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 10px;
  }

  .footer-inner .footer-content .footer-content-item {
    align-items: center;
  }

  .footer-content-right .menu > ul,
  .footer-content-right #footer_nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media screen and (min-width: 1020px) and (max-width: 1500px) {
  .header-inner-container {
    width: 95%;
  }

  .main-menu {
    gap: 10px;
  }
  .main-menu > li {
    min-width: 90px;
  }
  .main-menu > li > a {
    font-size: 18px;
  }

  .footer-inner {
    padding: 0 0 20px;
    overflow: hidden;
  }

  .footer-inner .footer-content {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }

  .footer-line {
    display: block;
  }

  .footer-inner .footer-content .footer-content-left {
    width: 500px;
    text-align: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    margin-top: 0px;
    padding: 20px 0px;
  }

  .footer-inner .footer-content .footer-content-item,
  .footer-inner .footer-content .footer-content-item a {
    color: #ffffff;
  }

  .footer-inner .footer-content .footer-content-item {
    align-items: center;
  }

  .footer-content-right .menu > ul,
  .footer-content-right #footer_nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .site-branding img {
    width: 120px;
  }

  .site-info .request-button {
    padding: 10px 10px;
    font-size: 16px;
  }

  .site-header #fold-btn,
  .site-header #close-btn {
    display: none !important;
  }
}

@media screen and (min-width: 1500px) {
  .site-header #fold-btn,
  .site-header #close-btn {
    display: none !important;
  }
}
