.oht-pm-map {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.oht-pm-card {
  font-family: inherit;
  line-height: 1.4;
  max-width: 260px;
}
.oht-pm-card img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}
.oht-pm-card__category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 2px;
}
.oht-pm-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  padding: 0;
  color: #111827;
}
.oht-pm-card__location {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
}
.oht-pm-card__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1f4e79;
  text-decoration: none;
}
.oht-pm-card__link:hover {
  text-decoration: underline;
}

/* ---- Project grid under the map (matches the site's project cards) ---- */
.oht-pm-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
}
.oht-pm-col {
  width: 50%;            /* 2 columns (live site uses 33.33% above 1400px) */
}
@media (max-width: 980px) {
  .oht-pm-col { width: 100%; }
}
.oht-pm-item {
  position: relative;
  height: 500px;
  padding: 9px;
  background-color: #10253b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 767px) {
  .oht-pm-item { height: 349px; }
}
.oht-pm-item__link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
}
.oht-pm-item__inner {
  position: relative;
  height: 100%;
}
.oht-pm-item__tag-holder {
  max-width: 189px;
  margin-left: auto;
  padding: 0 10px 8px;
  background-color: rgba(50, 62, 72, 0.8);
  text-align: center;
  line-height: normal;
}
.oht-pm-item__tag {
  font-size: 12px;
  letter-spacing: 2.88px;
  text-transform: uppercase;
  vertical-align: text-bottom;
}
@media (max-width: 767px) {
  .oht-pm-item__tag-holder { padding: 3px 0 7px; }
  .oht-pm-item__tag { font-size: 10px; letter-spacing: 2.4px; vertical-align: middle; }
}
.oht-pm-item__content-wrap {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 98px; /* JS sets this to the title height + 58px */
  overflow: hidden;
  padding: 28px 40px 30px;
  box-sizing: border-box;
  background-color: rgba(50, 62, 72, 0.8);
  transition: height 0.3s ease-in-out;
}
@media (min-width: 768px) and (max-width: 1405px) {
  .oht-pm-item__content-wrap { padding-right: 140px; }
}
.oht-pm-item__content-inner { overflow: hidden; }
.oht-pm-item__title {
  margin: 0;
  padding: 0 75px 6px 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.64px;
  color: #fff !important;
  transition: color 0.3s ease-in-out;
}
.oht-pm-item__title a { color: inherit !important; text-decoration: none; }
@media (max-width: 1199px) {
  .oht-pm-item__title { font-size: 28px; }
}
@media (max-width: 980px) {
  .oht-pm-item__title { font-size: 20px; letter-spacing: 0.6px; padding-right: 0; }
}
.oht-pm-item__hover {
  opacity: 0;
  visibility: hidden;
  transform: translateY(124px);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.oht-pm-item__units {
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.4px;
}
.oht-pm-item__market {
  font-size: 17px;
  font-weight: 600;
  line-height: 2.35;
  letter-spacing: 0.34px;
}
.oht-pm-item__type,
.oht-pm-item__developer {
  font-size: 12px;
  line-height: 1.67;
  letter-spacing: 2.88px;
  text-transform: uppercase;
}
.oht-pm-item__type { margin-top: 10px; }
.oht-pm-item__developer { margin-top: 12px; }
.oht-pm-item__row label { font-weight: inherit; }

/* Arrow button (uses the theme's arrow sprite) */
.oht-pm-item__btn {
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
}
.oht-pm-item__btn a { display: block; width: 59px; height: 23px; }
.oht-pm-item__icon {
  display: inline-block;
  position: relative;
  top: 4px;
  width: 59px;
  height: 23px;
}
.oht-pm-item__icon::before {
  content: "";
  display: block;
  width: 59px;
  height: 23px;
  background-image: url("/wp-content/themes/oden-hughes/assets/images/arrows-v2.svg");
  background-repeat: no-repeat;
  background-size: 118.2px 47.2px;
  background-position: -59px 0;
}

/* Hover state */
.oht-pm-item:hover .oht-pm-item__title { color: #0a81e3 !important; }
.oht-pm-item:hover .oht-pm-item__content-wrap { height: auto !important; }
.oht-pm-item:hover .oht-pm-item__hover { opacity: 1; visibility: visible; transform: translateY(0); }
.oht-pm-item:hover .oht-pm-item__icon::before { background-position: -59px -24px; }

/* Filtering */
.oht-pm-col[hidden] { display: none !important; }
.oht-pm-empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 17px;
  letter-spacing: 0.34px;
}
.oht-pm-empty[hidden] { display: none; }

/* ---- Cluster bubbles (numbered city/area markers) ---- */
.oht-pm-cluster {
  width: 53px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(50%); /* center the bubble on its location */
  background-size: 53px 52px;
  background-repeat: no-repeat;
  color: #000;
  font: bold 11px Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
}
.oht-pm-cluster:hover { transform: translateY(50%) scale(1.1); }
/* Fallback when the theme's m1/m2 images aren't available */
.oht-pm-cluster--css {
  border-radius: 50%;
  background:
    radial-gradient(circle,
      #1a8cff 0 12px,
      transparent 13px 15px,
      rgba(26, 140, 255, 0.55) 16px 18px,
      transparent 19px 21px,
      rgba(26, 140, 255, 0.3) 22px 24px,
      transparent 25px);
}