/* 底部 CTA 条 — Figma 143:9506 */
.edn-subscribe-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  background: #fff;
  box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.edn-subscribe-bar *,
.edn-subscribe-bar *::before,
.edn-subscribe-bar *::after {
  box-sizing: border-box;
}

.edn-subscribe-bar.is-visible {
  display: block;
}

.edn-subscribe-bar.is-hidden {
  display: none !important;
}

.edn-subscribe-inner {
  position: relative;
  max-width: 845px;
  margin: 0 auto;
  padding: 49px 56px 40px;
  text-align: center;
}

.edn-subscribe-title {
  margin: 0 0 25px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #292929;
}

.edn-subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.edn-subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 46px;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.edn-subscribe-btn--primary {
  border: 0;
  background: #e60039;
  color: #fff;
}

.edn-subscribe-btn--primary:hover {
  background: #c40030;
  color: #fff;
}

.edn-subscribe-btn--outline {
  border: 1px solid #e60039;
  background: #fff;
  color: #e60039;
}

.edn-subscribe-btn--outline:hover {
  background: rgba(230, 0, 57, 0.06);
  color: #e60039;
}

.edn-subscribe-close {
  position: absolute;
  right: 24px;
  top: 16px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7b8794;
  font-size: 22px;
  line-height: 28px;
  cursor: pointer;
  padding: 0;
}

.edn-subscribe-close:hover {
  color: #292929;
}

@media (max-width: 750px) {
  .edn-subscribe-inner {
    padding: 44px 18px 24px;
  }

  .edn-subscribe-title {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .edn-subscribe-actions {
    flex-direction: column;
    gap: 12px;
  }

  .edn-subscribe-btn {
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }

  .edn-subscribe-close {
    right: 12px;
    top: 12px;
  }
}
