/*
Theme Name: Bridge Child
Theme URI: http://bridgelanding.qodeinteractive.com/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: bridge
Template: bridge
*/

.eve-home-wz-l {
  padding: 12% 3% 0% 3%;
  width: 30%;
}

.eve-home-wz-r {
  padding-top: 1%;
  width: 70%;
}

@media (max-width: 1536px) {
  .eve-home-wz-l {
    padding: 8% 1% 0% 3%;
    width: 30%;
  }
}

@media (max-width: 1280px) {
  .eve-home-wz-l {
    padding: 10% 0% 0% 3%;
    width: 30%;
  }

  .eve-home-wz-r {
    padding-top: 2%;
    width: 70%;
  }
}

@media (max-width: 1024px) {
  .eve-home-wz-l {
    padding: 10% 0% 0% 3%;
    width: 30%;
  }

  .eve-home-wz-l-h1 {
    font-size: 32px;
  }

  .eve-home-wz-l-h1s {
    font-size: 32px;
  }

  .eve-home-wz-l-h3 {
    font-size: 16px;
  }

  .eve-home-wz-r {
    padding-top: 2%;
    width: 70%;
  }
}

@media (max-width: 768px) {
  .eve-home-wz-l {
    text-align: center;
    width: 100%;
    padding-top: 3%;
    padding-bottom: 1%;
  }

  .eve-home-wz-l-h1 {
    font-size: 20px;
  }

  .eve-home-wz-l-h3 {
    font-size: 16px;
  }

  .eve-home-wz-l-h1s {
    display: none;
  }

  .eve-home-wz-r {
    width: 100%;
  }
}

/* A4 */

