/* ==========================================================================
   NCSF MIAMI CARD PILOT — 2026-11-07 (Joseph's order, one page trial)
   Cleaner card UI, PRESENTATION ONLY. Same markup, same data, same order.
   Scope: EN blog only, Miami parent post 40428 + Fouquet's Residences 46839.
   Enqueued only on those two pages by mu-plugins/ncsf-miami-card-pilot.php.
   REVERT: delete that mu-plugin file and this file. Nothing else was touched.
   ========================================================================== */

/* ---------- Shared card surface (building cards + listing grid cards) --- */
body.postid-40428 .buildings .building {
  padding: 10px;
}
body.postid-40428 .building .image-holder {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .05);
}
body.postid-40428 .buildings .building img.featured-img {
  min-height: 13pc;
  max-height: 13pc;
}
/* Facts sit on one calm scrim band instead of raw photo + hairline dividers */
body.postid-40428 .building .building-info {
  background: linear-gradient(to top, rgba(10, 15, 26, .72) 0%, rgba(10, 15, 26, .38) 62%, rgba(10, 15, 26, 0) 100%);
  padding: 26px 14px 12px;
  text-align: center;
}
body.postid-40428 .building .building-info > * {
  border-bottom: none !important;
  margin: 0;
}
/* One clear action: the blue pill, under the facts */
body.postid-40428 .building .building-info::after {
  content: "View";
  display: inline-block;
  margin-top: 9px;
  padding: 5px 16px;
  background: #0d63b8;
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
}
/* Quiet hover/focus: no orange flash, no blanket underline */
body.postid-40428 .building a:hover .building-info,
body.postid-40428 .building a:hover .building-info *,
body.postid-40428 .building a:active .building-info *,
body.postid-40428 .building a:focus .building-info *,
body.postid-40428 .building a:focus-visible .building-info *,
body.postid-40428 .building a:focus-within .building-info * {
  color: #fff !important;
  text-decoration: none !important;
}

/* ---------- Building (neighborhood) cards on the Miami parent ---------- */
body.postid-40428 #ncsf-parent-batch-items .building-info h5 {
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.3;
}
body.postid-40428 #ncsf-parent-batch-items .ncsf-card-counts {
  font-size: 13px;
  opacity: .92;
  letter-spacing: .01em;
}

/* ---------- Listing grid cards on the Miami parent --------------------- */
body.postid-40428 .building.rets-listing .building-info {
  text-align: left !important;
  padding: 26px 14px 12px !important;
}
body.postid-40428 .building.rets-listing .building-info::after {
  content: "View listing";
}
body.postid-40428 .building.rets-listing .building-info h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 2px;
}
body.postid-40428 .building.rets-listing .building-info .price {
  font-size: 19px !important;
  margin: 1px 0 3px;
}
body.postid-40428 .building.rets-listing .building-info .price b {
  font-weight: 700;
}
body.postid-40428 .building.rets-listing .building-info p {
  font-size: 13.5px !important;
  opacity: .94;
}

/* ---------- Tables: parent LIST view + Fouquet's listing table --------- */
body.postid-40428 .ncsf-city-results-table,
body.postid-46839 .property_table .table-list {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
body.postid-40428 .ncsf-city-results-table thead,
body.postid-46839 .property_table .table-list thead {
  background: #14181f;
}
body.postid-40428 .ncsf-city-results-table th,
body.postid-46839 .property_table .table-list th,
body.postid-40428 .ncsf-city-results-table td,
body.postid-46839 .property_table .table-list td {
  border: none;
  border-bottom: 1px solid #eceef1;
  padding: 11px 12px;
}
body.postid-40428 .ncsf-city-results-table tbody tr,
body.postid-46839 .property_table .table-list tbody tr {
  background: #fff;
}
body.postid-40428 .ncsf-city-results-table tbody tr:nth-child(odd),
body.postid-46839 .property_table .table-list tbody tr:nth-child(odd) {
  background: #fff;
}
body.postid-40428 .ncsf-city-results-table tbody tr:hover,
body.postid-46839 .property_table .table-list tbody tr:hover {
  background: #f4f8fd;
}
/* Building page rows: facts in calm ink, price is the one blue fact */
body.postid-46839 .property_table .table-list a.rets-btn {
  color: #1c2530;
  text-decoration: none;
}
body.postid-46839 .property_table .table-list td:nth-of-type(2) a.rets-btn {
  color: #0d63b8;
  font-weight: 700;
  font-size: 15px;
}
body.postid-46839 .property_table .table-list td.ncsf-bld-desc {
  white-space: normal;
  text-align: left;
}
body.postid-46839 .property_table .table-list td.ncsf-bld-desc a.rets-btn {
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.45;
}
body.postid-46839 .property_table h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  font-weight: 600;
}
