/* The marketplace uses the coach's portrait itself, with no separate cover. */
body .site-shell.section-coaches article.coach-market-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-width: 0;
  grid-template-rows: none;
  overflow: hidden;
}
body .site-shell.section-coaches article.coach-market-card::before { content: none; }
body .site-shell.section-coaches article.coach-market-card .coach-market-portrait {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f1f5f9;
}
body .site-shell.section-coaches article.coach-market-card .coach-market-portrait:focus-visible {
  outline: 3px solid #00876d;
  outline-offset: -4px;
}
body .site-shell.section-coaches article.coach-market-card img.coach-market-photo {
  display: block;
  width: 100%;
  height: 100%;
  inline-size: 100%;
  block-size: 100%;
  min-height: 0;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
  filter: none;
  transform: none;
}
body .site-shell.section-coaches article.coach-market-card .coach-market-portrait .coach-market-verified {
  position: absolute;
  inset-inline-end: 14px;
  inset-block-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #07845f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 14px #0003;
}
body .site-shell.section-coaches article.coach-market-card .coach-market-body { flex: 1; min-width: 0; }
body .site-shell.section-coaches article.coach-market-card .coach-market-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body .site-shell.section-coaches article.coach-market-card .coach-market-stats.has-single-stat {
  grid-template-columns: minmax(0, 1fr);
}
body .site-shell.section-coaches article.coach-market-card .coach-market-last-seen,
body .site-shell.section-coaches article.coach-market-card .coach-market-stat[hidden] {
  display: none !important;
}

/* Desktop directory cards show the decision-making details at a glance. */
@media (min-width: 1024px) {
  body .site-shell.section-coaches .coach-market-results .coach-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  body .site-shell.section-coaches article.coach-market-card a.coach-market-portrait {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    height: 94px !important;
    padding: 2px 8px;
    aspect-ratio: auto !important;
    background: #e8f0ed;
  }

  body .site-shell.section-coaches article.coach-market-card img.coach-market-photo {
    width: 90px !important;
    height: 90px !important;
    inline-size: 90px !important;
    block-size: 90px !important;
    flex: 0 0 90px;
    border: 0 !important;
    border-radius: 50% !important;
    object-position: center;
    box-shadow: none !important;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-portrait .coach-market-verified {
    inset-inline-end: 9px;
    inset-block-end: 8px;
    min-height: 26px;
    padding: 3px 8px;
    font-size: 10px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-body {
    gap: 3px;
    padding: 8px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-head-copy {
    gap: 2px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-head h2 {
    font-size: 0.96rem;
    line-height: 1.3;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-city {
    gap: 4px;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-stats {
    border-radius: 10px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-stat {
    min-height: 42px;
    gap: 1px;
    padding: 5px 3px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-stat strong,
  body .site-shell.section-coaches article.coach-market-card .coach-market-price-value {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-stat span {
    font-size: 0.6rem;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-highlights-group {
    gap: 0;
    padding-top: 5px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-highlights-label,
  body .site-shell.section-coaches article.coach-market-card .coach-market-programs-group .coach-market-detail-label {
    display: none;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-highlights {
    flex-wrap: wrap;
    gap: 5px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-programs-group {
    padding-top: 3px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-service-tag {
    min-height: 24px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-tags {
    gap: 5px;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-market-highlight {
    min-height: 23px;
    padding: 3px 7px;
    font-size: 0.65rem;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-actions {
    gap: 6px;
    padding-top: 0;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-actions > * {
    min-height: 44px;
    gap: 2px;
    padding: 6px 4px;
    font-size: 0.68rem;
  }

  body .site-shell.section-coaches article.coach-market-card .coach-actions svg {
    width: 14px;
    height: 14px;
    flex: none;
  }
}
