.homepage-modules .homepage-module {
  margin-bottom: 2.5rem;
}

.homepage-modules .homepage-module:last-child {
  margin-bottom: 0;
}

.homepage-modules .module-hero_split {
  margin-bottom: 0;
}

/* 首屏横幅（左文右图，QuickBooks 风格） */
.hp-hero-split {
  background: #fff;
  padding: 3.5rem 0 4rem;
}

.hp-hero-split__container {
  max-width: 1200px;
}

.hp-hero-split__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6c72;
  margin-bottom: 1rem;
}

.hp-hero-split__heading {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #212529;
  margin-bottom: 1.25rem;
}

.hp-hero-split__sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hp-hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hp-hero-split__btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  font-size: 1rem;
  border: none;
}

.hp-hero-split__btn--primary {
  background: #2ca01c;
  color: #fff;
}

.hp-hero-split__btn--primary:hover,
.hp-hero-split__btn--primary:focus {
  background: #248017;
  color: #fff;
}

.hp-hero-split__btn--secondary {
  background: #393a3d;
  color: #fff;
}

.hp-hero-split__btn--secondary:hover,
.hp-hero-split__btn--secondary:focus {
  background: #2b2c2e;
  color: #fff;
}

.hp-hero-split__img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  display: block;
}

.hp-hero-split__placeholder {
  min-height: 280px;
  border-radius: 0.5rem;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .hp-hero-split {
    padding: 2.5rem 0 3rem;
  }

  .hp-hero-split__media {
    order: -1;
  }

  .hp-hero-split__sub {
    font-size: 1rem;
  }
}

.hp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
  background-size: cover;
  background-position: center;
}

.hp-hero--has-bg {
  background: #084298;
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hp-hero > .container {
  z-index: 1;
}

.hp-icon-item {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hp-carousel-img {
  max-height: 420px;
  object-fit: cover;
}

.hp-carousel-placeholder {
  min-height: 240px;
}

.hp-rich-text img {
  max-width: min(720px, 100%);
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 0.75rem auto;
  border-radius: 0.25rem;
}

.hp-rich-text iframe,
.hp-rich-text .ql-video {
  max-width: 100%;
  width: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  border: 0;
}

.hp-rich-text pre {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
}

.hp-rich-text table {
  width: 100%;
  margin-bottom: 1rem;
}

.hp-rich-text table td,
.hp-rich-text table th {
  border: 1px solid #dee2e6;
  padding: 0.5rem;
}

@media (max-width: 576px) {
  .hp-hero .display-5 {
    font-size: 1.75rem;
  }
}

/* 图文排版 layout 模块 */
.homepage-modules .module-layout {
  margin-bottom: 0;
}

.hp-layout-module {
  padding: 4rem 0;
}

.hp-layout-container {
  max-width: 1200px;
}

.hp-layout-title {
  color: #212529;
  font-weight: 600;
}

.hp-layout-desc {
  color: #6c757d;
  font-size: 1.125rem;
  line-height: 1.7;
}

.hp-layout-desc p:last-child {
  margin-bottom: 0;
}

.hp-layout-img {
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.hp-layout-stack__media .hp-layout-img {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.hp-layout-card {
  max-width: 600px;
}

.hp-layout-card .hp-layout-img {
  margin-bottom: 1.5rem;
}

.hp-layout-btn.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.hp-layout-btn.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

@media (max-width: 767.98px) {
  .hp-layout-module {
    padding: 2.5rem 0;
  }

  .hp-layout-desc {
    font-size: 1rem;
  }

  .hp-layout-stack__media .hp-layout-img {
    max-width: 100%;
  }
}
