/**
 * Property Agents Styling
 * Matches the design shown in the reference image
 */
.related-agents-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 20px 0px;
}
.related-agent-card {
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.agent-photo {
  flex-shrink: 0;
  width: 268px;
  height: 268px;
  overflow: hidden;
  border-radius: 20px;
}

.agent-photo img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 20px;
}

.agent-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 10px;
}

.agent-name {
  color: #1a1a1a;
  font-family: "Plus Jakarta Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 25.2px; /* 105% */
}

.agent-title {
  color: #1a1a1a;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.5px; /* 178.125% */
}

.agent-contact-info {
  margin-bottom: 15px;
}

.agent-cell,
.agent-office {
  color: #1a1a1a;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28.5px;
}

.agent-cell strong,
.agent-office strong {
  color: #1a1a1a;
  font-weight: 400;
}

.agent-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e57df;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28.5px; /* 178.125% */
}

/* Responsive design */
@media (max-width: 768px) {
  .related-agent-card {
    max-width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .agent-photo {
    width: 100px;
    height: 120px;
    margin: 0 auto;
  }

  .agent-name {
    font-size: 20px;
  }

  .agent-title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .related-agent-card {
    padding: 15px;
    margin-bottom: 15px;
  }

  .agent-photo {
    width: 80px;
    height: 100px;
  }

  .agent-name {
    font-size: 18px;
  }

  .agent-whatsapp a {
    padding: 6px 12px;
    font-size: 13px;
  }
}
