/* ========================================
   GLOBAL OBSERVER HOME HERO - CLEAN FINAL
======================================== */

/* 首页整体容器清理 */
html,
body.home,
.home .site,
.home .site-content,
.home .content-wrap,
.home .site-main,
.home .content-area,
.home .content-bg,
.home .site-content-wrap,
.home .entry-content,
.home .wp-site-blocks,
.home article.page {
  margin: 0 !important;
  padding: 0 !important;
  background: #08101f !important;
}

/* 首页第一个区块不要自带空白 */
.home .entry-content > *:first-child,
.home .wp-site-blocks > *:first-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 首页页脚彻底隐藏 */
.home #colophon,
.home .site-footer-wrap,
.home footer.site-footer,
.home .site-info,
.home .site-bottom-footer-wrap,
.home .site-bottom-footer-inner-wrap,
.home .footer-navigation,
.home .footer-widget-area {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

/* Hero 主体 */
.go-hero-slider {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #08101f;
  height: calc(100vh - 76px);
  min-height: calc(100vh - 76px);
  margin: 0 !important;
  padding: 0 !important;
}

/* 登录后台时补偿顶部黑条 */
body.admin-bar.home .go-hero-slider {
  height: calc(100vh - 108px);
  min-height: calc(100vh - 108px);
}

/* Hero 背景图层 */
.go-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  animation: goHeroFade 24s infinite;
}

.go-bg-1 {
  background-image: url("https://global-observer.com/wp-content/uploads/2026/03/地图.jpg");
  animation-delay: 0s;
}

.go-bg-2 {
  background-image: url("https://global-observer.com/wp-content/uploads/2026/03/战略教室jpg.jpg");
  animation-delay: 6s;
}

.go-bg-3 {
  background-image: url("https://global-observer.com/wp-content/uploads/2026/03/团队-背景.jpg");
  animation-delay: 12s;
}

.go-bg-4 {
  background-image: url("https://global-observer.com/wp-content/uploads/2026/03/股票.jpg");
  animation-delay: 18s;
}

/* 遮罩层 */
.go-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 13, 28, 0.82) 0%,
      rgba(10, 22, 48, 0.70) 42%,
      rgba(11, 24, 55, 0.55) 100%
    );
  z-index: 1;
}

/* 内容层 */
.go-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  text-align: left;
}

.go-home-kicker {
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.go-hero-inner h1 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 980px;
}

.go-hero-inner p {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: -0.2px;
  max-width: 900px;
}

/* 按钮 */
.go-hero-buttons {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.go-hero-buttons a {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.18s ease;
}

.go-btn-primary {
  background: #1F3F95;
  color: #fff !important;
  border: 1px solid #1F3F95;
}

.go-btn-primary:hover {
  background: #17347E;
  border-color: #17347E;
  color: #fff !important;
}

.go-btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(4px);
}

.go-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  color: #fff !important;
}

/* 轮播动画 */
@keyframes goHeroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  22%  { opacity: 1; }
  26%  { opacity: 0; }
  100% { opacity: 0; }
}

/* 平板 */
@media (max-width: 1024px) {
  .go-hero-slider {
    height: calc(100vh - 72px);
    min-height: calc(100vh - 72px);
  }

  body.admin-bar.home .go-hero-slider {
    height: calc(100vh - 104px);
    min-height: calc(100vh - 104px);
  }

  .go-hero-inner h1 {
    font-size: 48px;
    max-width: 760px;
  }

  .go-hero-inner p {
    font-size: 17px;
    max-width: 680px;
  }
}

/* 手机 */
@media (max-width: 767px) {
  .go-hero-slider {
    height: calc(100vh - 68px);
    min-height: calc(100vh - 68px);
  }

  body.admin-bar.home .go-hero-slider {
    height: calc(100vh - 112px);
    min-height: calc(100vh - 112px);
  }

  .go-hero-inner {
    padding: 52px 18px 48px;
  }

  .go-hero-inner h1 {
    font-size: 36px;
    line-height: 1.12;
    max-width: 100%;
  }

  .go-hero-inner p {
    font-size: 15.5px;
    line-height: 1.8;
    max-width: 100%;
  }

  .go-hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .go-hero-buttons a {
    width: 100%;
    max-width: 240px;
    padding: 12px 22px;
  }

	  /* 手机端每张图单独取景 */
  .go-bg-1 { background-position: 58% center; }
  .go-bg-2 { background-position: 52% center; }
  .go-bg-3 { background-position: 48% center; }
  .go-bg-4 { background-position: 60% center; }
}

