.periodo-section {
  margin-bottom: 40px;
  text-align: center;
}

.periodo-banner {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  font-size: 14px;
}

.periodo-banner h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: white;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.asamblea-members-section {
  margin-bottom: 60px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;
}

.member-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-teal) 100%
  );
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(38, 179, 180, 0.12);
}

.member-photo {
  margin-bottom: 12px;
  flex-shrink: 0;
}

.member-photo img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 3px 12px rgba(38, 179, 180, 0.15);
  transition: transform 0.3s ease;
}

.member-card:hover .member-photo img {
  transform: scale(1.05);
}

.member-info {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 120px;
}

.member-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 6px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 8px;
}

.member-position {
  font-size: 11px;
  color: #6c757d;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 4px;
  line-height: 1.3;
}

@media screen and (max-width: 1200px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
  }

  .member-card {
    padding: 22px 15px;
    min-height: 240px;
  }

  .member-photo img {
    width: 75px;
    height: 75px;
  }

  .member-name {
    font-size: 14px;
  }

  .member-position {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .periodo-banner {
    padding: 12px 25px;
    margin: 0 20px;
  }

  .periodo-banner h2 {
    font-size: 12px;
  }

  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0 20px;
  }

  .member-card {
    padding: 20px 15px;
    min-height: 220px;
  }

  .member-photo img {
    width: 70px;
    height: 70px;
  }

  .member-name {
    font-size: 13px;
  }

  .member-position {
    font-size: 11px;
  }
}

@media screen and (max-width: 480px) {
  .periodo-banner {
    padding: 10px 20px;
    margin: 0 15px;
  }

  .periodo-banner h2 {
    font-size: 11px;
  }

  .members-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 15px;
  }

  .member-card {
    padding: 18px 12px;
    min-height: 200px;
  }

  .member-photo img {
    width: 65px;
    height: 65px;
    border-width: 2px;
  }

  .member-name {
    font-size: 12px;
  }

  .member-position {
    font-size: 10px;
  }
}

.no-members-message,
.error-message {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  width: 100%;
}

.message-card {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  max-width: 400px;
  width: 100%;
}

.message-card.error {
  border-left: 4px solid #dc3545;
}

.message-card h3 {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.message-card p {
  color: #666;
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .message-card {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .message-card h3 {
    font-size: 16px;
  }

  .message-card p {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .message-card {
    padding: 25px 15px;
    margin: 0 15px;
  }

  .message-card h3 {
    font-size: 15px;
  }

  .message-card p {
    font-size: 12px;
  }
}

.member-info * {
  word-wrap: break-word;
  hyphens: auto;
}
