/* Area page building cards — layout only; uses site .btn-primary green */

.area-listing-section {
  padding-top: 50px;
  padding-bottom: 60px;
}

.area-listing-section .area-listing-intro {
  text-align: center;
  margin-bottom: 40px;
}

.area-listing-section .area-listing-intro h3 {
  margin-bottom: 12px;
}

.area-cards-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -12px;
}

.mpm-area-cards-wrap .area-cards-grid {
  margin: -10px;
}

.area-property-card {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
}

.mpm-area-cards-wrap .area-property-card {
  padding: 10px;
}

@media (min-width: 768px) {
  .mpm-area-cards-wrap .area-property-card {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .mpm-area-cards-wrap .area-property-card {
    width: 25%;
  }
}

@media (min-width: 768px) {
  .area-property-card {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .area-property-card {
    width: 33.333%;
  }
}

.area-property-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.area-property-card-body {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  padding: 14px 14px 10px;
}

.area-property-card-media {
  flex: 0 0 110px;
  max-width: 110px;
  margin-right: 12px;
}

/* Hide old grid cells if cached markup ever mixed in */
.area-listing-section .cell-sm-10.cell-md-4 {
  display: none !important;
}

.area-property-card-media img,
.area-property-card-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 0;
}

.area-property-card-media .highlightit {
  display: block;
  line-height: 0;
}

.area-property-card-info {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.area-property-card-info h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.area-property-card-info h4 a {
  color: #00030a;
  text-decoration: none;
}

.area-property-card-info h4 a:hover {
  text-decoration: underline;
}

.area-property-card-address {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}

.area-property-card-address b {
  color: #333;
  font-weight: 600;
}

.area-property-card-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 0 0 5px 5px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
}

.area-property-card-btn:hover,
.area-property-card-btn:focus {
  text-decoration: none;
  color: #fff;
}

.area-listing-pagination {
  margin-top: 32px;
  text-align: center;
}

/* Neighborhood template — vertical card layout (mockup) */
.mpm-area-cards-wrap .area-property-card {
  display: flex;
  flex-direction: column;
}

.mpm-area-cards-wrap .area-property-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.mpm-area-cards-wrap .area-property-card-media {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  height: 130px;
  margin: 0;
  overflow: hidden;
}

.mpm-area-cards-wrap .area-property-card-media .highlightit {
  display: block;
  width: 100%;
  height: 130px;
  line-height: 0;
  overflow: hidden;
}

.mpm-area-cards-wrap .area-property-card-thumb,
.mpm-area-cards-wrap .area-property-card-media img,
.mpm-area-cards-wrap .area-property-card-placeholder-img {
  display: block;
  width: 100%;
  height: 130px;
  max-height: 130px;
  object-fit: cover;
  object-position: center center;
  border: 0;
  border-radius: 6px 6px 0 0;
}

.mpm-area-cards-wrap .area-property-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
  max-height: 130px;
  margin: 0;
  padding: 8px;
  background: #eef1f4;
  border-radius: 6px 6px 0 0;
  text-align: center;
}

.mpm-area-cards-wrap .area-property-card-placeholder span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7a8490;
}

.mpm-area-cards-wrap .area-property-card-content {
  flex: 1 1 auto;
  padding: 10px 12px 8px;
  text-align: left;
}

.mpm-area-cards-wrap .area-property-card-content h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.mpm-area-cards-wrap .area-property-card-content h4 a {
  color: #111111;
  text-decoration: none;
}

.mpm-area-cards-wrap .area-property-card-content h4 a:hover {
  text-decoration: underline;
}

.mpm-area-cards-wrap .area-property-card-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #666666;
}

.mpm-area-cards-wrap .area-property-card-pin {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 14s4-3.5 4-6a4 4 0 10-8 0c0 2.5 4 6 4 6z' stroke='%238BC53F' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%238BC53F'/%3E%3C/svg%3E") center no-repeat;
  background-size: 16px 16px;
}

.mpm-area-cards-wrap .area-property-card-btn {
  flex: 0 0 auto;
  margin-top: auto;
  border-radius: 0 0 6px 6px;
  padding: 10px 10px;
  font-size: 11px;
  letter-spacing: 0.01em;
}