.eve-home-pic {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.eve-home-pic img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.eve-home-pic:hover img {
  transform: scale(1.01);
}

.eve-home-pic h1 {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.eve-home-pic .wpb_text_column h1 {
  font-size: clamp(26px, 1.3vw, 34px);
  line-height: 1.15;
}

.eve-home-pic p {
  position: absolute;
  top: clamp(12%, 10vw, 15%);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.eve-home-pic .wpb_text_column p {
  font-size: clamp(16px, 0.7vw, 18px);
  line-height: 1.15;
}

.eve-home-pic h3 {
  position: absolute;
  top: clamp(16%, 18vw, 20%);
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.eve-home-pic .wpb_text_column h3 {
  font-size: clamp(14px, 0.7vw, 18px);
}

.eve-home-pic-btn {
  position: absolute;
  top: clamp(24%, 26vw, 30%);
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1920px) {
  .eve-home-pic {
    width: 50%;
  }

  .eve-home-pic .wpb_text_column h1 {
    font-size: clamp(28px, 1.87vw, 36px);
  }

  .eve-home-pic p {
    top: clamp(12%, 10vw, 13%);
  }

  .eve-home-pic .wpb_text_column p {
    font-size: clamp(14px, 1.15vw, 22px);
  }

  .eve-home-pic h3 {
    top: clamp(14%, 16vw, 18%);
  }

  .eve-home-pic .wpb_text_column h3 {
    font-size: clamp(18px, 1.15vw, 22px);
  }

  .eve-home-pic-btn {
    top: clamp(20%, 22vw, 26%);
  }
}

@media (max-width: 1280px) {
  .eve-home-pic p {
    top: clamp(12%, 10vw, 14%);
  }

  .eve-home-pic h3 {
    top: clamp(14%, 16vw, 18%);
  }

  .eve-home-pic .wpb_text_column h3 {
    font-size: clamp(16px, 1.56vw, 20px);
  }

  .eve-home-pic-btn {
    top: clamp(22%, 24vw, 28%);
  }
}

@media (max-width: 1024px) {
  .eve-home-pic {
    width: 50%;
  }

  .eve-home-pic .wpb_text_column h1 {
    font-size: clamp(20px, 2.54vw, 26px);
  }

  .eve-home-pic h3 {
    top: clamp(14%, 16vw, 18%);
  }

  .eve-home-pic .wpb_text_column h3 {
    font-size: clamp(12px, 1.46vw, 15px);
  }
}

@media (max-width: 768px) {
  .eve-home-pic {
    width: 100%;
  }

  .eve-home-pic .wpb_text_column h1 {
    font-size: clamp(20px, 4.17vw, 32px);
  }

  .eve-home-pic .wpb_text_column p {
    font-size: clamp(12px, 2.34vw, 18px);
    line-height: 1.15;
  }

  .eve-home-pic p {
    top: clamp(14%, 14vw, 16%);
  }

  .eve-home-pic .wpb_text_column h3 {
    font-size: clamp(12px, 2.35vw, 18px);
  }

  .eve-home-pic h3 {
    top: clamp(20%, 22vw, 24%);
  }

  .eve-home-pic-btn {
    top: clamp(30%, 32vw, 34%);
  }
}

/* A3 */

.eve-home-icon-parallax {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.eve-home-icon-parallax-bg {
  position: absolute;
  top: -220px;
  left: 0;
  width: 100%;
  height: calc(100% + 440px);
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

.eve-home-icon {
  padding: clamp(40px, 6vw, 60px);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.eve-home-icon-title h2 {
  font-size: clamp(24px, 2.2vw, 40px);
  color: #fff;
  font-weight: 700;
}

.eve-home-icon-title p {
  font-size: 1.2em;
  color: #fff;
}

.eve-home-icon-item {
  display: flex;
  gap: 1.2em;
  margin: 2em 0;
}

.eve-home-icon-item img {
  width: 3.5em;
  height: 3.5em;
  object-fit: contain;
  flex-shrink: 0;
}

.eve-home-icon-item h4 {
  color: #fff;
  font-size: 1.2em;
  margin: 0 0 0.2em;
  font-weight: 600;
}

.eve-home-icon-item p {
  color: #fff;
  margin: 0;
  opacity: 0.85;
}

.eve-home-icon-link {
  display: inline-block;
  padding: 0.8em 1.2em;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.eve-home-icon-link:hover {
  background: #fff;
  color: #000;
  transform: translateY(-6px);
  cursor: pointer;
}

/* PA */

.eve-home-parallax {
  position: relative;
  width: 100vw;
  height: 600px;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.eve-home-parallax-bg {
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 200%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.eve-home-parallax-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 20px;
}

@media (max-width: 768px) {
  .eve-home-parallax {
    height: 420px;
  }
}

/* A2 */

.eve-home-gallery {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.eve-home-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* LO */

.eve-home-logo-wall {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 16px;
}

.eve-home-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.eve-home-logo-item img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  _filter: grayscale(100%) contrast(1.05);
  _opacity: 0.6;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.eve-home-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-6px) scale(1.05);
}

/* 响应式 */
@media (max-width: 1024px) {
  .eve-home-logo-wall {
    grid-template-columns: repeat(6, 1fr);
    gap: 0px;
  }
}

@media (max-width: 768px) {
  .eve-home-logo-wall {
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
  }

  .eve-home-logo-item img {
    max-height: 48px;
  }

  .eve-home-logo-item:hover img {
    transform: translateY(0) scale(1.02);
  }
}

/* N */

.eve-home-news {
  width: 100%;
  padding: 40px 0px 80px;
  background-color: #f8f8f8;
}

.eve-home-news-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15%;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.eve-home-news-title {
  font-size: 40px;
}

.eve-home-news-subtitle {
  font-size: 16px;
  line-height: 1.2;
  color: #666;
  margin-bottom: 20px;
}

.eve-home-news-more {
  display: inline-block;
  padding: 0.6em 1em;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.eve-home-news-more:hover {
  background: #000;
  color: #fff;
  transform: translateY(-6px);
  cursor: pointer;
}

.eve-home-news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eve-home-news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.eve-home-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.eve-home-news-thumb:hover img {
  transform: scale(1.05);
}

.eve-home-news-item-title {
  font-size: 16px;
  margin: 12px 0 6px;
}

.eve-home-news-item-title a {
  color: #000;
  text-decoration: none;
}

.eve-home-news-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .eve-home-news-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .eve-home-news-list {
    grid-template-columns: 1fr;
  }
}

/* ZG */

.eve-home-zg-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 9;
  min-height: 240px;
  max-height: 420px;
  overflow: hidden;
}

.eve-home-zg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.eve-home-zg-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.eve-home-zg-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}

.eve-home-zg-content h1 {
  font-size: clamp(24px, 5vw, 40px);
  margin-bottom: 12px;
  font-weight: 600;
  color: #fff;
}

.eve-home-zg-content p {
  font-size: clamp(16px, 0.8vw, 20px);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.eve-home-zg-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 0.6em 1em;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.eve-home-zg-btn:hover {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  transform: translateY(-6px);
  cursor: pointer;
}

@media (max-width: 768px) {
  .eve-home-zg-btn {
    margin-top: 0px;
  }
}

/* AN */
.eve-home-an {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eve-home-an p {
  display: inline-block;
  padding: 0.6em 1em;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.eve-home-an p:hover {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  transform: translateY(-6px);
  cursor: pointer;
}

/* CL */
.eve-home-cl img {
  width: clamp(150px, 25vw, 300px);
  height: auto;
  display: block;
  margin-top: clamp(20px, 2.5vw, 40px);
  cursor: pointer;
}

/* GUN-Eve */
.eve-scrolly-container {
  position: relative;
  width: 100%;
  z-index: 10;
  background-color: #000;
}

.eve-scrolly-sticky-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
  z-index: 10;
}

.eve-s-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.eve-s-real-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  font-family: 'object-fit: cover';
}

@media (max-width: 1024px) {
  .eve-scrolly-sticky-stage {
    height: 100vh !important;
    height: 100dvh !important;
    width: 100vw !important;
    max-width: none !important;
    left: 0 !important;
    margin: 0 !important;
  }

  .eve-s-img-wrapper,
  .eve-s-real-img {
    height: 100% !important;
    width: 100% !important;
    min-height: 100dvh !important;
  }
}

.eve-base-img {
  z-index: 1;
  opacity: 1;
}

.eve-overlay-img {
  z-index: 2;
  opacity: 0;
}

.eve-scrolly-progress {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: 20;
  border-radius: 2px;
  transition: opacity 0.5s;
}

.eve-progress-bar {
  width: 0%;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* TU */
.eve-img-switcher {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.eve-main-stage {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  overflow: hidden;
  line-height: 0;
}

.eve-main-img {
  display: none;
  width: 100%;
  animation: eveFadeIn 0.5s ease-in-out;
}

.eve-main-img.eve-active {
  display: block !important;
}

.eve-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.eve-nav-stage {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  gap: 10px !important;
}

.eve-nav-item {
  flex: 1 !important;
  height: 30px !important;
  position: relative;
  cursor: pointer;
  _border: 2px solid transparent !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease;
  opacity: 0.8;
  margin: 0 !important;
}

.eve-nav-item:hover {
  opacity: 1;
}

.eve-nav-item.eve-active {
  border-color: #333 !important;
  opacity: 1;
}

.eve-nav-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

@keyframes eveFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .eve-nav-stage {
    gap: 4px !important;
  }

  .eve-nav-item {
    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
  }
}

/* 强制还原为浏览器默认系统色 */
::selection {
  background-color: Highlight !important;
  color: HighlightText !important;
}

::-moz-selection {
  background-color: Highlight !important;
  color: HighlightText !important;
}

/* 证书滚动 */

/* ==========================================================================
 

/* ==========================================================================

/* ==========================================================================
   EVE Split Slider - 终极防御版 (图片占 3/4，文字占 1/4)
   ========================================================================== */

/* 核心底层框架 */
.eve-swiper-container {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  width: 100%;
}

/* 内部结构排版 */
.eve-split-slider-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* 固定 40px 的间距，视觉更稳定 */
  width: 100%;
}

/* 左侧图片区域 (严格占据 3/4 宽度) */
.eve-split-slider-media {
  flex: 0 0 calc(75% - 20px); /* 75% 减去一半的 gap 间距 */
  max-width: calc(75% - 20px);
  position: relative;
  line-height: 0;
}

.eve-split-slider-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px; /* 可选：轻微圆角 */
}

/* 右侧文字内容区域 (严格占据 1/4 宽度) */
.eve-split-slider-content {
  flex: 0 0 calc(25% - 20px); /* 25% 减去一半的 gap 间距 */
  max-width: calc(25% - 20px);
  padding: 10px 0; /* 文字区变窄了，稍微收缩一下内边距 */
  box-sizing: border-box;
}

/* 字体排版微调，适应较窄的 1/4 区域 */
.eve-split-slider-text h3 {
  font-size: 24px; /* 标题稍微调小一点，防止折行太碎 */
  font-weight: 300;
  _margin-bottom: 15px;
  color: #222;
  letter-spacing: 1px;
  line-height: 1.3;
}

.eve-split-slider-text p {
  font-size: 14px; /* 正文稍微调小，适应窄列 */
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5em;
}

/* ==========================================================================
   左右控制按钮 (纯净外置版)
   ========================================================================== */
.eve-split-slider-prev,
.eve-split-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999 !important;
  cursor: pointer;
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eve-split-slider-prev:hover,
.eve-split-slider-next:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  background-color: #f8f8f8;
}

/* 按钮贴在母容器的最左边和最右边 */
.eve-split-slider-prev {
  left: 0;
}
.eve-split-slider-next {
  right: 0;
}

/* 纯 CSS 绘制黑色箭头 */
.eve-split-slider-prev::before,
.eve-split-slider-next::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  box-sizing: border-box;
}

.eve-split-slider-prev::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.eve-split-slider-next::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

/* 抹杀 Elementor 残余的图标字体 */
.eve-split-slider-prev::after,
.eve-split-slider-next::after {
  display: none !important;
}

/* ==========================================================================
   响应式适配 (移动端)
   ========================================================================== */
@media (max-width: 992px) {
  /* 平板和手机端恢复上下排列，否则 1/4 区域文字会挤成一团 */
  .eve-slider-master-wrapper {
    padding: 0 !important;
  }

  .eve-split-slider-inner {
    flex-direction: column;
    gap: 20px;
  }

  .eve-split-slider-media,
  .eve-split-slider-content {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .eve-split-slider-content {
    padding: 0 15px;
  }

  .eve-split-slider-text h3 {
    font-size: 22px;
  }

  .eve-split-slider-prev,
  .eve-split-slider-next {
    display: none !important;
  }
}
