.map-label {
  text-transform: uppercase;
}

.wpcf7-form p {
  margin: 0;
  padding: 0;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output {
  color: #ffbdd6;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #ffbdd6;
}

.wpcf7-not-valid-tip {
  color: #ffbdd6;
}

/* Hide YouTube title bar (top) and share/branding bar (bottom) */
.yt-iframe-wrap {
  overflow: hidden;
}
.yt-iframe-wrap iframe {
  top: -66px !important;
  height: calc(100% + 125px) !important;
}
.section-new-article .post-content p {
  margin-bottom: 0.28rem;
}
.wp-caption-text {
  text-align: center;
  font-style: italic;
}
.section-new-article .post-content ul,
.section-new-article .post-content ol {
  margin-top: 0;
}
.section-new-article .post-content ul li {
  list-style: square;
}
@media print, (min-width: 768px) {
  .post-content h3 {
    font-size: 0.24rem;
    line-height: 1.0416666667;
    margin-bottom: 0.28rem;
  }
}

/* ── Pending apartment (chưa nhập data trong admin) ─────────────────── */
/* Cursor default báo không click được */
.list-premises-tabs .premises-note path[data-status="pending"] {
  cursor: default !important;
}
/* Text "THÔNG TIN ĐANG CẬP NHẬT" trong SVG note-detail popup */
.list-premises-tabs .pending-msg {
  font-size: 22px;
  font-weight: 700;
  font-family: "Be VietNam Pro", sans-serif;
  fill: #006a51;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.homepage-promo-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
}

html.homepage-popup-open,
body.homepage-popup-open {
  overflow: hidden !important;
  height: 100%;
}

/* Prevent fixed header/nav from stealing clicks while popup is open */
html.homepage-popup-open .header-common,
html.homepage-popup-open .header-common-navigation,
html.homepage-popup-open #nav {
  pointer-events: none !important;
}

.homepage-popup-open main{position: relative;z-index: 9999}

.homepage-promo-popup.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-promo-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.homepage-promo-popup__dialog {
  position: relative;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 84vh;
  overflow: visible;
  z-index: 2;
}

.homepage-promo-popup__close {
  position: absolute;
  top: 0;
  right: -40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 20;    border: 1px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.homepage-promo-popup__link {
  display: block;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.homepage-promo-popup__image {
  display: block;
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

@media (max-width: 767px) {
  .homepage-promo-popup__close {
    top: -20px;
    right: 0;
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .homepage-promo-popup__dialog {
    max-width: 92vw;
    max-height: 82vh;
  }

  .homepage-promo-popup__image {
    max-width: 92vw;
    max-height: 82vh;
  }
}
