.elementor-35 .elementor-element.elementor-element-a38a084{--display:flex;}.elementor-35 .elementor-element.elementor-element-a38a084.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-35 .elementor-element.elementor-element-621c526{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}@media(min-width:768px){.elementor-35 .elementor-element.elementor-element-a38a084{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-621c526 *//* ================= 全局容器与字体 ================= */
.forgeline-wrapper {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  width: 100%;
  /* 关键修复：隐藏水平溢出，解决滚动条问题 */
  overflow-x: hidden; 
  background: #fff;
  position: relative;
}

.forgeline-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

.forgeline-wrapper .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* 标题通用样式 */
.forgeline-wrapper h2, 
.forgeline-wrapper h3 {
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.forgeline-wrapper span {
  font-weight: 800;
}

.forgeline-wrapper .highlight-red {
  color: #a91908;
}

.forgeline-wrapper .section-text {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* 按钮样式 */
.forgeline-wrapper .btn-primary {
  display: inline-block;
  background-color: #a91908;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid #a91908;
  transition: all 0.3s;
  text-transform: uppercase;
  margin-top: 20px;
}
.forgeline-wrapper .btn-primary:hover {
  background-color: #fff;
  color: #a91908;
}

/* ================= 模块 1：首图 ================= */
.forgeline-wrapper .hero-image-wrapper {
  width: 100%;
  line-height: 0;
}
.forgeline-wrapper .hero-image-wrapper img {
  width: 100%;
  height: auto;
}

/* ================= 模块 2：Bred From Racing ================= */
.forgeline-wrapper .section-white {
  padding: 80px 0 60px;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

/* ================= 模块 3：Split Section (优化布局) ================= */
.forgeline-wrapper .section-split {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 0;
  position: relative;
  z-index: 10;
  /* 解决 PC 端左侧留白过多：让内容居中 */
  justify-content: center; 
}

.forgeline-wrapper .split-image {
  flex: 0 0 45%; /* PC端：限制图片容器宽度，不让其过大 */
  text-align: right;
  padding: 20px;
  margin-top: -100px;
  margin-bottom: -100px;
}

.forgeline-wrapper .split-image img {
  /* PC端：让图片尽可能填满容器，去除左侧死角 */
  width: 100%; 
  max-width: 600px; 
  margin-left: -20px; /* 靠右对齐，紧贴文字 */
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3)); /* 更强的立体感 */
}

.forgeline-wrapper .split-content {
  flex: 0 0 45%; /* PC端：文字容器也占 45% */
  text-align: left;
  padding: 40px;
  /* 增加文字背景，防止重叠时看不清 */
  background: rgba(255,255,255,0.85); 
  backdrop-filter: blur(5px);
  border-radius: 8px;
}

.forgeline-wrapper .text-left {
  text-align: left;
  margin-left: 0;
}

/* ================= 模块 4：Dark Section ================= */
.forgeline-wrapper .section-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 180px 0 100px;
  z-index: 1;
}

.forgeline-wrapper .section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.6)); /* 渐变遮罩 */
  z-index: -1;
}

.forgeline-wrapper .section-dark .section-title {
  color: #fff;
}
.forgeline-wrapper .section-dark .section-text {
  color: #e0e0e0;
}

/* ================= 模块 5：Grid (网格布局) ================= */
/* ================= Feature Grid 网格系统 ================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 两列布局 */
  width: 100%;
  overflow: hidden;
}

/* 单个网格项 */
.grid-item {
  position: relative;
  height: 450px; /* 固定高度，确保对齐 */
  overflow: hidden; /* 隐藏图片放大后的溢出部分 */
  display: flex;
  align-items: center; /* 垂直居中 */
  border-bottom: 1px solid rgba(255,255,255,0.1); /* 轻微的分割线 */
  border-right: 1px solid rgba(255,255,255,0.1);
}

/* 1. 背景图片层 (独立出来做动画) */
.grid-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 平滑过渡 */
  z-index: 1;
}

/* 2. 遮罩层 (美化：使用渐变而非纯黑) */
.grid-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* 从半透明黑到深黑的渐变，更有层次感 */
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
  transition: background 0.5s ease;
}

/* 3. 内容层 */
.grid-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 60px; /* 增加内边距，呼吸感更强 */
  transition: transform 0.5s ease;
}

/* 交互效果：鼠标悬停时 */
.grid-item:hover .grid-bg {
  transform: scale(1.1); /* 背景图放大 */
}
.grid-item:hover .grid-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%); /* 遮罩加深，突出文字 */
}
.grid-item:hover .grid-content {
  transform: translateY(-5px); /* 文字轻微上浮 */
}

