
:root {
  --max-width: 1920px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.hero-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.hero-img {
  width: 100%;
  display: block;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 4vw 6vw;
  color: #fff;
}
.text-inner {
  max-width: 900px;
}
.title {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.subtitle {
  font-size: clamp(18px, 2.8vw, 24px);
  margin-bottom: 2.5rem;
}
.btn-sub-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 基础按钮样式 - 尽可能覆盖平台默认 */
.hero-banner a.btn,
.hero-banner a.btn:link,
.hero-banner a.btn:visited,
.hero-banner .btn {
  min-width: 180px;
  padding: 0.9rem 1.8rem;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  background: #ed6941 !important;
  background-color: #ed6941 !important;
  border: 1.5px solid #ed6941 !important;
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all .25s ease;
  box-sizing: border-box;
}

/* hover + focus + active 状态 - 加强覆盖 */
.hero-banner a.btn:hover,
.hero-banner a.btn:focus,
.hero-banner a.btn:active,
.hero-banner a.btn:hover:link,
.hero-banner a.btn:hover:visited,
.hero-banner .btn:hover,
a.btn:hover {
  background: #c9542f !important;
  background-color: #c9542f !important;
  border-color: #c9542f !important;
  color: #fff !important;
}

/* 防止某些奇怪的平台样式干扰 */
.hero-banner a.btn:active,
.hero-banner a.btn:focus {
  outline: none;
  background: #c9542f !important;
  background-color: #c9542f !important;
}

/* 小屏布局 */
@media (max-width: 768px) {
  .hero-banner {
    display: flex;
    flex-direction: column;
  }
  .overlay {
    position: static;
    background: #f5f5f5;
    color: #333;
    text-align: center;
    padding: 2.5rem 1.2rem 3rem;
  }
  .btn-sub-row {
    flex-direction: column;
    align-items: center;
  }
  .hero-banner a.btn,
  .hero-banner .btn {
    width: 100%;
    max-width: 320px;
  }
}
