/* 首页保障住房海报弹窗 */
.home-housing-poster {
  position: fixed;
  inset: 0;
  z-index: 10120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 24, 48, 0.58);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.home-housing-poster.is-visible {
  opacity: 1;
  visibility: visible;
}

.home-housing-poster__panel {
  position: relative;
  width: min(100%, 360px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(10, 61, 107, 0.32);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-housing-poster.is-visible .home-housing-poster__panel {
  transform: translateY(0) scale(1);
}

.home-housing-poster__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-housing-poster__link {
  display: block;
  text-decoration: none;
}

.home-housing-poster__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px 18px 0 0;
}

.home-housing-poster__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 16px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0c4db8, #1a5c8a);
  border-radius: 0 0 18px 18px;
}

.home-housing-poster__cta:active {
  opacity: 0.92;
}