/* --- 文字排版 --- */
.grid-content h3 {
  font-size: 26px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.grid-content h3 span {
  font-weight: 800; /* 粗体关键词 */
  color: #fff;
}

.grid-content p {
  color: #ccc; /* 次级文字颜色 */
  font-size: 15px;
  line-height: 1.8;
  max-width: 500px; /* 限制文字宽度，防止太长难读 */
}

/* --- 左右对齐与红线装饰 --- */

/* 右对齐样式 */
.content-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 靠右对齐 */
  border-right: 4px solid #a91908; /* 红色装饰线 */
  margin-right: 40px; /* 离右边框的距离 */
}

/* 左对齐样式 */
.content-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 靠左对齐 */
  border-left: 4px solid #a91908; /* 红色装饰线 */
  margin-left: 40px; /* 离左边框的距离 */
}

/* ================= 移动端适配 (平板及手机) ================= */
@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: 1fr; /* 改为单列 */
  }

  .grid-item {
    height: auto; /* 高度自适应 */
    padding: 60px 0; /* 上下内边距 */
    border-right: none;
  }

  .grid-content {
    padding: 0 30px; /* 减小手机端内边距 */
  }

  .content-right, 
  .content-left {
    text-align: left; /* 手机上统左对齐，阅读体验更好 */
    align-items: flex-start;
    border: none; /* 手机上去掉侧边红线，改用下方红线或取消 */
    border-left: 4px solid #a91908; /* 统一改为左侧红线 */
    margin: 0 20px; /* 统一边距 */
    padding-left: 20px;
  }
  
  .content-right p, .content-left p {
    max-width: 100%;
  }
  
  /* 手机字体调整 */
  .grid-content h3 { font-size: 22px; }
  .grid-content h3 br { display: none; } /* 手机上不强制换行 */
}

/* ================= 模块 6：CTA ================= */
.forgeline-wrapper .section-cta {
  background-color: #fff;
  padding: 80px 0;
  text-align: center;
}

/* ================= 移动端适配 (Max-width 768px) ================= */
@media (max-width: 768px) {
  .forgeline-wrapper h2.section-title { font-size: 26px; }
  .forgeline-wrapper .section-text { font-size: 14px; }
  .forgeline-wrapper .section-white { padding: 40px 0; }

  /* Split Section 移动端调整 - 装饰性小图模式 */
  .forgeline-wrapper .section-split {
    flex-direction: column;
    padding: 10px 0; /* 减小整体上下间距 */
  }
  
  .forgeline-wrapper .split-image {
    flex: 0 0 auto;
    width: 100%;
    /* 取消桌面端的负边距，改为正常的上下间距 */
    margin: 0; 
    margin-bottom: 10px; /* 图片和文字稍微隔开一点点 */
    padding: 0;
    text-align: center;
  }

  .forgeline-wrapper .split-image img {
    /* 核心修改：大幅减小尺寸，仅作装饰 */
    max-width: 50%; /* 这里控制大小，50% 大约占据屏幕一半，既清晰又不抢戏 */
    width: auto;
    margin: 0 auto;
    /* 减弱移动端的投影，使其看起来更轻量 */
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
  }
  
  .forgeline-wrapper .split-content {
    flex: 0 0 100%;
    text-align: center;
    padding: 10px 20px 30px; /* 调整文字内边距 */
    background: transparent;
    backdrop-filter: none;
  }
  
  .forgeline-wrapper .text-left { text-align: center; }

  /* 其他模块适配 */
  .forgeline-wrapper .section-dark { padding: 60px 0; }
  .forgeline-wrapper .feature-grid { grid-template-columns: 1fr; }
  .forgeline-wrapper .grid-item { padding: 60px 20px; }
  .forgeline-wrapper .grid-content.text-right,
  .forgeline-wrapper .grid-content.text-left {
    text-align: center;
    border: none;
    padding: 0;
  }
}
/* ================= 新增模块：白色遮罩图片层 ================= */
.forgeline-wrapper .section-white-mask {
  position: relative;
  width: 100%;
  height: 500px; /* PC端高度，可根据图片比例调整 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  /* 确保下方元素不会被意外覆盖 */
  margin-bottom: 0; 
}

/* 使用伪元素创建“左白右透”的渐变遮罩 */
.forgeline-wrapper .section-white-mask::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  /* 核心代码：线性渐变 */
  /* 0% - 20% 是纯白，20% - 100% 逐渐变为透明，模拟赛车从白雾冲出的效果 */
  background: linear-gradient(to right, #ffffff 15%, rgba(255,255,255,0) 80%);
  z-index: 2;
  pointer-events: none; /* 允许点击穿透（虽然没有内容） */
}

/* ================= 移动端适配调整 ================= */
@media (max-width: 768px) {
  /* 调整新模块在手机上的高度 */
  .forgeline-wrapper .section-white-mask {
    height: 300px;
    background-position: center right; /* 手机上尽量让赛车主体露出来 */
  }
  
  /* 手机上渐变可以稍微弱一点，以免遮住太多 */
  .forgeline-wrapper .section-white-mask::before {
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 60%);
  }
}/* End custom CSS */