/* Fallbacks to guarantee mentor grid layout even if a plugin injects styles */
.grid, .grid-3{
  display:grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
}
@media (max-width: 900px){
  .grid, .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px){
  .grid, .grid-3{ grid-template-columns: 1fr !important; }
}

.mentor-card{ display:flex !important; flex-direction:column !important; gap:.6rem !important; }
.mentor-top--simple{ display:flex !important; gap:.75rem !important; align-items:flex-start !important; }
.mentor-text{ flex:1 1 auto !important; min-width:0 !important; }
.mentor-name,.mentor-title,.mentor-company,.mentor-availability,.mentor-keywords{ width:auto !important; }

/* Table styling compat */
.wp-block-table table{ border:none; }
.wp-block-table table td,.wp-block-table table th{ border:none; }
.wp-block-table.schedule-table table{ width:100%; border-collapse:collapse; table-layout:fixed; }
