/* Shared page styles: agents */
/* ========== LISTING PAGE: agents ========== */
[data-page="agents"] {
  padding: 0;
}

/* Listing titles — Figma @ 759,93 · 402×67 · Poppins SemiBold 64 · #000 */
[data-page="agents"] .page-header {
  position: absolute;
  top: 93px;
  left: 759px;
  width: 402px;
  height: 67px;
  margin: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

[data-page="agents"] .page-title {
  width: 402px;
  height: 67px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-align: center;
  color: #000;
  white-space: nowrap;
}

.listing-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-content: center;
  height: 100%;
  padding-bottom: 24px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 620px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(120, 160, 190, 0.45);
  background: #fff;
}

.listing-card .listing-media {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #dbeafe;
}

.listing-card .listing-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 28px 28px;
  flex: 1;
}

.listing-card h3 {
  margin: 0;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: #111;
}

.listing-card p {
  margin: 0;
  text-align: center;
  color: #333;
  font-size: 17px;
  line-height: 1.45;
  flex: 1;
}

.listing-card .btn {
  margin-top: 4px;
  min-height: 54px;
  font-size: 20px;
}

/* Listing artboard frames — Figma */
[data-page="agents"] .listing-grid {
  position: absolute;
  top: 220px;
  left: 400px;
  width: 1120.658935546875px;
  height: 728px;
  margin: 0;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 57px;
  align-content: stretch;
  align-items: stretch;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 1;
}

[data-page="agents"] .listing-card {
  width: auto;
  max-width: none;
  height: 728px;
  min-height: 728px;
  padding: 31px 40px 28px;
  border-radius: 42px;
  border: none;
  background: #f7fbfc;
  box-shadow:
    inset 0 0 0 1px #328999,
    0 4px 4px 0 #b8d2fb70;
  overflow: hidden;
  box-sizing: border-box;
}

[data-page="agents"] .listing-card.card-clickable:hover,
[data-page="agents"] .listing-card.card-clickable:focus-visible {
  box-shadow:
    inset 0 0 0 1px #328999,
    0 4px 4px 0 #b8d2fb70,
    0 12px 28px rgba(50, 137, 153, 0.16);
}

[data-page="agents"] .listing-card .listing-media {
  width: 446px;
  height: 392px;
  max-width: 100%;
  aspect-ratio: auto;
  border-radius: 30px;
  object-fit: cover;
  align-self: center;
  flex-shrink: 0;
  background: #e8f4f7;
}

[data-page="agents"] .listing-card .listing-content {
  padding: 22px 0 0;
  gap: 12px;
  align-items: center;
  min-height: 0;
}

/* Card titles — Poppins SemiBold 32 / 105% / -0.5% */
[data-page="agents"] .listing-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-align: center;
  color: #111;
}

/* Card descriptions — Poppins Regular 16 / 155% · #000 */
[data-page="agents"] .listing-card p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
  color: #000;
  max-width: 420px;
  white-space: pre-line;
}

[data-page="agents"] .listing-card .btn-more-info {
  max-width: 100%;
  margin-top: auto;
  align-self: center;
}
