.representatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.representative-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  text-align: center;
}

.representative-card:hover {
  transform: translateY(-5px);
}

.representative-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
}

.representative-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.representative-info {
  padding: 15px;
}

.representative-info h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.position {
  font-weight: bold;
  color: #555;
}

.short-description {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.btn-more-info {
  display: inline-block;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: bold;
  background: #0e5232;
  color: white;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background 0.2s ease-in-out;
}

.btn-more-info:hover {
  background: #063820;
}

.representative-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.representative-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.representative-detail-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ccc;
}

.representative-detail-info {
  margin-top: 20px;
}

.representative-detail-info h2 {
  font-size: 1.5rem;
  color: #555;
}

.representative-detail-description {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
}
