/* Engage Local directory: listing page and card polish (automation build) */
.pro-listing { max-width: 64rem; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; }
.pro-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.75rem; align-items: center; background: #fff; border: 1px solid #e4e1ec; border-radius: 16px; padding: 1.25rem; box-shadow: 0 6px 24px rgba(18, 16, 28, 0.06); }
.pro-photo { aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: #f1eff6; }
.pro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pro-photo-empty { display: flex; align-items: center; justify-content: center; font-size: 4rem; font-weight: 700; color: #6b6380; }
.pro-meta { margin: 0 0 0.25rem; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; color: #5b546b; font-weight: 600; }
.pro-name { margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; font-weight: 700; color: #12101c; }
.pro-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pro-actions .pro-btn { margin: 0; min-height: 48px; display: inline-flex; align-items: center; padding: 0.6rem 1.1rem; font-size: 1.05rem; }
.pro-actions .pro-call { font-weight: 700; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.75rem; margin: 1.75rem 0; }
.pro-section { margin: 0 0 1.75rem; }
.pro-section h2 { font-size: 1.3rem; margin: 0 0 0.6rem; padding-bottom: 0.35rem; border-bottom: 2px solid #ece9f3; }
.pro-services { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.pro-services li { margin: 0 0 0.35rem; break-inside: avoid; }
.pro-memberships { margin: 0; padding-left: 1.2rem; }
.pro-memberships li { margin-bottom: 0.4rem; }
.pro-not-connected { margin: 0.5rem 0 0; font-size: 0.92rem; color: #4a4459; }
.pro-side { background: #f8f7fb; border: 1px solid #e4e1ec; border-radius: 14px; padding: 1.1rem 1.25rem; align-self: start; }
.pro-side h3 { font-size: 1rem; margin: 0 0 0.2rem; color: #3b3550; }
.pro-side p { margin: 0 0 0.25rem; overflow-wrap: anywhere; }
.pro-side > div + div { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e4e1ec; }
.pro-footer-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0 0; font-size: 0.98rem; }
.pro-listing .checks-note { margin-top: 0; }
.listing-intro-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .pro-head { grid-template-columns: 1fr; padding: 0.9rem; gap: 1rem; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-services { columns: 1; }
  .pro-actions .pro-btn { flex: 1 1 calc(50% - 0.6rem); justify-content: center; }
}
/* Cards */
.listing-card .photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; display: block; }
.listing-card .card-meta { margin: 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.02em; color: #5b546b; font-weight: 600; }
.listing-card .pro-memberships { font-size: 0.95rem; }


/* Trade membership badges: plain tick, neutral colour, no yellow. Reusable for any checked membership. */
.membership-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
  margin: 0.75rem 0 0.25rem;
}
.membership-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
  max-width: 28rem;
  border: 1px solid #2f2a45;
  background: #f7f4ef;
  color: #2f2a45;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
}
.membership-badge-icon {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: #2f2a45;
  line-height: 0;
}
.membership-tick { display: block; color: #2f2a45; }
.membership-badge-text {
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  color: #2f2a45;
}
.pro-gassafe-id {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #2f2a45;
  max-width: 40rem;
  overflow-wrap: anywhere;
}
.listing-card .membership-badges { margin-top: 0.5rem; }
.listing-card .membership-badge-text { font-size: 0.95rem; }
.pro-head-text .membership-badges { margin-top: 0.85rem; }

/* Logo listings: show the whole mark, no crop or stretch, on the business site's black background. */
.pro-photo.pro-photo-logo {
  aspect-ratio: auto;
  background: #000;
}
.pro-photo.pro-photo-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #000;
}
.listing-card .photo.photo-logo {
  aspect-ratio: auto;
  background: #000;
}
.listing-card .photo.photo-logo img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
}
